Google Cloud Notebooks V1 Client - Class Schedule (1.1.4)

Reference documentation and code samples for the Google Cloud Notebooks V1 Client class Schedule.

The definition of a schedule.

Generated from protobuf message google.cloud.notebooks.v1.Schedule

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The name of this schedule. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

↳ display_name string

Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens -, and underscores _.

↳ description string

A brief description of this environment.

↳ state int
↳ cron_schedule 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

↳ time_zone 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).

↳ create_time Google\Protobuf\Timestamp

Output only. Time the schedule was created.

↳ update_time Google\Protobuf\Timestamp

Output only. Time the schedule was last updated.

↳ execution_template ExecutionTemplate

Notebook Execution Template corresponding to this schedule.

↳ recent_executions array<Execution>

Output only. The most recent execution names triggered from this schedule and their corresponding states.

getName

Output only. The name of this schedule. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

Returns
Type Description
string

setName

Output only. The name of this schedule. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. Display name used for UI purposes.

Name can only contain alphanumeric characters, hyphens -, and underscores _.

Returns
Type Description
string

setDisplayName

Output only. Display name used for UI purposes.

Name can only contain alphanumeric characters, hyphens -, and underscores _.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

A brief description of this environment.

Returns
Type Description
string

setDescription

A brief description of this environment.

Parameter
Name Description
var string
Returns
Type Description
$this

getState