Class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterMapEntry

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

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.



4260
4261
4262
# File 'lib/google/apis/integrations_v1/classes.rb', line 4260

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

Instance Attribute Details

#keyGoogle::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterMapField

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



4253
4254
4255
# File 'lib/google/apis/integrations_v1/classes.rb', line 4253

def key
  @key
end

#valueGoogle::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterMapField

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



4258
4259
4260
# File 'lib/google/apis/integrations_v1/classes.rb', line 4258

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4265
4266
4267
4268
# File 'lib/google/apis/integrations_v1/classes.rb', line 4265

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