Google Cloud Ai Platform V1 Client - Class CancelCustomJobRequest (0.17.0)

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

Request message for JobService.CancelCustomJob.

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

Methods

build

Parameter
Name Description
name string

Required. The name of the CustomJob to cancel. Format: projects/{project}/locations/{___location}/customJobs/{custom_job} Please see {@see \Google\Cloud\AIPlatform\V1\JobServiceClient::customJobName()} for help formatting this field.

Returns
Type Description
Google\Cloud\AIPlatform\V1\CancelCustomJobRequest

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the CustomJob to cancel. Format: projects/{project}/locations/{___location}/customJobs/{custom_job}

getName

Required. The name of the CustomJob to cancel.

Format: projects/{project}/locations/{___location}/customJobs/{custom_job}

Returns
Type Description
string

setName

Required. The name of the CustomJob to cancel.

Format: projects/{project}/locations/{___location}/customJobs/{custom_job}

Parameter
Name Description
var string
Returns
Type Description
$this