Google Cloud Ai Platform V1 Client - Class CreateScheduleRequest (0.27.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
NameDescription
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 Google\Cloud\AIPlatform\V1\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
TypeDescription
string

setParent

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSchedule

Required. The Schedule to create.

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

hasSchedule

clearSchedule

setSchedule

Required. The Schedule to create.

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

static::build

Parameters
NameDescription
parent string

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

schedule Google\Cloud\AIPlatform\V1\Schedule

Required. The Schedule to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateScheduleRequest