Reference documentation and code samples for the Cloud Quotas V1 API class Google::Cloud::CloudQuotas::V1::DimensionsInfo.
The detailed quota information such as effective quota value for a combination of dimensions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#applicable_locations
def applicable_locations() -> ::Array<::String>
Returns
- (::Array<::String>) — 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.
#applicable_locations=
def applicable_locations=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — 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.
Returns
- (::Array<::String>) — 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.
#details
def details() -> ::Google::Cloud::CloudQuotas::V1::QuotaDetails
Returns
- (::Google::Cloud::CloudQuotas::V1::QuotaDetails) — Quota details for the specified dimensions.
#details=
def details=(value) -> ::Google::Cloud::CloudQuotas::V1::QuotaDetails
Parameter
- value (::Google::Cloud::CloudQuotas::V1::QuotaDetails) — Quota details for the specified dimensions.
Returns
- (::Google::Cloud::CloudQuotas::V1::QuotaDetails) — Quota details for the specified dimensions.
#dimensions
def dimensions() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#dimensions=
def dimensions=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — 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.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — 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.