Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTriggerCriteria
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTriggerCriteria
- 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
-
#condition ⇒ String
Required.
-
#parameters ⇒ Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventParameters
LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus.
-
#trigger_criteria_task_implementation_class_name ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoTriggerCriteria
constructor
A new instance of EnterpriseCrmEventbusProtoTriggerCriteria.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoTriggerCriteria
Returns a new instance of EnterpriseCrmEventbusProtoTriggerCriteria.
3314 3315 3316 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Required. Standard filter expression, when true the workflow will be executed.
If there's no trigger_criteria_task_implementation_class_name specified, the
condition will be validated directly.
Corresponds to the JSON property condition
3299 3300 3301 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3299 def condition @condition end |
#parameters ⇒ Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventParameters
LINT.IfChange This message is used for processing and persisting (when
applicable) key value pair parameters for each event in the event bus. Please
see
Corresponds to the JSON property parameters
3306 3307 3308 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3306 def parameters @parameters end |
#trigger_criteria_task_implementation_class_name ⇒ String
Optional. Implementation class name. The class should implement the “TypedTask”
interface.
Corresponds to the JSON property triggerCriteriaTaskImplementationClassName
3312 3313 3314 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3312 def trigger_criteria_task_implementation_class_name @trigger_criteria_task_implementation_class_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3319 3320 3321 3322 3323 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3319 def update!(**args) @condition = args[:condition] if args.key?(:condition) @parameters = args[:parameters] if args.key?(:parameters) @trigger_criteria_task_implementation_class_name = args[:trigger_criteria_task_implementation_class_name] if args.key?(:trigger_criteria_task_implementation_class_name) end |