class ProjectsLocationsJobsExecutionsTasks extends Resource (View source)

The "tasks" collection of methods.

Typical usage is:

 $runService = new Google\Service\CloudRun(...);
 $tasks = $runService->projects_locations_jobs_executions_tasks;

Methods

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

Gets information about a Task. (tasks.get)

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

Lists Tasks from an Execution of a Job.

Details

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

Gets information about a Task. (tasks.get)

Parameters

string $name

Required. The full name of the Task. Format: projects/{pr oject}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2Task

Exceptions

Exception

GoogleCloudRunV2ListTasksResponse listProjectsLocationsJobsExecutionsTasks(string $parent, array $optParams = [])

Lists Tasks from an Execution of a Job.

(tasks.listProjectsLocationsJobsExecutionsTasks)

Parameters

string $parent

Required. The Execution from which the Tasks should be listed. To list all Tasks across Executions of a Job, use "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}

array $optParams

Optional parameters.

Return Value

GoogleCloudRunV2ListTasksResponse

Exceptions

Exception