Mengaktifkan atau menonaktifkan penyimpanan metadata
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mengaktifkan Container Analysis API
Artifact Analysis API menyediakan penyimpanan metadata untuk artefak software di Container Registry dan Artifact Registry.
Aktifkan Container Analysis API jika Anda menggunakan Artifact Analysis untuk mengelola metadata. Anda dapat mengaktifkan API untuk project yang ada, atau membuat project baru, lalu mengaktifkan API.
Pengguna dan akun layanan yang perlu melihat kemunculan harus memiliki
Container Analysis Occurrences Viewer. Lihat
Mengonfigurasi kontrol akses untuk mengetahui informasi tentang cara memberikan
izin.
Menonaktifkan Container Analysis API
Saat Anda menonaktifkan Container Analysis API, layanan akan dinonaktifkan untuk
Container Registry dan Artifact Registry.
Untuk menonaktifkan Container Analysis API, ikuti petunjuk untuk menonaktifkan
layanan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]