File: //snap/google-cloud-cli/394/help/man/man1/gcloud_essential-contacts_update.1
.TH "GCLOUD_ESSENTIAL\-CONTACTS_UPDATE" 1
.SH "NAME"
.HP
gcloud essential\-contacts update \- update an essential contact
.SH "SYNOPSIS"
.HP
\f5gcloud essential\-contacts update\fR \fICONTACT_ID\fR [\fB\-\-language\fR=\fILANGUAGE\fR] [\fB\-\-notification\-categories\fR=[\fINOTIFICATION_CATEGORIES\fR,...]] [\fB\-\-folder\fR=\fIFOLDER\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION\fR\ |\ \fB\-\-project\fR=\fIPROJECT\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "EXAMPLES"
To update the notification category subscriptions for the contact with id
\f5\fI123\fR\fR in the current project, run:
.RS 2m
$ gcloud essential\-contacts update 123 \e
\-\-notification\-categories=legal,suspension
.RE
To update the language preference for the contact with id \f5\fI123\fR\fR in the
folder with id \f5\fI456\fR\fR, run:
.RS 2m
$ gcloud essential\-contacts update 123 \-\-language=es \-\-folder=456
.RE
To update the notification category subscriptions and language preference for
the contact with id \f5\fI123\fR\fR in the organization with id \f5\fI456\fR\fR,
run:
.RS 2m
$ gcloud essential\-contacts update 123 \e
\-\-notification\-categories=legal \-\-language=en\-US \e
\-\-organization=456
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fICONTACT_ID\fR
id of contact
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-language\fR=\fILANGUAGE\fR
preferred language of contact. Must be a valid ISO 639\-1 language code.
.TP 2m
\fB\-\-notification\-categories\fR=[\fINOTIFICATION_CATEGORIES\fR,...]
list of notification categories contact is subscribed to.
\fINOTIFICATION_CATEGORIES\fR must be one of: \fBall\fR, \fBbilling\fR,
\fBlegal\fR, \fBnotification\-category\-unspecified\fR, \fBproduct\-updates\fR,
\fBsecurity\fR, \fBsuspension\fR, \fBtechnical\fR, \fBtechnical\-incidents\fR.
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-folder\fR=\fIFOLDER\fR
folder number where contacts are set. If neither \-\-project, \-\-folder, nor
\-\-organization are provided then the config property [core/project] will be
used as the resource.
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION\fR
organization number where contacts are set. If neither \-\-project, \-\-folder,
nor \-\-organization are provided then the config property [core/project] will
be used as the resource.
.TP 2m
\fB\-\-project\fR=\fIPROJECT\fR
project number or id where contacts are set. If neither \-\-project, \-\-folder,
nor \-\-organization are provided then the config property [core/project] will
be used as the resource.
.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"
These variants are also available:
.RS 2m
$ gcloud alpha essential\-contacts update
.RE
.RS 2m
$ gcloud beta essential\-contacts update
.RE