google-apis-ces_v1 0.10.0 → 0.12.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: b9f2d04e2b21259baa2dd6bdfcb44aa7871bc9ccd29a392e91d9e76a03346b61
4
- data.tar.gz: f87b391288511890a0d88faf19eb3e923e37e6c295ea490fdccf6d44b735aed6
3
+ metadata.gz: 942b4a2545b8e00d9a8474c7f89e58489fc5f4f2364402336c6233a9032312fb
4
+ data.tar.gz: 6f229e0dd493e23a7d013269e63c2f3df4eed1c5ba7d7723864fb3f2f5c3e8d5
5
5
  SHA512:
6
- metadata.gz: 0e9f474e4481bb4fe562e23ba066a2a2448b094bd0ee1ea1221739acbd330d0e6125cb01a7a109c4e7f88d488633163d12834d7ebcce7c24ef3b768b484aa465
7
- data.tar.gz: 00474c313a49b493dc99d15ebb0a27e83cfa451a866d28868fa9c981a20743a4668bffa040df6c0c625da30d7d713b779bf9c419d8097045df772bacff4a4a6d
6
+ metadata.gz: 195cdcddb3d55c5569403b1f8496ae2e45ede102da936b39313a9613fc4db701d543aabb7ae311172b426e07ed57674ff807f9a9e8b6d3f10d9735bc3fd382e9
7
+ data.tar.gz: 5fdba29ce7640de219f29bf417e1550d268d7e4a0f548d2499b807eddef38871dd6775c71e02fd61fd13745b5a6701d8535e09c75247959f2d47855f9899a89b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-ces_v1
2
2
 
3
+ ### v0.12.0 (2026-08-02)
4
+
5
+ * Regenerated from discovery document revision 20260730
6
+
7
+ ### v0.11.0 (2026-07-26)
8
+
9
+ * Regenerated from discovery document revision 20260715
10
+
3
11
  ### v0.10.0 (2026-07-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20260708
@@ -2169,6 +2169,12 @@ module Google
2169
2169
  # @return [Google::Apis::CesV1::Span]
2170
2170
  attr_accessor :root_span
2171
2171
 
2172
+ # Optional. The intended ground-truth text from the Simulated Caller (Polysynth).
2173
+ # Only populated when word error rate metrics are enabled.
2174
+ # Corresponds to the JSON property `userIntendedText`
2175
+ # @return [String]
2176
+ attr_accessor :user_intended_text
2177
+
2172
2178
  def initialize(**args)
2173
2179
  update!(**args)
2174
2180
  end
@@ -2177,6 +2183,7 @@ module Google
2177
2183
  def update!(**args)
2178
2184
  @messages = args[:messages] if args.key?(:messages)
2179
2185
  @root_span = args[:root_span] if args.key?(:root_span)
2186
+ @user_intended_text = args[:user_intended_text] if args.key?(:user_intended_text)
2180
2187
  end
2181
2188
  end
2182
2189
 
@@ -2648,6 +2655,11 @@ module Google
2648
2655
  # @return [Google::Apis::CesV1::DataStoreToolRewriterConfig]
2649
2656
  attr_accessor :rewriter_config
2650
2657
 
2658
+ # Snippets configuration.
2659
+ # Corresponds to the JSON property `snippetsConfig`
2660
+ # @return [Google::Apis::CesV1::DataStoreToolSnippetsConfig]
2661
+ attr_accessor :snippets_config
2662
+
2651
2663
  # Summarization configuration.
2652
2664
  # Corresponds to the JSON property `summarizationConfig`
2653
2665
  # @return [Google::Apis::CesV1::DataStoreToolSummarizationConfig]
@@ -2662,6 +2674,7 @@ module Google
2662
2674
  @grounding_config = args[:grounding_config] if args.key?(:grounding_config)
2663
2675
  @modality_type = args[:modality_type] if args.key?(:modality_type)
2664
2676
  @rewriter_config = args[:rewriter_config] if args.key?(:rewriter_config)
2677
+ @snippets_config = args[:snippets_config] if args.key?(:snippets_config)
2665
2678
  @summarization_config = args[:summarization_config] if args.key?(:summarization_config)
