# Cloud Quotas V1 API - Class Google::Cloud::CloudQuotas::V1::QuotaInfo (v2.4.0)

2.4.0 (latest) 2.3.0 2.2.2 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.3.3 0.2.2 0.1.0 Reference documentation and code samples for the Cloud Quotas V1 API class Google::Cloud::CloudQuotas::V1::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::V1::QuotaInfo::ContainerType

**Returns**

- ([::Google::Cloud::CloudQuotas::V1::QuotaInfo::ContainerType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-QuotaInfo-ContainerType)) --- The container type of the QuotaInfo.

### #container_type=

    def container_type=(value) -> ::Google::Cloud::CloudQuotas::V1::QuotaInfo::ContainerType

**Parameter**

- **value** ([::Google::Cloud::CloudQuotas::V1::QuotaInfo::ContainerType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-QuotaInfo-ContainerType)) --- The container type of the QuotaInfo.
**Returns**

- ([::Google::Cloud::CloudQuotas::V1::QuotaInfo::ContainerType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-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::V1::DimensionsInfo>

**Returns**

- (::Array\<[::Google::Cloud::CloudQuotas::V1::DimensionsInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-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::V1::DimensionsInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CloudQuotas::V1::DimensionsInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-DimensionsInfo)\>) --- The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
**Returns**

- (::Array\<[::Google::Cloud::CloudQuotas::V1::DimensionsInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-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. 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. Example: `compute.googleapis.com/cpus`
**Returns**

- (::String) --- The metric of the quota. It specifies the resources consumption the quota is defined 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". 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". 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". 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 unique within the service. Example: `CpusPerProjectPerRegion`

### #quota_id=

    def quota_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The id of the quota, which is unique within the service. Example: `CpusPerProjectPerRegion`
**Returns**

- (::String) --- The id of the quota, which is unique within the service. Example: `CpusPerProjectPerRegion`

### #quota_increase_eligibility

    def quota_increase_eligibility() -> ::Google::Cloud::CloudQuotas::V1::QuotaIncreaseEligibility

**Returns**

- ([::Google::Cloud::CloudQuotas::V1::QuotaIncreaseEligibility](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-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::V1::QuotaIncreaseEligibility

**Parameter**

- **value** ([::Google::Cloud::CloudQuotas::V1::QuotaIncreaseEligibility](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-QuotaIncreaseEligibility)) --- Whether it is eligible to request a higher quota value for this quota.
**Returns**

- ([::Google::Cloud::CloudQuotas::V1::QuotaIncreaseEligibility](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest/Google-Cloud-CloudQuotas-V1-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. 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. 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. 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. Example: `compute.googleapis.com`

### #service=

    def service=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the service in which the quota is defined. Example: `compute.googleapis.com`
**Returns**

- (::String) --- The name of the service in which the quota is defined. 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.