@@ -1470,7 +1470,7 @@ def update!(**args)
14701470 class CitationsCitedChunk
14711471 include Google ::Apis ::Core ::Hashable
14721472
1473- # Text used for citaiton .
1473+ # Text used for citation .
14741474 # Corresponds to the JSON property `text`
14751475 # @return [String]
14761476 attr_accessor :text
@@ -2627,6 +2627,11 @@ class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds
26272627 # @return [Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds]
26282628 attr_accessor :expectation_level_metrics_thresholds
26292629
2630+ # Settings for matching tool calls.
2631+ # Corresponds to the JSON property `toolMatchingSettings`
2632+ # @return [Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings]
2633+ attr_accessor :tool_matching_settings
2634+
26302635 # Turn level metrics thresholds.
26312636 # Corresponds to the JSON property `turnLevelMetricsThresholds`
26322637 # @return [Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds]
@@ -2639,6 +2644,7 @@ def initialize(**args)
26392644 # Update properties of this object
26402645 def update! ( **args )
26412646 @expectation_level_metrics_thresholds = args [ :expectation_level_metrics_thresholds ] if args . key? ( :expectation_level_metrics_thresholds )
2647+ @tool_matching_settings = args [ :tool_matching_settings ] if args . key? ( :tool_matching_settings )
26422648 @turn_level_metrics_thresholds = args [ :turn_level_metrics_thresholds ] if args . key? ( :turn_level_metrics_thresholds )
26432649 end
26442650 end
@@ -2696,6 +2702,25 @@ def update!(**args)
26962702 end
26972703 end
26982704
2705+ # Settings for matching tool calls.
2706+ class EvaluationMetricsThresholdsToolMatchingSettings
2707+ include Google ::Apis ::Core ::Hashable
2708+
2709+ # Optional. Behavior for extra tool calls. Defaults to FAIL.
2710+ # Corresponds to the JSON property `extraToolCallBehavior`
2711+ # @return [String]
2712+ attr_accessor :extra_tool_call_behavior
2713+
2714+ def initialize ( **args )
2715+ update! ( **args )
2716+ end
2717+
2718+ # Update properties of this object
2719+ def update! ( **args )
2720+ @extra_tool_call_behavior = args [ :extra_tool_call_behavior ] if args . key? ( :extra_tool_call_behavior )
2721+ end
2722+ end
2723+
26992724 # Event input.
27002725 class Event
27012726 include Google ::Apis ::Core ::Hashable
@@ -2809,6 +2834,11 @@ class ExecuteToolRequest
28092834 # @return [Google::Apis::CesV1::ToolsetTool]
28102835 attr_accessor :toolset_tool
28112836
2837+ # Optional. The variables that are available for the tool execution.
2838+ # Corresponds to the JSON property `variables`
2839+ # @return [Hash<String,Object>]
2840+ attr_accessor :variables
2841+
28122842 def initialize ( **args )
28132843 update! ( **args )
28142844 end
@@ -2818,17 +2848,18 @@ def update!(**args)
28182848 @args = args [ :args ] if args . key? ( :args )
28192849 @tool = args [ :tool ] if args . key? ( :tool )
28202850 @toolset_tool = args [ :toolset_tool ] if args . key? ( :toolset_tool )
2851+ @variables = args [ :variables ] if args . key? ( :variables )
28212852 end
28222853 end
28232854
28242855 # Response message for ToolService.ExecuteTool.
28252856 class ExecuteToolResponse
28262857 include Google ::Apis ::Core ::Hashable
28272858
2828- # Required. The tool execution result in JSON object format. Use "output" key to
2829- # specify tool response and "error" key to specify error details (if any). If "
2830- # output" and "error" keys are not specified, then whole "response" is treated
2831- # as tool execution result.
2859+ # The tool execution result in JSON object format. Use "output" key to specify
2860+ # tool response and "error" key to specify error details (if any). If "output "
2861+ # and "error" keys are not specified, then whole "response" is treated as tool
2862+ # execution result.
28322863 # Corresponds to the JSON property `response`
28332864 # @return [Hash<String,Object>]
28342865 attr_accessor :response
@@ -2844,6 +2875,11 @@ class ExecuteToolResponse
28442875 # @return [Google::Apis::CesV1::ToolsetTool]
28452876 attr_accessor :toolset_tool
28462877
2878+ # The variable values at the end of the tool execution.
2879+ # Corresponds to the JSON property `variables`
2880+ # @return [Hash<String,Object>]
2881+ attr_accessor :variables
2882+
28472883 def initialize ( **args )
28482884 update! ( **args )
28492885 end
@@ -2853,6 +2889,7 @@ def update!(**args)
28532889 @response = args [ :response ] if args . key? ( :response )
28542890 @tool = args [ :tool ] if args . key? ( :tool )
28552891 @toolset_tool = args [ :toolset_tool ] if args . key? ( :toolset_tool )
2892+ @variables = args [ :variables ] if args . key? ( :variables )
28562893 end
28572894 end
28582895
@@ -5062,7 +5099,7 @@ def update!(**args)
50625099 class RetrieveToolsResponse
50635100 include Google ::Apis ::Core ::Hashable
50645101
5065- # Required. The list of tools that are included in the specified toolset.
5102+ # The list of tools that are included in the specified toolset.
50665103 # Corresponds to the JSON property `tools`
50675104 # @return [Array<Google::Apis::CesV1::Tool>]
50685105 attr_accessor :tools
@@ -5203,11 +5240,11 @@ class Schema
52035240
52045241 # Optional. Allows indirect references between schema nodes. The value should be
52055242 # a valid reference to a child of the root `defs`. For example, the following
5206- # schema defines a reference to a schema node named "Pet": type: object
5243+ # schema defines a reference to a schema node named "Pet": ``` type: object
52075244 # properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name:
5208- # type: string The value of the "pet" property is a reference to the schema node
5209- # named "Pet". See details in https://json-schema.org/understanding-json-schema/
5210- # structuring.
5245+ # type: string ``` The value of the "pet" property is a reference to the schema
5246+ # node named "Pet". See details in https://json-schema.org/understanding-json-
5247+ # schema/ structuring.
52115248 # Corresponds to the JSON property `ref`
52125249 # @return [String]
52135250 attr_accessor :ref
@@ -5488,10 +5525,11 @@ class SessionInput
54885525 attr_accessor :variables
54895526
54905527 # Optional. A flag to indicate if the current message is a fragment of a larger
5491- # input in the bidi streaming session. When `true`, the agent will defer
5492- # processing until a subsequent message with `will_continue` set to `false` is
5493- # received. Note: This flag has no effect on audio and DTMF inputs, which are
5494- # always processed in real-time.
5528+ # input in the bidi streaming session. When set to `true`, the agent defers
5529+ # processing until it receives a subsequent message where `will_continue` is `
5530+ # false`, or until the system detects an endpoint in the audio input. NOTE: This
5531+ # field does not apply to audio and DTMF inputs, as they are always processed
5532+ # automatically based on the endpointing signal.
54955533 # Corresponds to the JSON property `willContinue`
54965534 # @return [Boolean]
54975535 attr_accessor :will_continue
0 commit comments