class ProjectsLocationsProductsIntegrationsExecutionsSuspensions extends Resource (View source)

The "suspensions" collection of methods.

Typical usage is:

 $integrationsService = new Google\Service\Integrations(...);
 $suspensions = $integrationsService->projects_locations_products_integrations_executions_suspensions;

Methods

lift(string $name, GoogleCloudIntegrationsV1alphaLiftSuspensionRequest $postBody, array $optParams = [])

  • Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task. (suspensions.lift)

listProjectsLocationsProductsIntegrationsExecutionsSuspensions(string $parent, array $optParams = [])

  • Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.

resolve(string $name, GoogleCloudIntegrationsV1alphaResolveSuspensionRequest $postBody, array $optParams = [])

  • 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. (suspensions.resolve)

Details

GoogleCloudIntegrationsV1alphaLiftSuspensionResponse lift(string $name, GoogleCloudIntegrationsV1alphaLiftSuspensionRequest $postBody, array $optParams = [])

  • Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task. (suspensions.lift)

Parameters

string $name

Required. The resource that the suspension belongs to. "p rojects/{project}/locations/{location}/products/{product}/integrations/{integ ration}/executions/{execution}/suspensions/{suspenion}" format.

GoogleCloudIntegrationsV1alphaLiftSuspensionRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaLiftSuspensionResponse

Exceptions

Exception

GoogleCloudIntegrationsV1alphaListSuspensionsResponse listProjectsLocationsProductsIntegrationsExecutionsSuspensions(string $parent, array $optParams = [])

  • Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.

(suspensions.listProjectsLocationsProductsIntegrationsExecutionsSuspensions)

Parameters

string $parent

Required. projects/{gcp_project_id}/locations/{location }/products/{product}/integrations/{integration_name}/executions/{execution_na me}

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaListSuspensionsResponse

Exceptions

Exception

GoogleCloudIntegrationsV1alphaResolveSuspensionResponse resolve(string $name, GoogleCloudIntegrationsV1alphaResolveSuspensionRequest $postBody, array $optParams = [])

  • 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. (suspensions.resolve)

Parameters

string $name

Required. projects/{gcp_project_id}/locations/{location}/ products/{product}/integrations/{integration_name}/executions/{execution_name }/suspensions/{suspension_id}

GoogleCloudIntegrationsV1alphaResolveSuspensionRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaResolveSuspensionResponse

Exceptions

Exception