google-apis-speech_v1p1beta1 0.28.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98cae24dd8974c815485f1af055d4cfed948018e088cb5157d9b8918e669bad8
|
4
|
+
data.tar.gz: 953d42e6b3b01450fd4d4c116023318b3bef4f793f4da8041795a27624ab6724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e3eb12df13e63ce45d9497f61d014e65843e4b152a6b00b17a5746e571003c0c7651fa6415a65087f918b6eb95598260bb8bcbe4e6b8607a705ab7dd1ac3e7
|
7
|
+
data.tar.gz: 25838d4ce5396c133bc98fd490456927010b84a48b46bdcb8dba95abeefda159e37c1ff2f7335d1fa9781b219fa4f20c193634866242239e848af4adf9ada0f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-speech_v1p1beta1
|
2
2
|
|
3
|
+
### v0.30.0 (2022-10-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221020
|
6
|
+
* Regenerated using generator version 0.11.0
|
7
|
+
|
8
|
+
### v0.29.0 (2022-09-20)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.10.0
|
11
|
+
|
3
12
|
### v0.28.0 (2022-08-27)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220818
|
@@ -376,6 +376,11 @@ module Google
|
|
376
376
|
# @return [Array<Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult>]
|
377
377
|
attr_accessor :results
|
378
378
|
|
379
|
+
# Information on speech adaptation use in results
|
380
|
+
# Corresponds to the JSON property `speechAdaptationInfo`
|
381
|
+
# @return [Google::Apis::SpeechV1p1beta1::SpeechAdaptationInfo]
|
382
|
+
attr_accessor :speech_adaptation_info
|
383
|
+
|
379
384
|
# When available, billed audio seconds for the corresponding request.
|
380
385
|
# Corresponds to the JSON property `totalBilledTime`
|
381
386
|
# @return [String]
|
@@ -391,6 +396,7 @@ module Google
|
|
391
396
|
@output_error = args[:output_error] if args.key?(:output_error)
|
392
397
|
@request_id = args[:request_id] if args.key?(:request_id)
|
393
398
|
@results = args[:results] if args.key?(:results)
|
399
|
+
@speech_adaptation_info = args[:speech_adaptation_info] if args.key?(:speech_adaptation_info)
|
394
400
|
@total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
|
395
401
|
end
|
396
402
|
end
|
@@ -610,12 +616,11 @@ module Google
|
|
610
616
|
attr_accessor :alternative_language_codes
|
611
617
|
|
612
618
|
# The number of channels in the input audio data. ONLY set this for MULTI-
|
613
|
-
# CHANNEL recognition. Valid values for LINEAR16 and FLAC are `1`-`8`.
|
614
|
-
#
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
618
|
-
# enable_separate_recognition_per_channel` to 'true'.
|
619
|
+
# CHANNEL recognition. Valid values for LINEAR16, OGG_OPUS and FLAC are `1`-`8`.
|
620
|
+
# Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`. If `
|
621
|
+
# 0` or omitted, defaults to one channel (mono). Note: We only recognize the
|
622
|
+
# first channel by default. To perform independent recognition on each channel
|
623
|
+
# set `enable_separate_recognition_per_channel` to 'true'.
|
619
624
|
# Corresponds to the JSON property `audioChannelCount`
|
620
625
|
# @return [Fixnum]
|
621
626
|
attr_accessor :audio_channel_count
|
@@ -941,6 +946,11 @@ module Google
|
|
941
946
|
# @return [Array<Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult>]
|
942
947
|
attr_accessor :results
|
943
948
|
|
949
|
+
# Information on speech adaptation use in results
|
950
|
+
# Corresponds to the JSON property `speechAdaptationInfo`
|
951
|
+
# @return [Google::Apis::SpeechV1p1beta1::SpeechAdaptationInfo]
|
952
|
+
attr_accessor :speech_adaptation_info
|
953
|
+
|
944
954
|
# When available, billed audio seconds for the corresponding request.
|
945
955
|
# Corresponds to the JSON property `totalBilledTime`
|
946
956
|
# @return [String]
|
@@ -954,6 +964,7 @@ module Google
|
|
954
964
|
def update!(**args)
|
955
965
|
@request_id = args[:request_id] if args.key?(:request_id)
|
956
966
|
@results = args[:results] if args.key?(:results)
|
967
|
+
@speech_adaptation_info = args[:speech_adaptation_info] if args.key?(:speech_adaptation_info)
|
957
968
|
@total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
|
958
969
|
end
|
959
970
|
end
|
@@ -1038,6 +1049,34 @@ module Google
|
|
1038
1049
|
end
|
1039
1050
|
end
|
1040
1051
|
|
1052
|
+
# Information on speech adaptation use in results
|
1053
|
+
class SpeechAdaptationInfo
|
1054
|
+
include Google::Apis::Core::Hashable
|
1055
|
+
|
1056
|
+
# Whether there was a timeout when applying speech adaptation. If true,
|
1057
|
+
# adaptation had no effect in the response transcript.
|
1058
|
+
# Corresponds to the JSON property `adaptationTimeout`
|
1059
|
+
# @return [Boolean]
|
1060
|
+
attr_accessor :adaptation_timeout
|
1061
|
+
alias_method :adaptation_timeout?, :adaptation_timeout
|
1062
|
+
|
1063
|
+
# If set, returns a message specifying which part of the speech adaptation
|
1064
|
+
# request timed out.
|
1065
|
+
# Corresponds to the JSON property `timeoutMessage`
|
1066
|
+
# @return [String]
|
1067
|
+
attr_accessor :timeout_message
|
1068
|
+
|
1069
|
+
def initialize(**args)
|
1070
|
+
update!(**args)
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# Update properties of this object
|
1074
|
+
def update!(**args)
|
1075
|
+
@adaptation_timeout = args[:adaptation_timeout] if args.key?(:adaptation_timeout)
|
1076
|
+
@timeout_message = args[:timeout_message] if args.key?(:timeout_message)
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1041
1080
|
# Provides "hints" to the speech recognizer to favor specific words and phrases
|
1042
1081
|
# in the results.
|
1043
1082
|
class SpeechContext
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SpeechV1p1beta1
|
18
18
|
# Version of the google-apis-speech_v1p1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221020"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,12 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class SpeechAdaptationInfo
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
157
163
|
class SpeechContext
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
@@ -307,6 +313,8 @@ module Google
|
|
307
313
|
property :request_id, :numeric_string => true, as: 'requestId'
|
308
314
|
collection :results, as: 'results', class: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult::Representation
|
309
315
|
|
316
|
+
property :speech_adaptation_info, as: 'speechAdaptationInfo', class: Google::Apis::SpeechV1p1beta1::SpeechAdaptationInfo, decorator: Google::Apis::SpeechV1p1beta1::SpeechAdaptationInfo::Representation
|
317
|
+
|
310
318
|
property :total_billed_time, as: 'totalBilledTime'
|
311
319
|
end
|
312
320
|
end
|
@@ -413,6 +421,8 @@ module Google
|
|
413
421
|
property :request_id, :numeric_string => true, as: 'requestId'
|
414
422
|
collection :results, as: 'results', class: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult::Representation
|
415
423
|
|
424
|
+
property :speech_adaptation_info, as: 'speechAdaptationInfo', class: Google::Apis::SpeechV1p1beta1::SpeechAdaptationInfo, decorator: Google::Apis::SpeechV1p1beta1::SpeechAdaptationInfo::Representation
|
425
|
+
|
416
426
|
property :total_billed_time, as: 'totalBilledTime'
|
417
427
|
end
|
418
428
|
end
|
@@ -438,6 +448,14 @@ module Google
|
|
438
448
|
end
|
439
449
|
end
|
440
450
|
|
451
|
+
class SpeechAdaptationInfo
|
452
|
+
# @private
|
453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
454
|
+
property :adaptation_timeout, as: 'adaptationTimeout'
|
455
|
+
property :timeout_message, as: 'timeoutMessage'
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
441
459
|
class SpeechContext
|
442
460
|
# @private
|
443
461
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-speech_v1p1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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-speech_v1p1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.30.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1p1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|