google-apis-ces_v1 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce5566011fd93f70235bc005e283e3bfb273dce37e327c379391db98518b036b
4
- data.tar.gz: e26d662856feb1da8b062398d6d4ecff0e9cc3effa9ee19e3153b79309ce1e15
3
+ metadata.gz: 165f88f4cad55d03c739d1393ff421391f637a024eb6b417905414bc40a564b8
4
+ data.tar.gz: d2ef3ac0db512900a506895a1b4539f8bb78cfe22c3ce5bb083cc19c53bd487a
5
5
  SHA512:
6
- metadata.gz: 755623d2452cab7fa2156ee0dd1cfd44ffe26c454ee1c102d1437b96627a0f001482d1e494c15611325929b77746920d546b418cb2e0239f4da307e01881e36a
7
- data.tar.gz: a3679c5d38df9139251e1002fa0805c8a3102897bed460835a5ed9dc2ce7dab2287eb5819c57f219b433003e1888ab6289dba9f91103965fcb9313b2e22310ac
6
+ metadata.gz: d426b05ed8234c2705ca2ddccbbb432393a9a11c82aeb1050a8d9ddf20bfb9ab79b3fc9e20062816e9c436c6568e62e0ea99e53c9249daab19e8ea40f5ee5b7e
7
+ data.tar.gz: 8005f4dff6ce4059a696df021df4b68350c1c19dca1af8accf0eac0e28898961f9b00f9800bbbb0a8ecd60c8c8a8b528d10e7ea63d3041e3058c1e7fc1342e6e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-ces_v1
2
2
 
3
+ ### v0.3.0 (2026-03-01)
4
+
5
+ * Regenerated from discovery document revision 20260218
6
+
7
+ ### v0.2.0 (2026-02-15)
8
+
9
+ * Regenerated from discovery document revision 20260213
10
+
3
11
  ### v0.1.0 (2026-02-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20260204
@@ -1081,6 +1081,17 @@ module Google
1081
1081
  attr_accessor :disabled
1082
1082
  alias_method :disabled?, :disabled
1083
1083
 
1084
+ # Optional. If enabled, the callback will also be executed on intermediate model
1085
+ # outputs. This setting only affects after model callback. **ENABLE WITH CAUTION*
1086
+ # *. Typically after model callback only needs to be executed after receiving
1087
+ # all model responses. Enabling proactive execution may have negative
1088
+ # implication on the execution cost and latency, and should only be enabled in
1089
+ # rare situations.
1090
+ # Corresponds to the JSON property `proactiveExecutionEnabled`
1091
+ # @return [Boolean]
1092
+ attr_accessor :proactive_execution_enabled
1093
+ alias_method :proactive_execution_enabled?, :proactive_execution_enabled
1094
+
1084
1095
  # Required. The python code to execute for the callback.
1085
1096
  # Corresponds to the JSON property `pythonCode`
1086
1097
  # @return [String]
@@ -1094,6 +1105,7 @@ module Google
1094
1105
  def update!(**args)
1095
1106
  @description = args[:description] if args.key?(:description)
1096
1107
  @disabled = args[:disabled] if args.key?(:disabled)
1108
+ @proactive_execution_enabled = args[:proactive_execution_enabled] if args.key?(:proactive_execution_enabled)
1097
1109
  @python_code = args[:python_code] if args.key?(:python_code)
1098
1110
  end
1099
1111
  end
@@ -1458,7 +1470,7 @@ module Google
1458
1470
  class CitationsCitedChunk
1459
1471
  include Google::Apis::Core::Hashable
1460
1472
 
1461
- # Text used for citaiton.
1473
+ # Text used for citation.
1462
1474
  # Corresponds to the JSON property `text`
1463
1475
  # @return [String]
1464
1476
  attr_accessor :text
@@ -2615,6 +2627,11 @@ module Google
2615
2627
  # @return [Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds]
2616
2628
  attr_accessor :expectation_level_metrics_thresholds
2617
2629
 
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
+
2618
2635
  # Turn level metrics thresholds.
2619
2636
  # Corresponds to the JSON property `turnLevelMetricsThresholds`
2620
2637
  # @return [Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds]
@@ -2627,6 +2644,7 @@ module Google
2627
2644
  # Update properties of this object
2628
2645
  def update!(**args)
