Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaNextTask

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) ⇒ GoogleCloudIntegrationsV1alphaNextTask

Returns a new instance of GoogleCloudIntegrationsV1alphaNextTask.



7570
7571
7572
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7570

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

Instance Attribute Details

#conditionString

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

Returns:

  • (String)


7547
7548
7549
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7547

def condition
  @condition
end

#descriptionString

User-provided description intended to give additional business context about the task. Corresponds to the JSON property description

Returns:

  • (String)


7553
7554
7555
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7553

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


7558
7559
7560
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7558

def display_name
  @display_name
end

#task_config_idString

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

Returns:

  • (String)


7563
7564
7565
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7563

def task_config_id
  @task_config_id
end

#task_idString

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

Returns:

  • (String)


7568
7569
7570
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7568

def task_id
  @task_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7575
7576
7577
7578
7579
7580
7581
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7575

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