Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParameterMapEntry

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) ⇒ EnterpriseCrmFrontendsEventbusProtoParameterMapEntry

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoParameterMapEntry.



3965
3966
3967
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3965

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

Instance Attribute Details

#keyGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParameterMapField

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



3958
3959
3960
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3958

def key
  @key
end

#valueGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParameterMapField

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



3963
3964
3965
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3963

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3970
3971
3972
3973
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3970

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