Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterMap
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterMap
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.
Instance Attribute Summary collapse
-
#entries ⇒ Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterMapEntry>
Corresponds to the JSON property
entries
. -
#key_type ⇒ String
Option to specify key value type for all entries of the map.
-
#value_type ⇒ String
Corresponds to the JSON property
valueType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParameterMap
constructor
A new instance of EnterpriseCrmEventbusProtoParameterMap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParameterMap
Returns a new instance of EnterpriseCrmEventbusProtoParameterMap.
2108 2109 2110 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2108 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entries ⇒ Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterMapEntry>
Corresponds to the JSON property entries
2095 2096 2097 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2095 def entries @entries end |
#key_type ⇒ String
Option to specify key value type for all entries of the map. If provided then
field types for all entries must conform to this.
Corresponds to the JSON property keyType
2101 2102 2103 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2101 def key_type @key_type end |
#value_type ⇒ String
Corresponds to the JSON property valueType
2106 2107 2108 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2106 def value_type @value_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2113 2114 2115 2116 2117 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2113 def update!(**args) @entries = args[:entries] if args.key?(:entries) @key_type = args[:key_type] if args.key?(:key_type) @value_type = args[:value_type] if args.key?(:value_type) end |