suspensions
Creates, updates, deletes, gets or lists a suspensions
resource.
Overview
Name | suspensions |
Type | Resource |
Id | google.integrations.suspensions |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Resource name for suspensions suspension/{suspension_id} |
approvalConfig | object | Configurations for approving the Suspension. |
audit | object | Contains when and by whom the suspension was resolved. |
createTime | string | Output only. Auto-generated. |
eventExecutionInfoId | string | Required. ID of the associated execution. |
integration | string | Required. The name of the originating integration. |
lastModifyTime | string | Output only. Auto-generated. |
state | string | Required. State of this suspension, indicating what action a resolver has taken. |
suspensionConfig | object | |
taskId | string | Required. Task id of the associated SuspensionTask. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_integrations_executions_suspensions_list | SELECT | executionsId, 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_list | SELECT | executionsId, 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_lift | EXEC | executionsId, 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_resolve | EXEC | executionsId, 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_lift | EXEC | executionsId, 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_resolve | EXEC | executionsId, 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 }}';