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.



1254
1255
1256
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1254

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



1247
1248
1249
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1247

def function_type
  @function_type
end

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

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



1252
1253
1254
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1252

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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