google-cloud-speech 0.37.0 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- # *Required* Provides information to the recognizer that specifies how to
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
- # *Required* The audio data to be recognized.
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
- # *Required* Provides information to the recognizer that specifies how to
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
- # *Required* The audio data to be recognized.
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": 1000000,
16
+ "initial_rpc_timeout_millis": 20000,
17
17
  "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 1000000,
19
- "total_timeout_millis": 5000000
18
+ "max_rpc_timeout_millis": 20000,
19
+ "total_timeout_millis": 600000
20
20
  }
21
21
  },
22
22
  "methods": {
23
23
  "Recognize": {
24
- "timeout_millis": 200000,
25
- "retry_codes_name": "idempotent",
24
+ "timeout_millis": 60000,
25
+ "retry_codes_name": "non_idempotent",
26
26
  "retry_params_name": "default"
27
27
  },
28
28
  "LongRunningRecognize": {
29
- "timeout_millis": 200000,
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": 905000,
35
- "retry_codes_name": "idempotent",
34
+ "timeout_millis": 60000,
35
+ "retry_codes_name": "non_idempotent",
36
36
  "retry_params_name": "default"
37
37
  }
38
38
  }
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Speech
19
- VERSION = "0.37.0".freeze
19
+ VERSION = "0.38.0".freeze
20
20
  end
21
21
  end
22
22
  end
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.37.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-08-23 00:00:00.000000000 Z
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 API.
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: []