Class: Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueStringMap
- Inherits:
-
Object
- Object
- Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1ValueStringMap
- 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->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.
Instance Attribute Summary collapse
-
#mappings ⇒ Hash<String,String>
The key-value pairs in the map Corresponds to the JSON property
mappings
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudResourcesettingsV1ValueStringMap
constructor
A new instance of GoogleCloudResourcesettingsV1ValueStringMap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudResourcesettingsV1ValueStringMap
Returns a new instance of GoogleCloudResourcesettingsV1ValueStringMap.
228 229 230 |
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mappings ⇒ Hash<String,String>
The key-value pairs in the map
Corresponds to the JSON property mappings
226 227 228 |
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 226 def mappings @mappings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
233 234 235 |
# File 'lib/google/apis/resourcesettings_v1/classes.rb', line 233 def update!(**args) @mappings = args[:mappings] if args.key?(:mappings) end |