Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-ces_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
66 changes: 52 additions & 14 deletions generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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<String,Object>]
attr_accessor :variables

def initialize(**args)
update!(**args)
end
Expand All @@ -2818,17 +2848,18 @@ 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

# Response message for ToolService.ExecuteTool.
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<String,Object>]
attr_accessor :response
Expand All @@ -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<String,Object>]
attr_accessor :variables

def initialize(**args)
update!(**args)
end
Expand All @@ -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

Expand Down Expand Up @@ -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<Google::Apis::CesV1::Tool>]
attr_accessor :tools
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down