Skip to main content

executions

Creates, updates, deletes, gets or lists an executions resource.

Overview

Nameexecutions
TypeResource
Idgoogle.integrations.executions

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringAuto-generated primary key.
cloudKmsKeystringOptional. Cloud KMS resource name for the CMEK encryption key.
cloudLoggingDetailsobjectCloud Logging details for the integration version (id: GoogleCloudIntegrationsV1alphaCloudLoggingDetails)
createTimestring (google-datetime)Output only. Created time of the execution.
directSubExecutionsarrayDirect sub executions of the following Execution.
eventExecutionDetailsobjectThe execution info about this event. (id: EnterpriseCrmEventbusProtoEventExecutionDetails)
executionDetailsobjectDetailed info of this execution. (id: GoogleCloudIntegrationsV1alphaExecutionDetails)
executionMethodstringThe ways user posts this event.
integrationVersionStatestringOutput only. State of the integration version
replayInfoobjectOutput only. Replay info for the execution (id: GoogleCloudIntegrationsV1alphaExecutionReplayInfo)
requestParametersobjectEvent parameters come in as part of the request.
requestParamsarrayEvent parameters come in as part of the request.
responseParametersobjectEvent parameters returned as part of the response. In the case of error, the ErrorInfo field is returned in the following format: { "ErrorInfo": { "message": String, "code": Number } }
responseParamsarray
snapshotNumberstring (int64)Output only. An increasing sequence that is set when a new snapshot is created
triggerIdstringThe trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.
updateTimestring (google-datetime)Output only. Last modified time of the execution.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_products_integrations_executions_getselectprojectsId, locationsId, productsId, integrationsId, executionsIdGet an execution in the specified project.
projects_locations_products_integrations_executions_listselectprojectsId, locationsId, productsId, integrationsIdfilter, pageSize, pageToken, orderBy, readMask, filterParams.workflowName, filterParams.startTime, filterParams.endTime, filterParams.eventStatuses, filterParams.taskStatuses, filterParams.customFilter, filterParams.executionId, filterParams.parameterValue, filterParams.parameterType, filterParams.parameterKey, filterParams.parameterPairKey, filterParams.parameterPairValue, refreshAcl, truncateParams, snapshotMetadataWithoutParamsLists the results of all the integration executions. The response includes the same information as the execution log in the Integration UI.
projects_locations_integrations_executions_getselectprojectsId, locationsId, integrationsId, executionsIdGet an execution in the specified project.
projects_locations_integrations_executions_listselectprojectsId, locationsId, integrationsIdfilter, pageSize, pageToken, orderBy, readMask, filterParams.workflowName, filterParams.startTime, filterParams.endTime, filterParams.eventStatuses, filterParams.taskStatuses, filterParams.customFilter, filterParams.executionId, filterParams.parameterValue, filterParams.parameterType, filterParams.parameterKey, filterParams.parameterPairKey, filterParams.parameterPairValue, refreshAcl, truncateParams, snapshotMetadataWithoutParamsLists the results of all the integration executions. The response includes the same information as the execution log in the Integration UI.
projects_locations_products_integrations_executions_downloadexecprojectsId, locationsId, productsId, integrationsId, executionsIdDownload the execution.
projects_locations_integrations_executions_cancelexecprojectsId, locationsId, integrationsId, executionsIdCancellation of an execution and associated sub-executions. This will not cancel an IN_PROCESS or completed(SUCCESSFUL, FAILED or CANCELLED) executions.
projects_locations_integrations_executions_downloadexecprojectsId, locationsId, integrationsId, executionsIdDownload the execution.
projects_locations_integrations_executions_replayexecprojectsId, locationsId, integrationsId, executionsIdRe-execute an existing execution, with same request parameters and execution strategy.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
executionsIdstring
integrationsIdstring
locationsIdstring
productsIdstring
projectsIdstring
filterstring
filterParams.customFilterstring
filterParams.endTimestring (int64)
filterParams.eventStatusesstring
filterParams.executionIdstring
filterParams.parameterKeystring
filterParams.parameterPairKeystring
filterParams.parameterPairValuestring
filterParams.parameterTypestring
filterParams.parameterValuestring
filterParams.startTimestring (int64)
filterParams.taskStatusesstring
filterParams.workflowNamestring
orderBystring
pageSizeinteger (int32)
pageTokenstring
readMaskstring (google-fieldmask)
refreshAclboolean
snapshotMetadataWithoutParamsboolean
truncateParamsboolean

SELECT examples

Get an execution in the specified project.

SELECT
name,
cloudKmsKey,
cloudLoggingDetails,
createTime,
directSubExecutions,
eventExecutionDetails,
executionDetails,
executionMethod,
integrationVersionState,
replayInfo,
requestParameters,
requestParams,
responseParameters,
responseParams,
snapshotNumber,
triggerId,
updateTime
FROM google.integrations.executions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND productsId = '{{ productsId }}' -- required
AND integrationsId = '{{ integrationsId }}' -- required
AND executionsId = '{{ executionsId }}' -- required;

Lifecycle Methods

Download the execution.

EXEC google.integrations.executions.projects_locations_products_integrations_executions_download 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@productsId='{{ productsId }}' --required,
@integrationsId='{{ integrationsId }}' --required,
@executionsId='{{ executionsId }}' --required;