File: //snap/google-cloud-cli/394/help/man/man1/gcloud_org-policies_reset.1
.TH "GCLOUD_ORG\-POLICIES_RESET" 1
.SH "NAME"
.HP
gcloud org\-policies reset \- reset the policy to the default for the constraint
.SH "SYNOPSIS"
.HP
\f5gcloud org\-policies reset\fR \fICONSTRAINT\fR (\fB\-\-folder\fR=\fIFOLDER_ID\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION_ID\fR\ |\ \fB\-\-project\fR=\fIPROJECT_ID\fR) [\fB\-\-update\-mask\fR=\fIUPDATE_MASK\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Resets the policy to the default for the constraint.
.SH "EXAMPLES"
To reset the policy associated with the constraint 'gcp.resourceLocations' and
the Project 'foo\-project', run:
.RS 2m
$ gcloud org\-policies reset gcp.resourceLocations \e
\-\-project=foo\-project
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fICONSTRAINT\fR
Name of the org policy constraint. The list of available constraints can be
found here:
https://cloud.google.com/resource\-manager/docs/organization\-policy/org\-policy\-constraints
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Resource that is associated with the organization policy.
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-folder\fR=\fIFOLDER_ID\fR
Folder ID.
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION_ID\fR
Organization ID.
.TP 2m
\fB\-\-project\fR=\fIPROJECT_ID\fR
Project ID. Overrides the default \fBcore/project\fR property value for this
command invocation.
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-update\-mask\fR=\fIUPDATE_MASK\fR
Field mask used to specify the fields to be overwritten in the policy by the
set. The fields specified in the update_mask are relative to the policy, not the
full request. The update\-mask flag can be empty, or have values
\f5policy.spec\fR, \f5policy.dry_run_spec\fR or \f5*\fR. If the policy does not
contain the dry_run_spec and update\-mask flag is not provided, then it defaults
to \f5policy.spec\fR.
.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.