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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Task name. |
getName
Required. Task name.
Returns | |
---|---|
Type | Description |
string |
setName
Required. Task name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. Task name. Please see Google\Cloud\Batch\V1\BatchServiceClient::taskName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Batch\V1\GetTaskRequest |