Class: Google::Cloud::Channel::V1::ParameterDefinition
- Inherits:
-
Object
- Object
- Google::Cloud::Channel::V1::ParameterDefinition
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/channel/v1/offers.rb
Overview
Parameter's definition. Specifies what parameter is required to use the current Offer to purchase.
Defined Under Namespace
Modules: ParameterType
Instance Attribute Summary collapse
-
#allowed_values ⇒ ::Array<::Google::Cloud::Channel::V1::Value>
If not empty, parameter values must be drawn from this list.
-
#max_value ⇒ ::Google::Cloud::Channel::V1::Value
Maximum value of the parameter, if applicable.
-
#min_value ⇒ ::Google::Cloud::Channel::V1::Value
Minimal value of the parameter, if applicable.
-
#name ⇒ ::String
Name of the parameter.
-
#optional ⇒ ::Boolean
If set to true, parameter is optional to purchase this Offer.
-
#parameter_type ⇒ ::Google::Cloud::Channel::V1::ParameterDefinition::ParameterType
Data type of the parameter.
Instance Attribute Details
#allowed_values ⇒ ::Array<::Google::Cloud::Channel::V1::Value>
Returns If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 90 class ParameterDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data type of the parameter. module ParameterType # Not used. PARAMETER_TYPE_UNSPECIFIED = 0 # Int64 type. INT64 = 1 # String type. STRING = 2 # Double type. DOUBLE = 3 # Boolean type. BOOLEAN = 4 end end |
#max_value ⇒ ::Google::Cloud::Channel::V1::Value
Returns Maximum value of the parameter, if applicable. Inclusive. For example, maximum seats when purchasing Google Workspace Business Standard. Applicable to INT64 and DOUBLE parameter types.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 90 class ParameterDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data type of the parameter. module ParameterType # Not used. PARAMETER_TYPE_UNSPECIFIED = 0 # Int64 type. INT64 = 1 # String type. STRING = 2 # Double type. DOUBLE = 3 # Boolean type. BOOLEAN = 4 end end |
#min_value ⇒ ::Google::Cloud::Channel::V1::Value
Returns Minimal value of the parameter, if applicable. Inclusive. For example, minimal commitment when purchasing Anthos is 0.01. Applicable to INT64 and DOUBLE parameter types.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 90 class ParameterDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data type of the parameter. module ParameterType # Not used. PARAMETER_TYPE_UNSPECIFIED = 0 # Int64 type. INT64 = 1 # String type. STRING = 2 # Double type. DOUBLE = 3 # Boolean type. BOOLEAN = 4 end end |
#name ⇒ ::String
Returns Name of the parameter.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 90 class ParameterDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data type of the parameter. module ParameterType # Not used. PARAMETER_TYPE_UNSPECIFIED = 0 # Int64 type. INT64 = 1 # String type. STRING = 2 # Double type. DOUBLE = 3 # Boolean type. BOOLEAN = 4 end end |
#optional ⇒ ::Boolean
Returns If set to true, parameter is optional to purchase this Offer.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 90 class ParameterDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data type of the parameter. module ParameterType # Not used. PARAMETER_TYPE_UNSPECIFIED = 0 # Int64 type. INT64 = 1 # String type. STRING = 2 # Double type. DOUBLE = 3 # Boolean type. BOOLEAN = 4 end end |
#parameter_type ⇒ ::Google::Cloud::Channel::V1::ParameterDefinition::ParameterType
Returns Data type of the parameter. Minimal value, Maximum value and allowed values will use specified data type here.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 90 class ParameterDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data type of the parameter. module ParameterType # Not used. PARAMETER_TYPE_UNSPECIFIED = 0 # Int64 type. INT64 = 1 # String type. STRING = 2 # Double type. DOUBLE = 3 # Boolean type. BOOLEAN = 4 end end |