2666
2679
  end
2667
2680
  end
@@ -2698,6 +2711,26 @@ module Google
2698
2711
  end
2699
2712
  end
2700
2713
 
2714
+ # Snippets configuration.
2715
+ class DataStoreToolSnippetsConfig
2716
+ include Google::Apis::Core::Hashable
2717
+
2718
+ # Optional. Whether snippets are enabled.
2719
+ # Corresponds to the JSON property `enableSnippets`
2720
+ # @return [Boolean]
2721
+ attr_accessor :enable_snippets
2722
+ alias_method :enable_snippets?, :enable_snippets
2723
+
2724
+ def initialize(**args)
2725
+ update!(**args)
2726
+ end
2727
+
2728
+ # Update properties of this object
2729
+ def update!(**args)
2730
+ @enable_snippets = args[:enable_snippets] if args.key?(:enable_snippets)
2731
+ end
2732
+ end
2733
+
2701
2734
  # Summarization configuration.
2702
2735
  class DataStoreToolSummarizationConfig
2703
2736
  include Google::Apis::Core::Hashable
@@ -2775,6 +2808,18 @@ module Google
2775
2808
  # @return [Google::Apis::CesV1::InstagramCredentials]
2776
2809
  attr_accessor :instagram_credentials
2777
2810
 
2811
+ # Optional. The modality of the deployment. Note: Deployment-level modality
2812
+ # override is gated behind an allowlist. Contact the CXAS team to enable this
2813
+ # field.
2814
+ # Corresponds to the JSON property `modality`
2815
+ # @return [String]
2816
+ attr_accessor :modality
2817
+
2818
+ # Model settings contains various configurations for the LLM model.
2819
+ # Corresponds to the JSON property `modelSettings`
2820
+ # @return [Google::Apis::CesV1::ModelSettings]
2821
+ attr_accessor :model_settings
2822
+
2778
2823
  # Identifier. The resource name of the deployment. Format: `projects/`project`/
2779
2824
  # locations/`location`/apps/`app`/deployments/`deployment``
2780
2825
  # Corresponds to the JSON property `name`
@@ -2804,6 +2849,8 @@ module Google
2804
2849
  @etag = args[:etag] if args.key?(:etag)
2805
2850
  @experiment_config = args[:experiment_config] if args.key?(:experiment_config)
2806
2851
  @instagram_credentials = args[:instagram_credentials] if args.key?(:instagram_credentials)
2852
+ @modality = args[:modality] if args.key?(:modality)
2853
+ @model_settings = args[:model_settings] if args.key?(:model_settings)
2807
2854
  @name = args[:name] if args.key?(:name)
2808
2855
  @update_time = args[:update_time] if args.key?(:update_time)
2809
2856
  @whatsapp_credentials = args[:whatsapp_credentials] if args.key?(:whatsapp_credentials)
@@ -4200,6 +4247,14 @@ module Google
4200
4247
  # @return [String]
4201
4248
  attr_accessor :conflict_resolution_strategy
4202
4249
 
4250
+ # Optional. Flag for dry-running the import process. If set to true, the import
4251
+ # process will only perform validations and will not make any changes to the
4252
+ # existing app or create a new one.
4253
+ # Corresponds to the JSON property `validateOnly`
4254
+ # @return [Boolean]
4255
+ attr_accessor :validate_only
4256
+ alias_method :validate_only?, :validate_only
4257
+
4203
4258
  def initialize(**args)
4204
4259
  update!(**args)
4205
4260
  end
@@ -4207,6 +4262,7 @@ module Google
4207
4262
  # Update properties of this object
4208
4263
  def update!(**args)
4209
4264
  @conflict_resolution_strategy = args[:conflict_resolution_strategy] if args.key?(:conflict_resolution_strategy)
4265
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
4210
4266
  end
4211
4267
  end
4212
4268
 
@@ -4611,7 +4667,12 @@ module Google
4611
4667
  # @return [String]
4612
4668
  attr_accessor :protocol_version
4613
4669
 
