Class: Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueStringSet
- Inherits:
-
Object
- Object
- Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueStringSet
- 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
-
#values ⇒ Array<String>
The strings in the set Corresponds to the JSON property
values
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudResourcesettingsV1ValueStringSet
constructor
A new instance of GoogleCloudResourcesettingsV1ValueStringSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#values ⇒ Array<String>
The strings in the set
Corresponds to the JSON property values
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 |