- NAME
-
- gcloud auth application-default set-quota-project - update or add a quota project in application default credentials (ADC)
- SYNOPSIS
-
-
gcloud auth application-default set-quota-projectQUOTA_PROJECT_ID[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- A quota project is a Google Cloud Project that will be used for billing and
quota limits.
Before running this command, an ADC must already be generated using $ gcloud auth application-default login . The quota project defined in the ADC will be used by the Google client libraries. The existing application default credentials must have the
serviceusage.services.usepermission on the given project. - EXAMPLES
- To update the quota project in application default credentials to
my-quota-project, run:gcloud auth application-default set-quota-project my-quota-project - POSITIONAL ARGUMENTS
-
-
QUOTA_PROJECT_ID - Quota project ID to add to application default credentials. If a quota project already exists, it will be updated.
-
- 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:
gcloud alpha auth application-default set-quota-projectgcloud beta auth application-default set-quota-project
gcloud auth application-default set-quota-project
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 2026-05-27 UTC.

