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.



1554
1555
1556
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1554

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



1526
1527
1528
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1526

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)


1531
1532
1533
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1531

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)


1537
1538
1539
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1537

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)


1542
1543
1544
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1542

def label
  @label
end

#task_config_idString

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

Returns:

  • (String)


1547
1548
1549
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1547

def task_config_id
  @task_config_id
end

#task_numberString

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

Returns:

  • (String)


1552
1553
1554
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1552

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1559
1560
1561
1562
1563
1564
1565
1566
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1559

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