google-apis-transcoder_v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/transcoder_v1/classes.rb +1816 -0
- data/lib/google/apis/transcoder_v1/gem_version.rb +28 -0
- data/lib/google/apis/transcoder_v1/representations.rb +710 -0
- data/lib/google/apis/transcoder_v1/service.rb +355 -0
- data/lib/google/apis/transcoder_v1.rb +36 -0
- data/lib/google-apis-transcoder_v1.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,355 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module TranscoderV1
|
23
|
+
# Transcoder API
|
24
|
+
#
|
25
|
+
# This API converts video files into formats suitable for consumer distribution.
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/transcoder_v1'
|
29
|
+
#
|
30
|
+
# Transcoder = Google::Apis::TranscoderV1 # Alias the module
|
31
|
+
# service = Transcoder::TranscoderService.new
|
32
|
+
#
|
33
|
+
# @see https://cloud.google.com/transcoder/docs/
|
34
|
+
class TranscoderService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
super('https://transcoder.googleapis.com/', '',
|
47
|
+
client_name: 'google-apis-transcoder_v1',
|
48
|
+
client_version: Google::Apis::TranscoderV1::GEM_VERSION)
|
49
|
+
@batch_path = 'batch'
|
50
|
+
end
|
51
|
+
|
52
|
+
# Creates a job template in the specified region.
|
53
|
+
# @param [String] parent
|
54
|
+
# Required. The parent location to create this job template. Format: `projects/`
|
55
|
+
# project`/locations/`location``
|
56
|
+
# @param [Google::Apis::TranscoderV1::JobTemplate] job_template_object
|
57
|
+
# @param [String] job_template_id
|
58
|
+
# Required. The ID to use for the job template, which will become the final
|
59
|
+
# component of the job template's resource name. This value should be 4-63
|
60
|
+
# characters, and valid characters must match the regular expression `a-zA-Z*`.
|
61
|
+
# @param [String] fields
|
62
|
+
# Selector specifying which fields to include in a partial response.
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [Google::Apis::RequestOptions] options
|
67
|
+
# Request-specific options
|
68
|
+
#
|
69
|
+
# @yield [result, err] Result & error if block supplied
|
70
|
+
# @yieldparam result [Google::Apis::TranscoderV1::JobTemplate] parsed result object
|
71
|
+
# @yieldparam err [StandardError] error object if request failed
|
72
|
+
#
|
73
|
+
# @return [Google::Apis::TranscoderV1::JobTemplate]
|
74
|
+
#
|
75
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
76
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
|
+
def create_project_location_job_template(parent, job_template_object = nil, job_template_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
79
|
+
command = make_simple_command(:post, 'v1/{+parent}/jobTemplates', options)
|
80
|
+
command.request_representation = Google::Apis::TranscoderV1::JobTemplate::Representation
|
81
|
+
command.request_object = job_template_object
|
82
|
+
command.response_representation = Google::Apis::TranscoderV1::JobTemplate::Representation
|
83
|
+
command.response_class = Google::Apis::TranscoderV1::JobTemplate
|
84
|
+
command.params['parent'] = parent unless parent.nil?
|
85
|
+
command.query['jobTemplateId'] = job_template_id unless job_template_id.nil?
|
86
|
+
command.query['fields'] = fields unless fields.nil?
|
87
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
88
|
+
execute_or_queue_command(command, &block)
|
89
|
+
end
|
90
|
+
|
91
|
+
# Deletes a job template.
|
92
|
+
# @param [String] name
|
93
|
+
# Required. The name of the job template to delete. `projects/`project`/
|
94
|
+
# locations/`location`/jobTemplates/`job_template``
|
95
|
+
# @param [Boolean] allow_missing
|
96
|
+
# If set to true, and the job template is not found, the request will succeed
|
97
|
+
# but no action will be taken on the server.
|
98
|
+
# @param [String] fields
|
99
|
+
# Selector specifying which fields to include in a partial response.
|
100
|
+
# @param [String] quota_user
|
101
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
102
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
103
|
+
# @param [Google::Apis::RequestOptions] options
|
104
|
+
# Request-specific options
|
105
|
+
#
|
106
|
+
# @yield [result, err] Result & error if block supplied
|
107
|
+
# @yieldparam result [Google::Apis::TranscoderV1::Empty] parsed result object
|
108
|
+
# @yieldparam err [StandardError] error object if request failed
|
109
|
+
#
|
110
|
+
# @return [Google::Apis::TranscoderV1::Empty]
|
111
|
+
#
|
112
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
+
def delete_project_location_job_template(name, allow_missing: nil, fields: nil, quota_user: nil, options: nil, &block)
|
116
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
117
|
+
command.response_representation = Google::Apis::TranscoderV1::Empty::Representation
|
118
|
+
command.response_class = Google::Apis::TranscoderV1::Empty
|
119
|
+
command.params['name'] = name unless name.nil?
|
120
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
121
|
+
command.query['fields'] = fields unless fields.nil?
|
122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
+
execute_or_queue_command(command, &block)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Returns the job template data.
|
127
|
+
# @param [String] name
|
128
|
+
# Required. The name of the job template to retrieve. Format: `projects/`project`
|
129
|
+
# /locations/`location`/jobTemplates/`job_template``
|
130
|
+
# @param [String] fields
|
131
|
+
# Selector specifying which fields to include in a partial response.
|
132
|
+
# @param [String] quota_user
|
133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
135
|
+
# @param [Google::Apis::RequestOptions] options
|
136
|
+
# Request-specific options
|
137
|
+
#
|
138
|
+
# @yield [result, err] Result & error if block supplied
|
139
|
+
# @yieldparam result [Google::Apis::TranscoderV1::JobTemplate] parsed result object
|
140
|
+
# @yieldparam err [StandardError] error object if request failed
|
141
|
+
#
|
142
|
+
# @return [Google::Apis::TranscoderV1::JobTemplate]
|
143
|
+
#
|
144
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
145
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
146
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
147
|
+
def get_project_location_job_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
148
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
149
|
+
command.response_representation = Google::Apis::TranscoderV1::JobTemplate::Representation
|
150
|
+
command.response_class = Google::Apis::TranscoderV1::JobTemplate
|
151
|
+
command.params['name'] = name unless name.nil?
|
152
|
+
command.query['fields'] = fields unless fields.nil?
|
153
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
154
|
+
execute_or_queue_command(command, &block)
|
155
|
+
end
|
156
|
+
|
157
|
+
# Lists job templates in the specified region.
|
158
|
+
# @param [String] parent
|
159
|
+
# Required. The parent location from which to retrieve the collection of job
|
160
|
+
# templates. Format: `projects/`project`/locations/`location``
|
161
|
+
# @param [String] filter
|
162
|
+
# The filter expression, following the syntax outlined in https://google.aip.dev/
|
163
|
+
# 160.
|
164
|
+
# @param [String] order_by
|
165
|
+
# One or more fields to compare and use to sort the output. See https://google.
|
166
|
+
# aip.dev/132#ordering.
|
167
|
+
# @param [Fixnum] page_size
|
168
|
+
# The maximum number of items to return.
|
169
|
+
# @param [String] page_token
|
170
|
+
# The `next_page_token` value returned from a previous List request, if any.
|
171
|
+
# @param [String] fields
|
172
|
+
# Selector specifying which fields to include in a partial response.
|
173
|
+
# @param [String] quota_user
|
174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
176
|
+
# @param [Google::Apis::RequestOptions] options
|
177
|
+
# Request-specific options
|
178
|
+
#
|
179
|
+
# @yield [result, err] Result & error if block supplied
|
180
|
+
# @yieldparam result [Google::Apis::TranscoderV1::ListJobTemplatesResponse] parsed result object
|
181
|
+
# @yieldparam err [StandardError] error object if request failed
|
182
|
+
#
|
183
|
+
# @return [Google::Apis::TranscoderV1::ListJobTemplatesResponse]
|
184
|
+
#
|
185
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
186
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
187
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
188
|
+
def list_project_location_job_templates(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
189
|
+
command = make_simple_command(:get, 'v1/{+parent}/jobTemplates', options)
|
190
|
+
command.response_representation = Google::Apis::TranscoderV1::ListJobTemplatesResponse::Representation
|
191
|
+
command.response_class = Google::Apis::TranscoderV1::ListJobTemplatesResponse
|
192
|
+
command.params['parent'] = parent unless parent.nil?
|
193
|
+
command.query['filter'] = filter unless filter.nil?
|
194
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
195
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
196
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
197
|
+
command.query['fields'] = fields unless fields.nil?
|
198
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
199
|
+
execute_or_queue_command(command, &block)
|
200
|
+
end
|
201
|
+
|
202
|
+
# Creates a job in the specified region.
|
203
|
+
# @param [String] parent
|
204
|
+
# Required. The parent location to create and process this job. Format: `
|
205
|
+
# projects/`project`/locations/`location``
|
206
|
+
# @param [Google::Apis::TranscoderV1::Job] job_object
|
207
|
+
# @param [String] fields
|
208
|
+
# Selector specifying which fields to include in a partial response.
|
209
|
+
# @param [String] quota_user
|
210
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
211
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
212
|
+
# @param [Google::Apis::RequestOptions] options
|
213
|
+
# Request-specific options
|
214
|
+
#
|
215
|
+
# @yield [result, err] Result & error if block supplied
|
216
|
+
# @yieldparam result [Google::Apis::TranscoderV1::Job] parsed result object
|
217
|
+
# @yieldparam err [StandardError] error object if request failed
|
218
|
+
#
|
219
|
+
# @return [Google::Apis::TranscoderV1::Job]
|
220
|
+
#
|
221
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
222
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
223
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
224
|
+
def create_project_location_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
225
|
+
command = make_simple_command(:post, 'v1/{+parent}/jobs', options)
|
226
|
+
command.request_representation = Google::Apis::TranscoderV1::Job::Representation
|
227
|
+
command.request_object = job_object
|
228
|
+
command.response_representation = Google::Apis::TranscoderV1::Job::Representation
|
229
|
+
command.response_class = Google::Apis::TranscoderV1::Job
|
230
|
+
command.params['parent'] = parent unless parent.nil?
|
231
|
+
command.query['fields'] = fields unless fields.nil?
|
232
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
233
|
+
execute_or_queue_command(command, &block)
|
234
|
+
end
|
235
|
+
|
236
|
+
# Deletes a job.
|
237
|
+
# @param [String] name
|
238
|
+
# Required. The name of the job to delete. Format: `projects/`project`/locations/
|
239
|
+
# `location`/jobs/`job``
|
240
|
+
# @param [Boolean] allow_missing
|
241
|
+
# If set to true, and the job is not found, the request will succeed but no
|
242
|
+
# action will be taken on the server.
|
243
|
+
# @param [String] fields
|
244
|
+
# Selector specifying which fields to include in a partial response.
|
245
|
+
# @param [String] quota_user
|
246
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
247
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
248
|
+
# @param [Google::Apis::RequestOptions] options
|
249
|
+
# Request-specific options
|
250
|
+
#
|
251
|
+
# @yield [result, err] Result & error if block supplied
|
252
|
+
# @yieldparam result [Google::Apis::TranscoderV1::Empty] parsed result object
|
253
|
+
# @yieldparam err [StandardError] error object if request failed
|
254
|
+
#
|
255
|
+
# @return [Google::Apis::TranscoderV1::Empty]
|
256
|
+
#
|
257
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
258
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
259
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
260
|
+
def delete_project_location_job(name, allow_missing: nil, fields: nil, quota_user: nil, options: nil, &block)
|
261
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
262
|
+
command.response_representation = Google::Apis::TranscoderV1::Empty::Representation
|
263
|
+
command.response_class = Google::Apis::TranscoderV1::Empty
|
264
|
+
command.params['name'] = name unless name.nil?
|
265
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
266
|
+
command.query['fields'] = fields unless fields.nil?
|
267
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
268
|
+
execute_or_queue_command(command, &block)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Returns the job data.
|
272
|
+
# @param [String] name
|
273
|
+
# Required. The name of the job to retrieve. Format: `projects/`project`/
|
274
|
+
# locations/`location`/jobs/`job``
|
275
|
+
# @param [String] fields
|
276
|
+
# Selector specifying which fields to include in a partial response.
|
277
|
+
# @param [String] quota_user
|
278
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
279
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
280
|
+
# @param [Google::Apis::RequestOptions] options
|
281
|
+
# Request-specific options
|
282
|
+
#
|
283
|
+
# @yield [result, err] Result & error if block supplied
|
284
|
+
# @yieldparam result [Google::Apis::TranscoderV1::Job] parsed result object
|
285
|
+
# @yieldparam err [StandardError] error object if request failed
|
286
|
+
#
|
287
|
+
# @return [Google::Apis::TranscoderV1::Job]
|
288
|
+
#
|
289
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
290
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
291
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
292
|
+
def get_project_location_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
293
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
294
|
+
command.response_representation = Google::Apis::TranscoderV1::Job::Representation
|
295
|
+
command.response_class = Google::Apis::TranscoderV1::Job
|
296
|
+
command.params['name'] = name unless name.nil?
|
297
|
+
command.query['fields'] = fields unless fields.nil?
|
298
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
299
|
+
execute_or_queue_command(command, &block)
|
300
|
+
end
|
301
|
+
|
302
|
+
# Lists jobs in the specified region.
|
303
|
+
# @param [String] parent
|
304
|
+
# Required. Format: `projects/`project`/locations/`location``
|
305
|
+
# @param [String] filter
|
306
|
+
# The filter expression, following the syntax outlined in https://google.aip.dev/
|
307
|
+
# 160.
|
308
|
+
# @param [String] order_by
|
309
|
+
# One or more fields to compare and use to sort the output. See https://google.
|
310
|
+
# aip.dev/132#ordering.
|
311
|
+
# @param [Fixnum] page_size
|
312
|
+
# The maximum number of items to return.
|
313
|
+
# @param [String] page_token
|
314
|
+
# The `next_page_token` value returned from a previous List request, if any.
|
315
|
+
# @param [String] fields
|
316
|
+
# Selector specifying which fields to include in a partial response.
|
317
|
+
# @param [String] quota_user
|
318
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
319
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
320
|
+
# @param [Google::Apis::RequestOptions] options
|
321
|
+
# Request-specific options
|
322
|
+
#
|
323
|
+
# @yield [result, err] Result & error if block supplied
|
324
|
+
# @yieldparam result [Google::Apis::TranscoderV1::ListJobsResponse] parsed result object
|
325
|
+
# @yieldparam err [StandardError] error object if request failed
|
326
|
+
#
|
327
|
+
# @return [Google::Apis::TranscoderV1::ListJobsResponse]
|
328
|
+
#
|
329
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
330
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
331
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
332
|
+
def list_project_location_jobs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
333
|
+
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
|
334
|
+
command.response_representation = Google::Apis::TranscoderV1::ListJobsResponse::Representation
|
335
|
+
command.response_class = Google::Apis::TranscoderV1::ListJobsResponse
|
336
|
+
command.params['parent'] = parent unless parent.nil?
|
337
|
+
command.query['filter'] = filter unless filter.nil?
|
338
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
339
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
340
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
341
|
+
command.query['fields'] = fields unless fields.nil?
|
342
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
343
|
+
execute_or_queue_command(command, &block)
|
344
|
+
end
|
345
|
+
|
346
|
+
protected
|
347
|
+
|
348
|
+
def apply_command_defaults(command)
|
349
|
+
command.query['key'] = key unless key.nil?
|
350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
351
|
+
end
|
352
|
+
end
|
353
|
+
end
|
354
|
+
end
|
355
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/transcoder_v1/service.rb'
|
16
|
+
require 'google/apis/transcoder_v1/classes.rb'
|
17
|
+
require 'google/apis/transcoder_v1/representations.rb'
|
18
|
+
require 'google/apis/transcoder_v1/gem_version.rb'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
# Transcoder API
|
23
|
+
#
|
24
|
+
# This API converts video files into formats suitable for consumer distribution.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/transcoder/docs/
|
27
|
+
module TranscoderV1
|
28
|
+
# Version of the Transcoder API this client connects to.
|
29
|
+
# This is NOT the gem version.
|
30
|
+
VERSION = 'V1'
|
31
|
+
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require "google/apis/transcoder_v1"
|
metadata
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: google-apis-transcoder_v1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Google LLC
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: google-apis-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.a
|
33
|
+
description: This is the simple REST client for Transcoder API V1. Simple REST clients
|
34
|
+
are Ruby client libraries that provide access to Google services via their HTTP
|
35
|
+
REST API endpoints. These libraries are generated and updated automatically based
|
36
|
+
on the discovery documents published by the service, and they handle most concerns
|
37
|
+
such as authentication, pagination, retry, timeouts, and logging. You can use this
|
38
|
+
client to access the Transcoder API, but note that some services may provide a separate
|
39
|
+
modern client that is easier to use.
|
40
|
+
email: googleapis-packages@google.com
|
41
|
+
executables: []
|
42
|
+
extensions: []
|
43
|
+
extra_rdoc_files: []
|
44
|
+
files:
|
45
|
+
- ".yardopts"
|
46
|
+
- CHANGELOG.md
|
47
|
+
- LICENSE.md
|
48
|
+
- OVERVIEW.md
|
49
|
+
- lib/google-apis-transcoder_v1.rb
|
50
|
+
- lib/google/apis/transcoder_v1.rb
|
51
|
+
- lib/google/apis/transcoder_v1/classes.rb
|
52
|
+
- lib/google/apis/transcoder_v1/gem_version.rb
|
53
|
+
- lib/google/apis/transcoder_v1/representations.rb
|
54
|
+
- lib/google/apis/transcoder_v1/service.rb
|
55
|
+
homepage: https://github.com/google/google-api-ruby-client
|
56
|
+
licenses:
|
57
|
+
- Apache-2.0
|
58
|
+
metadata:
|
59
|
+
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-transcoder_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1/v0.1.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-transcoder_v1
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '2.5'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
requirements: []
|
78
|
+
rubygems_version: 3.3.4
|
79
|
+
signing_key:
|
80
|
+
specification_version: 4
|
81
|
+
summary: Simple REST client for Transcoder API V1
|
82
|
+
test_files: []
|