diff --git a/api_names_out.yaml b/api_names_out.yaml index 067143ef921..2a63876a715 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -64669,6 +64669,7 @@ "/ces:v1/EvaluationMetricsThresholds/scenarioHallucinationMetricBehavior": scenario_hallucination_metric_behavior "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds": evaluation_metrics_thresholds_golden_evaluation_metrics_thresholds "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds/expectationLevelMetricsThresholds": expectation_level_metrics_thresholds +"/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds/toolMatchingSettings": tool_matching_settings "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds/turnLevelMetricsThresholds": turn_level_metrics_thresholds "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds": evaluation_metrics_thresholds_golden_evaluation_metrics_thresholds_expectation_level_metrics_thresholds ? "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds/toolInvocationParameterCorrectnessThreshold" @@ -64679,6 +64680,8 @@ "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds/semanticSimilarityChannel": semantic_similarity_channel ? "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds/semanticSimilaritySuccessThreshold" : semantic_similarity_success_threshold +"/ces:v1/EvaluationMetricsThresholdsToolMatchingSettings": evaluation_metrics_thresholds_tool_matching_settings +"/ces:v1/EvaluationMetricsThresholdsToolMatchingSettings/extraToolCallBehavior": extra_tool_call_behavior "/ces:v1/Event": event "/ces:v1/Event/event": event "/ces:v1/Example": example @@ -64697,11 +64700,15 @@ "/ces:v1/ExecuteToolRequest/args/arg": arg "/ces:v1/ExecuteToolRequest/tool": tool "/ces:v1/ExecuteToolRequest/toolsetTool": toolset_tool +"/ces:v1/ExecuteToolRequest/variables": variables +"/ces:v1/ExecuteToolRequest/variables/variable": variable "/ces:v1/ExecuteToolResponse": execute_tool_response "/ces:v1/ExecuteToolResponse/response": response "/ces:v1/ExecuteToolResponse/response/response": response "/ces:v1/ExecuteToolResponse/tool": tool "/ces:v1/ExecuteToolResponse/toolsetTool": toolset_tool +"/ces:v1/ExecuteToolResponse/variables": variables +"/ces:v1/ExecuteToolResponse/variables/variable": variable "/ces:v1/ExportAppRequest": export_app_request "/ces:v1/ExportAppRequest/exportFormat": export_format "/ces:v1/ExportAppRequest/gcsUri": gcs_uri diff --git a/generated/google-apis-ces_v1/CHANGELOG.md b/generated/google-apis-ces_v1/CHANGELOG.md index 9d94e59973f..57ea107d392 100644 --- a/generated/google-apis-ces_v1/CHANGELOG.md +++ b/generated/google-apis-ces_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-ces_v1 +### v0.3.0 (2026-03-01) + +* Regenerated from discovery document revision 20260218 + ### v0.2.0 (2026-02-15) * Regenerated from discovery document revision 20260213 diff --git a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb index 7dfffd9a11f..951bd8b10e2 100644 --- a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb +++ b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb @@ -1470,7 +1470,7 @@ def update!(**args) class CitationsCitedChunk include Google::Apis::Core::Hashable - # Text used for citaiton. + # Text used for citation. # Corresponds to the JSON property `text` # @return [String] attr_accessor :text @@ -2627,6 +2627,11 @@ class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds # @return [Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds] attr_accessor :expectation_level_metrics_thresholds + # Settings for matching tool calls. + # Corresponds to the JSON property `toolMatchingSettings` + # @return [Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings] + attr_accessor :tool_matching_settings + # Turn level metrics thresholds. # Corresponds to the JSON property `turnLevelMetricsThresholds` # @return [Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds] @@ -2639,6 +2644,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @expectation_level_metrics_thresholds = args[:expectation_level_metrics_thresholds] if args.key?(:expectation_level_metrics_thresholds) + @tool_matching_settings = args[:tool_matching_settings] if args.key?(:tool_matching_settings) @turn_level_metrics_thresholds = args[:turn_level_metrics_thresholds] if args.key?(:turn_level_metrics_thresholds) end end @@ -2696,6 +2702,25 @@ def update!(**args) end end + # Settings for matching tool calls. + class EvaluationMetricsThresholdsToolMatchingSettings + include Google::Apis::Core::Hashable + + # Optional. Behavior for extra tool calls. Defaults to FAIL. + # Corresponds to the JSON property `extraToolCallBehavior` + # @return [String] + attr_accessor :extra_tool_call_behavior + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @extra_tool_call_behavior = args[:extra_tool_call_behavior] if args.key?(:extra_tool_call_behavior) + end + end + # Event input. class Event include Google::Apis::Core::Hashable @@ -2809,6 +2834,11 @@ class ExecuteToolRequest # @return [Google::Apis::CesV1::ToolsetTool] attr_accessor :toolset_tool + # Optional. The variables that are available for the tool execution. + # Corresponds to the JSON property `variables` + # @return [Hash] + attr_accessor :variables + def initialize(**args) update!(**args) end @@ -2818,6 +2848,7 @@ def update!(**args) @args = args[:args] if args.key?(:args) @tool = args[:tool] if args.key?(:tool) @toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool) + @variables = args[:variables] if args.key?(:variables) end end @@ -2825,10 +2856,10 @@ def update!(**args) class ExecuteToolResponse include Google::Apis::Core::Hashable - # Required. The tool execution result in JSON object format. Use "output" key to - # specify tool response and "error" key to specify error details (if any). If " - # output" and "error" keys are not specified, then whole "response" is treated - # as tool execution result. + # The tool execution result in JSON object format. Use "output" key to specify + # tool response and "error" key to specify error details (if any). If "output" + # and "error" keys are not specified, then whole "response" is treated as tool + # execution result. # Corresponds to the JSON property `response` # @return [Hash] attr_accessor :response @@ -2844,6 +2875,11 @@ class ExecuteToolResponse # @return [Google::Apis::CesV1::ToolsetTool] attr_accessor :toolset_tool + # The variable values at the end of the tool execution. + # Corresponds to the JSON property `variables` + # @return [Hash] + attr_accessor :variables + def initialize(**args) update!(**args) end @@ -2853,6 +2889,7 @@ def update!(**args) @response = args[:response] if args.key?(:response) @tool = args[:tool] if args.key?(:tool) @toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool) + @variables = args[:variables] if args.key?(:variables) end end @@ -5062,7 +5099,7 @@ def update!(**args) class RetrieveToolsResponse include Google::Apis::Core::Hashable - # Required. The list of tools that are included in the specified toolset. + # The list of tools that are included in the specified toolset. # Corresponds to the JSON property `tools` # @return [Array] attr_accessor :tools @@ -5203,11 +5240,11 @@ class Schema # Optional. Allows indirect references between schema nodes. The value should be # a valid reference to a child of the root `defs`. For example, the following - # schema defines a reference to a schema node named "Pet": type: object + # schema defines a reference to a schema node named "Pet": ``` type: object # properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: - # type: string The value of the "pet" property is a reference to the schema node - # named "Pet". See details in https://json-schema.org/understanding-json-schema/ - # structuring. + # type: string ``` The value of the "pet" property is a reference to the schema + # node named "Pet". See details in https://json-schema.org/understanding-json- + # schema/structuring. # Corresponds to the JSON property `ref` # @return [String] attr_accessor :ref @@ -5488,10 +5525,11 @@ class SessionInput attr_accessor :variables # Optional. A flag to indicate if the current message is a fragment of a larger - # input in the bidi streaming session. When `true`, the agent will defer - # processing until a subsequent message with `will_continue` set to `false` is - # received. Note: This flag has no effect on audio and DTMF inputs, which are - # always processed in real-time. + # input in the bidi streaming session. When set to `true`, the agent defers + # processing until it receives a subsequent message where `will_continue` is ` + # false`, or until the system detects an endpoint in the audio input. NOTE: This + # field does not apply to audio and DTMF inputs, as they are always processed + # automatically based on the endpointing signal. # Corresponds to the JSON property `willContinue` # @return [Boolean] attr_accessor :will_continue diff --git a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb index 008be3b086b..94d560438c6 100644 --- a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb +++ b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module CesV1 # Version of the google-apis-ces_v1 gem - GEM_VERSION = "0.2.0" + GEM_VERSION = "0.3.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260213" + REVISION = "20260218" end end end diff --git a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb index ddb2fc8dbe4..07a63279587 100644 --- a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb +++ b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb @@ -418,6 +418,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class EvaluationMetricsThresholdsToolMatchingSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Event class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1753,6 +1759,8 @@ class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds class Representation < Google::Apis::Core::JsonRepresentation property :expectation_level_metrics_thresholds, as: 'expectationLevelMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds::Representation + property :tool_matching_settings, as: 'toolMatchingSettings', class: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings::Representation + property :turn_level_metrics_thresholds, as: 'turnLevelMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds::Representation end @@ -1774,6 +1782,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class EvaluationMetricsThresholdsToolMatchingSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :extra_tool_call_behavior, as: 'extraToolCallBehavior' + end + end + class Event # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1804,6 +1819,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :tool, as: 'tool' property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation + hash :variables, as: 'variables' end end @@ -1814,6 +1830,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :tool, as: 'tool' property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation + hash :variables, as: 'variables' end end