1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 20:36:39 +00:00
gcloud-help/gcloud/auth/application-default/set-quota-project

45 lines
1.5 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
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-project QUOTA_PROJECT_ID
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
2023-02-08 10:13:59 +00:00
A quota project is a Google Cloud Project that will be used for billing and
quota limits.
2022-03-30 09:07:09 +00:00
Before running this command, an ADC must already be generated using $
2023-02-08 10:13:59 +00:00
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.use permission on
the given project.
2022-03-01 04:29:52 +00:00
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 help for details.
NOTES
2022-06-23 08:40:08 +00:00
These variants are also available:
$ gcloud alpha auth application-default set-quota-project
2022-03-01 04:29:52 +00:00
$ gcloud beta auth application-default set-quota-project