class ProjectsLocationsProductsIntegrations extends Resource (View source)

The "integrations" collection of methods.

Typical usage is:

 $integrationsService = new Google\Service\Integrations(...);
 $integrations = $integrationsService->projects_locations_products_integrations;

Methods

execute(string $name, GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest $postBody, array $optParams = [])

Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing -), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given trigger_id is executed. This is helpful for execution the integration from UI. (integrations.execute)

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

Returns the list of all integrations in the specified project.

schedule(string $name, GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest $postBody, array $optParams = [])

Schedules an integration for execution by passing the trigger id and the scheduled time in the request body. (integrations.schedule)

test(string $name, GoogleCloudIntegrationsV1alphaTestIntegrationsRequest $postBody, array $optParams = [])

Execute the integration in draft state (integrations.test)

Details

GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse execute(string $name, GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest $postBody, array $optParams = [])

Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing -), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given trigger_id is executed. This is helpful for execution the integration from UI. (integrations.execute)

Parameters

string $name

Required. The integration resource name.

GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse

Exceptions

Exception

GoogleCloudIntegrationsV1alphaListIntegrationsResponse listProjectsLocationsProductsIntegrations(string $parent, array $optParams = [])

Returns the list of all integrations in the specified project.

(integrations.listProjectsLocationsProductsIntegrations)

Parameters

string $parent

Required. Project and location from which the integrations should be listed. Format: projects/{project}

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaListIntegrationsResponse

Exceptions

Exception

GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse schedule(string $name, GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest $postBody, array $optParams = [])

Schedules an integration for execution by passing the trigger id and the scheduled time in the request body. (integrations.schedule)

Parameters

string $name

The integration resource name.

GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse

Exceptions

Exception

GoogleCloudIntegrationsV1alphaTestIntegrationsResponse test(string $name, GoogleCloudIntegrationsV1alphaTestIntegrationsRequest $postBody, array $optParams = [])

Execute the integration in draft state (integrations.test)

Parameters

string $name

Output only. Auto-generated primary key.

GoogleCloudIntegrationsV1alphaTestIntegrationsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaTestIntegrationsResponse

Exceptions

Exception