Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterMapEntry

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

Returns a new instance of EnterpriseCrmEventbusProtoParameterMapEntry.



2134
2135
2136
# File 'lib/google/apis/integrations_v1/classes.rb', line 2134

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

Instance Attribute Details

#keyGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterMapField

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



2127
2128
2129
# File 'lib/google/apis/integrations_v1/classes.rb', line 2127

def key
  @key
end

#valueGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterMapField

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



2132
2133
2134
# File 'lib/google/apis/integrations_v1/classes.rb', line 2132

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2139
2140
2141
2142
# File 'lib/google/apis/integrations_v1/classes.rb', line 2139

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