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.



11864
11865
11866
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11864

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



11862
11863
11864
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11862

def playbook
  @playbook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11869
11870
11871
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11869

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