Class: Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility
- Inherits:
-
Object
- Object
- Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/cloudquotas/v1beta/resources.rb
Overview
Eligibility information regarding requesting increase adjustment of a quota.
Defined Under Namespace
Modules: IneligibilityReason
Instance Attribute Summary collapse
-
#ineligibility_reason ⇒ ::Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility::IneligibilityReason
The reason of why it is ineligible to request increased value of the quota.
-
#is_eligible ⇒ ::Boolean
Whether a higher quota value can be requested for the quota.
Instance Attribute Details
#ineligibility_reason ⇒ ::Google::Cloud::CloudQuotas::V1beta::QuotaIncreaseEligibility::IneligibilityReason
Returns The reason of why it is ineligible to request increased value of the quota. If the is_eligible field is true, it defaults to INELIGIBILITY_REASON_UNSPECIFIED.
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'proto_docs/google/api/cloudquotas/v1beta/resources.rb', line 118 class QuotaIncreaseEligibility include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enumeration of reasons when it is ineligible to request increase # adjustment. module IneligibilityReason # Default value when is_eligible is true. INELIGIBILITY_REASON_UNSPECIFIED = 0 # The container is not linked with a valid billing account. NO_VALID_BILLING_ACCOUNT = 1 # Quota increase is not supported for the quota. NOT_SUPPORTED = 3 # There is not enough usage history to determine the eligibility. NOT_ENOUGH_USAGE_HISTORY = 4 # Other reasons. OTHER = 2 end end |
#is_eligible ⇒ ::Boolean
Returns Whether a higher quota value can be requested for the quota.
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'proto_docs/google/api/cloudquotas/v1beta/resources.rb', line 118 class QuotaIncreaseEligibility include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enumeration of reasons when it is ineligible to request increase # adjustment. module IneligibilityReason # Default value when is_eligible is true. INELIGIBILITY_REASON_UNSPECIFIED = 0 # The container is not linked with a valid billing account. NO_VALID_BILLING_ACCOUNT = 1 # Quota increase is not supported for the quota. NOT_SUPPORTED = 3 # There is not enough usage history to determine the eligibility. NOT_ENOUGH_USAGE_HISTORY = 4 # Other reasons. OTHER = 2 end end |