Reference documentation and code samples for the Google Cloud Batch V1 Client class Task.
A Cloud Batch task.
Generated from protobuf message google.cloud.batch.v1.Task
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".
↳ status
getName
Task name.
The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".
string
setName
Task name.
The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".
var
string
$this
getStatus
Task Status.
hasStatus
clearStatus
setStatus
Task Status.
$this