Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse

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

The response message for Playbooks.RestorePlaybookVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse

Returns a new instance of GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse.



13040
13041
13042
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13040

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

Instance Attribute Details

#playbookGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook

Playbook is the basic building block to instruct the LLM how to execute a certain task. A playbook consists of a goal to accomplish, an optional list of step by step instructions (the step instruction may refers to name of the custom or default plugin tools to use) to perform the task, a list of contextual input data to be passed in at the beginning of the invoked, and a list of output parameters to store the playbook result. Corresponds to the JSON property playbook



13038
13039
13040
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13038

def playbook
  @playbook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13045
13046
13047
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13045

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