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.



11918
11919
11920
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11918

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



11916
11917
11918
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11916

def playbook
  @playbook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11923
11924
11925
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11923

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