Class: Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueStringSet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/resourcesettings_v1/classes.rb,
lib/google/apis/resourcesettings_v1/representations.rb,
lib/google/apis/resourcesettings_v1/representations.rb

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudResourcesettingsV1ValueStringSet

Returns a new instance of GoogleCloudResourcesettingsV1ValueStringSet.



249
250
251
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 249

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valuesArray<String>

The strings in the set Corresponds to the JSON property values

Returns:

  • (Array<String>)


247
248
249
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 247

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



254
255
256
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 254

def update!(**args)
  @values = args[:values] if args.key?(:values)
end