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.
6840 6841 6842 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6840 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
6838 6839 6840 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6838 def tool_responses @tool_responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6845 6846 6847 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6845 def update!(**args) @tool_responses = args[:tool_responses] if args.key?(:tool_responses) end |