Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoNextTask

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

The task that is next in line to be executed, if the condition specified evaluated to true.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoNextTask

Returns a new instance of EnterpriseCrmEventbusProtoNextTask.



1739
1740
1741
# File 'lib/google/apis/integrations_v1/classes.rb', line 1739

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

Instance Attribute Details

#combined_conditionsArray<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCombinedCondition>

Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use condition Corresponds to the JSON property combinedConditions



1711
1712
1713
# File 'lib/google/apis/integrations_v1/classes.rb', line 1711

def combined_conditions
  @combined_conditions
end

#conditionString

Standard filter expression for this task to become an eligible next task. Corresponds to the JSON property condition

Returns:

  • (String)


1716
1717
1718
# File 'lib/google/apis/integrations_v1/classes.rb', line 1716

def condition
  @condition
end

#descriptionString

User-provided description intended to give more business context about the next task edge or condition. Corresponds to the JSON property description

Returns:

  • (String)


1722
1723
1724
# File 'lib/google/apis/integrations_v1/classes.rb', line 1722

def description
  @description
end

#labelString

User-provided label that is attached to this edge in the UI. Corresponds to the JSON property label

Returns:

  • (String)


1727
1728
1729
# File 'lib/google/apis/integrations_v1/classes.rb', line 1727

def label
  @label
end

#task_config_idString

ID of the next task. Corresponds to the JSON property taskConfigId

Returns:

  • (String)


1732
1733
1734
# File 'lib/google/apis/integrations_v1/classes.rb', line 1732

def task_config_id
  @task_config_id
end

#task_numberString

Task number of the next task. Corresponds to the JSON property taskNumber

Returns:

  • (String)


1737
1738
1739
# File 'lib/google/apis/integrations_v1/classes.rb', line 1737

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1744
1745
1746
1747
1748
1749
1750
1751
# File 'lib/google/apis/integrations_v1/classes.rb', line 1744

def update!(**args)
  @combined_conditions = args[:combined_conditions] if args.key?(:combined_conditions)
  @condition = args[:condition] if args.key?(:condition)
  @description = args[:description] if args.key?(:description)
  @label = args[:label] if args.key?(:label)
  @task_config_id = args[:task_config_id] if args.key?(:task_config_id)
  @task_number = args[:task_number] if args.key?(:task_number)
end