- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Use the template to create integration. This api would keep track of usageCount and lastUsedTime. PERMISSION_DENIED would be thrown if template is not accessible by client.
HTTP request
POST https://integrations.googleapis.com/v1/{name=projects/*/locations/*/templates/*}:use
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The name that is associated with the Template. | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "integrationDetails": { object ( | 
| Fields | |
|---|---|
| integrationDetails | 
 Required. Integration details which would be created via templates. | 
| subIntegrations | 
 Optional. Sub Integration which would be created via templates. | 
| integrationRegion | 
 Required. The region of the Integration to be created. | 
Response body
Response for use template
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "integrationVersion": { object ( | 
| Fields | |
|---|---|
| integrationVersion | 
 IntegrationVersion which is created. | 
| subIntegrationVersions[] | 
 Sub integration versions which are created. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
- integrations.templates.use
For more information, see the IAM documentation.