google-apis-ces_v1 0.11.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/ces_v1/classes.rb +53 -2
- data/lib/google/apis/ces_v1/gem_version.rb +2 -2
- data/lib/google/apis/ces_v1/representations.rb +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 942b4a2545b8e00d9a8474c7f89e58489fc5f4f2364402336c6233a9032312fb
|
|
4
|
+
data.tar.gz: 6f229e0dd493e23a7d013269e63c2f3df4eed1c5ba7d7723864fb3f2f5c3e8d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 195cdcddb3d55c5569403b1f8496ae2e45ede102da936b39313a9613fc4db701d543aabb7ae311172b426e07ed57674ff807f9a9e8b6d3f10d9735bc3fd382e9
|
|
7
|
+
data.tar.gz: 5fdba29ce7640de219f29bf417e1550d268d7e4a0f548d2499b807eddef38871dd6775c71e02fd61fd13745b5a6701d8535e09c75247959f2d47855f9899a89b
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -4214,6 +4247,14 @@ module Google
|
|
|
4214
4247
|
# @return [String]
|
|
4215
4248
|
attr_accessor :conflict_resolution_strategy
|
|
4216
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
|
+
|
|
4217
4258
|
def initialize(**args)
|
|
4218
4259
|
update!(**args)
|
|
4219
4260
|
end
|
|
@@ -4221,6 +4262,7 @@ module Google
|
|
|
4221
4262
|
# Update properties of this object
|
|
4222
4263
|
def update!(**args)
|
|
4223
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)
|
|
4224
4266
|
end
|
|
4225
4267
|
end
|
|
4226
4268
|
|
|
@@ -7327,6 +7369,12 @@ module Google
|
|
|
7327
7369
|
# @return [String]
|
|
7328
7370
|
attr_accessor :entry_agent
|
|
7329
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
|
+
|
|
7330
7378
|
# Optional. The historical context of the session, including user inputs, agent
|
|
7331
7379
|
# responses, and other messages. Typically, CES agent would manage session
|
|
7332
7380
|
# automatically so client doesn't need to explicitly populate this field.
|
|
@@ -7381,6 +7429,7 @@ module Google
|
|
|
7381
7429
|
@deployment = args[:deployment] if args.key?(:deployment)
|
|
7382
7430
|
@enable_text_streaming = args[:enable_text_streaming] if args.key?(:enable_text_streaming)
|
|
7383
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)
|
|
7384
7433
|
@historical_contexts = args[:historical_contexts] if args.key?(:historical_contexts)
|
|
7385
7434
|
@input_audio_config = args[:input_audio_config] if args.key?(:input_audio_config)
|
|
7386
7435
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
|
@@ -7711,7 +7760,8 @@ module Google
|
|
|
7711
7760
|
class SynthesizeSpeechConfig
|
|
7712
7761
|
include Google::Apis::Core::Hashable
|
|
7713
7762
|
|
|
7714
|
-
# Optional.
|
|
7763
|
+
# Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig
|
|
7764
|
+
# instead. The Cloud Storage URI to the consent audio for voice cloning.
|
|
7715
7765
|
# Corresponds to the JSON property `consentAudioGcsUri`
|
|
7716
7766
|
# @return [String]
|
|
7717
7767
|
attr_accessor :consent_audio_gcs_uri
|
|
@@ -7743,7 +7793,8 @@ module Google
|
|
|
7743
7793
|
# @return [String]
|
|
7744
7794
|
attr_accessor :voice
|
|
7745
7795
|
|
|
7746
|
-
# Optional.
|
|
7796
|
+
# Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig
|
|
7797
|
+
# instead. The Cloud Storage URI to the audio sample for voice cloning. The
|
|
7747
7798
|
# audio sample should be a mono-channel, 24kHz WAV file. Note: Please make sure
|
|
7748
7799
|
# the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com` has `
|
|
7749
7800
|
# 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.
|
|
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 = "
|
|
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
|
|
@@ -2477,6 +2493,7 @@ module Google
|
|
|
2477
2493
|
# @private
|
|
2478
2494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2479
2495
|
property :conflict_resolution_strategy, as: 'conflictResolutionStrategy'
|
|
2496
|
+
property :validate_only, as: 'validateOnly'
|
|
2480
2497
|
end
|
|
2481
2498
|
end
|
|
2482
2499
|
|
|
@@ -3355,6 +3372,7 @@ module Google
|
|
|
3355
3372
|
property :deployment, as: 'deployment'
|
|
3356
3373
|
property :enable_text_streaming, as: 'enableTextStreaming'
|
|
3357
3374
|
property :entry_agent, as: 'entryAgent'
|
|
3375
|
+
property :exclude_diagnostic_info, as: 'excludeDiagnosticInfo'
|
|
3358
3376
|
collection :historical_contexts, as: 'historicalContexts', class: Google::Apis::CesV1::Message, decorator: Google::Apis::CesV1::Message::Representation
|
|
3359
3377
|
|
|
3360
3378
|
property :input_audio_config, as: 'inputAudioConfig', class: Google::Apis::CesV1::InputAudioConfig, decorator: Google::Apis::CesV1::InputAudioConfig::Representation
|
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.
|
|
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.
|
|
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:
|