Google Cloud Ai Platform V1 Client - Class CreateScheduleRequest (1.13.0)

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

Request message for ScheduleService.CreateSchedule.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Location to create the Schedule in. Format: projects/{project}/locations/{location}

↳ schedule Schedule

Required. The Schedule to create.

getParent

Required. The resource name of the Location to create the Schedule in.

Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The resource name of the Location to create the Schedule in.

Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getSchedule

Required. The Schedule to create.

Returns
Type Description
Schedule|null

hasSchedule

clearSchedule

setSchedule

Required. The Schedule to create.

Parameter
Name Description
var Schedule
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the Location to create the Schedule in. Format: projects/{project}/locations/{location} Please see ScheduleServiceClient::locationName() for help formatting this field.

schedule Schedule

Required. The Schedule to create.

Returns
Type Description
CreateScheduleRequest