- INFORMATION
-
gcloud alpha artifacts repositoriesis supported in universe domainuniverse; however, some of the values used in the help text may not be available. Command examples may not work as-is and may requires changes before execution. - NAME
-
- gcloud alpha artifacts repositories - manage Artifact Registry repositories
- SYNOPSIS
-
-
gcloud alpha artifacts repositoriesGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- EXAMPLES
-
To create a repository with the name
my-repo, run:gcloud alpha artifacts repositories create my-repoTo delete a repository with the name
my-repo, run:gcloud alpha artifacts repositories delete my-repoTo describe a repository with the name
my-repo, run:gcloud alpha artifacts repositories describe my-repoTo list all Artifact Registry repositories, run:
gcloud alpha artifacts repositories listTo set an IAM policy for repository
my-repo, run:gcloud alpha artifacts repositories set-iam-policy my-repo policy.jsonTo get an IAM policy for repository
my-repo, run:gcloud alpha artifacts repositories get-iam-policy my-repoTo add an IAM policy binding for the role of 'roles/editor' for the user 'test-user@gmail.com' on repository
my-repo, run:gcloud alpha artifacts repositories add-iam-policy-binding my-repo --member='user:test-user@gmail.com' --role='roles/editor'To remove an IAM policy binding for the role of 'roles/editor' for the user 'test-user@gmail.com' on repository
my-repo, run:gcloud alpha artifacts repositories remove-iam-policy-binding my-repo --member='user:test-user@gmail.com' --role='roles/editor' - GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUPconfig-
(ALPHA)Manage Artifact Registry repository configurations.
- COMMANDS
-
is one of the following:COMMANDadd-iam-policy-binding-
(ALPHA)Add an IAM policy binding to the IAM policy of an Artifact Registry repository. create-
(ALPHA)Create an Artifact Registry repository. delete-
(ALPHA)Delete an Artifact Registry repository. describe-
(ALPHA)Describe an Artifact Registry repository. get-iam-policy-
(ALPHA)Get IAM policy for an Artifact Registry repository. list-
(ALPHA)List repositories in the specified project. remove-iam-policy-binding-
(ALPHA)Remove an IAM policy binding from the IAM policy of an Artifact Registry repository. set-iam-policy-
(ALPHA)Set the IAM policy for an Artifact Registry repository. update-
(ALPHA)Update an Artifact Registry repository.
- NOTES
-
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. These variants are also available:
gcloud artifacts repositoriesgcloud beta artifacts repositories
gcloud alpha artifacts repositories
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[],[]]