4614
- # Tenant ID to be used in the request when calling the agent.
4670
+ # Optional. An opaque string used for routing requests to a specific agent or
4671
+ # tenant when multiple agents are served behind a single A2A endpoint. When set,
4672
+ # clients MUST include this value in the `tenant` field of all request messages
4673
+ # sent to this interface. The server is responsible for interpreting the value
4674
+ # and routing requests accordingly; the protocol does not define its format or
4675
+ # semantics.
4615
4676
  # Corresponds to the JSON property `tenant`
4616
4677
  # @return [String]
4617
4678
  attr_accessor :tenant
@@ -5545,7 +5606,8 @@ module Google
5545
5606
  # @return [String]
5546
5607
  attr_accessor :task_id
5547
5608
 
5548
- # Optional. Tenant ID.
5609
+ # Optional. Opaque routing identifier. Must match the `tenant` value from the
5610
+ # selected `AgentInterface` in the Agent Card when that field is set.
5549
5611
  # Corresponds to the JSON property `tenant`
5550
5612
  # @return [String]
5551
5613
  attr_accessor :tenant
@@ -7307,6 +7369,12 @@ module Google
7307
7369
  # @return [String]
7308
7370
  attr_accessor :entry_agent
7309
7371
 
7372
+ # Optional. Whether to exclude diagnostic info from the session output.
7373
+ # Corresponds to the JSON property `excludeDiagnosticInfo`
7374
+ # @return [Boolean]
7375
+ attr_accessor :exclude_diagnostic_info
7376
+ alias_method :exclude_diagnostic_info?, :exclude_diagnostic_info
7377
+
7310
7378
  # Optional. The historical context of the session, including user inputs, agent
7311
7379
  # responses, and other messages. Typically, CES agent would manage session
7312
7380
  # automatically so client doesn't need to explicitly populate this field.
@@ -7361,6 +7429,7 @@ module Google
7361
7429
  @deployment = args[:deployment] if args.key?(:deployment)
7362
7430
  @enable_text_streaming = args[:enable_text_streaming] if args.key?(:enable_text_streaming)
7363
7431
  @entry_agent = args[:entry_agent] if args.key?(:entry_agent)
7432
+ @exclude_diagnostic_info = args[:exclude_diagnostic_info] if args.key?(:exclude_diagnostic_info)
7364
7433
  @historical_contexts = args[:historical_contexts] if args.key?(:historical_contexts)
7365
7434
  @input_audio_config = args[:input_audio_config] if args.key?(:input_audio_config)
7366
7435
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
@@ -7691,6 +7760,12 @@ module Google
7691
7760
  class SynthesizeSpeechConfig
7692
7761
  include Google::Apis::Core::Hashable
7693
7762
 
7763
+ # Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig
7764
+ # instead. The Cloud Storage URI to the consent audio for voice cloning.
7765
+ # Corresponds to the JSON property `consentAudioGcsUri`
7766
+ # @return [String]
7767
+ attr_accessor :consent_audio_gcs_uri
7768
+
7694
7769
  # Optional. The instruction used to synthesize speech when using a generative
7695
7770
  # model.
7696
7771
  # Corresponds to the JSON property `instruction`
@@ -7718,7 +7793,8 @@ module Google
7718
7793
  # @return [String]
7719
7794
  attr_accessor :voice
7720
7795
 
7721
- # Optional. The Cloud Storage URI to the audio sample for voice cloning. The
7796
+ # Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig
7797
+ # instead. The Cloud Storage URI to the audio sample for voice cloning. The
7722
7798
  # audio sample should be a mono-channel, 24kHz WAV file. Note: Please make sure
7723
7799
  # the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com` has `
7724
7800
  # storage.objects.get` permission to the Cloud Storage object.
@@ -7732,6 +7808,7 @@ module Google
7732
7808
 
7733
7809
  # Update properties of this object
7734
7810
  def update!(**args)
7811
+ @consent_audio_gcs_uri = args[:consent_audio_gcs_uri] if args.key?(:consent_audio_gcs_uri)
7735
7812
  @instruction = args[:instruction] if args.key?(:instruction)
