Method: namespaces.tasks.get

Get information about a task.

HTTP request

GET https://run.googleapis.com/apis/run.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The name of the task to retrieve. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID It takes the form namespaces/{namespace}/tasks/{task}.

Authorization requires the following IAM permission on the specified resource name:

  • run.tasks.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Task.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.