Google Cloud Notebooks V1 Client - Class CreateScheduleRequest (0.5.0)

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

Request for created scheduled notebooks

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

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ schedule_id string

Required. User-defined unique ID of this schedule.

↳ schedule Google\Cloud\Notebooks\V1\Schedule

Required. The schedule to be created.

getParent

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

Returns
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getScheduleId

Required. User-defined unique ID of this schedule.

Returns
TypeDescription
string

setScheduleId

Required. User-defined unique ID of this schedule.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSchedule

Required. The schedule to be created.

Returns
TypeDescription
Google\Cloud\Notebooks\V1\Schedule|null

hasSchedule

clearSchedule

setSchedule

Required. The schedule to be created.

Parameter
NameDescription
var Google\Cloud\Notebooks\V1\Schedule
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. Format: parent=projects/{project_id}/locations/{location} Please see Google\Cloud\Notebooks\V1\NotebookServiceClient::scheduleName() for help formatting this field.

schedule Google\Cloud\Notebooks\V1\Schedule

Required. The schedule to be created.

scheduleId string

Required. User-defined unique ID of this schedule.

Returns
TypeDescription
Google\Cloud\Notebooks\V1\CreateScheduleRequest