google-cloud-speech-v1 0.2.3 → 0.2.4

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: 03dd454bfcf963460177c9944eeadcdbed393a80a96676b2a1b8b3867eb9bd6c
4
- data.tar.gz: a6208042aecd91d3bc521b8c71ef160ccfba97cc9a7ce7c0d8a2a23dd73dd3f2
3
+ metadata.gz: 669b006b4418754372cba923b977d2ba683ac763c2561845dbde00c060066ad8
4
+ data.tar.gz: 3ab78c9578a005002e30a00fddf84a3b652ea7940b6988064eb7f4a7d2c35c86
5
5
  SHA512:
6
- metadata.gz: 0aaf4e89aea932bda0298e106c1a1309afb114415c89a6bd8a4148e5a6038e459009eb4c3ad2dac23f9969991c7e2137534346aa9250275799721c825c37d833
7
- data.tar.gz: f747b50b3617d469fbf6ad1fed336cfe74a085847149ebf071a68296180dc5fc75bbe5237829607408e7ffb164286c6acdaccaad62465e1423e2717473527c9d
6
+ metadata.gz: 6ee168be86d6969404ef2f85a299258ea54a365c4ee9fef3e9086f702175dac7d593a353fe59b6a492ae8fc00f5d5b730848cfe3fc3b1345af4fd40a92a49aec
7
+ data.tar.gz: 619ffde5af2aa7cb73b3a7e3d48698758e06abc7ae115399b26988367a8bbb3bee072514f4f3c10f11be02ac96a00ebbddfe6e845e2b908ca7cbe94bb2383fae
@@ -36,17 +36,17 @@ module Google
36
36
 
37
37
  # Performs synchronous speech recognition: receive results after all audio
38
38
  # has been sent and processed.
39
- rpc :Recognize, RecognizeRequest, RecognizeResponse
39
+ rpc :Recognize, Google::Cloud::Speech::V1::RecognizeRequest, Google::Cloud::Speech::V1::RecognizeResponse
40
40
  # Performs asynchronous speech recognition: receive results via the
41
41
  # google.longrunning.Operations interface. Returns either an
42
42
  # `Operation.error` or an `Operation.response` which contains
43
43
  # a `LongRunningRecognizeResponse` message.
44
44
  # For more information on asynchronous speech recognition, see the
45
45
  # [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
46
- rpc :LongRunningRecognize, LongRunningRecognizeRequest, Google::Longrunning::Operation
46
+ rpc :LongRunningRecognize, Google::Cloud::Speech::V1::LongRunningRecognizeRequest, Google::Longrunning::Operation
47
47
  # Performs bidirectional streaming speech recognition: receive results while
48
48
  # sending audio. This method is only available via the gRPC API (not REST).
49
- rpc :StreamingRecognize, stream(StreamingRecognizeRequest), stream(StreamingRecognizeResponse)
49
+ rpc :StreamingRecognize, stream(Google::Cloud::Speech::V1::StreamingRecognizeRequest), stream(Google::Cloud::Speech::V1::StreamingRecognizeResponse)
50
50
  end
51
51
 
52
52
  Stub = Service.rpc_stub_class
@@ -68,7 +68,7 @@ module Google
68
68
  initial_delay: 0.1,
69
69
  max_delay: 60.0,
70
70
  multiplier: 1.3,
71
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
71
+ retry_codes: [14, 4]
72
72
  }
73
73
 
74
74
  default_config.rpcs.long_running_recognize.timeout = 5000.0
@@ -78,7 +78,7 @@ module Google
78
78
  initial_delay: 0.1,
79
79
  max_delay: 60.0,
80
80
  multiplier: 1.3,
81
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
81
+ retry_codes: [14, 4]
82
82
  }
83
83
 
84
84
  default_config
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Speech
23
23
  module V1
24
- VERSION = "0.2.3"
24
+ VERSION = "0.2.4"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-speech-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-18 00:00:00.000000000 Z
11
+ date: 2020-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement