Class: Google::Apis::CesV1::ToolResponses

Inherits:
Object
  • Object
show all
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

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_responsesArray<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