Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::Schedule.
The definition of a schedule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Time the schedule was created.
#cron_schedule
def cron_schedule() -> ::String
- (::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: https://crontab.guru/examples.html
#cron_schedule=
def cron_schedule=(value) -> ::String
- value (::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: https://crontab.guru/examples.html
- (::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: https://crontab.guru/examples.html
#description
def description() -> ::String
- (::String) — A brief description of this environment.
#description=
def description=(value) -> ::String
- value (::String) — A brief description of this environment.
- (::String) — A brief description of this environment.
#display_name
def display_name() -> ::String
- (::String) — Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens '-', and underscores '_'.
#execution_template
def execution_template() -> ::Google::Cloud::Notebooks::V1::ExecutionTemplate
- (::Google::Cloud::Notebooks::V1::ExecutionTemplate) — Notebook Execution Template corresponding to this schedule.
#execution_template=
def execution_template=(value) -> ::Google::Cloud::Notebooks::V1::ExecutionTemplate
- value (::Google::Cloud::Notebooks::V1::ExecutionTemplate) — Notebook Execution Template corresponding to this schedule.
- (::Google::Cloud::Notebooks::V1::ExecutionTemplate) — Notebook Execution Template corresponding to this schedule.
#name
def name() -> ::String
-
(::String) — Output only. The name of this schedule. Format:
projects/{project_id}/locations/{location}/schedules/{schedule_id}
#recent_executions
def recent_executions() -> ::Array<::Google::Cloud::Notebooks::V1::Execution>
- (::Array<::Google::Cloud::Notebooks::V1::Execution>) — Output only. The most recent execution names triggered from this schedule and their corresponding states.
#state
def state() -> ::Google::Cloud::Notebooks::V1::Schedule::State
#state=
def state=(value) -> ::Google::Cloud::Notebooks::V1::Schedule::State
#time_zone
def time_zone() -> ::String
-
(::String) — 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).
#time_zone=
def time_zone=(value) -> ::String
-
value (::String) — 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).
-
(::String) — 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).
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Time the schedule was last updated.