File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_compute_network-policies_update.1
.TH "GCLOUD_ALPHA_COMPUTE_NETWORK\-POLICIES_UPDATE" 1
.SH "NAME"
.HP
gcloud alpha compute network\-policies update \- update a Compute Engine network policy
.SH "SYNOPSIS"
.HP
\f5gcloud alpha compute network\-policies update\fR \fINETWORK_POLICY\fR [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR \fBgcloud alpha compute network\-policies update\fR is used to
update network policies. A network policy is a set of rules that classifies
network traffic.
.SH "EXAMPLES"
To update a network policy with name \f5\fImy\-policy\fR\fR, to change the
description to \f5\fINew description\fR\fR, run:
.RS 2m
$ gcloud alpha compute network\-policies update my\-policy \e
\-\-description='New description' \-\-region=my\-region
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fINETWORK_POLICY\fR
name of the network policy to update.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR
An optional, textual description for the network policy.
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Region of the network policy to update. Overrides the default
\fBcompute/region\fR property value for this command invocation.
.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 "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.