google-cloud-speech 0.37.0 → 0.38.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/.yardopts +1 -1
- data/README.md +5 -5
- data/lib/google/cloud/speech.rb +4 -4
- data/lib/google/cloud/speech/v1.rb +4 -4
- data/lib/google/cloud/speech/v1/cloud_speech_pb.rb +11 -0
- data/lib/google/cloud/speech/v1/cloud_speech_services_pb.rb +3 -1
- data/lib/google/cloud/speech/v1/doc/google/cloud/speech/v1/cloud_speech.rb +102 -61
- data/lib/google/cloud/speech/v1/speech_client.rb +6 -4
- data/lib/google/cloud/speech/v1/speech_client_config.json +8 -8
- data/lib/google/cloud/speech/v1p1beta1.rb +5 -4
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb +2 -1
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_services_pb.rb +3 -1
- data/lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb +82 -87
- data/lib/google/cloud/speech/v1p1beta1/speech_client.rb +6 -4
- data/lib/google/cloud/speech/v1p1beta1/speech_client_config.json +8 -8
- data/lib/google/cloud/speech/version.rb +1 -1
- metadata +5 -4
|
@@ -209,12 +209,12 @@ module Google
|
|
|
209
209
|
# has been sent and processed.
|
|
210
210
|
#
|
|
211
211
|
# @param config [Google::Cloud::Speech::V1p1beta1::RecognitionConfig | Hash]
|
|
212
|
-
#
|
|
212
|
+
# Required. Provides information to the recognizer that specifies how to
|
|
213
213
|
# process the request.
|
|
214
214
|
# A hash of the same form as `Google::Cloud::Speech::V1p1beta1::RecognitionConfig`
|
|
215
215
|
# can also be provided.
|
|
216
216
|
# @param audio [Google::Cloud::Speech::V1p1beta1::RecognitionAudio | Hash]
|
|
217
|
-
#
|
|
217
|
+
# Required. The audio data to be recognized.
|
|
218
218
|
# A hash of the same form as `Google::Cloud::Speech::V1p1beta1::RecognitionAudio`
|
|
219
219
|
# can also be provided.
|
|
220
220
|
# @param options [Google::Gax::CallOptions]
|
|
@@ -258,14 +258,16 @@ module Google
|
|
|
258
258
|
# google.longrunning.Operations interface. Returns either an
|
|
259
259
|
# `Operation.error` or an `Operation.response` which contains
|
|
260
260
|
# a `LongRunningRecognizeResponse` message.
|
|
261
|
+
# For more information on asynchronous speech recognition, see the
|
|
262
|
+
# [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
|
|
261
263
|
#
|
|
262
264
|
# @param config [Google::Cloud::Speech::V1p1beta1::RecognitionConfig | Hash]
|
|
263
|
-
#
|
|
265
|
+
# Required. Provides information to the recognizer that specifies how to
|
|
264
266
|
# process the request.
|
|
265
267
|
# A hash of the same form as `Google::Cloud::Speech::V1p1beta1::RecognitionConfig`
|
|
266
268
|
# can also be provided.
|
|
267
269
|
# @param audio [Google::Cloud::Speech::V1p1beta1::RecognitionAudio | Hash]
|
|
268
|
-
#
|
|
270
|
+
# Required. The audio data to be recognized.
|
|
269
271
|
# A hash of the same form as `Google::Cloud::Speech::V1p1beta1::RecognitionAudio`
|
|
270
272
|
# can also be provided.
|
|
271
273
|
# @param options [Google::Gax::CallOptions]
|
|
@@ -13,26 +13,26 @@
|
|
|
13
13
|
"initial_retry_delay_millis": 100,
|
|
14
14
|
"retry_delay_multiplier": 1.3,
|
|
15
15
|
"max_retry_delay_millis": 60000,
|
|
16
|
-
"initial_rpc_timeout_millis":
|
|
16
|
+
"initial_rpc_timeout_millis": 20000,
|
|
17
17
|
"rpc_timeout_multiplier": 1.0,
|
|
18
|
-
"max_rpc_timeout_millis":
|
|
19
|
-
"total_timeout_millis":
|
|
18
|
+
"max_rpc_timeout_millis": 20000,
|
|
19
|
+
"total_timeout_millis": 600000
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"methods": {
|
|
23
23
|
"Recognize": {
|
|
24
|
-
"timeout_millis":
|
|
25
|
-
"retry_codes_name": "
|
|
24
|
+
"timeout_millis": 60000,
|
|
25
|
+
"retry_codes_name": "non_idempotent",
|
|
26
26
|
"retry_params_name": "default"
|
|
27
27
|
},
|
|
28
28
|
"LongRunningRecognize": {
|
|
29
|
-
"timeout_millis":
|
|
29
|
+
"timeout_millis": 60000,
|
|
30
30
|
"retry_codes_name": "non_idempotent",
|
|
31
31
|
"retry_params_name": "default"
|
|
32
32
|
},
|
|
33
33
|
"StreamingRecognize": {
|
|
34
|
-
"timeout_millis":
|
|
35
|
-
"retry_codes_name": "
|
|
34
|
+
"timeout_millis": 60000,
|
|
35
|
+
"retry_codes_name": "non_idempotent",
|
|
36
36
|
"retry_params_name": "default"
|
|
37
37
|
}
|
|
38
38
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-speech
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.38.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: 2019-
|
|
11
|
+
date: 2019-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|
|
@@ -94,7 +94,8 @@ dependencies:
|
|
|
94
94
|
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0.9'
|
|
97
|
-
description: google-cloud-speech is the official library for Cloud Speech
|
|
97
|
+
description: google-cloud-speech is the official library for Cloud Speech-to-Text
|
|
98
|
+
API.
|
|
98
99
|
email: googleapis-packages@google.com
|
|
99
100
|
executables: []
|
|
100
101
|
extensions: []
|
|
@@ -156,5 +157,5 @@ requirements: []
|
|
|
156
157
|
rubygems_version: 3.0.4
|
|
157
158
|
signing_key:
|
|
158
159
|
specification_version: 4
|
|
159
|
-
summary: API Client library for Cloud Speech API
|
|
160
|
+
summary: API Client library for Cloud Speech-to-Text API
|
|
160
161
|
test_files: []
|