- NAME
-
- gcloud alpha services quota delete - delete a quota override for a consumer
- SYNOPSIS
-
-
gcloud alpha services quota delete
--consumer
=CONSUMER
--metric
=METRIC
--override-id
=OVERRIDE_ID
--service
=SERVICE
--unit
=UNIT
[--force
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
This command deletes a quota override for a consumer. The supported consumers are projects, folders, and organizations. The override ID can be found from list command output. - EXAMPLES
-
To delete a quota override for a project with project number, run:
gcloud alpha services quota delete --service=example.googleapis.com --consumer=projects/12321 --metric=example.googleapis.com/default_requests --unit=1/min/{project}
To delete a quota override for a project with project ID, run:
gcloud alpha services quota delete --service=example.googleapis.com --consumer=projects/hello --metric=example.googleapis.com/default_requests --unit=1/min/{project}
To delete a quota override for an organization, run:
gcloud alpha services quota delete --service=example.googleapis.com --consumer=organizations/555 --metric=example.googleapis.com/default_requests --unit=1/min/{project}
To force the deletion of a quota override, run:
gcloud alpha services quota delete --service=example.googleapis.com --consumer=projects/12321 --metric=example.googleapis.com/default_requests --unit=1/min/{project} --force
- REQUIRED FLAGS
-
--consumer
=CONSUMER
- The consumer to delete a quota override for.
--metric
=METRIC
- The metric to delete a quota override for.
--override-id
=OVERRIDE_ID
- The override ID of the override previous created.
--service
=SERVICE
- The service to delete a quota override for.
--unit
=UNIT
- The unit of a metric to delete a quota override for.
- OPTIONAL FLAGS
-
--force
- Force override deletion even if the change results in a substantial decrease in available quota.
- 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 alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
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.