projects

GET /v2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executions/{executionsId}

Changed on

Gets information about an Execution.

Request

  • Base URL
    https://run.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/run
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/run
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/run.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/run.readonly

Path parameters

projectsId, string required
locationsId, string required
jobsId, string required
executionsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Response

Successful response

GoogleCloudRunV2Execution required

Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.

annotations, object

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

cancelledCount, integer

Output only. The number of tasks which reached phase Cancelled.

client, string

Output only. Arbitrary identifier for the API client.

clientVersion, string

Output only. Arbitrary version identifier for the API client.

completionTime, string google-datetime

Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

conditions, GoogleCloudRunV2Condition[]

Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

createTime, string google-datetime

Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

creator, string

Output only. Email address of the authenticated creator.

deleteTime, string google-datetime

Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

etag, string

Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

expireTime, string google-datetime

Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

failedCount, integer

Output only. The number of tasks which reached phase Failed.

generation, string int64

Output only. A number that monotonically increases every time the user modifies the desired state.

job, string

Output only. The name of the parent Job.

labels, object

Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

launchStage, 'LAUNCH_STAGE_UNSPECIFIED' | 'UNIMPLEMENTED' | 'PRELAUNCH' | 'EARLY_ACCESS' | 'ALPHA' | 'BETA' | 'GA' | 'DEPRECATED'

The least stable launch stage needed to create this resource, as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are used, this field will be BETA.

logUri, string

Output only. URI where logs for this execution can be found in Cloud Console.

name, string

Output only. The unique name of this Execution.

observedGeneration, string int64

Output only. The generation of this Execution. See comments in reconciling for additional information on reconciliation process in Cloud Run.

parallelism, integer

Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.

reconciling, boolean

Output only. Indicates whether the resource's reconciliation is still in progress. See comments in Job.reconciling for additional information on reconciliation process in Cloud Run.

retriedCount, integer

Output only. The number of tasks which have retried at least once.

runningCount, integer

Output only. The number of actively running tasks.

satisfiesPzs, boolean

Output only. Reserved for future use.

startTime, string google-datetime

Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

succeededCount, integer

Output only. The number of tasks which reached phase Succeeded.

taskCount, integer

Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.

template, GoogleCloudRunV2TaskTemplate

TaskTemplate describes the data a task should have when created from a template.

uid, string

Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

updateTime, string google-datetime

Output only. The last-modified time.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/run.readonly was removed from the endpoint's security scheme Oauth2

    1 more change in this revision