class Google::Apis::NotebooksV1::Schedule
The definition of a schedule.
Attributes
Output only. Time the schedule was created. Corresponds to the JSON property `createTime` @return [String]
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: crontab.guru/examples.html Corresponds to the JSON property `cronSchedule` @return [String]
A brief description of this environment. Corresponds to the JSON property `description` @return [String]
Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens '-', and underscores '_'. Corresponds to the JSON property `displayName` @return [String]
The description a notebook execution workload. Corresponds to the JSON property `executionTemplate` @return [Google::Apis::NotebooksV1::ExecutionTemplate]
Output only. The name of this schedule. Format: `projects/`project_id`/ locations/`location`/schedules/`schedule_id“ Corresponds to the JSON property `name` @return [String]
Output only. The most recent execution names triggered from this schedule and their corresponding states. Corresponds to the JSON property `recentExecutions` @return [Array<Google::Apis::NotebooksV1::Execution>]
Corresponds to the JSON property `state` @return [String]
Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: 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). Corresponds to the JSON property `timeZone` @return [String]
Output only. Time the schedule was last updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/notebooks_v1/classes.rb, line 2172 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/notebooks_v1/classes.rb, line 2177 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @cron_schedule = args[:cron_schedule] if args.key?(:cron_schedule) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @execution_template = args[:execution_template] if args.key?(:execution_template) @name = args[:name] if args.key?(:name) @recent_executions = args[:recent_executions] if args.key?(:recent_executions) @state = args[:state] if args.key?(:state) @time_zone = args[:time_zone] if args.key?(:time_zone) @update_time = args[:update_time] if args.key?(:update_time) end