google-apis-speech_v1 0.1.0 → 0.6.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 +22 -0
- data/lib/google/apis/speech_v1.rb +1 -1
- data/lib/google/apis/speech_v1/classes.rb +6 -6
- data/lib/google/apis/speech_v1/gem_version.rb +3 -3
- data/lib/google/apis/speech_v1/service.rb +0 -77
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 595168334e6100986d9b1104349003643b470832f19c4517522b30b5df620cd2
|
4
|
+
data.tar.gz: 0e42685192a38230db5ca445b327a3b22ed3cf3ee3b802825ff092cd03ea87cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf6ff85fe90945fe9857b70c19116639684791f0c97323b8872eb7e44ab07fc195d46e7377de83fd5e624d123662e9e8647983b8fd41648d7898f05a8203ebda
|
7
|
+
data.tar.gz: bd773edb9b50050f1dfc8f9b162bcf2ad72c3bd7e31ff6ca8003c892abc89c3b9d06f6290c4aad6636384b7ed12d0a5f6009a75e5c2cb1ede2fdebcdcd22de5a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-speech_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-05-20)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.5.0 (2021-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210407
|
10
|
+
|
11
|
+
### v0.4.0 (2021-04-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210325
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-19)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210209
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -323,11 +323,11 @@ module Google
|
|
323
323
|
# Model* *Description* command_and_search Best for short queries such as voice
|
324
324
|
# commands or voice search. phone_call Best for audio that originated from a
|
325
325
|
# phone call (typically recorded at an 8khz sampling rate). video Best for audio
|
326
|
-
# that originated from
|
327
|
-
#
|
328
|
-
#
|
329
|
-
#
|
330
|
-
#
|
326
|
+
# that originated from video or includes multiple speakers. Ideally the audio is
|
327
|
+
# recorded at a 16khz or greater sampling rate. This is a premium model that
|
328
|
+
# costs more than the standard rate. default Best for audio that is not one of
|
329
|
+
# the specific audio models. For example, long-form audio. Ideally the audio is
|
330
|
+
# high-fidelity, recorded at a 16khz or greater sampling rate.
|
331
331
|
# Corresponds to the JSON property `model`
|
332
332
|
# @return [String]
|
333
333
|
attr_accessor :model
|
@@ -352,7 +352,7 @@ module Google
|
|
352
352
|
|
353
353
|
# Array of SpeechContext. A means to provide context to assist the speech
|
354
354
|
# recognition. For more information, see [speech adaptation](https://cloud.
|
355
|
-
# google.com/speech-to-text/docs/
|
355
|
+
# google.com/speech-to-text/docs/adaptation).
|
356
356
|
# Corresponds to the JSON property `speechContexts`
|
357
357
|
# @return [Array<Google::Apis::SpeechV1::SpeechContext>]
|
358
358
|
attr_accessor :speech_contexts
|
@@ -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.6.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 = "20210407"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -126,83 +126,6 @@ module Google
|
|
126
126
|
execute_or_queue_command(command, &block)
|
127
127
|
end
|
128
128
|
|
129
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
130
|
-
# to poll the operation result at intervals as recommended by the API service.
|
131
|
-
# @param [String] name
|
132
|
-
# The name of the operation resource.
|
133
|
-
# @param [String] fields
|
134
|
-
# Selector specifying which fields to include in a partial response.
|
135
|
-
# @param [String] quota_user
|
136
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
137
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
138
|
-
# @param [Google::Apis::RequestOptions] options
|
139
|
-
# Request-specific options
|
140
|
-
#
|
141
|
-
# @yield [result, err] Result & error if block supplied
|
142
|
-
# @yieldparam result [Google::Apis::SpeechV1::Operation] parsed result object
|
143
|
-
# @yieldparam err [StandardError] error object if request failed
|
144
|
-
#
|
145
|
-
# @return [Google::Apis::SpeechV1::Operation]
|
146
|
-
#
|
147
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
148
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
|
-
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
151
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
152
|
-
command.response_representation = Google::Apis::SpeechV1::Operation::Representation
|
153
|
-
command.response_class = Google::Apis::SpeechV1::Operation
|
154
|
-
command.params['name'] = name unless name.nil?
|
155
|
-
command.query['fields'] = fields unless fields.nil?
|
156
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
157
|
-
execute_or_queue_command(command, &block)
|
158
|
-
end
|
159
|
-
|
160
|
-
# Lists operations that match the specified filter in the request. If the server
|
161
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
162
|
-
# binding allows API services to override the binding to use different resource
|
163
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
164
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
165
|
-
# service configuration. For backwards compatibility, the default name includes
|
166
|
-
# the operations collection id, however overriding users must ensure the name
|
167
|
-
# binding is the parent resource, without the operations collection id.
|
168
|
-
# @param [String] name
|
169
|
-
# The name of the operation's parent resource.
|
170
|
-
# @param [String] filter
|
171
|
-
# The standard list filter.
|
172
|
-
# @param [Fixnum] page_size
|
173
|
-
# The standard list page size.
|
174
|
-
# @param [String] page_token
|
175
|
-
# The standard list page token.
|
176
|
-
# @param [String] fields
|
177
|
-
# Selector specifying which fields to include in a partial response.
|
178
|
-
# @param [String] quota_user
|
179
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
180
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
181
|
-
# @param [Google::Apis::RequestOptions] options
|
182
|
-
# Request-specific options
|
183
|
-
#
|
184
|
-
# @yield [result, err] Result & error if block supplied
|
185
|
-
# @yieldparam result [Google::Apis::SpeechV1::ListOperationsResponse] parsed result object
|
186
|
-
# @yieldparam err [StandardError] error object if request failed
|
187
|
-
#
|
188
|
-
# @return [Google::Apis::SpeechV1::ListOperationsResponse]
|
189
|
-
#
|
190
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
191
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
192
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
193
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
194
|
-
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
195
|
-
command.response_representation = Google::Apis::SpeechV1::ListOperationsResponse::Representation
|
196
|
-
command.response_class = Google::Apis::SpeechV1::ListOperationsResponse
|
197
|
-
command.params['name'] = name unless name.nil?
|
198
|
-
command.query['filter'] = filter unless filter.nil?
|
199
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
200
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
201
|
-
command.query['fields'] = fields unless fields.nil?
|
202
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
203
|
-
execute_or_queue_command(command, &block)
|
204
|
-
end
|
205
|
-
|
206
129
|
# Performs asynchronous speech recognition: receive results via the google.
|
207
130
|
# longrunning.Operations interface. Returns either an `Operation.error` or an `
|
208
131
|
# Operation.response` which contains a `LongRunningRecognizeResponse` message.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.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-05-24 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_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Speech-to-Text API V1
|