2629
2646
  @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)
2630
2648
  @turn_level_metrics_thresholds = args[:turn_level_metrics_thresholds] if args.key?(:turn_level_metrics_thresholds)
2631
2649
  end
2632
2650
  end
@@ -2684,6 +2702,25 @@ module Google
2684
2702
  end
2685
2703
  end
2686
2704
 
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
+
2687
2724
  # Event input.
2688
2725
  class Event
2689
2726
  include Google::Apis::Core::Hashable
@@ -2797,6 +2834,11 @@ module Google
2797
2834
  # @return [Google::Apis::CesV1::ToolsetTool]
2798
2835
  attr_accessor :toolset_tool
2799
2836
 
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
+
2800
2842
  def initialize(**args)
2801
2843
  update!(**args)
2802
2844
  end
@@ -2806,6 +2848,7 @@ module Google
2806
2848
  @args = args[:args] if args.key?(:args)
2807
2849
  @tool = args[:tool] if args.key?(:tool)
2808
2850
  @toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool)
2851
+ @variables = args[:variables] if args.key?(:variables)
2809
2852
  end
2810
2853
  end
2811
2854
 
@@ -2813,10 +2856,10 @@ module Google
2813
2856
  class ExecuteToolResponse
2814
2857
  include Google::Apis::Core::Hashable
2815
2858
 
2816
- # Required. The tool execution result in JSON object format. Use "output" key to
2817
- # specify tool response and "error" key to specify error details (if any). If "
2818
- # output" and "error" keys are not specified, then whole "response" is treated
2819
- # 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.
2820
2863
  # Corresponds to the JSON property `response`
2821
2864
  # @return [Hash<String,Object>]
2822
2865
  attr_accessor :response
@@ -2832,6 +2875,11 @@ module Google
2832
2875
  # @return [Google::Apis::CesV1::ToolsetTool]
2833
2876
  attr_accessor :toolset_tool
2834
2877
 
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
+
2835
2883
  def initialize(**args)
2836
2884
  update!(**args)
2837
2885
  end
@@ -2841,6 +2889,7 @@ module Google
2841
2889
  @response = args[:response] if args.key?(:response)
2842
2890
  @tool = args[:tool] if args.key?(:tool)
2843
2891
  @toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool)
2892
+ @variables = args[:variables] if args.key?(:variables)
2844
2893
  end
2845
2894
  end
2846
2895
 
@@ -3071,6 +3120,12 @@ module Google
3071
3120
  # @return [Array<String>]
3072
3121
  attr_accessor :preferred_domains
3073
3122
 
3123
+ # Prompt settings used by the model when processing or summarizing the google
3124
+ # search results.
3125
+ # Corresponds to the JSON property `promptConfig`
3126
+ # @return [Google::Apis::CesV1::GoogleSearchToolPromptConfig]
3127
+ attr_accessor :prompt_config
3128
+
3074
3129
  def initialize(**args)
3075
3130
  update!(**args)
3076
3131
  end
@@ -3082,6 +3137,35 @@ module Google
3082
3137
  @exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
3083
3138
  @name = args[:name] if args.key?(:name)
3084
3139
  @preferred_domains = args[:preferred_domains] if args.key?(:preferred_domains)
3140
+ @prompt_config = args[:prompt_config] if args.key?(:prompt_config)
3141
+ end
3142
+ end
3143
+
3144
+ # Prompt settings used by the model when processing or summarizing the google
3145
+ # search results.
3146
+ class GoogleSearchToolPromptConfig
3147
+ include Google::Apis::Core::Hashable
3148
+
3149
+ # Optional. Defines the prompt used for the system instructions when interacting
3150
+ # with the agent in chat conversations. If not set, default prompt will be used.
3151
+ # Corresponds to the JSON property `textPrompt`
3152
+ # @return [String]
3153
+ attr_accessor :text_prompt
3154
+
3155
+ # Optional. Defines the prompt used for the system instructions when interacting
3156
+ # with the agent in voice conversations. If not set, default prompt will be used.
3157
+ # Corresponds to the JSON property `voicePrompt`
3158
+ # @return [String]
3159
+ attr_accessor :voice_prompt
3160
+
3161
+ def initialize(**args)
3162
+ update!(**args)
3163
+ end
3164
+
3165
+ # Update properties of this object
3166
+ def update!(**args)
3167
+ @text_prompt = args[:text_prompt] if args.key?(:text_prompt)
3168
+ @voice_prompt = args[:voice_prompt] if args.key?(:voice_prompt)
3085
3169
  end
3086
3170
  end
3087
3171
 
@@ -3496,6 +3580,13 @@ module Google
3496
3580
  # @return [String]
3497
3581
  attr_accessor :gcs_uri
3498
3582
 
3583
+ # Optional. Flag for overriding the app lock during import. If set to true, the
3584
+ # import process will ignore the app lock.
3585
+ # Corresponds to the JSON property `ignoreAppLock`
3586
+ # @return [Boolean]
3587
+ attr_accessor :ignore_app_lock
3588
+ alias_method :ignore_app_lock?, :ignore_app_lock
3589
+
3499
3590
  # Configuration options for the app import process. These options control how
3500
3591
  # the import behaves, particularly when conflicts arise with existing app data.
3501
3592
  # Corresponds to the JSON property `importOptions`
@@ -3512,6 +3603,7 @@ module Google
3512
3603
  @app_id = args[:app_id] if args.key?(:app_id)
3513
3604
  @display_name = args[:display_name] if args.key?(:display_name)
3514
3605
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
3606
+ @ignore_app_lock = args[:ignore_app_lock] if args.key?(:ignore_app_lock)
3515
3607
  @import_options = args[:import_options] if args.key?(:import_options)
3516
3608
  end
3517
3609
  end
@@ -5007,7 +5099,7 @@ module Google
5007
5099
  class RetrieveToolsResponse
5008
5100
  include Google::Apis::Core::Hashable
5009
5101
 
5010
- # Required. The list of tools that are included in the specified toolset.
5102
+ # The list of tools that are included in the specified toolset.
5011
5103
  # Corresponds to the JSON property `tools`
5012
5104
  # @return [Array<Google::Apis::CesV1::Tool>]
5013
5105
  attr_accessor :tools
@@ -5148,11 +5240,11 @@ module Google
5148
5240
 
5149
5241
  # Optional. Allows indirect references between schema nodes. The value should be
5150
5242
  # a valid reference to a child of the root `defs`. For example, the following
5151
- # 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
5152
5244
  # properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name:
5153
- # type: string The value of the "pet" property is a reference to the schema node
5154
- # named "Pet". See details in https://json-schema.org/understanding-json-schema/
5155
- # 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.
5156
5248
  # Corresponds to the JSON property `ref`
5157
5249
  # @return [String]
5158
5250
  attr_accessor :ref
@@ -5433,10 +5525,11 @@ module Google
5433
5525
  attr_accessor :variables
5434
5526
 
5435
5527
  # Optional. A flag to indicate if the current message is a fragment of a larger
5436
- # input in the bidi streaming session. When `true`, the agent will defer
5437
- # processing until a subsequent message with `will_continue` set to `false` is
5438
- # received. Note: This flag has no effect on audio and DTMF inputs, which are
5439
- # 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.
5440
5533
  # Corresponds to the JSON property `willContinue`
5441
5534
  # @return [Boolean]
5442
5535
  attr_accessor :will_continue
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CesV1
18
18
  # Version of the google-apis-ces_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260204"
25
+ REVISION = "20260218"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class EvaluationMetricsThresholdsToolMatchingSettings
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class Event
422
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
429
 
@@ -490,6 +496,12 @@ module Google
490
496
  include Google::Apis::Core::JsonObjectSupport
491
497
  end
492
498
 
499
+ class GoogleSearchToolPromptConfig
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
493
505
  class Guardrail
494
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
507
 
@@ -1312,6 +1324,7 @@ module Google
1312
1324
  class Representation < Google::Apis::Core::JsonRepresentation
1313
1325
  property :description, as: 'description'
1314
1326
  property :disabled, as: 'disabled'
1327
+ property :proactive_execution_enabled, as: 'proactiveExecutionEnabled'
1315
1328
  property :python_code, as: 'pythonCode'
1316
1329
  end
1317
1330
  end
@@ -1746,6 +1759,8 @@ module Google
1746
1759
  class Representation < Google::Apis::Core::JsonRepresentation
1747
1760
  property :expectation_level_metrics_thresholds, as: 'expectationLevelMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds::Representation
1748
1761
 
1762
+ property :tool_matching_settings, as: 'toolMatchingSettings', class: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings::Representation
1763
+
1749
1764
  property :turn_level_metrics_thresholds, as: 'turnLevelMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds::Representation
1750
1765
 
1751
1766
  end
@@ -1767,6 +1782,13 @@ module Google
1767
1782
  end
1768
1783
  end
1769
1784
 
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
+
1770
1792
  class Event
1771
1793
  # @private
1772
1794
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1797,6 +1819,7 @@ module Google
1797
1819
  property :tool, as: 'tool'
1798
1820
  property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation
1799
1821
 
1822
+ hash :variables, as: 'variables'
1800
1823
  end
1801
1824
  end
1802
1825
 
@@ -1807,6 +1830,7 @@ module Google
1807
1830
  property :tool, as: 'tool'
1808
1831
  property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation
1809
1832
 
1833
+ hash :variables, as: 'variables'
1810
1834
  end
1811
1835
  end
1812
1836
 
@@ -1876,6 +1900,16 @@ module Google
1876
1900
  collection :exclude_domains, as: 'excludeDomains'
1877
1901
  property :name, as: 'name'
1878
1902
  collection :preferred_domains, as: 'preferredDomains'
1903
+ property :prompt_config, as: 'promptConfig', class: Google::Apis::CesV1::GoogleSearchToolPromptConfig, decorator: Google::Apis::CesV1::GoogleSearchToolPromptConfig::Representation
1904
+
1905
+ end
1906
+ end
1907
+
1908
+ class GoogleSearchToolPromptConfig
1909
+ # @private
1910
+ class Representation < Google::Apis::Core::JsonRepresentation
1911
+ property :text_prompt, as: 'textPrompt'
1912
+ property :voice_prompt, as: 'voicePrompt'
1879
1913
  end
1880
1914
  end
1881
1915
 
@@ -1991,6 +2025,7 @@ module Google
1991
2025
  property :app_id, as: 'appId'
1992
2026
  property :display_name, as: 'displayName'
1993
2027
  property :gcs_uri, as: 'gcsUri'
2028
+ property :ignore_app_lock, as: 'ignoreAppLock'
1994
2029
  property :import_options, as: 'importOptions', class: Google::Apis::CesV1::ImportAppRequestImportOptions, decorator: Google::Apis::CesV1::ImportAppRequestImportOptions::Representation
1995
2030
 
1996
2031
  end
@@ -848,7 +848,10 @@ module Google
848
848
  # ListConversations call.
849
849
  # @param [String] source
850
850
  # Optional. Indicate the source of the conversation. If not set, Source.Live
851
- # will be applied by default.
851
+ # will be applied by default. Will be deprecated in favor of `sources` field.
852
+ # @param [Array<String>, String] sources
853
+ # Optional. Indicate the sources of the conversations. If not set, all available
854
+ # sources will be applied by default.
852
855
  # @param [String] fields
853
856
  # Selector specifying which fields to include in a partial response.
854
857
  # @param [String] quota_user
@@ -866,7 +869,7 @@ module Google
866
869
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
867
870
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
868
871
  # @raise [Google::Apis::AuthorizationError] Authorization is required
869
- def list_project_location_app_conversations(parent, filter: nil, page_size: nil, page_token: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
872
+ def list_project_location_app_conversations(parent, filter: nil, page_size: nil, page_token: nil, source: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
870
873
  command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
871
874
  command.response_representation = Google::Apis::CesV1::ListConversationsResponse::Representation
872
875
  command.response_class = Google::Apis::CesV1::ListConversationsResponse
@@ -875,6 +878,7 @@ module Google
875
878
  command.query['pageSize'] = page_size unless page_size.nil?
876
879
  command.query['pageToken'] = page_token unless page_token.nil?
877
880
  command.query['source'] = source unless source.nil?
881
+ command.query['sources'] = sources unless sources.nil?
878
882
  command.query['fields'] = fields unless fields.nil?
879
883
  command.query['quotaUser'] = quota_user unless quota_user.nil?
880
884
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ces_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ces_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.3.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ces_v1
63
63
  rdoc_options: []
64
64
  require_paths: