
com.pulumi.googlenative.notebooks.v1.kotlin.outputs.GetScheduleResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.notebooks.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property createTime Time the schedule was created.
* @property cronSchedule Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. `0 0 * * WED` = every Wednesday More examples: https://crontab.guru/examples.html
* @property description A brief description of this environment.
* @property displayName Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens `-`, and underscores `_`.
* @property executionTemplate Notebook Execution Template corresponding to this schedule.
* @property name The name of this schedule. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
* @property recentExecutions The most recent execution names triggered from this schedule and their corresponding states.
* @property state
* @property timeZone Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).
* @property updateTime Time the schedule was last updated.
*/
public data class GetScheduleResult(
public val createTime: String,
public val cronSchedule: String,
public val description: String,
public val displayName: String,
public val executionTemplate: ExecutionTemplateResponse,
public val name: String,
public val recentExecutions: List,
public val state: String,
public val timeZone: String,
public val updateTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.notebooks.v1.outputs.GetScheduleResult): GetScheduleResult = GetScheduleResult(
createTime = javaType.createTime(),
cronSchedule = javaType.cronSchedule(),
description = javaType.description(),
displayName = javaType.displayName(),
executionTemplate = javaType.executionTemplate().let({ args0 ->
com.pulumi.googlenative.notebooks.v1.kotlin.outputs.ExecutionTemplateResponse.Companion.toKotlin(args0)
}),
name = javaType.name(),
recentExecutions = javaType.recentExecutions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.notebooks.v1.kotlin.outputs.ExecutionResponse.Companion.toKotlin(args0)
})
}),
state = javaType.state(),
timeZone = javaType.timeZone(),
updateTime = javaType.updateTime(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy