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.



11896
11897
11898
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11896

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



11894
11895
11896
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11894

def playbook
  @playbook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11901
11902
11903
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11901

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