Interface ConsumerQuotaLimitOrBuilder (2.39.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.80.0 (latest)
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.8
publicinterface ConsumerQuotaLimitOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getAllowsAdminOverrides()
publicabstractbooleangetAllowsAdminOverrides()Whether admin overrides are allowed on this limit
bool allows_admin_overrides = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowsAdminOverrides. |
getIsPrecise()
publicabstractbooleangetIsPrecise()Whether this limit is precise or imprecise.
bool is_precise = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The isPrecise. |
getMetric()
publicabstractStringgetMetric()The name of the parent metric of this limit.
An example name would be:
compute.googleapis.com/cpus
string metric = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The metric. |
getMetricBytes()
publicabstractByteStringgetMetricBytes()The name of the parent metric of this limit.
An example name would be:
compute.googleapis.com/cpus
string metric = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for metric. |
getName()
publicabstractStringgetName()The resource name of the quota limit.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
The resource name is intended to be opaque and should not be parsed for its component strings, since its representation could change in the future.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicabstractByteStringgetNameBytes()The resource name of the quota limit.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
The resource name is intended to be opaque and should not be parsed for its component strings, since its representation could change in the future.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getQuotaBuckets(int index)
publicabstractQuotaBucketgetQuotaBuckets(intindex)Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QuotaBucket |
|
getQuotaBucketsCount()
publicabstractintgetQuotaBucketsCount()Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
| Returns | |
|---|---|
| Type | Description |
int |
|
getQuotaBucketsList()
publicabstractList<QuotaBucket>getQuotaBucketsList()Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
| Returns | |
|---|---|
| Type | Description |
List<QuotaBucket> |
|
getQuotaBucketsOrBuilder(int index)
publicabstractQuotaBucketOrBuildergetQuotaBucketsOrBuilder(intindex)Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QuotaBucketOrBuilder |
|
getQuotaBucketsOrBuilderList()
publicabstractList<?extendsQuotaBucketOrBuilder>getQuotaBucketsOrBuilderList()Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.api.serviceusage.v1beta1.QuotaBucketOrBuilder> |
|
getSupportedLocations(int index)
publicabstractStringgetSupportedLocations(intindex)List of all supported locations. This field is present only if the limit has a {region} or {zone} dimension.
repeated string supported_locations = 11;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The supportedLocations at the given index. |
getSupportedLocationsBytes(int index)
publicabstractByteStringgetSupportedLocationsBytes(intindex)List of all supported locations. This field is present only if the limit has a {region} or {zone} dimension.
repeated string supported_locations = 11;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the supportedLocations at the given index. |
getSupportedLocationsCount()
publicabstractintgetSupportedLocationsCount()List of all supported locations. This field is present only if the limit has a {region} or {zone} dimension.
repeated string supported_locations = 11;
| Returns | |
|---|---|
| Type | Description |
int |
The count of supportedLocations. |
getSupportedLocationsList()
publicabstractList<String>getSupportedLocationsList()List of all supported locations. This field is present only if the limit has a {region} or {zone} dimension.
repeated string supported_locations = 11;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the supportedLocations. |
getUnit()
publicabstractStringgetUnit()The limit unit.
An example unit would be
1/{project}/{region}
Note that {project} and {region} are not placeholders in this example;
the literal characters { and } occur in the string.
string unit = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The unit. |
getUnitBytes()
publicabstractByteStringgetUnitBytes()The limit unit.
An example unit would be
1/{project}/{region}
Note that {project} and {region} are not placeholders in this example;
the literal characters { and } occur in the string.
string unit = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for unit. |