Skip to main content

suspensions

Creates, updates, deletes, gets or lists a suspensions resource.

Overview

Namesuspensions
TypeResource
Idgoogle.integrations.suspensions

Fields

NameDatatypeDescription
namestringResource name for suspensions suspension/{suspension_id}
approvalConfigobjectConfigurations for approving the Suspension.
auditobjectContains when and by whom the suspension was resolved.
createTimestringOutput only. Auto-generated.
eventExecutionInfoIdstringRequired. ID of the associated execution.
integrationstringRequired. The name of the originating integration.
lastModifyTimestringOutput only. Auto-generated.
statestringRequired. State of this suspension, indicating what action a resolver has taken.
suspensionConfigobject
taskIdstringRequired. Task id of the associated SuspensionTask.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_integrations_executions_suspensions_listSELECTexecutionsId, integrationsId, locationsId, projectsId* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.
projects_locations_products_integrations_executions_suspensions_listSELECTexecutionsId, integrationsId, locationsId, productsId, projectsId* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.
projects_locations_integrations_executions_suspensions_liftEXECexecutionsId, integrationsId, locationsId, projectsId, suspensionsId* Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.
projects_locations_integrations_executions_suspensions_resolveEXECexecutionsId, integrationsId, locationsId, projectsId, suspensionsId* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.
projects_locations_products_integrations_executions_suspensions_liftEXECexecutionsId, integrationsId, locationsId, productsId, projectsId, suspensionsId* Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.
projects_locations_products_integrations_executions_suspensions_resolveEXECexecutionsId, integrationsId, locationsId, productsId, projectsId, suspensionsId* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.

SELECT examples

  • Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.
SELECT
name,
approvalConfig,
audit,
createTime,
eventExecutionInfoId,
integration,
lastModifyTime,
state,
suspensionConfig,
taskId
FROM google.integrations.suspensions
WHERE executionsId = '{{ executionsId }}'
AND integrationsId = '{{ integrationsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';