Reference documentation and code samples for the Cloud Quotas V1BETA API class Google::Cloud::CloudQuotas::V1beta::QuotaInfo.
QuotaInfo represents information about a particular quota for a given project, folder or organization.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#container_type
def container_type() -> ::Google::Cloud::CloudQuotas::V1beta::QuotaInfo::ContainerType
Returns
- (::Google::Cloud::CloudQuotas::V1beta::QuotaInfo::ContainerType) — The container type of the QuotaInfo.
#container_type=
def container_type=(value) -> ::Google::Cloud::CloudQuotas::V1beta::QuotaInfo::ContainerType
Parameter
- value (::Google::Cloud::CloudQuotas::V1beta::QuotaInfo::ContainerType) — The container type of the QuotaInfo.
Returns
- (::Google::Cloud::CloudQuotas::V1beta::QuotaInfo::ContainerType) — The container type of the QuotaInfo.
#dimensions
def dimensions() -> ::Array<::String>
Returns
- (::Array<::String>) — The dimensions the quota is defined on.
#dimensions=
def dimensions=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The dimensions the quota is defined on.
Returns
- (::Array<::String>) — The dimensions the quota is defined on.
#dimensions_infos
def dimensions_infos() -> ::Array<::Google::Cloud::CloudQuotas::V1beta::DimensionsInfo>
Returns
- (::Array<::Google::Cloud::CloudQuotas::V1beta::DimensionsInfo>) — The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
#dimensions_infos=
def dimensions_infos=(value) -> ::Array<::Google::Cloud::CloudQuotas::V1beta::DimensionsInfo>
Parameter
- value (::Array<::Google::Cloud::CloudQuotas::V1beta::DimensionsInfo>) — The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
Returns
- (::Array<::Google::Cloud::CloudQuotas::V1beta::DimensionsInfo>) — The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
#is_concurrent
def is_concurrent() -> ::Boolean
Returns
- (::Boolean) — Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
#is_concurrent=
def is_concurrent=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
Returns
- (::Boolean) — Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
#is_fixed
def is_fixed() -> ::Boolean
Returns
- (::Boolean) — Whether the quota value is fixed or adjustable
#is_fixed=
def is_fixed=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether the quota value is fixed or adjustable
Returns
- (::Boolean) — Whether the quota value is fixed or adjustable
#is_precise
def is_precise() -> ::Boolean
Returns
- (::Boolean) — Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
#is_precise=
def is_precise=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
Returns
- (::Boolean) — Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
#metric
def metric() -> ::String
Returns
-
(::String) — The metric of the quota. It specifies the resources consumption the quota
is defined for.
For example,
compute.googleapis.com/cpus
#metric=
def metric=(value) -> ::String
Parameter
-
value (::String) — The metric of the quota. It specifies the resources consumption the quota
is defined for.
For example,
compute.googleapis.com/cpus
Returns
-
(::String) — The metric of the quota. It specifies the resources consumption the quota
is defined for.
For example,
compute.googleapis.com/cpus
#metric_display_name
def metric_display_name() -> ::String
Returns
- (::String) — The display name of the quota metric
#metric_display_name=
def metric_display_name=(value) -> ::String
Parameter
- value (::String) — The display name of the quota metric
Returns
- (::String) — The display name of the quota metric
#metric_unit
def metric_unit() -> ::String
Returns
- (::String) — The unit in which the metric value is reported, e.g., "MByte".
#metric_unit=
def metric_unit=(value) -> ::String
Parameter
- value (::String) — The unit in which the metric value is reported, e.g., "MByte".
Returns
- (::String) — The unit in which the metric value is reported, e.g., "MByte".
#name
def name() -> ::String
Returns
-
(::String) — Resource name of this QuotaInfo.
The ID component following "locations/" must be "global".
For example,
projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Resource name of this QuotaInfo.
The ID component following "locations/" must be "global".
For example,
projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion
Returns
-
(::String) — Resource name of this QuotaInfo.
The ID component following "locations/" must be "global".
For example,
projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion
#quota_display_name
def quota_display_name() -> ::String
Returns
- (::String) — The display name of the quota.
#quota_display_name=
def quota_display_name=(value) -> ::String
Parameter
- value (::String) — The display name of the quota.
Returns
- (::String) — The display name of the quota.
#quota_id
def quota_id() -> ::String
Returns
-
(::String) — The id of the quota, which is unquie within the service.
For example,
CpusPerProjectPerRegion
#quota_id=
def quota_id=(value) -> ::String
Parameter
-
value (::String) — The id of the quota, which is unquie within the service.
For example,
CpusPerProjectPerRegion
Returns
-
(::String) — The id of the quota, which is unquie within the service.
For example,
CpusPerProjectPerRegion
#quota_increase_eligibility
def quota_increase_eligibility() -> ::Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility
Returns
- (::Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility) — Whether it is eligible to request a higher quota value for this quota.
#quota_increase_eligibility=
def quota_increase_eligibility=(value) -> ::Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility
Parameter
- value (::Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility) — Whether it is eligible to request a higher quota value for this quota.
Returns
- (::Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility) — Whether it is eligible to request a higher quota value for this quota.
#refresh_interval
def refresh_interval() -> ::String
Returns
- (::String) — The reset time interval for the quota. Refresh interval applies to rate quota only. For example, "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
#refresh_interval=
def refresh_interval=(value) -> ::String
Parameter
- value (::String) — The reset time interval for the quota. Refresh interval applies to rate quota only. For example, "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
Returns
- (::String) — The reset time interval for the quota. Refresh interval applies to rate quota only. For example, "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
#service
def service() -> ::String
Returns
-
(::String) — The name of the service in which the quota is defined.
For example,
compute.googleapis.com
#service=
def service=(value) -> ::String
Parameter
-
value (::String) — The name of the service in which the quota is defined.
For example,
compute.googleapis.com
Returns
-
(::String) — The name of the service in which the quota is defined.
For example,
compute.googleapis.com
#service_request_quota_uri
def service_request_quota_uri() -> ::String
Returns
- (::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.
#service_request_quota_uri=
def service_request_quota_uri=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.