Google Cloud Dataproc V1 Client - Class GetBatchRequest (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class GetBatchRequest.

A request to get the resource representation for a batch workload.

Generated from protobuf message google.cloud.dataproc.v1.GetBatchRequest

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"

getName

Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"

Returns
Type Description
string

setName

Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID" Please see Google\Cloud\Dataproc\V1\BatchControllerClient::batchName() for help formatting this field.

Returns
Type Description
Google\Cloud\Dataproc\V1\GetBatchRequest