File: //snap/google-cloud-cli/394/help/man/man1/gcloud_beta_essential-contacts_compute.1
.TH "GCLOUD_BETA_ESSENTIAL\-CONTACTS_COMPUTE" 1
.SH "NAME"
.HP
gcloud beta essential\-contacts compute \- compute the essential contacts that are subscribed to the specified notification categories for a resource
.SH "SYNOPSIS"
.HP
\f5gcloud beta essential\-contacts compute\fR \fB\-\-notification\-categories\fR=[\fINOTIFICATION_CATEGORIES\fR,...] [\fB\-\-folder\fR=\fIFOLDER\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION\fR\ |\ \fB\-\-project\fR=\fIPROJECT\fR] [\fB\-\-filter\fR=\fIEXPRESSION\fR] [\fB\-\-limit\fR=\fILIMIT\fR] [\fB\-\-page\-size\fR=\fIPAGE_SIZE\fR] [\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR This command will return the contacts subscribed to any of the
notification categories that have been set on the requested resource or any of
its ancestors.
.SH "EXAMPLES"
To compute contacts subscribed to the technical category for the current
project, run:
.RS 2m
$ gcloud beta essential\-contacts compute \e
\-\-notification\-categories=technical
.RE
To compute contacts subscribed to the product\-updates or billing categories for
the folder with id \f5\fI123\fR\fR, run:
.RS 2m
$ gcloud beta essential\-contacts compute \e
\-\-notification\-categories=product\-updates,billing \-\-folder=123
.RE
To compute contacts subscribed to the legal category for the organization with
id \f5\fI456\fR\fR, run:
.RS 2m
$ gcloud beta essential\-contacts compute \e
\-\-notification\-categories=legal \-\-organization=456
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.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 "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 "LIST COMMAND FLAGS"
.RS 2m
.TP 2m
\fB\-\-filter\fR=\fIEXPRESSION\fR
Apply a Boolean filter \fIEXPRESSION\fR to each resource item to be listed. If
the expression evaluates \f5True\fR, then that item is listed. For more details
and examples of filter expressions, run $ gcloud topic filters. This flag
interacts with other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.TP 2m
\fB\-\-limit\fR=\fILIMIT\fR
Maximum number of resources to list. The default is \fBunlimited\fR. This flag
interacts with other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.TP 2m
\fB\-\-page\-size\fR=\fIPAGE_SIZE\fR
Some services group resource list output into pages. This flag specifies the
maximum number of resources per page. The default is determined by the service
if it supports paging, otherwise it is \fBunlimited\fR (no paging). Paging may
be applied before or after \fB\-\-filter\fR and \fB\-\-limit\fR depending on the
service.
.TP 2m
\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]
Comma\-separated list of resource field key names to sort by. The default order
is ascending. Prefix a field with ``~'' for descending order on that field. This
flag interacts with other flags that are applied in this order:
\fB\-\-flatten\fR, \fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\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.
.SH "NOTES"
This command is currently in beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud essential\-contacts compute
.RE
.RS 2m
$ gcloud alpha essential\-contacts compute
.RE