gcloud services enable - enables a service for consumption for a project
gcloud services enable [SERVICE ...] [--async] [GCLOUD_WIDE_FLAG ...]
This command enables a service for consumption for a project.
To see a list of available services for a project, run:
$ gcloud services list --available
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
To enable a service called my-consumed-service on the current project, run:
$ gcloud services enable my-consumed-service
To run the same command asynchronously (non-blocking), run:
$ gcloud services enable my-consumed-service --async
To enable services called service1, service2, and service3 on the current project, run:
$ gcloud services enable service1 service2 service3
- [SERVICE ...]
The name of the service(s) to enable.
- --async
Return immediately, without waiting for the operation in progress to complete.
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 $ gcloud help for details.
These variants are also available:
$ gcloud alpha services enable
$ gcloud beta services enable