google-apis-ces_v1 0.11.0 → 0.13.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: 628f6410acc68e771f1c519a9955f51b959976b1010dc74a21fd5ed60d851345
4
- data.tar.gz: 7f2ea6cfe122b7a0d98965aa731fa18f3475938d4e8383f94785d7076e5acb04
3
+ metadata.gz: 843162bf75a2f854a1980e9aaa3f04f0e88e7b2b095dc99433f9b3c025b41fb3
4
+ data.tar.gz: 33656182a60bdc110242a2eb5596298233f8c8ec581e0aeff8d2d29dda483f64
5
5
  SHA512:
6
- metadata.gz: 319fecd9f314e634497d2553cbc171b7c06613f5757bfa5c16d2667046a8302af431c0c3ef0e05c709e53cdf3f17e31d13f79908a035f045dfc8712e3a5c93d4
7
- data.tar.gz: 750ee3638c1a2800a55fd23010aca80016f4d30d41af91888024ff852838c80701d14fcd7618bbc5867569fe0cc55a4b6e0b514f782763fcaa9a31bd3086b1a2
6
+ metadata.gz: 5bd37732fc70d26adec9dd75b72699149e6f1387c18c1eb8bd947930af634fc122a5e48011c04e82d616241fd676a68618d99ef19f2dde7bf6773038a029d7e0
7
+ data.tar.gz: c939caee667a9572d43b444409b973c2960551a05b85f054ae0fd48e3225918a44bab5c2f6aaebf3e83c6adfbcadb698369794dad7b49c71621bbd63cbedb015
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-ces_v1
2
2
 
3
+ ### v0.13.0 (2026-08-16)
4
+
5
+ * Regenerated from discovery document revision 20260806
6
+
7
+ ### v0.12.0 (2026-08-02)
8
+
9
+ * Regenerated from discovery document revision 20260730
10
+
3
11
  ### v0.11.0 (2026-07-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20260715
@@ -2164,11 +2164,31 @@ module Google
2164
2164
  # @return [Array<Google::Apis::CesV1::Message>]
2165
2165
  attr_accessor :messages
2166
2166
 
2167
+ # Output only. The full dynamically resolved developer instruction generated
2168
+ # from templates. This field is only populated on-demand when requested during
2169
+ # history retrieval. It is not persisted.
2170
+ # Corresponds to the JSON property `resolvedDeveloperInstruction`
2171
+ # @return [String]
2172
+ attr_accessor :resolved_developer_instruction
2173
+
2167
2174
  # A span is a unit of work or a single operation during the request processing.
2168
2175
  # Corresponds to the JSON property `rootSpan`
2169
2176
  # @return [Google::Apis::CesV1::Span]
2170
2177
  attr_accessor :root_span
2171
2178
 
2179
+ # Optional. Variables or configurations referenced by the template engine during
2180
+ # dynamic prompt generation. This allows reconstructing the exact prompt sent to
2181
+ # the model for this turn.
2182
+ # Corresponds to the JSON property `templateAttributes`
2183
+ # @return [Hash<String,Object>]
2184
+ attr_accessor :template_attributes
2185
+
2186
+ # Optional. The intended ground-truth text from the Simulated Caller (Polysynth).
2187
+ # Only populated when word error rate metrics are enabled.
2188
+ # Corresponds to the JSON property `userIntendedText`
2189
+ # @return [String]
2190
+ attr_accessor :user_intended_text
2191
+
2172
2192
  def initialize(**args)
2173
2193
  update!(**args)
2174
2194
  end
@@ -2176,7 +2196,10 @@ module Google
2176
2196
  # Update properties of this object
2177
2197
  def update!(**args)
2178
2198
  @messages = args[:messages] if args.key?(:messages)
2199
+ @resolved_developer_instruction = args[:resolved_developer_instruction] if args.key?(:resolved_developer_instruction)
2179
2200
  @root_span = args[:root_span] if args.key?(:root_span)
2201
+ @template_attributes = args[:template_attributes] if args.key?(:template_attributes)
2202
+ @user_intended_text = args[:user_intended_text] if args.key?(:user_intended_text)
2180
2203
  end
2181
2204
  end
2182
2205
 
@@ -2648,6 +2671,11 @@ module Google
2648
2671
  # @return [Google::Apis::CesV1::DataStoreToolRewriterConfig]
2649
2672
  attr_accessor :rewriter_config
2650
2673
 
2674
+ # Snippets configuration.
2675
+ # Corresponds to the JSON property `snippetsConfig`
2676
+ # @return [Google::Apis::CesV1::DataStoreToolSnippetsConfig]
2677
+ attr_accessor :snippets_config
2678
+
2651
2679
  # Summarization configuration.
2652
2680
  # Corresponds to the JSON property `summarizationConfig`
2653
2681
  # @return [Google::Apis::CesV1::DataStoreToolSummarizationConfig]
@@ -2662,6 +2690,7 @@ module Google
2662
2690
  @grounding_config = args[:grounding_config] if args.key?(:grounding_config)
2663
2691
  @modality_type = args[:modality_type] if args.key?(:modality_type)
2664
2692
  @rewriter_config = args[:rewriter_config] if args.key?(:rewriter_config)
2693
+ @snippets_config = args[:snippets_config] if args.key?(:snippets_config)
2665
2694
  @summarization_config = args[:summarization_config] if args.key?(:summarization_config)
2666
2695
  end
2667
2696
  end
@@ -2698,6 +2727,26 @@ module Google
2698
2727
  end
2699
2728
  end
2700
2729
 
2730
+ # Snippets configuration.
2731
+ class DataStoreToolSnippetsConfig
2732
+ include Google::Apis::Core::Hashable
2733
+
2734
+ # Optional. Whether snippets are enabled.
2735
+ # Corresponds to the JSON property `enableSnippets`
2736
+ # @return [Boolean]
2737
+ attr_accessor :enable_snippets
2738
+ alias_method :enable_snippets?, :enable_snippets
2739
+
2740
+ def initialize(**args)
2741
+ update!(**args)
2742
+ end
2743
+
2744
+ # Update properties of this object
2745
+ def update!(**args)
2746
+ @enable_snippets = args[:enable_snippets] if args.key?(:enable_snippets)
2747
+ end
2748
+ end
2749
+
2701
2750
  # Summarization configuration.
2702
2751
  class DataStoreToolSummarizationConfig
2703
2752
  include Google::Apis::Core::Hashable
@@ -4214,6 +4263,14 @@ module Google
4214
4263
  # @return [String]
4215
4264
  attr_accessor :conflict_resolution_strategy
4216
4265
 
4266
+ # Optional. Flag for dry-running the import process. If set to true, the import
4267
+ # process will only perform validations and will not make any changes to the
4268
+ # existing app or create a new one.
4269
+ # Corresponds to the JSON property `validateOnly`
4270
+ # @return [Boolean]
4271
+ attr_accessor :validate_only
4272
+ alias_method :validate_only?, :validate_only
4273
+
4217
4274
  def initialize(**args)
4218
4275
  update!(**args)
4219
4276
  end
@@ -4221,6 +4278,7 @@ module Google
4221
4278
  # Update properties of this object
4222
4279
  def update!(**args)
4223
4280
  @conflict_resolution_strategy = args[:conflict_resolution_strategy] if args.key?(:conflict_resolution_strategy)
4281
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
4224
4282
  end
4225
4283
  end
4226
4284
 
@@ -7327,6 +7385,12 @@ module Google
7327
7385
  # @return [String]
7328
7386
  attr_accessor :entry_agent
7329
7387
 
7388
+ # Optional. Whether to exclude diagnostic info from the session output.
7389
+ # Corresponds to the JSON property `excludeDiagnosticInfo`
7390
+ # @return [Boolean]
7391
+ attr_accessor :exclude_diagnostic_info
7392
+ alias_method :exclude_diagnostic_info?, :exclude_diagnostic_info
7393
+
7330
7394
  # Optional. The historical context of the session, including user inputs, agent
7331
7395
  # responses, and other messages. Typically, CES agent would manage session
7332
7396
  # automatically so client doesn't need to explicitly populate this field.
@@ -7381,6 +7445,7 @@ module Google
7381
7445
  @deployment = args[:deployment] if args.key?(:deployment)
7382
7446
  @enable_text_streaming = args[:enable_text_streaming] if args.key?(:enable_text_streaming)
7383
7447
  @entry_agent = args[:entry_agent] if args.key?(:entry_agent)
7448
+ @exclude_diagnostic_info = args[:exclude_diagnostic_info] if args.key?(:exclude_diagnostic_info)
7384
7449
  @historical_contexts = args[:historical_contexts] if args.key?(:historical_contexts)
7385
7450
  @input_audio_config = args[:input_audio_config] if args.key?(:input_audio_config)
7386
7451
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
@@ -7711,7 +7776,8 @@ module Google
7711
7776
  class SynthesizeSpeechConfig
7712
7777
  include Google::Apis::Core::Hashable
7713
7778
 
7714
- # Optional. The Cloud Storage URI to the consent audio for voice cloning.
7779
+ # Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig
7780
+ # instead. The Cloud Storage URI to the consent audio for voice cloning.
7715
7781
  # Corresponds to the JSON property `consentAudioGcsUri`
7716
7782
  # @return [String]
7717
7783
  attr_accessor :consent_audio_gcs_uri
@@ -7743,7 +7809,8 @@ module Google
7743
7809
  # @return [String]
7744
7810
  attr_accessor :voice
7745
7811
 
7746
- # Optional. The Cloud Storage URI to the audio sample for voice cloning. The
7812
+ # Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig
7813
+ # instead. The Cloud Storage URI to the audio sample for voice cloning. The
7747
7814
  # audio sample should be a mono-channel, 24kHz WAV file. Note: Please make sure
7748
7815
  # the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com` has `
7749
7816
  # storage.objects.get` permission to the Cloud Storage object.
@@ -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.11.0"
19
+ GEM_VERSION = "0.13.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 = "20260715"
25
+ REVISION = "20260806"
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
 
@@ -1888,8 +1894,11 @@ module Google
1888
1894
  class Representation < Google::Apis::Core::JsonRepresentation
1889
1895
  collection :messages, as: 'messages', class: Google::Apis::CesV1::Message, decorator: Google::Apis::CesV1::Message::Representation
1890
1896
 
1897
+ property :resolved_developer_instruction, as: 'resolvedDeveloperInstruction'
1891
1898
  property :root_span, as: 'rootSpan', class: Google::Apis::CesV1::Span, decorator: Google::Apis::CesV1::Span::Representation
1892
1899
 
1900
+ hash :template_attributes, as: 'templateAttributes'
1901
+ property :user_intended_text, as: 'userIntendedText'
1893
1902
  end
1894
1903
  end
1895
1904
 
@@ -2029,6 +2038,8 @@ module Google
2029
2038
  property :modality_type, as: 'modalityType'
2030
2039
  property :rewriter_config, as: 'rewriterConfig', class: Google::Apis::CesV1::DataStoreToolRewriterConfig, decorator: Google::Apis::CesV1::DataStoreToolRewriterConfig::Representation
2031
2040
 
2041
+ property :snippets_config, as: 'snippetsConfig', class: Google::Apis::CesV1::DataStoreToolSnippetsConfig, decorator: Google::Apis::CesV1::DataStoreToolSnippetsConfig::Representation
2042
+
2032
2043
  property :summarization_config, as: 'summarizationConfig', class: Google::Apis::CesV1::DataStoreToolSummarizationConfig, decorator: Google::Apis::CesV1::DataStoreToolSummarizationConfig::Representation
2033
2044
 
2034
2045
  end
@@ -2044,6 +2055,13 @@ module Google
2044
2055
  end
2045
2056
  end
2046
2057
 
2058
+ class DataStoreToolSnippetsConfig
2059
+ # @private
2060
+ class Representation < Google::Apis::Core::JsonRepresentation
2061
+ property :enable_snippets, as: 'enableSnippets'
2062
+ end
2063
+ end
2064
+
2047
2065
  class DataStoreToolSummarizationConfig
2048
2066
  # @private
2049
2067
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2477,6 +2495,7 @@ module Google
2477
2495
  # @private
2478
2496
  class Representation < Google::Apis::Core::JsonRepresentation
2479
2497
  property :conflict_resolution_strategy, as: 'conflictResolutionStrategy'
2498
+ property :validate_only, as: 'validateOnly'
2480
2499
  end
2481
2500
  end
2482
2501
 
@@ -3355,6 +3374,7 @@ module Google
3355
3374
  property :deployment, as: 'deployment'
3356
3375
  property :enable_text_streaming, as: 'enableTextStreaming'
3357
3376
  property :entry_agent, as: 'entryAgent'
3377
+ property :exclude_diagnostic_info, as: 'excludeDiagnosticInfo'
3358
3378
  collection :historical_contexts, as: 'historicalContexts', class: Google::Apis::CesV1::Message, decorator: Google::Apis::CesV1::Message::Representation
3359
3379
 
3360
3380
  property :input_audio_config, as: 'inputAudioConfig', class: Google::Apis::CesV1::InputAudioConfig, decorator: Google::Apis::CesV1::InputAudioConfig::Representation
@@ -842,6 +842,8 @@ module Google
842
842
  # @param [String] source
843
843
  # Optional. Indicate the source of the conversation. If not set, all source will
844
844
  # be searched.
845
+ # @param [String] view
846
+ # Optional. The view specifying which fields in the response should be populated.
845
847
  # @param [String] fields
846
848
  # Selector specifying which fields to include in a partial response.
847
849
  # @param [String] quota_user
@@ -859,12 +861,13 @@ module Google
859
861
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
860
862
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
861
863
  # @raise [Google::Apis::AuthorizationError] Authorization is required
862
- def get_project_location_app_conversation(name, source: nil, fields: nil, quota_user: nil, options: nil, &block)
864
+ def get_project_location_app_conversation(name, source: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
863
865
  command = make_simple_command(:get, 'v1/{+name}', options)
864
866
  command.response_representation = Google::Apis::CesV1::Conversation::Representation
865
867
  command.response_class = Google::Apis::CesV1::Conversation
866
868
  command.params['name'] = name unless name.nil?
867
869
  command.query['source'] = source unless source.nil?
870
+ command.query['view'] = view unless view.nil?
868
871
  command.query['fields'] = fields unless fields.nil?
869
872
  command.query['quotaUser'] = quota_user unless quota_user.nil?
870
873
  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.11.0
4
+ version: 0.13.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.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.13.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: