Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoFunction

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoFunction

Returns a new instance of EnterpriseCrmEventbusProtoFunction.



1267
1268
1269
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1267

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

Instance Attribute Details

#function_typeGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoFunctionType

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



1260
1261
1262
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1260

def function_type
  @function_type
end

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

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



1265
1266
1267
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1265

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1272
1273
1274
1275
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1272

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