Sets the status of the ACTIVE integration to SNAPSHOT with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, actionBy, actionTimestamp.
HTTP request
POST https://<GOOGLE_CLOUD_REGION>-integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*/versions/*}:deactivate
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This feature is in a pre-GA stage, meaning it is available \"as is\" and may have limited support, as detailed in the Pre-GA Offerings Terms within the General Service Terms."],["Deactivating a version sets the ACTIVE integration status to SNAPSHOT with a \"PREVIOUSLY_PUBLISHED\" tag, without changing the \"HEAD\" or \"PUBLISH_REQUESTED\" tags, and this action requires the version to be ACTIVE."],["The HTTP request for deactivation is a POST request to a specific URL using gRPC Transcoding syntax, with a required path parameter `name` specifying the version to deactivate in the format `projects/{project}/integrations/{integration}/versions/{version}`."],["The request body for deactivation must be empty, and a successful response will also have an empty body."],["Deactivation requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and one of the IAM permissions `integrations.integrationVersions.deploy` on the `name` resource."]]],[]]