File: //snap/google-cloud-cli/394/help/man/man1/gcloud_beta_services_list.1
.TH "GCLOUD_BETA_SERVICES_LIST" 1
.SH "NAME"
.HP
gcloud beta services list \- list services for a project
.SH "SYNOPSIS"
.HP
\f5gcloud beta services list\fR [\fB\-\-available\fR\ |\ \fB\-\-enabled\fR] [\fB\-\-filter\fR=\fIEXPRESSION\fR] [\fB\-\-limit\fR=\fILIMIT\fR] [\fB\-\-page\-size\fR=\fIPAGE_SIZE\fR;\ default=200] [\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR This command lists the services that are enabled or available to be
enabled by a project. You can choose the mode in which the command will list
services by using exactly one of the \f5\-\-enabled\fR or \f5\-\-available\fR
flags. \f5\-\-enabled\fR is the default.
.SH "EXAMPLES"
To list the services for the current project has enabled for consumption, run:
.RS 2m
$ gcloud beta services list \-\-enabled
.RE
To list the services for the current project can enable for consumption, run:
.RS 2m
$ gcloud beta services list \-\-available
.RE
To list the services for project \f5my\-project\fR has enabled for consumption,
run:
.RS 2m
$ gcloud beta services list \-\-enabled \-\-project=my\-project
.RE
To list the services the project \f5my\-project\fR can enable for consumption,
run:
.RS 2m
$ gcloud beta services list \-\-available \-\-project=my\-project
.RE
.SH "FLAGS"
.RS 2m
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-available\fR
Return the services available to the project to enable. This list will include
any services that the project has already enabled.
.TP 2m
\fB\-\-enabled\fR
(DEFAULT) Return the services which the project has enabled.
.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; default=200
Some services group resource list output into pages. This flag specifies the
maximum number of resources per page. The default is \fB200\fR. 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. This variant
is also available:
.RS 2m
$ gcloud services list
.RE