- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the lockedBy
user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, lastModifiedTimestamp, last_modified_by. Any existing lock is on this integration is released.
HTTP request
POST https://integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*/versions/*}:publish
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "configParameters": { object } } |
Fields | |
---|---|
configParameters |
Optional. Config parameters used during integration execution. |
Response body
If successful, the response body is empty.
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.integrationVersions.deploy
For more information, see the IAM documentation.