File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_services_enable.1
.TH "GCLOUD_ALPHA_SERVICES_ENABLE" 1
.SH "NAME"
.HP
gcloud alpha services enable \- enables a service for consumption for a project, folder or organization
.SH "SYNOPSIS"
.HP
\f5gcloud alpha services enable\fR [\fISERVICE\fR\ ...] [\fB\-\-async\fR] [\fB\-\-skip\-dependency\fR] [\fB\-\-validate\-only\fR] [\fB\-\-folder\fR=\fIFOLDER_ID\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION_ID\fR\ |\ \fB\-\-project\fR=\fIPROJECT_ID\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR This command enables a service for consumption for a project,
folder or organization.
.RS 2m
To see a list of available services for a project, run:
.RE
.RS 2m
$ gcloud alpha services list \-\-available
.RE
More information on listing services can be found at:
https://cloud.google.com/service\-usage/docs/list\-services and on disabling a
service at: https://cloud.google.com/service\-usage/docs/enable\-disable
.SH "EXAMPLES"
To enable a service called \f5my\-consumed\-service\fR on the current project,
run:
.RS 2m
$ gcloud alpha services enable my\-consumed\-service
.RE
To enable a service called \f5my\-consumed\-service\fR on the project
\f5my\-project\fR, run:
.RS 2m
$ gcloud alpha services enable my\-consumed\-service \e
\-\-project=my\-project
.RE
To enable a service called \f5my\-consumed\-service\fR on the folder
\f5my\-folder, run:
.RS 2m
$ gcloud alpha services enable my\-consumed\-service \-\-folder=my\-folder
.RE
To enable a service called \fRmy\-consumed\-service\f5 on the organization
\fRmy\-organization\f5, run:
.RS 2m
$ gcloud alpha services enable my\-consumed\-service \e
\-\-organization=my\-organization
.RE
To run the same command asynchronously (non\-blocking), run:
.RS 2m
$ gcloud alpha services enable my\-consumed\-service \-\-async
.RE
To enable services called \fRservice1\f5, \fRservice2\f5, and \fRservice3\f5 on
the current project, run:
.RS 2m
$ gcloud alpha services enable service1 service2 service3
.RE
\fR
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
[\fISERVICE\fR ...]
The name of the service(s) to enable.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.TP 2m
\fB\-\-skip\-dependency\fR
If set, the dependencies of the service to be enabled will not be enabled.
.TP 2m
\fB\-\-validate\-only\fR
Validate the enable action, but don't actually perform it
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-folder\fR=\fIFOLDER_ID\fR
The Google Cloud Platform folder ID to use for this invocation.
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION_ID\fR
The Google Cloud Platform organization ID to use for this invocation.
.TP 2m
\fB\-\-project\fR=\fIPROJECT_ID\fR
The Google Cloud project ID to use for this invocation. If omitted, then the
current project is assumed; the current project can be listed using \f5gcloud
config list \-\-format='text(core.project)'\fR and can be set using \f5gcloud
config set project PROJECTID\fR.
\f5\-\-project\fR and its fallback \f5core/project\fR property play two roles in
the invocation. It specifies the project of the resource to operate on. It also
specifies the project for API enablement check, quota, and billing. To specify a
different project for quota and billing, use \f5\-\-billing\-project\fR or
\f5billing/quota_project\fR property.
.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 services enable
.RE
.RS 2m
$ gcloud beta services enable
.RE