File: //snap/google-cloud-cli/current/help/man/man1/gcloud_beta_artifacts_vpcsc-config_allow.1
.TH "GCLOUD_BETA_ARTIFACTS_VPCSC\-CONFIG_ALLOW" 1
.SH "NAME"
.HP
gcloud beta artifacts vpcsc\-config allow \- allow Artifact Registry remote repositories inside a service perimeter to retrieve data from their upstream sources outside of the perimeter
.SH "SYNOPSIS"
.HP
\f5gcloud beta artifacts vpcsc\-config allow\fR [\fB\-\-location\fR=\fILOCATION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR Allow Artifact Registry remote repositories inside a service
perimeter to retrieve data from their upstream sources outside of the perimeter.
This command can fail for the following reasons:
.RS 2m
.IP "\(bu" 2m
Lack of permission \- "accesscontextmanager.policies.update".
.IP "\(bu" 2m
The resource could be outside of the VPC SC perimeter.
.IP "\(bu" 2m
Lack of permission \- "artifactregistry.vpcscconfigs.update"
.RE
.sp
.SH "EXAMPLES"
The following command allows remote repositories in the project my\-project and
in the region us\-\-west1 to retrieve data from upstream sources outside the
perimeter:
.RS 2m
$ gcloud beta artifacts vpcsc\-config allow \-\-project=my\-project \e
\-\-location=us\-west1
.RE
.SH "FLAGS"
.RS 2m
.TP 2m
Location resource \- The Artifact Registry VPC SC config to update. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-location\fR on the command line with a fully
specified name;
.IP "\(em" 2m
set the property \f5artifacts/location\fR with a fully specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
ID of the location or fully qualified identifier for the location.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(bu" 2m
set the property \f5artifacts/location\fR.
.RE
.sp
.RE
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the \fBartifactregistry/v1\fR API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
.SH "NOTES"
This command is currently in beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud artifacts vpcsc\-config allow
.RE
.RS 2m
$ gcloud alpha artifacts vpcsc\-config allow
.RE