Returns the taskExecutions Resource.
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)
Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.
list_next(previous_request, previous_response)
Retrieves the next page of results.
troubleshoot(name, x__xgafv=None)
View detailed explanation of why an integration execution failed, using LLM
close()
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)
Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.
Args:
parent: string, Required. parent resource name of integration execution. (required)
filter: string, Optional. Standard filter field, we support filtering on following fields: integration_name: the name of the integration. create_time: the execution created time. update_time: the execution last update time. state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. All fields support for EQUALS, in additional: create_time and update_time support for LESS_THAN, GREATER_THAN Also supports operators like AND, OR, NOT For example: trigger_id=\"id1\" AND integration_name=\"testIntegration\"
pageSize: integer, Optional. The size of entries in the response.
pageToken: string, Optional. The token returned in the previous response.
readMask: string, 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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for listing the Integration executions.
"executions": [ # Required. The list of executions.
{ # The Execution contains detailed information of an individual integration execution.
"cloudLoggingDetails": { # Cloud Logging details for execution info # Cloud Logging details for the integration version
"cloudLoggingSeverity": "A String", # Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the integration version getting executed.
"enableCloudLogging": True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
},
"containTaskVariables": True or False, # Indicates if the task execution contains variables.
"createTime": "A String", # Output only. Time the execution is created.
"executionAttemptStats": [ # Start and end time of each execution attempt.
{ # Status for the execution attempt.
"endTime": "A String", # The end time of the execution for the current attempt.
"startTime": "A String", # The start time of the execution for the current attempt. This could be in the future if it's been scheduled.
},
],
"integrationVersionNumber": "A String", # Indicates which snapshot of integration is used for this execution.
"integrationVersionUserLabel": "A String", # Optional. User-defined label that annotates the executed integration version.
"name": "A String", # Identifier. Execution resource name.
"replayInfo": { # Contains the details of the execution info: this includes the replay reason and replay tree connecting executions in a parent-child relationship # Output only. Replay info for the execution
"originalExecutionId": "A String", # If this execution is a replay of another execution, then this field contains the original execution id.
"replayMode": "A String", # Replay mode for the execution
"replayReason": "A String", # reason for replay
"replayedExecutionIds": [ # If this execution has been replayed, then this field contains the execution ids of the replayed executions.
"A String",
],
},
"requestVariables": { # Optional. Variables provided in the request.
"a_key": "", # Properties of the object.
},
"responseVariables": { # Optional. Variables returned as part of the response.
"a_key": "", # Properties of the object.
},
"state": "A String", # Output only. Status of the execution.
"taskExecutions": [ # Optional. List of task executions.
{ # Execution of a single task within an integration
"name": "A String", # Identifier. Task execution resource name.
"taskExecutionDetails": [ # Details of the task execution.
{ # Details of the task execution.
"taskAttemptStats": [ # List for the current task execution attempts.
{ # Status for the execution attempt.
"endTime": "A String", # The end time of the execution for the current attempt.
"startTime": "A String", # The start time of the execution for the current attempt. This could be in the future if it's been scheduled.
},
],
"taskExecutionState": "A String", # Output only. The execution state of this task.
"taskNumber": "A String", # Pointer to the task config it used for execution.
},
],
"taskExecutionMetadata": { # Metadata of the task execution. # Optional. Metadata of the task execution.
"ancestorIterationNumbers": [ # Optional. Ancestor iteration number for the task (it will only be non-empty if the task is under 'private integration').
"A String",
],
"ancestorTaskNumbers": [ # Optional. Ancestor task number for the task (it will only be non-empty if the task is under 'private integration').
"A String",
],
"executionAttempt": 42, # The execution attempt number this execution belongs to.
"privateIntegrationName": "A String", # Optional. The direct integration which the execution belongs to.
"task": "A String", # The task name associated with this execution.
"taskAttempt": 42, # The task attempt number this execution belongs to.
"taskLabel": "A String", # The task label associated with this execution.
"taskNumber": "A String", # The task number associated with this execution.
},
"variables": { # Optional. Variables used during the execution.
"a_key": "", # Properties of the object.
},
},
],
"triggerId": "A String", # The ID of the trigger invoked at the start of the execution.
"updateTime": "A String", # Output only. Time the execution is recently updated.
},
],
"nextPageToken": "A String", # The token for retrieving the next page of results.
}
list_next(previous_request, previous_response)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
troubleshoot(name, x__xgafv=None)
View detailed explanation of why an integration execution failed, using LLM
Args:
name: string, Required. Execution resource name. Format: `projects/{project}/locations/{location}/integrations/{integration}/executions/{execution_id}` (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for troubleshooting an integration execution.
"detailedExplanation": "A String", # Detailed explanation of the root cause of the integration execution failure.
"displayMessage": "A String", # Display message to be shown to the user. Example - If integration execution succeeded, this field value can be "Integration execution succeeded. No troubleshooting needed.".
"errorMessage": "A String", # Error message of the integration execution, if the execution failed.
"executionId": "A String", # The execution id of the integration execution to be troubleshooted.
"rootCause": "A String", # Root cause of the integration execution failure.
}