Class: Google::Cloud::CloudQuotas::V1::QuotaConfig
- Inherits:
-
Object
- Object
- Google::Cloud::CloudQuotas::V1::QuotaConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/cloudquotas/v1/resources.rb
Overview
The preferred quota configuration.
Defined Under Namespace
Modules: Origin Classes: AnnotationsEntry
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#granted_value ⇒ ::Google::Protobuf::Int64Value
readonly
Output only.
-
#preferred_value ⇒ ::Integer
Required.
-
#request_origin ⇒ ::Google::Cloud::CloudQuotas::V1::QuotaConfig::Origin
readonly
Output only.
-
#state_detail ⇒ ::String
readonly
Output only.
-
#trace_id ⇒ ::String
readonly
Output only.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'proto_docs/google/api/cloudquotas/v1/resources.rb', line 242 class QuotaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The enumeration of the origins of quota preference requests. module Origin # The unspecified value. ORIGIN_UNSPECIFIED = 0 # Created through Cloud Console. CLOUD_CONSOLE = 1 # Generated by automatic quota adjustment. AUTO_ADJUSTER = 2 end end |
#granted_value ⇒ ::Google::Protobuf::Int64Value (readonly)
Returns Output only. Granted quota value.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'proto_docs/google/api/cloudquotas/v1/resources.rb', line 242 class QuotaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The enumeration of the origins of quota preference requests. module Origin # The unspecified value. ORIGIN_UNSPECIFIED = 0 # Created through Cloud Console. CLOUD_CONSOLE = 1 # Generated by automatic quota adjustment. AUTO_ADJUSTER = 2 end end |
#preferred_value ⇒ ::Integer
Returns Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'proto_docs/google/api/cloudquotas/v1/resources.rb', line 242 class QuotaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The enumeration of the origins of quota preference requests. module Origin # The unspecified value. ORIGIN_UNSPECIFIED = 0 # Created through Cloud Console. CLOUD_CONSOLE = 1 # Generated by automatic quota adjustment. AUTO_ADJUSTER = 2 end end |
#request_origin ⇒ ::Google::Cloud::CloudQuotas::V1::QuotaConfig::Origin (readonly)
Returns Output only. The origin of the quota preference request.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'proto_docs/google/api/cloudquotas/v1/resources.rb', line 242 class QuotaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The enumeration of the origins of quota preference requests. module Origin # The unspecified value. ORIGIN_UNSPECIFIED = 0 # Created through Cloud Console. CLOUD_CONSOLE = 1 # Generated by automatic quota adjustment. AUTO_ADJUSTER = 2 end end |
#state_detail ⇒ ::String (readonly)
Returns Output only. Optional details about the state of this quota preference.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'proto_docs/google/api/cloudquotas/v1/resources.rb', line 242 class QuotaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The enumeration of the origins of quota preference requests. module Origin # The unspecified value. ORIGIN_UNSPECIFIED = 0 # Created through Cloud Console. CLOUD_CONSOLE = 1 # Generated by automatic quota adjustment. AUTO_ADJUSTER = 2 end end |
#trace_id ⇒ ::String (readonly)
Returns Output only. The trace id that the Google Cloud uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'proto_docs/google/api/cloudquotas/v1/resources.rb', line 242 class QuotaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The enumeration of the origins of quota preference requests. module Origin # The unspecified value. ORIGIN_UNSPECIFIED = 0 # Created through Cloud Console. CLOUD_CONSOLE = 1 # Generated by automatic quota adjustment. AUTO_ADJUSTER = 2 end end |