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/*/products/*/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 must be empty.
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 one of the following IAM permissions on the name
resource, depending on the resource type:
integrations.apigeeIntegrationVers.deploy
integrations.integrationVersions.deploy
integrations.securityIntegrationVers.deploy
For more information, see the IAM documentation.