Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaNextTask

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

Returns a new instance of GoogleCloudIntegrationsV1alphaNextTask.



8037
8038
8039
# File 'lib/google/apis/integrations_v1/classes.rb', line 8037

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)


8014
8015
8016
# File 'lib/google/apis/integrations_v1/classes.rb', line 8014

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)


8020
8021
8022
# File 'lib/google/apis/integrations_v1/classes.rb', line 8020

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)


8025
8026
8027
# File 'lib/google/apis/integrations_v1/classes.rb', line 8025

def display_name
  @display_name
end

#task_config_idString

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

Returns:

  • (String)


8030
8031
8032
# File 'lib/google/apis/integrations_v1/classes.rb', line 8030

def task_config_id
  @task_config_id
end

#task_idString

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

Returns:

  • (String)


8035
8036
8037
# File 'lib/google/apis/integrations_v1/classes.rb', line 8035

def task_id
  @task_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8042
8043
8044
8045
8046
8047
8048
# File 'lib/google/apis/integrations_v1/classes.rb', line 8042

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