google-apis-speech_v1p1beta1 0.4.0 → 0.5.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: 684d2271958ccb856ebb8e8d1d1736ee845bb10ceb231374959db2609444ed26
|
4
|
+
data.tar.gz: a02d8da6846aa1d2ed8037963bc655f623d429379264d8d6578756098d8489e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 752b8f081b9904a773f1a1d140601d99ccf41219190afa312093950b8be409d4ce0247572862e2dc6ceacf675f31959ea153ddb4b11213960865699b07154d30
|
7
|
+
data.tar.gz: 404795b0590fdb51ca02ab72c28fa545c7fc9bceb005c501b9654278ace2d78aa74608410694804d9ec6787360f018e3900abc8413c25ac71d8dd24ea8a60fdf
|
data/CHANGELOG.md
CHANGED
@@ -285,6 +285,11 @@ module Google
|
|
285
285
|
# @return [Google::Apis::SpeechV1p1beta1::RecognitionConfig]
|
286
286
|
attr_accessor :config
|
287
287
|
|
288
|
+
# Specifies an optional destination for the recognition results.
|
289
|
+
# Corresponds to the JSON property `outputConfig`
|
290
|
+
# @return [Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig]
|
291
|
+
attr_accessor :output_config
|
292
|
+
|
288
293
|
def initialize(**args)
|
289
294
|
update!(**args)
|
290
295
|
end
|
@@ -293,6 +298,7 @@ module Google
|
|
293
298
|
def update!(**args)
|
294
299
|
@audio = args[:audio] if args.key?(:audio)
|
295
300
|
@config = args[:config] if args.key?(:config)
|
301
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
296
302
|
end
|
297
303
|
end
|
298
304
|
|
@@ -1068,6 +1074,27 @@ module Google
|
|
1068
1074
|
end
|
1069
1075
|
end
|
1070
1076
|
|
1077
|
+
# Specifies an optional destination for the recognition results.
|
1078
|
+
class TranscriptOutputConfig
|
1079
|
+
include Google::Apis::Core::Hashable
|
1080
|
+
|
1081
|
+
# Specifies a Cloud Storage URI for the recognition results. Must be specified
|
1082
|
+
# in the format: `gs://bucket_name/object_name`, and the bucket must already
|
1083
|
+
# exist.
|
1084
|
+
# Corresponds to the JSON property `gcsUri`
|
1085
|
+
# @return [String]
|
1086
|
+
attr_accessor :gcs_uri
|
1087
|
+
|
1088
|
+
def initialize(**args)
|
1089
|
+
update!(**args)
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# Update properties of this object
|
1093
|
+
def update!(**args)
|
1094
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1071
1098
|
# Word-specific information for recognized words.
|
1072
1099
|
class WordInfo
|
1073
1100
|
include Google::Apis::Core::Hashable
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210311"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class TranscriptOutputConfig
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
175
181
|
class WordInfo
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
@@ -263,6 +269,8 @@ module Google
|
|
263
269
|
|
264
270
|
property :config, as: 'config', class: Google::Apis::SpeechV1p1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1p1beta1::RecognitionConfig::Representation
|
265
271
|
|
272
|
+
property :output_config, as: 'outputConfig', class: Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig, decorator: Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig::Representation
|
273
|
+
|
266
274
|
end
|
267
275
|
end
|
268
276
|
|
@@ -432,6 +440,13 @@ module Google
|
|
432
440
|
end
|
433
441
|
end
|
434
442
|
|
443
|
+
class TranscriptOutputConfig
|
444
|
+
# @private
|
445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
446
|
+
property :gcs_uri, as: 'gcsUri'
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
435
450
|
class WordInfo
|
436
451
|
# @private
|
437
452
|
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.5.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-03-
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.5.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|