Resource: QuotaInfo
QuotaInfo represents information about a particular quota for a given project, folder or organization.
JSON representation |
---|
{ "name": string, "quotaId": string, "metric": string, "service": string, "isPrecise": boolean, "refreshInterval": string, "containerType": enum ( |
Fields | |
---|---|
name |
Resource name of this QuotaInfo. The ID component following "locations/" must be "global". Example: |
quotaId |
The id of the quota, which is unquie within the service. Example: |
metric |
The metric of the quota. It specifies the resources consumption the quota is defined for. Example: |
service |
The name of the service in which the quota is defined. Example: |
isPrecise |
Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision. |
refreshInterval |
The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds. |
containerType |
The container type of the QuotaInfo. |
dimensions[] |
The dimensions the quota is defined on. |
metricDisplayName |
The display name of the quota metric |
quotaDisplayName |
The display name of the quota. |
metricUnit |
The unit in which the metric value is reported, e.g., "MByte". |
quotaIncreaseEligibility |
Whether it is eligible to request a higher quota value for this quota. |
isFixed |
Whether the quota value is fixed or adjustable |
dimensionsInfos[] |
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones. |
isConcurrent |
Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time. |
serviceRequestQuotaUri |
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas. |
ContainerType
The enumeration of the types of a cloud resource container.
Enums | |
---|---|
CONTAINER_TYPE_UNSPECIFIED |
Unspecified container type. |
PROJECT |
consumer project |
FOLDER |
folder |
ORGANIZATION |
organization |
QuotaIncreaseEligibility
Eligibility information regarding requesting increase adjustment of a quota.
JSON representation |
---|
{
"isEligible": boolean,
"ineligibilityReason": enum ( |
Fields | |
---|---|
isEligible |
Whether a higher quota value can be requested for the quota. |
ineligibilityReason |
The reason of why it is ineligible to request increased value of the quota. If the isEligible field is true, it defaults to INELIGIBILITY_REASON_UNSPECIFIED. |
IneligibilityReason
The enumeration of reasons when it is ineligible to request increase adjustment.
Enums | |
---|---|
INELIGIBILITY_REASON_UNSPECIFIED |
Default value when isEligible is true. |
NO_VALID_BILLING_ACCOUNT |
The container is not linked with a valid billing account. |
NOT_SUPPORTED |
Quota increase is not supported for the quota. |
NOT_ENOUGH_USAGE_HISTORY |
There is not enough usage history to determine the eligibility. |
OTHER |
Other reasons. |
DimensionsInfo
The detailed quota information such as effective quota value for a combination of dimensions.
JSON representation |
---|
{
"dimensions": {
string: string,
...
},
"details": {
object ( |
Fields | |
---|---|
dimensions |
The map of dimensions for this dimensions info. The key of a map entry is "region", "zone" or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {"provider" : "Foo Inc"} where "provider" is a service specific dimension of a quota. An object containing a list of |
details |
Quota details for the specified dimensions. |
applicableLocations[] |
The applicable regions or zones of this dimensions info. The field will be set to ['global'] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to. |
QuotaDetails
The quota details for a map of dimensions.
JSON representation |
---|
{
"value": string,
"rolloutInfo": {
object ( |
Fields | |
---|---|
value |
The value currently in effect and being enforced. |
rolloutInfo |
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config. |
RolloutInfo
[Output only] Rollout information of a quota.
JSON representation |
---|
{ "ongoingRollout": boolean } |
Fields | |
---|---|
ongoingRollout |
Whether there is an ongoing rollout for a quota or not. |
Methods |
|
---|---|
|
Retrieve the QuotaInfo of a quota for a project, folder or organization. |
|
Lists QuotaInfos of all quotas for a given project, folder or organization. |