class ProjectsLocationsJobsTaskGroupsTasks extends Resource (View source)

The "tasks" collection of methods.

Typical usage is:

 $batchService = new Google\Service\Batch(...);
 $tasks = $batchService->projects_locations_jobs_taskGroups_tasks;

Methods

get(string $name, array $optParams = [])

Return a single Task. (tasks.get)

listProjectsLocationsJobsTaskGroupsTasks(string $parent, array $optParams = [])

List Tasks associated with a job.

Details

Task get(string $name, array $optParams = [])

Return a single Task. (tasks.get)

Parameters

string $name

Required. Task name.

array $optParams

Optional parameters.

Return Value

Task

Exceptions

Exception

ListTasksResponse listProjectsLocationsJobsTaskGroupsTasks(string $parent, array $optParams = [])

List Tasks associated with a job.

(tasks.listProjectsLocationsJobsTaskGroupsTasks)

Parameters

string $parent

Required. Name of a TaskGroup from which Tasks are being requested. Pattern: "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}"

array $optParams

Optional parameters.

Return Value

ListTasksResponse

Exceptions

Exception