class Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1Value

The data in a setting value.

Attributes

boolean_value[RW]

Defines this value as being a boolean value. Corresponds to the JSON property `booleanValue` @return [Boolean]

boolean_value?[RW]

Defines this value as being a boolean value. Corresponds to the JSON property `booleanValue` @return [Boolean]

duration_value[RW]

Defines this value as being a Duration. Corresponds to the JSON property `durationValue` @return [String]

enum_value[RW]

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. Corresponds to the JSON property `enumValue` @return [Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueEnumValue]

string_map_value[RW]

A string->string map value that can hold a map of string keys to string values. The maximum length of each string is 200 characters and there can be a maximum of 50 key-value pairs in the map. Corresponds to the JSON property `stringMapValue` @return [Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueStringMap]

string_set_value[RW]

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. Corresponds to the JSON property `stringSetValue` @return [Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueStringSet]

string_value[RW]

Defines this value as being a string value. Corresponds to the JSON property `stringValue` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/resourcesettings_v1/classes.rb, line 182
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/resourcesettings_v1/classes.rb, line 187
def update!(**args)
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
  @duration_value = args[:duration_value] if args.key?(:duration_value)
  @enum_value = args[:enum_value] if args.key?(:enum_value)
  @string_map_value = args[:string_map_value] if args.key?(:string_map_value)
  @string_set_value = args[:string_set_value] if args.key?(:string_set_value)
  @string_value = args[:string_value] if args.key?(:string_value)
end