A versão do GA da autorização binária fornece uma API REST atualizada e um conjunto de comandos gcloud. Atualize todos os scripts ou automações que acessam essas interfaces da seguinte maneira:
API REST
Use os pontos de extremidade da API REST do GA em relação ao seguinte URL
https://binaryauthorization.googleapis.com/v1/ em vez de
https://binaryauthorization.googleapis.com/v1beta1.
Ao criar um novo atestador ao chamar a versão do GA da API REST, você envia uma mensagem JSON que descreve o atestado como parte da solicitação. Na versão Beta da API, a mensagem JSON continha um campo chamado UserOwnedDrydockNote. Na versão de GA,
o nome desse campo é UserOwnedGrafeasNote.
CLI do Google Cloud
Use os comandos gcloud do GA em gcloud container binauthz
em vez de gcloud beta container binauthz.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-02 UTC."],[[["\u003cp\u003eThe Binary Authorization Beta API was discontinued on September 16, 2019, and will cease to function after March 16, 2020, requiring migration to the GA version.\u003c/p\u003e\n"],["\u003cp\u003eUsers of the Binary Authorization Beta API must migrate to the GA version to avoid service interruption, while no action is required for those not using the Beta version.\u003c/p\u003e\n"],["\u003cp\u003eMigration to the GA version involves updating scripts and automations to use the GA REST API endpoints (\u003ccode\u003ehttps://binaryauthorization.googleapis.com/v1/\u003c/code\u003e) and the GA \u003ccode\u003egcloud\u003c/code\u003e command set (\u003ccode\u003egcloud container binauthz\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe GA version of the REST API uses \u003ccode\u003eUserOwnedGrafeasNote\u003c/code\u003e in JSON messages for creating attestors, replacing the Beta version's \u003ccode\u003eUserOwnedDrydockNote\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eArtifact Analysis Beta API users are recommended to start using the generally available version of the API instead.\u003c/p\u003e\n"]]],[],null,["# GA migration guide\n\n| **Note:** **Binary Authorization Beta API users:** Support for the Binary Authorization Beta API was discontinued on September 16, 2019. As a result, **the Binary Authorization Beta API will stop\n| working after March 16, 2020. To prevent service interruption, you must take\n| actions outlined in this page to migrate to the GA version.**\n\nIf you do not have workloads that use the Binary Authorization Beta version, no\naction is required on your part.\n| **Note:** **Artifact Analysis Beta API users:** Use the GA version of the [Artifact Analysis API](/artifact-analysis/docs/reference/rest).\n\n[Binary Authorization is now generally available](/binary-authorization/docs/release-notes#September_16_2019).\nIf your workloads use the Binary Authorization Beta API, perform the following\nsteps to migrate to the GA version.\n\nMigration steps\n---------------\n\nThe GA version of Binary Authorization provides an updated REST API and `gcloud`\ncommand set. Update any scripts or automations that access these interfaces as\nfollows:\n\n- **REST API**\n\n Use GA REST API endpoints relative to the following URL\n `https://binaryauthorization.googleapis.com/v1/` instead of\n `https://binaryauthorization.googleapis.com/v1beta1`.\n\n When you [create a new attestor](/binary-authorization/docs/creating-attestors-rest) when calling the\n GA version of the REST API, you send a JSON message that describes the\n attestor as part of the request. In the Beta version of the API, the JSON\n message contained a field named `UserOwnedDrydockNote`. In the GA version,\n the name of this field is `UserOwnedGrafeasNote`.\n- **Google Cloud CLI**\n\n Use GA `gcloud` commands in `gcloud container binauthz`\n instead of `gcloud beta container binauthz`."]]