@Generated(value="by gapic-generator-java")
See: Description
| Class | Description |
|---|---|
| CloudQuotasClient |
Service Description: The Cloud Quotas API is an infrastructure service for Google Cloud that lets
service consumers list and manage their resource usage limits.
|
| CloudQuotasClient.ListQuotaInfosFixedSizeCollection | |
| CloudQuotasClient.ListQuotaInfosPage | |
| CloudQuotasClient.ListQuotaInfosPagedResponse | |
| CloudQuotasClient.ListQuotaPreferencesFixedSizeCollection | |
| CloudQuotasClient.ListQuotaPreferencesPage | |
| CloudQuotasClient.ListQuotaPreferencesPagedResponse | |
| CloudQuotasSettings |
Settings class to configure an instance of
CloudQuotasClient. |
| CloudQuotasSettings.Builder |
Builder for CloudQuotasSettings.
|
The interfaces provided are listed below, along with usage samples.
======================= CloudQuotasClient =======================
Service Description: The Cloud Quotas API is an infrastructure service for Google Cloud that lets service consumers list and manage their resource usage limits.
- List/Get the metadata and current status of the quotas for a service. - Create/Update quota preferencess that declare the preferred quota values. - Check the status of a quota preference request. - List/Get pending and historical quota preference.
Sample for CloudQuotasClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudQuotasClient cloudQuotasClient = CloudQuotasClient.create()) {
QuotaInfoName name =
QuotaInfoName.ofProjectLocationServiceQuotaInfoName(
"[PROJECT]", "[LOCATION]", "[SERVICE]", "[QUOTA_INFO]");
QuotaInfo response = cloudQuotasClient.getQuotaInfo(name);
}
Copyright © 2025 Google LLC. All rights reserved.