- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Execution
- State
- ReplayInfo
- CloudLoggingDetails
- CloudLoggingSeverity
- Try it!
Lists the results of all the integration executions. The response includes the same information as the execution log in the Integration UI.
HTTP request
GET https://integrations.googleapis.com/v2/{parent=projects/*/locations/*/integrations/*}/executions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. parent resource name of integration execution. |
Query parameters
Parameters | |
---|---|
filter |
Optional. Standard filter field, we support filtering on following fields: integrationName: the name of the integration. createTime: the execution created time. updateTime: the execution last update time. state: the state of the executions. executionId: the id of the execution. triggerId: the id of the trigger. All fields support for EQUALS, in additional: createTime and updateTime support for LESS_THAN, GREATER_THAN Also supports operators like AND, OR, NOT For example: triggerId="id1" AND integrationName="testIntegration" |
page |
Optional. The size of entries in the response. |
page |
Optional. The token returned in the previous response. |
read |
Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in execution info will be filled and returned. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body must be empty.
Response body
Response for listing the Integration executions.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"executions": [
{
object ( |
Fields | |
---|---|
executions[] |
Required. The list of executions. |
next |
The token for retrieving the next page of results. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
integrations.executions.list
For more information, see the IAM documentation.
Execution
The Execution contains detailed information of an individual integration execution.
JSON representation |
---|
{ "name": string, "triggerId": string, "state": enum ( |
Fields | |
---|---|
name |
Identifier. Execution resource name. |
trigger |
The ID of the trigger invoked at the start of the execution. |
state |
Output only. Status of the execution. |
request |
Optional. Variables provided in the request. |
response |
Optional. Variables returned as part of the response. |
task |
Optional. List of task executions. |
integration |
Indicates which snapshot of integration is used for this execution. |
create |
Output only. Time the execution is created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. Time the execution is recently updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
contain |
Indicates if the task execution contains variables. |
execution |
Start and end time of each execution attempt. |
replay |
Output only. Replay info for the execution |
cloud |
Cloud Logging details for the integration version |
integration |
Optional. User-defined label that annotates the executed integration version. |
State
State of execution.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default. |
ON_HOLD |
Execution is scheduled and awaiting to be triggered. |
IN_PROCESS |
Execution is processing. |
SUCCEEDED |
Execution successfully finished. There are no more changes after this state. |
FAILED |
Execution failed. There's no more change after this state. |
CANCELLED |
Execution is cancelled. There's no more change after this state. |
RETRY_ON_HOLD |
Execution failed and is waiting for retry. |
SUSPENDED |
Execution suspended and waiting for manual intervention. |
ReplayInfo
Contains the details of the execution info: this includes the replay reason and replay tree connecting executions in a parent-child relationship
JSON representation |
---|
{ "originalExecutionId": string, "replayedExecutionIds": [ string ], "replayReason": string } |
Fields | |
---|---|
original |
If this execution is a replay of another execution, then this field contains the original execution id. |
replayed |
If this execution has been replayed, then this field contains the execution ids of the replayed executions. |
replay |
reason for replay |
CloudLoggingDetails
Cloud Logging details for execution info
JSON representation |
---|
{
"cloudLoggingSeverity": enum ( |
Fields | |
---|---|
cloud |
Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the integration version getting executed. |
enable |
Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed. |
CloudLoggingSeverity
The severity will be mapped to the Integration Execution State.
Enums | |
---|---|
CLOUD_LOGGING_SEVERITY_UNSPECIFIED |
Unspecified |
INFO |
If Severity selected is INFO , then all the Integration Execution States (IN_PROCESS , ON_HOLD , SUCCEEDED , SUSPENDED , ERROR , CANCELLED ) will be sent to Cloud Logging. |
ERROR |
If Severity selected is ERROR , then only the following Integration Execution States (ERROR , CANCELLED ) will be sent to Cloud Logging. |
WARNING |
If Severity selected is WARNING , then only the following Integration Execution States (ERROR , CANCELLED ) will be sent to Cloud Logging. |