Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterMapEntry

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

Entry is a pair of key and value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParameterMapEntry

Returns a new instance of EnterpriseCrmEventbusProtoParameterMapEntry.



1942
1943
1944
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1942

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

Instance Attribute Details

#keyGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterMapField

Field represents either the key or value in an entry. Corresponds to the JSON property key



1935
1936
1937
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1935

def key
  @key
end

#valueGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterMapField

Field represents either the key or value in an entry. Corresponds to the JSON property value



1940
1941
1942
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1940

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1947
1948
1949
1950
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1947

def update!(**args)
  @key = args[:key] if args.key?(:key)
  @value = args[:value] if args.key?(:value)
end