Google Cloud Ai Platform V1 Client - Class CreateBatchPredictionJobRequest (0.23.0)

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

Request message for JobService.CreateBatchPredictionJob.

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

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

↳ batch_prediction_job Google\Cloud\AIPlatform\V1\BatchPredictionJob

Required. The BatchPredictionJob to create.

getParent

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

Returns
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBatchPredictionJob

Required. The BatchPredictionJob to create.

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

hasBatchPredictionJob

clearBatchPredictionJob

setBatchPredictionJob

Required. The BatchPredictionJob to create.

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

static::build

Parameters
NameDescription
parent string

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

batchPredictionJob Google\Cloud\AIPlatform\V1\BatchPredictionJob

Required. The BatchPredictionJob to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateBatchPredictionJobRequest