Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoNextTask

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

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.



1694
1695
1696
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1694

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

Instance Attribute Details

#combined_conditionsArray<Google::Apis::IntegrationsV1alpha::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



1666
1667
1668
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1666

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)


1671
1672
1673
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1671

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)


1677
1678
1679
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1677

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)


1682
1683
1684
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1682

def label
  @label
end

#task_config_idString

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

Returns:

  • (String)


1687
1688
1689
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1687

def task_config_id
  @task_config_id
end

#task_numberString

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

Returns:

  • (String)


1692
1693
1694
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1692

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1699
1700
1701
1702
1703
1704
1705
1706
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1699

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