Attivare o disattivare l'archiviazione dei metadati
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Abilita l'API Container Analysis
L'API Artifact Analysis fornisce l'archiviazione dei metadati per
gli artefatti software sia su Container Registry che su Artifact Registry.
Abilita l'API Container Analysis se utilizzi Artifact Analysis
per la gestione dei metadati. Puoi abilitare l'API per un progetto esistente o creare un nuovo progetto e poi abilitare l'API.
Gli utenti e gli account di servizio che devono visualizzare le occorrenze devono disporre del ruolo
Container Analysis Occurrences Viewer. Per informazioni sulla concessione delle autorizzazioni, consulta la sezione
Configurazione del controllo dell'accesso.
Disabilita l'API Container Analysis
Quando disabiliti l'API Container Analysis, il servizio viene disattivato sia per Container Registry che per Artifact Registry.
Per disabilitare l'API Container Analysis, segui le istruzioni per disabilitare
i servizi.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-03 UTC."],[[["\u003cp\u003eThe Container Analysis API is essential for managing metadata of software artifacts in both Container Registry and Artifact Registry.\u003c/p\u003e\n"],["\u003cp\u003eContainer Registry is deprecated and scheduled for shutdown, with new \u003ccode\u003egcr.io\u003c/code\u003e repositories now hosted on Artifact Registry by default for organizations that haven't used Container Registry before January 8, 2024, with full shutdown by March 18, 2025.\u003c/p\u003e\n"],["\u003cp\u003eEnabling the Container Analysis API is necessary for utilizing Artifact Analysis to manage metadata, and it can be done for existing projects or new projects.\u003c/p\u003e\n"],["\u003cp\u003eThe Container Scanning API automatically enables the Container Analysis API.\u003c/p\u003e\n"],["\u003cp\u003eDisabling the Container Analysis API turns off the service for both Container Registry and Artifact Registry, and this can be done by following instructions to disable services.\u003c/p\u003e\n"]]],[],null,["# Enable or disable metadata storage\n\nEnable the Container Analysis API\n---------------------------------\n\nThe Artifact Analysis API provides metadata storage for\nsoftware artifacts on both Container Registry and Artifact Registry.\n\nEnable the Container Analysis API if you are using Artifact Analysis\nfor [managing metadata](/artifact-analysis/docs/metadata-storage). You can enable the API for an\nexisting project, or create a new project and then enable the API.\n\n[Enable the Container Analysis API](https://console.cloud.google.com/flows/enableapi?apiid=containeranalysis.googleapis.com)\n| **Note:** This API is automatically enabled by the [Container\n| Scanning](/artifact-analysis/docs/enable-container-scanning) API.\n\nUsers and service accounts that need to view occurrences must have the\n**Container Analysis Occurrences Viewer** . See\n[Configuring access control](/artifact-analysis/docs/ca-access-control) for information about granting\npermissions.\n\nDisable the Container Analysis API\n----------------------------------\n\nWhen you disable the Container Analysis API, the service is turned off for both\nContainer Registry and Artifact Registry.\n\nTo disable the Container Analysis API follow the instructions to [disable\nservices](/service-usage/docs/enable-disable).\n\nWhat's next\n-----------\n\n- [Store and retrieve metadata for your software\n artifacts](/artifact-analysis/docs/store-retrieve-metadata).\n- [Understand metadata concepts](/artifact-analysis/docs/metadata-storage)."]]