@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.
|
| QuotaAdjusterSettingsManagerClient |
Service Description: The Quotas Adjuster Settings API is an infrastructure service for Google
Cloud that lets service consumers view and update their quota adjuster settings.
|
| QuotaAdjusterSettingsManagerSettings |
Settings class to configure an instance of
QuotaAdjusterSettingsManagerClient. |
| QuotaAdjusterSettingsManagerSettings.Builder |
Builder for QuotaAdjusterSettingsManagerSettings.
|
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);
}
======================= QuotaAdjusterSettingsManagerClient =======================
Service Description: The Quotas Adjuster Settings API is an infrastructure service for Google Cloud that lets service consumers view and update their quota adjuster settings.
- Update quota adjuster settings. - Get the name of the configurations.
Sample for QuotaAdjusterSettingsManagerClient:
// 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 (QuotaAdjusterSettingsManagerClient quotaAdjusterSettingsManagerClient =
QuotaAdjusterSettingsManagerClient.create()) {
QuotaAdjusterSettings quotaAdjusterSettings = QuotaAdjusterSettings.newBuilder().build();
FieldMask updateMask = FieldMask.newBuilder().build();
QuotaAdjusterSettings response =
quotaAdjusterSettingsManagerClient.updateQuotaAdjusterSettings(
quotaAdjusterSettings, updateMask);
}
Copyright © 2025 Google LLC. All rights reserved.