Google Cloud Batch V1 Client - Class GetTaskRequest (0.8.0)

Reference documentation and code samples for the Google Cloud Batch V1 Client class GetTaskRequest.

Request for a single Task by name.

Generated from protobuf message google.cloud.batch.v1.GetTaskRequest

Namespace

Google \ Cloud \ Batch \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Task name.

getName

Required. Task name.

Returns
TypeDescription
string

setName

Required. Task name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Task name. Please see Google\Cloud\Batch\V1\BatchServiceClient::taskName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Batch\V1\GetTaskRequest