Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoMappedField

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

Mapped field is a pair of input field and output field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoMappedField

Returns a new instance of EnterpriseCrmEventbusProtoMappedField.



1690
1691
1692
# File 'lib/google/apis/integrations_v1/classes.rb', line 1690

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

Instance Attribute Details

#input_fieldGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoField

Information about the value and type of the field. Corresponds to the JSON property inputField



1683
1684
1685
# File 'lib/google/apis/integrations_v1/classes.rb', line 1683

def input_field
  @input_field
end

#output_fieldGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoField

Information about the value and type of the field. Corresponds to the JSON property outputField



1688
1689
1690
# File 'lib/google/apis/integrations_v1/classes.rb', line 1688

def output_field
  @output_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1695
1696
1697
1698
# File 'lib/google/apis/integrations_v1/classes.rb', line 1695

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