Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan langkah-langkah untuk mengaktifkan dan menonaktifkan Artifact Registry.
Jika menggunakan Container Registry, Anda dapat mengaktifkan Artifact Registry di project yang sama. Setiap layanan beroperasi secara independen.
Lihat Harga untuk mengetahui informasi tentang biaya Artifact Registry.
Lihat dokumentasi Artifact Analysis untuk mengetahui informasi tentang cara mengaktifkan API Artifact Analysis dan harga untuk pemindaian kerentanan.
Mengaktifkan layanan
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Instal dan lakukan inisialisasi Google Cloud CLI jika belum diinstal. Untuk penginstalan yang sudah ada, update komponen
Google Cloud CLI dengan perintah:
gcloud components update.
Untuk memeriksa versi gcloud CLI Anda, jalankan perintah:
gcloud version
Aktifkan API dari konsolGoogle Cloud
atau dengan perintah gcloud berikut:
Sebelum menonaktifkan Artifact Registry API, pastikan semua artefak yang ingin Anda pertahankan tersedia di lokasi lain. Sebaiknya Anda menghapus repositori sebelum menonaktifkan API.
Saat Anda menonaktifkan Artifact Registry API, kondisi berikut berlaku:
Repositori dan artefak di repositori tidak dapat diakses.
Data dapat dihapus dalam waktu 7 hari setelah API dinonaktifkan.
Untuk menonaktifkan API dari konsol Google Cloud :
[[["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-07-14 UTC."],[[["Artifact Registry can be enabled in the same project as Container Registry, with each service functioning independently."],["Enabling the Artifact Registry API can be done via the Google Cloud console or with the `gcloud` command, and requires the gcloud CLI to be installed and up to date."],["Disabling the Artifact Registry API makes repositories and artifacts inaccessible, and data may be deleted within seven days, thus it is recommended to delete any unneeded repositories beforehand."],["After enabling, you can configure access permissions and authentication for various package types such as Docker, Java, Node.js, and Python."],["Information regarding charges for Artifact Registry and vulnerability scanning, can be found in their respective documentation pages on the site."]]],[]]