google-apis-speech_v1 0.1.0 → 0.2.0
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/speech_v1/gem_version.rb +3 -3
- data/lib/google/apis/speech_v1/service.rb +0 -77
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8e703b7eb3104bb0c0068402355b4c052663a46656eea68a7abac8ee67b2f19
|
4
|
+
data.tar.gz: b220aba175ae0e790c65f6f2ce63e756fd94fd83bddba218b8097e78d38fcb72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00f3c0fb7135bcf7b853d91a0cd639a17c6a35454002705939239666f42952447fd1dbcdcc3625d9f9e27e21c7ff1346a20be364ce53904f2e3e8c622d65ce2e
|
7
|
+
data.tar.gz: 586e54be30f281d69b25d47939791c9395cf08c8bfa6028657761cb2b34b9b0c18bb0bd255c41db69b79d4ef85fa6e946c817d16e131b26ba6a4ddafc184755b
|
data/CHANGELOG.md
CHANGED
@@ -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.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.1.
|
22
|
+
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210209"
|
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.2.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-02-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_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.2.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.6
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Speech-to-Text API V1
|