Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterMap

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParameterMap

Returns a new instance of EnterpriseCrmEventbusProtoParameterMap.



1911
1912
1913
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1911

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

Instance Attribute Details

#entriesArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterMapEntry>

Corresponds to the JSON property entries



1898
1899
1900
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1898

def entries
  @entries
end

#key_typeString

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

Returns:

  • (String)


1904
1905
1906
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1904

def key_type
  @key_type
end

#value_typeString

Corresponds to the JSON property valueType

Returns:

  • (String)


1909
1910
1911
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1909

def value_type
  @value_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1916
1917
1918
1919
1920
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1916

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