Google Cloud Ai Platform V1 Client - Class CancelBatchPredictionJobRequest (0.28.0)

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

Request message for JobService.CancelBatchPredictionJob.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the BatchPredictionJob to cancel. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

getName

Required. The name of the BatchPredictionJob to cancel.

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

Returns
TypeDescription
string

setName

Required. The name of the BatchPredictionJob to cancel.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the BatchPredictionJob to cancel. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job} Please see Google\Cloud\AIPlatform\V1\JobServiceClient::batchPredictionJobName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CancelBatchPredictionJobRequest