7736
7813
  @model = args[:model] if args.key?(:model)
7737
7814
  @speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
@@ -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.10.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260708"
25
+ REVISION = "20260730"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,12 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
+ class DataStoreToolSnippetsConfig
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
391
397
  class DataStoreToolSummarizationConfig
392
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
399
 
@@ -1890,6 +1896,7 @@ module Google
1890
1896
 
1891
1897
  property :root_span, as: 'rootSpan', class: Google::Apis::CesV1::Span, decorator: Google::Apis::CesV1::Span::Representation
1892
1898
 
1899
+ property :user_intended_text, as: 'userIntendedText'
1893
1900
  end
1894
1901
  end
1895
1902
 
@@ -2029,6 +2036,8 @@ module Google
2029
2036
  property :modality_type, as: 'modalityType'
2030
2037
  property :rewriter_config, as: 'rewriterConfig', class: Google::Apis::CesV1::DataStoreToolRewriterConfig, decorator: Google::Apis::CesV1::DataStoreToolRewriterConfig::Representation
2031
2038
 
2039
+ property :snippets_config, as: 'snippetsConfig', class: Google::Apis::CesV1::DataStoreToolSnippetsConfig, decorator: Google::Apis::CesV1::DataStoreToolSnippetsConfig::Representation
2040
+
2032
2041
  property :summarization_config, as: 'summarizationConfig', class: Google::Apis::CesV1::DataStoreToolSummarizationConfig, decorator: Google::Apis::CesV1::DataStoreToolSummarizationConfig::Representation
2033
2042
 
2034
2043
  end
@@ -2044,6 +2053,13 @@ module Google
2044
2053
  end
2045
2054
  end
2046
2055
 
2056
+ class DataStoreToolSnippetsConfig
2057
+ # @private
2058
+ class Representation < Google::Apis::Core::JsonRepresentation
2059
+ property :enable_snippets, as: 'enableSnippets'
2060
+ end
2061
+ end
2062
+
2047
2063
  class DataStoreToolSummarizationConfig
2048
2064
  # @private
2049
2065
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2067,6 +2083,9 @@ module Google
2067
2083
 
2068
2084
  property :instagram_credentials, as: 'instagramCredentials', class: Google::Apis::CesV1::InstagramCredentials, decorator: Google::Apis::CesV1::InstagramCredentials::Representation
2069
2085
 
2086
+ property :modality, as: 'modality'
2087
+ property :model_settings, as: 'modelSettings', class: Google::Apis::CesV1::ModelSettings, decorator: Google::Apis::CesV1::ModelSettings::Representation
2088
+
2070
2089
  property :name, as: 'name'
2071
2090
  property :update_time, as: 'updateTime'
2072
2091
  property :whatsapp_credentials, as: 'whatsappCredentials', class: Google::Apis::CesV1::WhatsAppCredentials, decorator: Google::Apis::CesV1::WhatsAppCredentials::Representation
@@ -2474,6 +2493,7 @@ module Google
2474
2493
  # @private
2475
2494
  class Representation < Google::Apis::Core::JsonRepresentation
2476
2495
  property :conflict_resolution_strategy, as: 'conflictResolutionStrategy'
2496
+ property :validate_only, as: 'validateOnly'
2477
2497
  end
2478
2498
  end
2479
2499
 
@@ -3352,6 +3372,7 @@ module Google
3352
3372
  property :deployment, as: 'deployment'
3353
3373
  property :enable_text_streaming, as: 'enableTextStreaming'
3354
3374
  property :entry_agent, as: 'entryAgent'
3375
+ property :exclude_diagnostic_info, as: 'excludeDiagnosticInfo'
3355
3376
  collection :historical_contexts, as: 'historicalContexts', class: Google::Apis::CesV1::Message, decorator: Google::Apis::CesV1::Message::Representation
3356
3377
 
3357
3378
  property :input_audio_config, as: 'inputAudioConfig', class: Google::Apis::CesV1::InputAudioConfig, decorator: Google::Apis::CesV1::InputAudioConfig::Representation
