Google Cloud Batch V1 Client - Class Task (1.4.1)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Batch V1 Client class Task.
A Cloud Batch task.
Generated from protobuf messagegoogle.cloud.batch.v1.Task
Namespace
Google \ Cloud \ Batch \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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".
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".
Returns
Type
Description
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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]