mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 11:21:48 +00:00
41 lines
1.5 KiB
Text
41 lines
1.5 KiB
Text
NAME
|
|
gcloud beta auth application-default set-quota-project - update or add a
|
|
quota project in application default credentials (ADC)
|
|
|
|
SYNOPSIS
|
|
gcloud beta auth application-default set-quota-project QUOTA_PROJECT_ID
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) Before running this command, an ADC must already be generated using
|
|
$gcloud auth application-default login. The quota project can be used by
|
|
client libraries for the billing purpose. The existing application default
|
|
credentials must have the "serviceusage.services.use" permission on the
|
|
given project.
|
|
|
|
EXAMPLES
|
|
To update the quota project in application default credentials to
|
|
my-quota-project, run:
|
|
|
|
$ gcloud beta 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
|
|
This command is currently in beta and might change without notice. This
|
|
variant is also available:
|
|
|
|
$ gcloud auth application-default set-quota-project
|
|
|