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:  | 
| displayName | 
 Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens  | 
| description | 
 A brief description of this environment. | 
| state | 
 | 
| cronSchedule | 
 Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g.  | 
| timeZone | 
 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). | 
| createTime | 
 Output only. Time the schedule was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| updateTime | 
 Output only. Time the schedule was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| executionTemplate | 
 Notebook Execution Template corresponding to this schedule. | 
| recentExecutions[] | 
 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. |