@@ -3450,6 +3471,7 @@ module Google
3450
3471
  class SynthesizeSpeechConfig
3451
3472
  # @private
3452
3473
  class Representation < Google::Apis::Core::JsonRepresentation
3474
+ property :consent_audio_gcs_uri, as: 'consentAudioGcsUri'
3453
3475
  property :instruction, as: 'instruction'
3454
3476
  property :model, as: 'model'
3455
3477
  property :speaking_rate, as: 'speakingRate'
@@ -310,7 +310,8 @@ module Google
310
310
 
311
311
  # Gets the extended agent card for the authenticated agent.
312
312
  # @param [String] tenant
313
- # Optional. Tenant ID, provided as a path parameter.
313
+ # Optional. Opaque routing identifier. Must match the `tenant` value from the
314
+ # selected `AgentInterface` in the Agent Card when that field is set.
314
315
  # @param [String] fields
315
316
  # Selector specifying which fields to include in a partial response.
316
317
  # @param [String] quota_user
@@ -1027,7 +1028,8 @@ module Google
1027
1028
 
1028
1029
  # Gets the extended agent card for the authenticated agent.
1029
1030
  # @param [String] tenant
1030
- # Optional. Tenant ID, provided as a path parameter.
1031
+ # Optional. Opaque routing identifier. Must match the `tenant` value from the
1032
+ # selected `AgentInterface` in the Agent Card when that field is set.
1031
1033
  # @param [String] fields
1032
1034
  # Selector specifying which fields to include in a partial response.
1033
1035
  # @param [String] quota_user
@@ -1140,7 +1142,8 @@ module Google
1140
1142
 
1141
1143
  # Sends a message to an agent.
1142
1144
  # @param [String] tenant
1143
- # Optional. Tenant ID, provided as a path parameter.
1145
+ # Optional. Opaque routing identifier. Must match the `tenant` value from the
1146
+ # selected `AgentInterface` in the Agent Card when that field is set.
1144
1147
  # @param [Google::Apis::CesV1::LfA2aV1SendMessageRequest] lf_a2a_v1_send_message_request_object
1145
1148
  # @param [String] fields
1146
1149
  # Selector specifying which fields to include in a partial response.
@@ -1556,7 +1559,8 @@ module Google
1556
1559
 
1557
1560
  # Sends a message to an agent.
1558
1561
  # @param [String] tenant
1559
- # Optional. Tenant ID, provided as a path parameter.
1562
+ # Optional. Opaque routing identifier. Must match the `tenant` value from the
1563
+ # selected `AgentInterface` in the Agent Card when that field is set.
1560
1564
  # @param [Google::Apis::CesV1::LfA2aV1SendMessageRequest] lf_a2a_v1_send_message_request_object
1561
1565
  # @param [String] fields
1562
1566
  # Selector specifying which fields to include in a partial response.
@@ -2227,7 +2231,8 @@ module Google
2227
2231
 
2228
2232
  # Gets the extended agent card for the authenticated agent.
2229
2233
  # @param [String] tenant
2230
- # Optional. Tenant ID, provided as a path parameter.
2234
+ # Optional. Opaque routing identifier. Must match the `tenant` value from the
2235
+ # selected `AgentInterface` in the Agent Card when that field is set.
2231
2236
  # @param [String] fields
2232
2237
  # Selector specifying which fields to include in a partial response.
2233
2238
  # @param [String] quota_user
@@ -2338,7 +2343,8 @@ module Google
2338
2343
 
2339
2344
  # Sends a message to an agent.
2340
2345
  # @param [String] tenant
2341
- # Optional. Tenant ID, provided as a path parameter.
2346
+ # Optional. Opaque routing identifier. Must match the `tenant` value from the
2347
+ # selected `AgentInterface` in the Agent Card when that field is set.
2342
2348
  # @param [Google::Apis::CesV1::LfA2aV1SendMessageRequest] lf_a2a_v1_send_message_request_object
2343
2349
  # @param [String] fields
2344
2350
  # Selector specifying which fields to include in a partial response.
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.10.0
4
+ version: 0.12.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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.12.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: