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.



1614
1615
1616
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1614

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



1586
1587
1588
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1586

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)


1591
1592
1593
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1591

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)


1597
1598
1599
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1597

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)


1602
1603
1604
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1602

def label
  @label
end

#task_config_idString

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

Returns:

  • (String)


1607
1608
1609
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1607

def task_config_id
  @task_config_id
end

#task_numberString

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

Returns:

  • (String)


1612
1613
1614
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1612

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1619

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