File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_artifacts_repositories.1
.TH "GCLOUD_ALPHA_ARTIFACTS_REPOSITORIES" 1
.SH "NAME"
.HP
gcloud alpha artifacts repositories \- manage Artifact Registry repositories
.SH "SYNOPSIS"
.HP
\f5gcloud alpha artifacts repositories\fR \fIGROUP\fR | \fICOMMAND\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "EXAMPLES"
To create a repository with the name \f5my\-repo\fR, run:
.RS 2m
$ gcloud alpha artifacts repositories create my\-repo
.RE
To delete a repository with the name \f5my\-repo\fR, run:
.RS 2m
$ gcloud alpha artifacts repositories delete my\-repo
.RE
To describe a repository with the name \f5my\-repo\fR, run:
.RS 2m
$ gcloud alpha artifacts repositories describe my\-repo
.RE
To list all Artifact Registry repositories, run:
.RS 2m
$ gcloud alpha artifacts repositories list
.RE
To set an IAM policy for repository \f5my\-repo\fR, run:
.RS 2m
$ gcloud alpha artifacts repositories set\-iam\-policy my\-repo \e
policy.json
.RE
To get an IAM policy for repository \f5my\-repo\fR, run:
.RS 2m
$ gcloud alpha artifacts repositories get\-iam\-policy my\-repo
.RE
To add an IAM policy binding for the role of 'roles/editor' for the user
\'test\-user@gmail.com' on repository \f5my\-repo\fR, run:
.RS 2m
$ gcloud alpha artifacts repositories add\-iam\-policy\-binding \e
my\-repo \-\-member='user:test\-user@gmail.com' \e
\-\-role='roles/editor'
.RE
To remove an IAM policy binding for the role of 'roles/editor' for the user
\'test\-user@gmail.com' on repository \f5my\-repo\fR, run:
.RS 2m
$ gcloud alpha artifacts repositories remove\-iam\-policy\-binding \e
my\-repo \-\-member='user:test\-user@gmail.com' \e
\-\-role='roles/editor'
.RE
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-help.
Run \fB$ gcloud help\fR for details.
.SH "GROUPS"
\f5\fIGROUP\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBconfig\fR
\fB(ALPHA)\fR Manage Artifact Registry repository configurations.
.RE
.sp
.SH "COMMANDS"
\f5\fICOMMAND\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBadd\-iam\-policy\-binding\fR
\fB(ALPHA)\fR Add an IAM policy binding to the IAM policy of an Artifact
Registry repository.
.TP 2m
\fBcreate\fR
\fB(ALPHA)\fR Create an Artifact Registry repository.
.TP 2m
\fBdelete\fR
\fB(ALPHA)\fR Delete an Artifact Registry repository.
.TP 2m
\fBdescribe\fR
\fB(ALPHA)\fR Describe an Artifact Registry repository.
.TP 2m
\fBget\-iam\-policy\fR
\fB(ALPHA)\fR Get IAM policy for an Artifact Registry repository.
.TP 2m
\fBlist\fR
\fB(ALPHA)\fR List repositories in the specified project.
.TP 2m
\fBremove\-iam\-policy\-binding\fR
\fB(ALPHA)\fR Remove an IAM policy binding from the IAM policy of an Artifact
Registry repository.
.TP 2m
\fBset\-iam\-policy\fR
\fB(ALPHA)\fR Set the IAM policy for an Artifact Registry repository.
.TP 2m
\fBupdate\fR
\fB(ALPHA)\fR Update an Artifact Registry repository.
.RE
.sp
.SH "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:
.RS 2m
$ gcloud artifacts repositories
.RE
.RS 2m
$ gcloud beta artifacts repositories
.RE