Resource: Schedule
The definition of a schedule.
JSON representation |
---|
{ "name": string, "displayName": string, "description": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. The name of this schedule. Format: |
display |
Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens |
description |
A brief description of this environment. |
state |
|
cron |
Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. |
time |
Timezone on which the cronSchedule. 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). |
create |
Output only. Time the schedule was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. Time the schedule was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
execution |
Notebook Execution Template corresponding to this schedule. |
recent |
Output only. The most recent execution names triggered from this schedule and their corresponding states. |
State
State of the job.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified state. |
ENABLED |
The job is executing normally. |
PAUSED |
The job is paused by the user. It will not execute. A user can intentionally pause the job using Cloud Scheduler. |
DISABLED |
The job is disabled by the system due to error. The user cannot directly set a job to be disabled. |
UPDATE_FAILED |
The job state resulting from a failed CloudScheduler.UpdateJob operation. To recover a job from this state, retry CloudScheduler.UpdateJob until a successful response is received. |
INITIALIZING |
The schedule resource is being created. |
DELETING |
The schedule resource is being deleted. |
Methods |
|
---|---|
|
Creates a new Scheduled Notebook in a given project and location. |
|
Deletes schedule and all underlying jobs |
|
Gets details of schedule |
|
Lists schedules in a given project and location. |