
.TH "GCLOUD_ACCESS\-CONTEXT\-MANAGER_AUTHORIZED\-ORGS_UPDATE" 1



.SH "NAME"
.HP
gcloud access\-context\-manager authorized\-orgs update \- update the organizations for an existing authorized organizations description



.SH "SYNOPSIS"
.HP
\f5gcloud access\-context\-manager authorized\-orgs update\fR (\fIAUTHORIZED_ORGS_DESC\fR\ :\ \fB\-\-policy\fR=\fIPOLICY\fR) [\fB\-\-add\-orgs\fR=[\fIORGS\fR,...]\ |\ \fB\-\-clear\-orgs\fR\ |\ \fB\-\-remove\-orgs\fR=[\fIORGS\fR,...]\ |\ \fB\-\-set\-orgs\fR=[\fIORGS\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

This command updates an authorized organizations description.



.SH "EXAMPLES"

To update the organizations for an authorized organizations description:

.RS 2m
$ gcloud access\-context\-manager authorized\-orgs update \e
    my\-authorized\-orgs \e
    \-\-add\-orgs="organizations/123,organizations/456"
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m

Authorized orgs desc resource \- The authorized orgs desc to update. The
arguments in this group can be used to specify the attributes of this resource.

This must be specified.


.RS 2m
.TP 2m
\fIAUTHORIZED_ORGS_DESC\fR

ID of the authorized_orgs_desc or fully qualified identifier for the
authorized_orgs_desc.

To set the \f5authorized_orgs_desc\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5authorized_orgs_desc\fR on the command line.
.RE
.sp

This positional argument must be specified if any of the other arguments in this
group are specified.

.TP 2m
\fB\-\-policy\fR=\fIPOLICY\fR

The ID of the access policy.

To set the \f5policy\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5authorized_orgs_desc\fR on the command line with a fully
specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-policy\fR on the command line;
.IP "\(bu" 2m
set the property \f5access_context_manager/policy\fR.
.RE
.sp


.RE
.RE
.sp

.SH "FLAGS"

.RS 2m
.TP 2m

These flags modify the member orgs of this authorized_orgs_desc. Orgs must be
organizations, in the form \f5organizations/<organizationsnumber>\fR.

At most one of these can be specified:


.RS 2m
.TP 2m
\fB\-\-add\-orgs\fR=[\fIORGS\fR,...]

Append the given values to the current orgs.

.TP 2m
\fB\-\-clear\-orgs\fR

Empty the current orgs.

.TP 2m
\fB\-\-remove\-orgs\fR=[\fIORGS\fR,...]

Remove the given values from the current orgs.

.TP 2m
\fB\-\-set\-orgs\fR=[\fIORGS\fR,...]

Completely replace the current orgs with the given values.


.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 "NOTES"

This variant is also available:

.RS 2m
$ gcloud alpha access\-context\-manager authorized\-orgs update
.RE


