Class: Google::Apis::CesV1::ToolResponses
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ToolResponses
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Execution results for the requested tool calls from the client.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ ToolResponses
constructor
A new instance of ToolResponses.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ToolResponses
Returns a new instance of ToolResponses.
6627 6628 6629 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_responses ⇒ Array<Google::Apis::CesV1::ToolResponse>
Optional. The list of tool execution results.
Corresponds to the JSON property toolResponses
6625 6626 6627 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6625 def tool_responses @tool_responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6632 6633 6634 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6632 def update!(**args) @tool_responses = args[:tool_responses] if args.key?(:tool_responses) end |