File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_essential-contacts_create.1
.TH "GCLOUD_ALPHA_ESSENTIAL\-CONTACTS_CREATE" 1
.SH "NAME"
.HP
gcloud alpha essential\-contacts create \- create an essential contact
.SH "SYNOPSIS"
.HP
\f5gcloud alpha essential\-contacts create\fR \fB\-\-email\fR=\fIEMAIL\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 create a contact in the current project, run:
.RS 2m
$ gcloud alpha essential\-contacts create \e
\-\-email=contact\-email@example.com \e
\-\-notification\-categories=technical,product\-updates \e
\-\-language=en\-US
.RE
To create a contact in the folder with id \f5\fI456\fR\fR, run:
.RS 2m
$ gcloud alpha essential\-contacts create \e
\-\-email=contact\-email@example.com \e
\-\-notification\-categories=technical,product\-updates \e
\-\-language=en\-US \-\-folder=456
.RE
To create a contact in the organization with id \f5\fI456\fR\fR, run:
.RS 2m
$ gcloud alpha essential\-contacts create \e
\-\-email=contact\-email@example.com \e
\-\-notification\-categories=technical,product\-updates \e
\-\-language=en\-US \-\-organization=456
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-email\fR=\fIEMAIL\fR
email address of contact.
.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.
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.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"
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. These variants are also available:
.RS 2m
$ gcloud essential\-contacts create
.RE
.RS 2m
$ gcloud beta essential\-contacts create
.RE