Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

Message of the Instruction of the playbook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookInstruction

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookInstruction.



10590
10591
10592
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10590

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

Instance Attribute Details

#stepsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookStep>

Ordered list of step by step execution instructions to accomplish target goal. Corresponds to the JSON property steps



10588
10589
10590
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10588

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10595
10596
10597
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10595

def update!(**args)
  @steps = args[:steps] if args.key?(:steps)
end