google-apis-speech_v1 0.6.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/speech_v1/classes.rb +56 -0
- data/lib/google/apis/speech_v1/gem_version.rb +3 -3
- data/lib/google/apis/speech_v1/representations.rb +21 -0
- data/lib/google/apis/speech_v1.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e1af37cd240879c02445c946f94a7b481b6efadb70bb8c21837b22326567bd8
|
4
|
+
data.tar.gz: 600246f7d6f761345e6ce8c6d19eb605f5e8bae0c855e6b66113b473d9bda94d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42bc295fe3a22c72081eadf0ec4894600590d5a9f769b67b41c34ef27123edd605a2305fdcf1379122aff994c9bc28378e1b0421533527dec36ffc97affa0d8f
|
7
|
+
data.tar.gz: 4caac8bbe96adf48fdee38198553b3129c166f1593bc66880dda369c6606bcd3940bd9425b6e3541c2ba9f6cb2bdb37067d2044b37f0b02b9e10cd8756afd09e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-speech_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-10-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210929
|
6
|
+
|
7
|
+
### v0.9.0 (2021-09-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210825
|
10
|
+
|
11
|
+
### v0.8.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.7.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.3.0
|
18
|
+
|
3
19
|
### v0.6.0 (2021-05-20)
|
4
20
|
|
5
21
|
* Unspecified changes
|
@@ -106,6 +106,11 @@ module Google
|
|
106
106
|
# @return [Google::Apis::SpeechV1::RecognitionConfig]
|
107
107
|
attr_accessor :config
|
108
108
|
|
109
|
+
# Specifies an optional destination for the recognition results.
|
110
|
+
# Corresponds to the JSON property `outputConfig`
|
111
|
+
# @return [Google::Apis::SpeechV1::TranscriptOutputConfig]
|
112
|
+
attr_accessor :output_config
|
113
|
+
|
109
114
|
def initialize(**args)
|
110
115
|
update!(**args)
|
111
116
|
end
|
@@ -114,6 +119,7 @@ module Google
|
|
114
119
|
def update!(**args)
|
115
120
|
@audio = args[:audio] if args.key?(:audio)
|
116
121
|
@config = args[:config] if args.key?(:config)
|
122
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
117
123
|
end
|
118
124
|
end
|
119
125
|
|
@@ -125,19 +131,42 @@ module Google
|
|
125
131
|
class LongRunningRecognizeResponse
|
126
132
|
include Google::Apis::Core::Hashable
|
127
133
|
|
134
|
+
# Specifies an optional destination for the recognition results.
|
135
|
+
# Corresponds to the JSON property `outputConfig`
|
136
|
+
# @return [Google::Apis::SpeechV1::TranscriptOutputConfig]
|
137
|
+
attr_accessor :output_config
|
138
|
+
|
139
|
+
# The `Status` type defines a logical error model that is suitable for different
|
140
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
141
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
142
|
+
# data: error code, error message, and error details. You can find out more
|
143
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
144
|
+
# //cloud.google.com/apis/design/errors).
|
145
|
+
# Corresponds to the JSON property `outputError`
|
146
|
+
# @return [Google::Apis::SpeechV1::Status]
|
147
|
+
attr_accessor :output_error
|
148
|
+
|
128
149
|
# Sequential list of transcription results corresponding to sequential portions
|
129
150
|
# of audio.
|
130
151
|
# Corresponds to the JSON property `results`
|
131
152
|
# @return [Array<Google::Apis::SpeechV1::SpeechRecognitionResult>]
|
132
153
|
attr_accessor :results
|
133
154
|
|
155
|
+
# When available, billed audio seconds for the corresponding request.
|
156
|
+
# Corresponds to the JSON property `totalBilledTime`
|
157
|
+
# @return [String]
|
158
|
+
attr_accessor :total_billed_time
|
159
|
+
|
134
160
|
def initialize(**args)
|
135
161
|
update!(**args)
|
136
162
|
end
|
137
163
|
|
138
164
|
# Update properties of this object
|
139
165
|
def update!(**args)
|
166
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
167
|
+
@output_error = args[:output_error] if args.key?(:output_error)
|
140
168
|
@results = args[:results] if args.key?(:results)
|
169
|
+
@total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
|
141
170
|
end
|
142
171
|
end
|
143
172
|
|
@@ -499,6 +528,11 @@ module Google
|
|
499
528
|
# @return [Array<Google::Apis::SpeechV1::SpeechRecognitionResult>]
|
500
529
|
attr_accessor :results
|
501
530
|
|
531
|
+
# When available, billed audio seconds for the corresponding request.
|
532
|
+
# Corresponds to the JSON property `totalBilledTime`
|
533
|
+
# @return [String]
|
534
|
+
attr_accessor :total_billed_time
|
535
|
+
|
502
536
|
def initialize(**args)
|
503
537
|
update!(**args)
|
504
538
|
end
|
@@ -506,6 +540,7 @@ module Google
|
|
506
540
|
# Update properties of this object
|
507
541
|
def update!(**args)
|
508
542
|
@results = args[:results] if args.key?(:results)
|
543
|
+
@total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
|
509
544
|
end
|
510
545
|
end
|
511
546
|
|
@@ -689,6 +724,27 @@ module Google
|
|
689
724
|
end
|
690
725
|
end
|
691
726
|
|
727
|
+
# Specifies an optional destination for the recognition results.
|
728
|
+
class TranscriptOutputConfig
|
729
|
+
include Google::Apis::Core::Hashable
|
730
|
+
|
731
|
+
# Specifies a Cloud Storage URI for the recognition results. Must be specified
|
732
|
+
# in the format: `gs://bucket_name/object_name`, and the bucket must already
|
733
|
+
# exist.
|
734
|
+
# Corresponds to the JSON property `gcsUri`
|
735
|
+
# @return [String]
|
736
|
+
attr_accessor :gcs_uri
|
737
|
+
|
738
|
+
def initialize(**args)
|
739
|
+
update!(**args)
|
740
|
+
end
|
741
|
+
|
742
|
+
# Update properties of this object
|
743
|
+
def update!(**args)
|
744
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
692
748
|
# Word-specific information for recognized words.
|
693
749
|
class WordInfo
|
694
750
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SpeechV1
|
18
18
|
# Version of the google-apis-speech_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210929"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,6 +112,12 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class TranscriptOutputConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
115
121
|
class WordInfo
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
@@ -144,14 +150,21 @@ module Google
|
|
144
150
|
|
145
151
|
property :config, as: 'config', class: Google::Apis::SpeechV1::RecognitionConfig, decorator: Google::Apis::SpeechV1::RecognitionConfig::Representation
|
146
152
|
|
153
|
+
property :output_config, as: 'outputConfig', class: Google::Apis::SpeechV1::TranscriptOutputConfig, decorator: Google::Apis::SpeechV1::TranscriptOutputConfig::Representation
|
154
|
+
|
147
155
|
end
|
148
156
|
end
|
149
157
|
|
150
158
|
class LongRunningRecognizeResponse
|
151
159
|
# @private
|
152
160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
161
|
+
property :output_config, as: 'outputConfig', class: Google::Apis::SpeechV1::TranscriptOutputConfig, decorator: Google::Apis::SpeechV1::TranscriptOutputConfig::Representation
|
162
|
+
|
163
|
+
property :output_error, as: 'outputError', class: Google::Apis::SpeechV1::Status, decorator: Google::Apis::SpeechV1::Status::Representation
|
164
|
+
|
153
165
|
collection :results, as: 'results', class: Google::Apis::SpeechV1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1::SpeechRecognitionResult::Representation
|
154
166
|
|
167
|
+
property :total_billed_time, as: 'totalBilledTime'
|
155
168
|
end
|
156
169
|
end
|
157
170
|
|
@@ -227,6 +240,7 @@ module Google
|
|
227
240
|
class Representation < Google::Apis::Core::JsonRepresentation
|
228
241
|
collection :results, as: 'results', class: Google::Apis::SpeechV1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1::SpeechRecognitionResult::Representation
|
229
242
|
|
243
|
+
property :total_billed_time, as: 'totalBilledTime'
|
230
244
|
end
|
231
245
|
end
|
232
246
|
|
@@ -275,6 +289,13 @@ module Google
|
|
275
289
|
end
|
276
290
|
end
|
277
291
|
|
292
|
+
class TranscriptOutputConfig
|
293
|
+
# @private
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
+
property :gcs_uri, as: 'gcsUri'
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
278
299
|
class WordInfo
|
279
300
|
# @private
|
280
301
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-speech_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Speech-to-Text API V1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.10.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|