Class: Google::Cloud::ResourceSettings::V1::Value

Inherits:
Object
  • Object
show all
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

Classes: EnumValue, StringSet

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_value::Boolean

Returns Defines this value as being a boolean value.

Returns:

  • (::Boolean)

    Defines this value as being a boolean value.



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb', line 133

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.

Returns:



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb', line 133

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.

Returns:



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb', line 133

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.

Returns:

  • (::String)

    Defines this value as being a string value.



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb', line 133

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