Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaParameterMap

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaParameterMap

Returns a new instance of GoogleCloudIntegrationsV1alphaParameterMap.



8333
8334
8335
# File 'lib/google/apis/integrations_v1/classes.rb', line 8333

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

Instance Attribute Details

#entriesArray<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaParameterMapEntry>

A list of parameter map entries. Corresponds to the JSON property entries



8319
8320
8321
# File 'lib/google/apis/integrations_v1/classes.rb', line 8319

def entries
  @entries
end

#key_typeString

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

Returns:

  • (String)


8325
8326
8327
# File 'lib/google/apis/integrations_v1/classes.rb', line 8325

def key_type
  @key_type
end

#value_typeString

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

Returns:

  • (String)


8331
8332
8333
# File 'lib/google/apis/integrations_v1/classes.rb', line 8331

def value_type
  @value_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8338
8339
8340
8341
8342
# File 'lib/google/apis/integrations_v1/classes.rb', line 8338

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