google-cloud-video-transcoder-v1beta1 0.3.0 → 0.3.1
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/lib/google/cloud/video/transcoder/v1beta1/resources_pb.rb +2 -2
- data/lib/google/cloud/video/transcoder/v1beta1/services_pb.rb +2 -2
- data/lib/google/cloud/video/transcoder/v1beta1/services_services_pb.rb +1 -1
- data/lib/google/cloud/video/transcoder/v1beta1/transcoder_service/client.rb +172 -24
- data/lib/google/cloud/video/transcoder/v1beta1/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 423afeb773766f4924a02069f9b931e54baead63aef042f27807e7435aa38585
|
4
|
+
data.tar.gz: 45974d2f84a469e3db0d64c988dc686cd66a764a880a4eba1f6a087b02c7ffd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d35a2789f1467224f3dc4e8ceb0e7dc7b171d3255f6c5f1568679f67291a4b43c3f0a2fa86ea482a01cc13cbef9e12a65d6c2d0a2b555525c617486c69c13ca
|
7
|
+
data.tar.gz: e5a3b0478984151128a39a9aa3a4f5ebf06921d886e029a115e08491a7474a0c3f367081079ad83fa45fadaec3a2abdaa1350f1b984eea21ca2a8666cacbd629
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/video/transcoder/v1beta1/resources.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/duration_pb'
|
9
7
|
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/cloud/video/transcoder/v1beta1/resources.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.cloud.video.transcoder.v1beta1.Job" do
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/video/transcoder/v1beta1/services.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
9
7
|
require 'google/api/resource_pb'
|
10
8
|
require 'google/cloud/video/transcoder/v1beta1/resources_pb'
|
11
9
|
require 'google/protobuf/empty_pb'
|
10
|
+
require 'google/protobuf'
|
11
|
+
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/video/transcoder/v1beta1/services.proto", :syntax => :proto3) do
|
14
14
|
add_message "google.cloud.video.transcoder.v1beta1.CreateJobRequest" do
|
@@ -205,6 +205,21 @@ module Google
|
|
205
205
|
#
|
206
206
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
207
207
|
#
|
208
|
+
# @example Basic example
|
209
|
+
# require "google/cloud/video/transcoder/v1beta1"
|
210
|
+
#
|
211
|
+
# # Create a client object. The client can be reused for multiple calls.
|
212
|
+
# client = Google::Cloud::Video::Transcoder::V1beta1::TranscoderService::Client.new
|
213
|
+
#
|
214
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
215
|
+
# request = Google::Cloud::Video::Transcoder::V1beta1::CreateJobRequest.new
|
216
|
+
#
|
217
|
+
# # Call the create_job method.
|
218
|
+
# result = client.create_job request
|
219
|
+
#
|
220
|
+
# # The returned object is of type Google::Cloud::Video::Transcoder::V1beta1::Job.
|
221
|
+
# p result
|
222
|
+
#
|
208
223
|
def create_job request, options = nil
|
209
224
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
210
225
|
|
@@ -222,9 +237,11 @@ module Google
|
|
222
237
|
gapic_version: ::Google::Cloud::Video::Transcoder::V1beta1::VERSION
|
223
238
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
224
239
|
|
225
|
-
header_params = {
|
226
|
-
|
227
|
-
|
240
|
+
header_params = {}
|
241
|
+
if request.parent
|
242
|
+
header_params["parent"] = request.parent
|
243
|
+
end
|
244
|
+
|
228
245
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
229
246
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
230
247
|
|
@@ -278,6 +295,27 @@ module Google
|
|
278
295
|
#
|
279
296
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
280
297
|
#
|
298
|
+
# @example Basic example
|
299
|
+
# require "google/cloud/video/transcoder/v1beta1"
|
300
|
+
#
|
301
|
+
# # Create a client object. The client can be reused for multiple calls.
|
302
|
+
# client = Google::Cloud::Video::Transcoder::V1beta1::TranscoderService::Client.new
|
303
|
+
#
|
304
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
305
|
+
# request = Google::Cloud::Video::Transcoder::V1beta1::ListJobsRequest.new
|
306
|
+
#
|
307
|
+
# # Call the list_jobs method.
|
308
|
+
# result = client.list_jobs request
|
309
|
+
#
|
310
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
311
|
+
# # iterate over all elements by calling #each, and the enumerable
|
312
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
313
|
+
# # methods are also available for managing paging directly.
|
314
|
+
# result.each do |response|
|
315
|
+
# # Each element is of type ::Google::Cloud::Video::Transcoder::V1beta1::Job.
|
316
|
+
# p response
|
317
|
+
# end
|
318
|
+
#
|
281
319
|
def list_jobs request, options = nil
|
282
320
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
283
321
|
|
@@ -295,9 +333,11 @@ module Google
|
|
295
333
|
gapic_version: ::Google::Cloud::Video::Transcoder::V1beta1::VERSION
|
296
334
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
297
335
|
|
298
|
-
header_params = {
|
299
|
-
|
300
|
-
|
336
|
+
header_params = {}
|
337
|
+
if request.parent
|
338
|
+
header_params["parent"] = request.parent
|
339
|
+
end
|
340
|
+
|
301
341
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
302
342
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
303
343
|
|
@@ -348,6 +388,21 @@ module Google
|
|
348
388
|
#
|
349
389
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
350
390
|
#
|
391
|
+
# @example Basic example
|
392
|
+
# require "google/cloud/video/transcoder/v1beta1"
|
393
|
+
#
|
394
|
+
# # Create a client object. The client can be reused for multiple calls.
|
395
|
+
# client = Google::Cloud::Video::Transcoder::V1beta1::TranscoderService::Client.new
|
396
|
+
#
|
397
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
398
|
+
# request = Google::Cloud::Video::Transcoder::V1beta1::GetJobRequest.new
|
399
|
+
#
|
400
|
+
# # Call the get_job method.
|
401
|
+
# result = client.get_job request
|
402
|
+
#
|
403
|
+
# # The returned object is of type Google::Cloud::Video::Transcoder::V1beta1::Job.
|
404
|
+
# p result
|
405
|
+
#
|
351
406
|
def get_job request, options = nil
|
352
407
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
353
408
|
|
@@ -365,9 +420,11 @@ module Google
|
|
365
420
|
gapic_version: ::Google::Cloud::Video::Transcoder::V1beta1::VERSION
|
366
421
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
367
422
|
|
368
|
-
header_params = {
|
369
|
-
|
370
|
-
|
423
|
+
header_params = {}
|
424
|
+
if request.name
|
425
|
+
header_params["name"] = request.name
|
426
|
+
end
|
427
|
+
|
371
428
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
372
429
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
373
430
|
|
@@ -417,6 +474,21 @@ module Google
|
|
417
474
|
#
|
418
475
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
419
476
|
#
|
477
|
+
# @example Basic example
|
478
|
+
# require "google/cloud/video/transcoder/v1beta1"
|
479
|
+
#
|
480
|
+
# # Create a client object. The client can be reused for multiple calls.
|
481
|
+
# client = Google::Cloud::Video::Transcoder::V1beta1::TranscoderService::Client.new
|
482
|
+
#
|
483
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
484
|
+
# request = Google::Cloud::Video::Transcoder::V1beta1::DeleteJobRequest.new
|
485
|
+
#
|
486
|
+
# # Call the delete_job method.
|
487
|
+
# result = client.delete_job request
|
488
|
+
#
|
489
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
490
|
+
# p result
|
491
|
+
#
|
420
492
|
def delete_job request, options = nil
|
421
493
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
422
494
|
|
@@ -434,9 +506,11 @@ module Google
|
|
434
506
|
gapic_version: ::Google::Cloud::Video::Transcoder::V1beta1::VERSION
|
435
507
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
436
508
|
|
437
|
-
header_params = {
|
438
|
-
|
439
|
-
|
509
|
+
header_params = {}
|
510
|
+
if request.name
|
511
|
+
header_params["name"] = request.name
|
512
|
+
end
|
513
|
+
|
440
514
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
441
515
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
442
516
|
|
@@ -494,6 +568,21 @@ module Google
|
|
494
568
|
#
|
495
569
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
496
570
|
#
|
571
|
+
# @example Basic example
|
572
|
+
# require "google/cloud/video/transcoder/v1beta1"
|
573
|
+
#
|
574
|
+
# # Create a client object. The client can be reused for multiple calls.
|
575
|
+
# client = Google::Cloud::Video::Transcoder::V1beta1::TranscoderService::Client.new
|
576
|
+
#
|
577
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
578
|
+
# request = Google::Cloud::Video::Transcoder::V1beta1::CreateJobTemplateRequest.new
|
579
|
+
#
|
580
|
+
# # Call the create_job_template method.
|
581
|
+
# result = client.create_job_template request
|
582
|
+
#
|
583
|
+
# # The returned object is of type Google::Cloud::Video::Transcoder::V1beta1::JobTemplate.
|
584
|
+
# p result
|
585
|
+
#
|
497
586
|
def create_job_template request, options = nil
|
498
587
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
499
588
|
|
@@ -511,9 +600,11 @@ module Google
|
|
511
600
|
gapic_version: ::Google::Cloud::Video::Transcoder::V1beta1::VERSION
|
512
601
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
513
602
|
|
514
|
-
header_params = {
|
515
|
-
|
516
|
-
|
603
|
+
header_params = {}
|
604
|
+
if request.parent
|
605
|
+
header_params["parent"] = request.parent
|
606
|
+
end
|
607
|
+
|
517
608
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
518
609
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
519
610
|
|
@@ -568,6 +659,27 @@ module Google
|
|
568
659
|
#
|
569
660
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
570
661
|
#
|
662
|
+
# @example Basic example
|
663
|
+
# require "google/cloud/video/transcoder/v1beta1"
|
664
|
+
#
|
665
|
+
# # Create a client object. The client can be reused for multiple calls.
|
666
|
+
# client = Google::Cloud::Video::Transcoder::V1beta1::TranscoderService::Client.new
|
667
|
+
#
|
668
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
669
|
+
# request = Google::Cloud::Video::Transcoder::V1beta1::ListJobTemplatesRequest.new
|
670
|
+
#
|
671
|
+
# # Call the list_job_templates method.
|
672
|
+
# result = client.list_job_templates request
|
673
|
+
#
|
674
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
675
|
+
# # iterate over all elements by calling #each, and the enumerable
|
676
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
677
|
+
# # methods are also available for managing paging directly.
|
678
|
+
# result.each do |response|
|
679
|
+
# # Each element is of type ::Google::Cloud::Video::Transcoder::V1beta1::JobTemplate.
|
680
|
+
# p response
|
681
|
+
# end
|
682
|
+
#
|
571
683
|
def list_job_templates request, options = nil
|
572
684
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
573
685
|
|
@@ -585,9 +697,11 @@ module Google
|
|
585
697
|
gapic_version: ::Google::Cloud::Video::Transcoder::V1beta1::VERSION
|
586
698
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
587
699
|
|
588
|
-
header_params = {
|
589
|
-
|
590
|
-
|
700
|
+
header_params = {}
|
701
|
+
if request.parent
|
702
|
+
header_params["parent"] = request.parent
|
703
|
+
end
|
704
|
+
|
591
705
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
592
706
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
593
707
|
|
@@ -639,6 +753,21 @@ module Google
|
|
639
753
|
#
|
640
754
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
641
755
|
#
|
756
|
+
# @example Basic example
|
757
|
+
# require "google/cloud/video/transcoder/v1beta1"
|
758
|
+
#
|
759
|
+
# # Create a client object. The client can be reused for multiple calls.
|
760
|
+
# client = Google::Cloud::Video::Transcoder::V1beta1::TranscoderService::Client.new
|
761
|
+
#
|
762
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
763
|
+
# request = Google::Cloud::Video::Transcoder::V1beta1::GetJobTemplateRequest.new
|
764
|
+
#
|
765
|
+
# # Call the get_job_template method.
|
766
|
+
# result = client.get_job_template request
|
767
|
+
#
|
768
|
+
# # The returned object is of type Google::Cloud::Video::Transcoder::V1beta1::JobTemplate.
|
769
|
+
# p result
|
770
|
+
#
|
642
771
|
def get_job_template request, options = nil
|
643
772
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
644
773
|
|
@@ -656,9 +785,11 @@ module Google
|
|
656
785
|
gapic_version: ::Google::Cloud::Video::Transcoder::V1beta1::VERSION
|
657
786
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
658
787
|
|
659
|
-
header_params = {
|
660
|
-
|
661
|
-
|
788
|
+
header_params = {}
|
789
|
+
if request.name
|
790
|
+
header_params["name"] = request.name
|
791
|
+
end
|
792
|
+
|
662
793
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
663
794
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
664
795
|
|
@@ -708,6 +839,21 @@ module Google
|
|
708
839
|
#
|
709
840
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
710
841
|
#
|
842
|
+
# @example Basic example
|
843
|
+
# require "google/cloud/video/transcoder/v1beta1"
|
844
|
+
#
|
845
|
+
# # Create a client object. The client can be reused for multiple calls.
|
846
|
+
# client = Google::Cloud::Video::Transcoder::V1beta1::TranscoderService::Client.new
|
847
|
+
#
|
848
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
849
|
+
# request = Google::Cloud::Video::Transcoder::V1beta1::DeleteJobTemplateRequest.new
|
850
|
+
#
|
851
|
+
# # Call the delete_job_template method.
|
852
|
+
# result = client.delete_job_template request
|
853
|
+
#
|
854
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
855
|
+
# p result
|
856
|
+
#
|
711
857
|
def delete_job_template request, options = nil
|
712
858
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
713
859
|
|
@@ -725,9 +871,11 @@ module Google
|
|
725
871
|
gapic_version: ::Google::Cloud::Video::Transcoder::V1beta1::VERSION
|
726
872
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
727
873
|
|
728
|
-
header_params = {
|
729
|
-
|
730
|
-
|
874
|
+
header_params = {}
|
875
|
+
if request.name
|
876
|
+
header_params["name"] = request.name
|
877
|
+
end
|
878
|
+
|
731
879
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
732
880
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
733
881
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video-transcoder-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
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-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|