Google Cloud Dataproc V1 Client - Class GetBatchRequest (3.7.1)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Dataproc\V1\GetBatchRequest