google-cloud-speech-v1 0.5.0 → 0.6.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: 9984572dbaa4bad34ec0daa2c887652f8dc7219e8e644495ece0c6133fc5a48e
|
4
|
+
data.tar.gz: 1d2fba87d6821a8f3badeb54f4862c6516d665b49fbb2d6dd6771acfe70ae62e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aa1c659223d1f0c1d3c2b59843e498d60c1013b2f824446130f254299678426d9bc2c0c97bb93f1026c66ab3f33c80411d944ace87705f2b69962969a5a247c
|
7
|
+
data.tar.gz: 8fbb30489b1e039db43a58babdbda3e816e933438b51284e30a5cd908f7ccbf6d16fc7f09bc214450a2e152035861dc3d343f59c18f8ea3732cfd3f87eb4a9bf
|
@@ -21,6 +21,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
21
21
|
add_message "google.cloud.speech.v1.LongRunningRecognizeRequest" do
|
22
22
|
optional :config, :message, 1, "google.cloud.speech.v1.RecognitionConfig"
|
23
23
|
optional :audio, :message, 2, "google.cloud.speech.v1.RecognitionAudio"
|
24
|
+
optional :output_config, :message, 4, "google.cloud.speech.v1.TranscriptOutputConfig"
|
25
|
+
end
|
26
|
+
add_message "google.cloud.speech.v1.TranscriptOutputConfig" do
|
27
|
+
oneof :output_type do
|
28
|
+
optional :gcs_uri, :string, 1
|
29
|
+
end
|
24
30
|
end
|
25
31
|
add_message "google.cloud.speech.v1.StreamingRecognizeRequest" do
|
26
32
|
oneof :streaming_request do
|
@@ -171,6 +177,7 @@ module Google
|
|
171
177
|
module V1
|
172
178
|
RecognizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.RecognizeRequest").msgclass
|
173
179
|
LongRunningRecognizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.LongRunningRecognizeRequest").msgclass
|
180
|
+
TranscriptOutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.TranscriptOutputConfig").msgclass
|
174
181
|
StreamingRecognizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.StreamingRecognizeRequest").msgclass
|
175
182
|
StreamingRecognitionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.StreamingRecognitionConfig").msgclass
|
176
183
|
RecognitionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.RecognitionConfig").msgclass
|
@@ -250,7 +250,7 @@ module Google
|
|
250
250
|
# @param options [::Gapic::CallOptions, ::Hash]
|
251
251
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
252
252
|
#
|
253
|
-
# @overload long_running_recognize(config: nil, audio: nil)
|
253
|
+
# @overload long_running_recognize(config: nil, audio: nil, output_config: nil)
|
254
254
|
# Pass arguments to `long_running_recognize` via keyword arguments. Note that at
|
255
255
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
256
256
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -260,6 +260,8 @@ module Google
|
|
260
260
|
# process the request.
|
261
261
|
# @param audio [::Google::Cloud::Speech::V1::RecognitionAudio, ::Hash]
|
262
262
|
# Required. The audio data to be recognized.
|
263
|
+
# @param output_config [::Google::Cloud::Speech::V1::TranscriptOutputConfig, ::Hash]
|
264
|
+
# Optional. Specifies an optional destination for the recognition results.
|
263
265
|
#
|
264
266
|
# @yield [response, operation] Access the result along with the RPC operation
|
265
267
|
# @yieldparam response [::Gapic::Operation]
|
@@ -43,11 +43,25 @@ module Google
|
|
43
43
|
# @!attribute [rw] audio
|
44
44
|
# @return [::Google::Cloud::Speech::V1::RecognitionAudio]
|
45
45
|
# Required. The audio data to be recognized.
|
46
|
+
# @!attribute [rw] output_config
|
47
|
+
# @return [::Google::Cloud::Speech::V1::TranscriptOutputConfig]
|
48
|
+
# Optional. Specifies an optional destination for the recognition results.
|
46
49
|
class LongRunningRecognizeRequest
|
47
50
|
include ::Google::Protobuf::MessageExts
|
48
51
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
52
|
end
|
50
53
|
|
54
|
+
# Specifies an optional destination for the recognition results.
|
55
|
+
# @!attribute [rw] gcs_uri
|
56
|
+
# @return [::String]
|
57
|
+
# Specifies a Cloud Storage URI for the recognition results. Must be
|
58
|
+
# specified in the format: `gs://bucket_name/object_name`, and the bucket
|
59
|
+
# must already exist.
|
60
|
+
class TranscriptOutputConfig
|
61
|
+
include ::Google::Protobuf::MessageExts
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
end
|
64
|
+
|
51
65
|
# The top-level message sent by the client for the `StreamingRecognize` method.
|
52
66
|
# Multiple `StreamingRecognizeRequest` messages are sent. The first message
|
53
67
|
# must contain a `streaming_config` message and must not contain
|
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.
|
4
|
+
version: 0.6.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: 2021-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|