Google Cloud Ai Platform V1 Client - Class CreateCustomJobRequest (0.32.0)

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

Request message for JobService.CreateCustomJob.

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

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 CustomJob in. Format: projects/{project}/locations/{location}

↳ custom_job Google\Cloud\AIPlatform\V1\CustomJob

Required. The CustomJob to create.

getParent

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

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

Returns
TypeDescription
string

setParent

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCustomJob

Required. The CustomJob to create.

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

hasCustomJob

clearCustomJob

setCustomJob

Required. The CustomJob to create.

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

static::build

Parameters
NameDescription
parent string

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

customJob Google\Cloud\AIPlatform\V1\CustomJob

Required. The CustomJob to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateCustomJobRequest