- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Share a template with other clients. Only the template owner can share the templates with other projects. PERMISSION_DENIED would be thrown if the request is not from the owner.
HTTP request
POST https://integrations.googleapis.com/v1/{name=projects/*/locations/*/templates/*}:share
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 | 
|---|
| { "resourceNames": [ string ] } | 
| Fields | |
|---|---|
| resourceNames[] | 
 Optional. Project name resources to share the template. The project names is expected in resource format Ex: projects/{project-number} or organization/{org-id} | 
Response body
If successful, the response body is an empty JSON object.
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.share
For more information, see the IAM documentation.