Class: Google::Cloud::ResourceSettings::V1::Value
- Inherits:
-
Object
- Object
- Google::Cloud::ResourceSettings::V1::Value
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb
Overview
The data in a setting value.
Defined Under Namespace
Instance Attribute Summary collapse
-
#boolean_value ⇒ ::Boolean
Defines this value as being a boolean value.
-
#enum_value ⇒ ::Google::Cloud::ResourceSettings::V1::Value::EnumValue
Defines this value as being a Enum.
-
#string_set_value ⇒ ::Google::Cloud::ResourceSettings::V1::Value::StringSet
Defines this value as being a StringSet.
-
#string_value ⇒ ::String
Defines this value as being a string value.
Instance Attribute Details
#boolean_value ⇒ ::Boolean
Returns Defines this value as being a boolean value.
Note: The following fields are mutually exclusive: boolean_value, string_value, string_set_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb', line 141 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A string set value that can hold a set of strings. The maximum length of # each string is 200 characters and there can be a maximum of 50 strings in # the string set. # @!attribute [rw] values # @return [::Array<::String>] # The strings in the set class StringSet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A enum value that can hold any enum type setting values. # Each enum type is represented by a number, this representation # is stored in the definitions. # @!attribute [rw] value # @return [::String] # The value of this enum class EnumValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#enum_value ⇒ ::Google::Cloud::ResourceSettings::V1::Value::EnumValue
Returns Defines this value as being a Enum.
Note: The following fields are mutually exclusive: enum_value, boolean_value, string_value, string_set_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb', line 141 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A string set value that can hold a set of strings. The maximum length of # each string is 200 characters and there can be a maximum of 50 strings in # the string set. # @!attribute [rw] values # @return [::Array<::String>] # The strings in the set class StringSet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A enum value that can hold any enum type setting values. # Each enum type is represented by a number, this representation # is stored in the definitions. # @!attribute [rw] value # @return [::String] # The value of this enum class EnumValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#string_set_value ⇒ ::Google::Cloud::ResourceSettings::V1::Value::StringSet
Returns Defines this value as being a StringSet.
Note: The following fields are mutually exclusive: string_set_value, boolean_value, string_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb', line 141 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A string set value that can hold a set of strings. The maximum length of # each string is 200 characters and there can be a maximum of 50 strings in # the string set. # @!attribute [rw] values # @return [::Array<::String>] # The strings in the set class StringSet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A enum value that can hold any enum type setting values. # Each enum type is represented by a number, this representation # is stored in the definitions. # @!attribute [rw] value # @return [::String] # The value of this enum class EnumValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#string_value ⇒ ::String
Returns Defines this value as being a string value.
Note: The following fields are mutually exclusive: string_value, boolean_value, string_set_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb', line 141 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A string set value that can hold a set of strings. The maximum length of # each string is 200 characters and there can be a maximum of 50 strings in # the string set. # @!attribute [rw] values # @return [::Array<::String>] # The strings in the set class StringSet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A enum value that can hold any enum type setting values. # Each enum type is represented by a number, this representation # is stored in the definitions. # @!attribute [rw] value # @return [::String] # The value of this enum class EnumValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |