class ProjectsLocationsSchedules extends Resource (View source)

The "schedules" collection of methods.

Typical usage is:

 $notebooksService = new Google\Service\AIPlatformNotebooks(...);
 $schedules = $notebooksService->projects_locations_schedules;

Methods

create(string $parent, Schedule $postBody, array $optParams = [])

Creates a new Scheduled Notebook in a given project and location.

delete(string $name, array $optParams = [])

Deletes schedule and all underlying jobs (schedules.delete)

get(string $name, array $optParams = [])

Gets details of schedule (schedules.get)

listProjectsLocationsSchedules(string $parent, array $optParams = [])

Lists schedules in a given project and location.

trigger(string $name, TriggerScheduleRequest $postBody, array $optParams = [])

Triggers execution of an existing schedule. (schedules.trigger)

Details

Operation create(string $parent, Schedule $postBody, array $optParams = [])

Creates a new Scheduled Notebook in a given project and location.

(schedules.create)

Parameters

string $parent

Required. Format: parent=projects/{project_id}/locations/{location}

Schedule $postBody
array $optParams

Optional parameters.

Return Value

Operation

Operation delete(string $name, array $optParams = [])

Deletes schedule and all underlying jobs (schedules.delete)

Parameters

string $name

Required. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

array $optParams

Optional parameters.

Return Value

Operation

Schedule get(string $name, array $optParams = [])

Gets details of schedule (schedules.get)

Parameters

string $name

Required. Format: projects/{project_id}/locations/{location}/schedules/{schedule_id}

array $optParams

Optional parameters.

Return Value

Schedule

ListSchedulesResponse listProjectsLocationsSchedules(string $parent, array $optParams = [])

Lists schedules in a given project and location.

(schedules.listProjectsLocationsSchedules)

Parameters

string $parent

Required. Format: parent=projects/{project_id}/locations/{location}

array $optParams

Optional parameters.

Return Value

ListSchedulesResponse

Operation trigger(string $name, TriggerScheduleRequest $postBody, array $optParams = [])

Triggers execution of an existing schedule. (schedules.trigger)

Parameters

string $name

Required. Format: parent=projects/{project_id}/locations/{location}/schedules/{schedule_id}

TriggerScheduleRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation