Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being archived is DRAFT, and if the lockedBy user is not the same as the user performing the Archive. Audit fields updated include lastModifiedTimestamp, last_modified_by. Any existing lock is released when Archiving a integration. Currently, there is no unarchive mechanism.
HTTP request
POST https://<GOOGLE_CLOUD_REGION>-integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*/versions/*}:archive
[[["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\" with potentially limited support, and is subject to the \"Pre-GA Offerings Terms\" outlined in the General Service Terms."],["Archiving an integration version changes its status to ARCHIVED, removes the \"HEAD\" tag if present, and removes the PUBLISH_REQUESTED and DUE_FOR_DELETION tags, while also updating audit fields like lastModifiedTimestamp."],["The HTTP request to archive a version is a POST request to a specific URL constructed using gRPC Transcoding syntax, and the request body must be empty, with an empty response body upon success."],["Archiving requires specific authorization, using OAuth scope `https://www.googleapis.com/auth/cloud-platform` and one of the specified IAM permissions on the `name` resource, such as `integrations.integrationVersions.deploy`."],["To archive, provide the `name` parameter in the path, which indicates the version to be archived, in the format: projects/{project}/integrations/{integration}/versions/{version}."]]],[]]