Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaParameterMap
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaParameterMap
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaParameterMapEntry>
A list of parameter map entries.
-
#key_type ⇒ String
Option to specify key type for all entries of the map.
-
#value_type ⇒ String
Option to specify value type for all entries of the map.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaParameterMap
constructor
A new instance of GoogleCloudIntegrationsV1alphaParameterMap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaParameterMap
Returns a new instance of GoogleCloudIntegrationsV1alphaParameterMap.
7619 7620 7621 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7619 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entries ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaParameterMapEntry>
A list of parameter map entries.
Corresponds to the JSON property entries
7605 7606 7607 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7605 def entries @entries end |
#key_type ⇒ String
Option to specify key 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
7611 7612 7613 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7611 def key_type @key_type end |
#value_type ⇒ String
Option to specify 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 valueType
7617 7618 7619 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7617 def value_type @value_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7624 7625 7626 7627 7628 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7624 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 |