File: //snap/google-cloud-cli/396/help/man/man1/gcloud_artifacts_vpcsc-config_deny.1
.TH "GCLOUD_ARTIFACTS_VPCSC\-CONFIG_DENY" 1
.SH "NAME"
.HP
gcloud artifacts vpcsc\-config deny \- deny access to upstream sources outside the service perimeter for Artifact Registry remote repositories inside the perimeter
.SH "SYNOPSIS"
.HP
\f5gcloud artifacts vpcsc\-config deny\fR [\fB\-\-location\fR=\fILOCATION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Deny access to upstream sources outside the service perimeter for Artifact
Registry remote repositories inside 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 denies access to upstream sources outside the service
perimeter for remote repositories in the project my\-project and in the region
us\-\-west1:
.RS 2m
$ gcloud artifacts vpcsc\-config deny \-\-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"
These variants are also available:
.RS 2m
$ gcloud alpha artifacts vpcsc\-config deny
.RE
.RS 2m
$ gcloud beta artifacts vpcsc\-config deny
.RE