Skip to content

Commit 3c3b97f

Browse files
feat: Automated regeneration of ces v1 client (googleapis#25837)
Auto-created at 2026-03-01 10:05:57 +0000 using the toys pull request generator.
1 parent d6f89e4 commit 3c3b97f

File tree

5 files changed

+82
-16
lines changed

5 files changed

+82
-16
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64682,6 +64682,7 @@
6468264682
"/ces:v1/EvaluationMetricsThresholds/scenarioHallucinationMetricBehavior": scenario_hallucination_metric_behavior
6468364683
"/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds": evaluation_metrics_thresholds_golden_evaluation_metrics_thresholds
6468464684
"/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds/expectationLevelMetricsThresholds": expectation_level_metrics_thresholds
64685+
"/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds/toolMatchingSettings": tool_matching_settings
6468564686
"/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds/turnLevelMetricsThresholds": turn_level_metrics_thresholds
6468664687
"/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds": evaluation_metrics_thresholds_golden_evaluation_metrics_thresholds_expectation_level_metrics_thresholds
6468764688
? "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds/toolInvocationParameterCorrectnessThreshold"
@@ -64692,6 +64693,8 @@
6469264693
"/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds/semanticSimilarityChannel": semantic_similarity_channel
6469364694
? "/ces:v1/EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds/semanticSimilaritySuccessThreshold"
6469464695
: semantic_similarity_success_threshold
64696+
"/ces:v1/EvaluationMetricsThresholdsToolMatchingSettings": evaluation_metrics_thresholds_tool_matching_settings
64697+
"/ces:v1/EvaluationMetricsThresholdsToolMatchingSettings/extraToolCallBehavior": extra_tool_call_behavior
6469564698
"/ces:v1/Event": event
6469664699
"/ces:v1/Event/event": event
6469764700
"/ces:v1/Example": example
@@ -64710,11 +64713,15 @@
6471064713
"/ces:v1/ExecuteToolRequest/args/arg": arg
6471164714
"/ces:v1/ExecuteToolRequest/tool": tool
6471264715
"/ces:v1/ExecuteToolRequest/toolsetTool": toolset_tool
64716+
"/ces:v1/ExecuteToolRequest/variables": variables
64717+
"/ces:v1/ExecuteToolRequest/variables/variable": variable
6471364718
"/ces:v1/ExecuteToolResponse": execute_tool_response
6471464719
"/ces:v1/ExecuteToolResponse/response": response
6471564720
"/ces:v1/ExecuteToolResponse/response/response": response
6471664721
"/ces:v1/ExecuteToolResponse/tool": tool
6471764722
"/ces:v1/ExecuteToolResponse/toolsetTool": toolset_tool
64723+
"/ces:v1/ExecuteToolResponse/variables": variables
64724+
"/ces:v1/ExecuteToolResponse/variables/variable": variable
6471864725
"/ces:v1/ExportAppRequest": export_app_request
6471964726
"/ces:v1/ExportAppRequest/exportFormat": export_format
6472064727
"/ces:v1/ExportAppRequest/gcsUri": gcs_uri

generated/google-apis-ces_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-ces_v1
22

3+
### v0.3.0 (2026-03-01)
4+
5+
* Regenerated from discovery document revision 20260218
6+
37
### v0.2.0 (2026-02-15)
48

59
* Regenerated from discovery document revision 20260213

generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb

Lines changed: 52 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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

generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CesV1
1818
# Version of the google-apis-ces_v1 gem
19-
GEM_VERSION = "0.2.0"
19+
GEM_VERSION = "0.3.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260213"
25+
REVISION = "20260218"
2626
end
2727
end
2828
end

generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
418418
include Google::Apis::Core::JsonObjectSupport
419419
end
420420

421+
class EvaluationMetricsThresholdsToolMatchingSettings
422+
class Representation < Google::Apis::Core::JsonRepresentation; end
423+
424+
include Google::Apis::Core::JsonObjectSupport
425+
end
426+
421427
class Event
422428
class Representation < Google::Apis::Core::JsonRepresentation; end
423429

@@ -1753,6 +1759,8 @@ class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds
17531759
class Representation < Google::Apis::Core::JsonRepresentation
17541760
property :expectation_level_metrics_thresholds, as: 'expectationLevelMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds::Representation
17551761

1762+
property :tool_matching_settings, as: 'toolMatchingSettings', class: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings::Representation
1763+
17561764
property :turn_level_metrics_thresholds, as: 'turnLevelMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds::Representation
17571765

17581766
end
@@ -1774,6 +1782,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
17741782
end
17751783
end
17761784

1785+
class EvaluationMetricsThresholdsToolMatchingSettings
1786+
# @private
1787+
class Representation < Google::Apis::Core::JsonRepresentation
1788+
property :extra_tool_call_behavior, as: 'extraToolCallBehavior'
1789+
end
1790+
end
1791+
17771792
class Event
17781793
# @private
17791794
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1804,6 +1819,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
18041819
property :tool, as: 'tool'
18051820
property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation
18061821

1822+
hash :variables, as: 'variables'
18071823
end
18081824
end
18091825

@@ -1814,6 +1830,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
18141830
property :tool, as: 'tool'
18151831
property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation
18161832

1833+
hash :variables, as: 'variables'
18171834
end
18181835
end
18191836

0 commit comments

Comments
 (0)