Reference documentation and code samples for the Google Cloud Quotas V1beta Client class QuotaInfo.
QuotaInfo represents information about a particular quota for a given project, folder or organization.
Generated from protobuf message google.api.cloudquotas.v1beta.QuotaInfo
Namespace
Google \ Cloud \ CloudQuotas \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Resource name of this QuotaInfo. The ID component following "locations/" must be "global". Example: projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion
↳ quota_id
string
The id of the quota, which is unquie within the service. Example: CpusPerProjectPerRegion
↳ metric
string
The metric of the quota. It specifies the resources consumption the quota is defined for. Example: compute.googleapis.com/cpus
↳ service
string
The name of the service in which the quota is defined. Example: compute.googleapis.com
↳ is_precise
bool
Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
↳ refresh_interval
string
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.
↳ container_type
int
The container type of the QuotaInfo.
↳ dimensions
array
The dimensions the quota is defined on.
↳ metric_display_name
string
The display name of the quota metric
↳ quota_display_name
string
The display name of the quota.
↳ metric_unit
string
The unit in which the metric value is reported, e.g., "MByte".
↳ quota_increase_eligibility
↳ is_fixed
bool
Whether the quota value is fixed or adjustable
↳ dimensions_infos
array< DimensionsInfo
>
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
↳ is_concurrent
bool
Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
↳ service_request_quota_uri
string
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas .
getName
Resource name of this QuotaInfo.
The ID component following "locations/" must be "global".
Example: projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion
string
setName
Resource name of this QuotaInfo.
The ID component following "locations/" must be "global".
Example: projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion
var
string
$this
getQuotaId
The id of the quota, which is unquie within the service.
Example: CpusPerProjectPerRegion
string
setQuotaId
The id of the quota, which is unquie within the service.
Example: CpusPerProjectPerRegion
var
string
$this
getMetric
The metric of the quota. It specifies the resources consumption the quota is defined for.
Example: compute.googleapis.com/cpus
string
setMetric
The metric of the quota. It specifies the resources consumption the quota is defined for.
Example: compute.googleapis.com/cpus
var
string
$this
getService
The name of the service in which the quota is defined.
Example: compute.googleapis.com
string
setService
The name of the service in which the quota is defined.
Example: compute.googleapis.com
var
string
$this
getIsPrecise
Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
bool
setIsPrecise
Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
var
bool
$this
getRefreshInterval
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.
string
setRefreshInterval
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.
var
string
$this
getContainerType
The container type of the QuotaInfo.
int
setContainerType
The container type of the QuotaInfo.
var
int
$this
getDimensions
The dimensions the quota is defined on.
setDimensions
The dimensions the quota is defined on.
var
string[]
$this
getMetricDisplayName
The display name of the quota metric
string
setMetricDisplayName
The display name of the quota metric
var
string
$this
getQuotaDisplayName
The display name of the quota.
string
setQuotaDisplayName
The display name of the quota.
var
string
$this
getMetricUnit
The unit in which the metric value is reported, e.g., "MByte".
string
setMetricUnit
The unit in which the metric value is reported, e.g., "MByte".
var
string
$this
getQuotaIncreaseEligibility
Whether it is eligible to request a higher quota value for this quota.
hasQuotaIncreaseEligibility
clearQuotaIncreaseEligibility
setQuotaIncreaseEligibility
Whether it is eligible to request a higher quota value for this quota.
$this
getIsFixed
Whether the quota value is fixed or adjustable
bool
setIsFixed
Whether the quota value is fixed or adjustable
var
bool
$this
getDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
setDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
$this
getIsConcurrent
Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
bool
setIsConcurrent
Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
var
bool
$this
getServiceRequestQuotaUri
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas .
string
setServiceRequestQuotaUri
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas .
var
string
$this