- NAME
-
- gcloud services enable - enables a service for consumption for a project
- SYNOPSIS
-
-
gcloud services enable
[SERVICE
…] [--async
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
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
- EXAMPLES
-
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
, andservice3
on the current project, run:gcloud services enable service1 service2 service3
- POSITIONAL ARGUMENTS
-
- [
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 help
for details. - NOTES
-
This variant is also available:
gcloud beta services enable
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-02-06 UTC.",
"confidential": False
}