gcloud services enable Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud services enable - enables a service for consumption for a project
- SYNOPSIS
gcloud services enableSERVICE[SERVICE…][--async][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- This command enables a service for consumption for a project.
Toseealistofavailableservicesforaproject,run:gcloudserviceslist--availableMore information on listing services can be found at:https://cloud.google.com/service-usage/docs/list-servicesand on disabling a service at:https://cloud.google.com/service-usage/docs/enable-disable
- EXAMPLES
- To enable a service called
my-consumed-serviceon the currentproject, run:gcloudservicesenablemy-consumed-serviceTo run the same command asynchronously (non-blocking), run:
gcloudservicesenablemy-consumed-service--asyncTo enable services called
service1,service2, andservice3on the current project, run:gcloudservicesenableservice1service2service3 - POSITIONAL ARGUMENTS
SERVICE[SERVICE…]- The name of the service(s) to enable.
- FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.
- 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
$gcloud helpfor details. - NOTES
- These variants are also available:
gcloudalphaservicesenablegcloudbetaservicesenable
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-09 UTC.