younifyd
Menu

Run.projects.locations.jobs.executions.list

Lists Executions from a Job.

GET/v2/{parent}/executions

Use it in a workflow

  1. Add a step and choose the Google Cloud Run Jobs connector.
  2. Pick the Run.projects.locations.jobs.executions.list action (under projects).
  3. Fill in the fields below, then reference the result from later steps as {{runProjectsLocationsJobsExecutionsList.response.data}}.

Request

Path parameters

parentstringrequired

Required. The Execution from which the Executions should be listed. To list all Executions across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number.

Query parameters

$.xgafvstring

V1 error format.

One of12

access_tokenstring

OAuth access token.

altstring

Data format for response.

One ofjsonmediaproto

callbackstring

JSONP

fieldsstring

Selector specifying which fields to include in a partial response.

keystring

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_tokenstring

OAuth 2.0 token for the current user.

prettyPrintboolean

Returns response with indentations and line breaks.

quotaUserstring

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.

upload_protocolstring

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

uploadTypestring

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

pageSizeinteger

Maximum number of Executions to return in this call.

pageTokenstring

A page token received from a previous call to ListExecutions. All other parameters must match.

showDeletedboolean

If true, returns deleted (but unexpired) resources along with active ones.

Response

Returns 200 with an object. Read it in later steps with {{runProjectsLocationsJobsExecutionsList.response.data.<field>}}.

executionsarray<object>

The resulting list of Executions.

annotationsobject

KRM-style annotations for the resource.

cancelledCountinteger (int32)

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

completionTimestring (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.

conditionsarray<object>8 fields

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

createTimestring (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.

deleteTimestring (google-datetime)

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

etagstring

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

expireTimestring (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.

failedCountinteger (int32)

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

generationstring (int64)

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

jobstring

Output only. The name of the parent Job.

labelsobject

KRM-style labels for the resource. 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

launchStagestring

The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/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 were, this field will be BETA.

One ofLAUNCH_STAGE_UNSPECIFIEDUNIMPLEMENTEDPRELAUNCHEARLY_ACCESSALPHABETAGADEPRECATED

logUristring

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

namestring

Output only. The unique name of this Execution.

observedGenerationstring (int64)

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

parallelisminteger (int32)

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.

reconcilingboolean

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.

retriedCountinteger (int32)

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

runningCountinteger (int32)

Output only. The number of actively running tasks.

satisfiesPzsboolean

Output only. Reserved for future use.

startTimestring (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.

succeededCountinteger (int32)

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

taskCountinteger (int32)

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.

templateobject8 fields

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

uidstring

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.

updateTimestring (google-datetime)

Output only. The last-modified time.

nextPageTokenstring

A token indicating there are more items than page_size. Use it in the next ListExecutions request to continue.

json
{
  "executions": [
    {
      "annotations": {},
      "cancelledCount": 0,
      "completionTime": "string",
      "conditions": [
        {
          "executionReason": "EXECUTION_REASON_UNDEFINED",
          "lastTransitionTime": "string",
          "message": "string",
          "reason": "COMMON_REASON_UNDEFINED",
          "revisionReason": "REVISION_REASON_UNDEFINED",
          "severity": "SEVERITY_UNSPECIFIED",
          "state": "STATE_UNSPECIFIED",
          "type": "string"
        }
      ],
      "createTime": "string",
      "deleteTime": "string",
      "etag": "string",
      "expireTime": "string",
      "failedCount": 0,
      "generation": "string",
      "job": "string",
      "labels": {}
    }
  ],
  "nextPageToken": "string"
}

Need more? See the Google Cloud Run Jobs guide for connection setup and behaviour shared by every action.