Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFunction

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoFunction

Returns a new instance of EnterpriseCrmEventbusProtoFunction.



1410
1411
1412
# File 'lib/google/apis/integrations_v1/classes.rb', line 1410

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

Instance Attribute Details

#function_typeGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFunctionType

The name of the function to perform. Corresponds to the JSON property functionType



1403
1404
1405
# File 'lib/google/apis/integrations_v1/classes.rb', line 1403

def function_type
  @function_type
end

#parametersArray<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTransformExpression>

List of parameters required for the transformation. Corresponds to the JSON property parameters



1408
1409
1410
# File 'lib/google/apis/integrations_v1/classes.rb', line 1408

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1415
1416
1417
1418
# File 'lib/google/apis/integrations_v1/classes.rb', line 1415

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