# Application Integration API

- [REST Resource: v2.projects.locations.integrations](https://docs.cloud.google.com/application-integration/docs/reference/rest#v2.projects.locations.integrations)
- [REST Resource: v2.projects.locations.integrations.executions](https://docs.cloud.google.com/application-integration/docs/reference/rest#v2.projects.locations.integrations.executions)
- [REST Resource: v2.projects.locations.integrations.executions.taskExecutions](https://docs.cloud.google.com/application-integration/docs/reference/rest#v2.projects.locations.integrations.executions.taskExecutions)
- [REST Resource: v1.projects.locations.authConfigs](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.authConfigs)
- [REST Resource: v1.projects.locations.certificates](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.certificates)
- [REST Resource: v1.projects.locations.clients](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.clients)
- [REST Resource: v1.projects.locations.integrations](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.integrations)
- [REST Resource: v1.projects.locations.integrations.executions](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.integrations.executions)
- [REST Resource: v1.projects.locations.integrations.executions.suspensions](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.integrations.executions.suspensions)
- [REST Resource: v1.projects.locations.integrations.versions](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.integrations.versions)
- [REST Resource: v1.projects.locations.integrations.versions.testCases](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.integrations.versions.testCases)
- [REST Resource: v1.projects.locations.sfdcInstances](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.sfdcInstances)
- [REST Resource: v1.projects.locations.sfdcInstances.sfdcChannels](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.sfdcInstances.sfdcChannels)
- [REST Resource: v1.projects.locations.templates](https://docs.cloud.google.com/application-integration/docs/reference/rest#v1.projects.locations.templates)

## Service: integrations.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

- <https://integrations.googleapis.com/$discovery/rest?version=v2>
- <https://integrations.googleapis.com/$discovery/rest?version=v1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://integrations.googleapis.com`

## REST Resource: [v2.projects.locations.integrations](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations/execute` | `POST /v2/{parent=projects/*/locations/*/integrations/*}:execute` Executes integrations synchronously. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations/schedule` | `POST /v2/{parent=projects/*/locations/*/integrations/*}:schedule` Schedules an integration for execution. |

## REST Resource: [v2.projects.locations.integrations.executions](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/list` | `GET /v2/{parent=projects/*/locations/*/integrations/*}/executions` Lists the results of all the integration executions. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions/troubleshoot` | `GET /v2/{name=projects/*/locations/*/integrations/*/executions/*}:troubleshoot` View detailed explanation of why an integration execution failed, using LLM |

## REST Resource: [v2.projects.locations.integrations.executions.taskExecutions](https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions.taskExecutions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrations.executions.taskExecutions/get` | `GET /v2/{name=projects/*/locations/*/integrations/*/executions/*/taskExecutions/*}` Get a TaskExecution in the specified project. |

## REST Resource: [v1.projects.locations](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations/generateOpenApiSpec` | `POST /v1/{name=projects/*/locations/*}:generateOpenApiSpec` Generate OpenAPI spec for the requested integrations and api triggers |

## REST Resource: [v1.projects.locations.authConfigs](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.authConfigs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.authConfigs/create` | `POST /v1/{parent=projects/*/locations/*}/authConfigs` Creates an auth config record. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.authConfigs/delete` | `DELETE /v1/{name=projects/*/locations/*/authConfigs/*}` Deletes an auth config. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.authConfigs/get` | `GET /v1/{name=projects/*/locations/*/authConfigs/*}` Gets a complete auth config. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.authConfigs/list` | `GET /v1/{parent=projects/*/locations/*}/authConfigs` Lists all auth configs that match the filter. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.authConfigs/patch` | `PATCH /v1/{authConfig.name=projects/*/locations/*/authConfigs/*}` Updates an auth config. |

## REST Resource: [v1.projects.locations.certificates](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.certificates)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.certificates/create` | `POST /v1/{parent=projects/*/locations/*}/certificates` Creates a new certificate. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.certificates/delete` | `DELETE /v1/{name=projects/*/locations/*/certificates/*}` Delete a certificate |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.certificates/get` | `GET /v1/{name=projects/*/locations/*/certificates/*}` Get a certificates in the specified project. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.certificates/list` | `GET /v1/{parent=projects/*/locations/*}/certificates` List all the certificates that match the filter. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.certificates/patch` | `PATCH /v1/{certificate.name=projects/*/locations/*/certificates/*}` Updates the certificate by id. |

## REST Resource: [v1.projects.locations.clients](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.clients)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.clients/changeConfig` | `POST /v1/{parent=projects/*/locations/*}/clients:changeConfig` Updates the client customer configuration for the given project and location resource name |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.clients/provision` | `POST /v1/{parent=projects/*/locations/*}/clients:provision` Perform the provisioning steps to enable a user GCP project to use IP. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.clients/provisionClientPostProcessor` | `POST /v1/{parent=projects/*/locations/*}/clients:provisionClientPostProcessor` Perform post provisioning steps after client is provisioned. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.clients/switchVariableMasking` | `POST /v1/{parent=projects/*/locations/*}/clients:switchVariableMasking` Update variable masking for provisioned client |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.clients/toggleHttp` | `POST /v1/{parent=projects/*/locations/*}/clients:toggleHttp` Enable/Disable http call for provisioned client |

## REST Resource: [v1.projects.locations.integrations](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/execute` | `POST /v1/{name=projects/*/locations/*/integrations/*}:execute` Executes integrations synchronously by passing the trigger id in the request body. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/list` | `GET /v1/{parent=projects/*/locations/*}/integrations` Returns the list of all integrations in the specified project. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/schedule` | `POST /v1/{name=projects/*/locations/*/integrations/*}:schedule` Schedules an integration for execution by passing the trigger id and the scheduled time in the request body. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search` | `GET /v1/{parent=projects/*/locations/*}/integrations:search` Searches and returns the list of integrations in the specified project. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/test` | `POST /v1/{integrationVersion.name=projects/*/locations/*/integrations/*}:test` Execute the integration in draft state |

## REST Resource: [v1.projects.locations.integrations.executions](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions/cancel` | `POST /v1/{name=projects/*/locations/*/integrations/*/executions/*}:cancel` Cancellation of an execution and associated sub-executions. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions/list` | `GET /v1/{parent=projects/*/locations/*/integrations/*}/executions` Lists the results of all the integration executions. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions/replay` | `POST /v1/{name=projects/*/locations/*/integrations/*/executions/*}:replay` Re-execute an existing execution, with same request parameters and execution strategy. |

## REST Resource: [v1.projects.locations.integrations.executions.suspensions](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions.suspensions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions.suspensions/lift` | `POST /v1/{name=projects/*/locations/*/integrations/*/executions/*/suspensions/*}:lift` \* Lifts suspension for the Suspension task. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions.suspensions/list` | `GET /v1/{parent=projects/*/locations/*/integrations/*/executions/*}/suspensions` \* Lists suspensions associated with a specific execution. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions.suspensions/resolve` | `POST /v1/{name=projects/*/locations/*/integrations/*/executions/*/suspensions/*}:resolve` \* Resolves (lifts/rejects) any number of suspensions. |

## REST Resource: [v1.projects.locations.integrations.versions](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/create` | `POST /v1/{parent=projects/*/locations/*/integrations/*}/versions` Create a integration with a draft version in the specified project. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/delete` | `DELETE /v1/{name=projects/*/locations/*/integrations/*/versions/*}` Soft-deletes the integration. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/download` | `GET /v1/{name=projects/*/locations/*/integrations/*/versions/*}:download` Downloads an integration. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/downloadJsonPackage` | `GET /v1/{name=projects/*/locations/*/integrations/*/versions/*}:downloadJsonPackage` Downloads an Integration version package like IntegrationVersion,Integration Config etc. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/get` | `GET /v1/{name=projects/*/locations/*/integrations/*/versions/*}` Get a integration in the specified project. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/list` | `GET /v1/{parent=projects/*/locations/*/integrations/*}/versions` Returns the list of all integration versions in the specified project. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/patch` | `PATCH /v1/{integrationVersion.name=projects/*/locations/*/integrations/*/versions/*}` Update a integration with a draft version in the specified project. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/publish` | `POST /v1/{name=projects/*/locations/*/integrations/*/versions/*}:publish` This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/unpublish` | `POST /v1/{name=projects/*/locations/*/integrations/*/versions/*}:unpublish` Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions/upload` | `POST /v1/{parent=projects/*/locations/*/integrations/*}/versions:upload` Uploads an integration. |

## REST Resource: [v1.projects.locations.integrations.versions.testCases](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/create` | `POST /v1/{parent=projects/*/locations/*/integrations/*/versions/*}/testCases` Creates a new test case |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/delete` | `DELETE /v1/{name=projects/*/locations/*/integrations/*/versions/*/testCases/*}` Deletes a test case |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/download` | `GET /v1/{name=projects/*/locations/*/integrations/*/versions/*/testCases/*}:download` Downloads a test case. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/execute` | `POST /v1/{parent=projects/*/locations/*/integrations/*/versions/*}/testCases:execute` Executes all test cases in an integration version. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/executeTest` | `POST /v1/{testCaseName=projects/*/locations/*/integrations/*/versions/*/testCases/*}:executeTest` Executes functional test |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/get` | `GET /v1/{name=projects/*/locations/*/integrations/*/versions/*/testCases/*}` Get a test case |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/list` | `GET /v1/{parent=projects/*/locations/*/integrations/*/versions/*}/testCases` Lists all the test cases that satisfy the filters. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/patch` | `PATCH /v1/{testCase.name=projects/*/locations/*/integrations/*/versions/*/testCases/*}` Updates a test case |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/takeoverEditLock` | `POST /v1/{name=projects/*/locations/*/integrations/*/versions/*/testCases/*}:takeoverEditLock` Clear the lock fields and assign them to current user |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations.versions.testCases/upload` | `POST /v1/{parent=projects/*/locations/*/integrations/*/versions/*}/testCases:upload` Uploads a test case. |

## REST Resource: [v1.projects.locations.sfdcInstances](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/create` | `POST /v1/{parent=projects/*/locations/*}/sfdcInstances` Creates an sfdc instance record. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/delete` | `DELETE /v1/{name=projects/*/locations/*/sfdcInstances/*}` Deletes an sfdc instance. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/get` | `GET /v1/{name=projects/*/locations/*/sfdcInstances/*}` Gets an sfdc instance. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/list` | `GET /v1/{parent=projects/*/locations/*}/sfdcInstances` Lists all sfdc instances that match the filter. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/patch` | `PATCH /v1/{sfdcInstance.name=projects/*/locations/*/sfdcInstances/*}` Updates an sfdc instance. |

## REST Resource: [v1.projects.locations.sfdcInstances.sfdcChannels](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances.sfdcChannels)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances.sfdcChannels/create` | `POST /v1/{parent=projects/*/locations/*/sfdcInstances/*}/sfdcChannels` Creates an sfdc channel record. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances.sfdcChannels/delete` | `DELETE /v1/{name=projects/*/locations/*/sfdcInstances/*/sfdcChannels/*}` Deletes an sfdc channel. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances.sfdcChannels/get` | `GET /v1/{name=projects/*/locations/*/sfdcInstances/*/sfdcChannels/*}` Gets an sfdc channel. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances.sfdcChannels/list` | `GET /v1/{parent=projects/*/locations/*/sfdcInstances/*}/sfdcChannels` Lists all sfdc channels that match the filter. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances.sfdcChannels/patch` | `PATCH /v1/{sfdcChannel.name=projects/*/locations/*/sfdcInstances/*/sfdcChannels/*}` Updates an sfdc channel. |

## REST Resource: [v1.projects.locations.templates](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/create` | `POST /v1/{parent=projects/*/locations/*}/templates` Creates a new template |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/delete` | `DELETE /v1/{name=projects/*/locations/*/templates/*}` Deletes a template |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/download` | `GET /v1/{name=projects/*/locations/*/templates/*}:download` Downloads a template. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/get` | `GET /v1/{name=projects/*/locations/*/templates/*}` Get a template in the specified project. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/import` | `POST /v1/{name=projects/*/locations/*/templates/*}:import` Import the template to an existing integration. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/list` | `GET /v1/{parent=projects/*/locations/*}/templates` Lists all templates matching the filter. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/patch` | `PATCH /v1/{template.name=projects/*/locations/*/templates/*}` Updates the template by given id. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/search` | `GET /v1/{parent=projects/*/locations/*}/templates:search` Search templates based on user query and filters. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/share` | `POST /v1/{name=projects/*/locations/*/templates/*}:share` Share a template with other clients. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/unshare` | `POST /v1/{name=projects/*/locations/*/templates/*}:unshare` Unshare a template from given clients. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/upload` | `POST /v1/{parent=projects/*/locations/*}/templates:upload` Uploads a template. |
| `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.templates/use` | `POST /v1/{name=projects/*/locations/*/templates/*}:use` Use the template to create integration. |