google-cloud-video-transcoder-v1 0.13.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 515b164c1879f2be65e5163ae7b035e05b222cbc3fd55c9c660d60f3c24aa885
4
- data.tar.gz: 4f2d0f6df9a6901ecd70bd941b2fb68ddae3b56e72678f6be6d166beae745cee
3
+ metadata.gz: 156c348ac05732c3f82d9f6476ea60be30ef8daffa0923de95780a41de8f7c9e
4
+ data.tar.gz: c7981b8595ac52b97754d90321fbacde66a6a9c37bd4a169cca977eb55d67a5c
5
5
  SHA512:
6
- metadata.gz: 69dcca1df07c399decc6340bf147e66e210afcd0fafca83599c63851b5b74c1b142b37239e11f8acc699fa75fcdeb0a68aa0c7198885953c4b60d316ca282941
7
- data.tar.gz: 77f496c4f541de85083ba9c236ee2e4a2b0556a57de9d5f76253b2b636c35a2d0db85520ba382ac587c79e57e37a6292efbd3f7e39f66666f87a6df6135b15cb
6
+ metadata.gz: 697de942a74ba8614f16a696195d6620f20459804d69cc417217552d7fb583f1df4e12d2f943933caf1a339a1e67ec38c181ed45bed03d51ebfbb23556e43323
7
+ data.tar.gz: dd3db25097f0b04a014460d62501c5e70048a069b689370fd006adb2ed5724fc05e8ef9f6ca1d657b765951d6b67df0500b58d8143c1ce7fa710d34a99382f91
@@ -36,6 +36,9 @@ module Google
36
36
  # concatenation, and digital ad-stitch ready content generation.
37
37
  #
38
38
  class Client
39
+ # @private
40
+ API_VERSION = ""
41
+
39
42
  # @private
40
43
  DEFAULT_ENDPOINT_TEMPLATE = "transcoder.$UNIVERSE_DOMAIN$"
41
44
 
@@ -245,10 +248,11 @@ module Google
245
248
  # Customize the options with defaults
246
249
  metadata = @config.rpcs.create_job.metadata.to_h
247
250
 
248
- # Set x-goog-api-client and x-goog-user-project headers
251
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
249
252
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
250
253
  lib_name: @config.lib_name, lib_version: @config.lib_version,
251
254
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION
255
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
252
256
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
253
257
 
254
258
  header_params = {}
@@ -345,10 +349,11 @@ module Google
345
349
  # Customize the options with defaults
346
350
  metadata = @config.rpcs.list_jobs.metadata.to_h
347
351
 
348
- # Set x-goog-api-client and x-goog-user-project headers
352
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
349
353
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
350
354
  lib_name: @config.lib_name, lib_version: @config.lib_version,
351
355
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION
356
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
352
357
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
353
358
 
354
359
  header_params = {}
@@ -432,10 +437,11 @@ module Google
432
437
  # Customize the options with defaults
433
438
  metadata = @config.rpcs.get_job.metadata.to_h
434
439
 
435
- # Set x-goog-api-client and x-goog-user-project headers
440
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
436
441
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
437
442
  lib_name: @config.lib_name, lib_version: @config.lib_version,
438
443
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION
444
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
439
445
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
440
446
 
441
447
  header_params = {}
@@ -521,10 +527,11 @@ module Google
521
527
  # Customize the options with defaults
522
528
  metadata = @config.rpcs.delete_job.metadata.to_h
523
529
 
524
- # Set x-goog-api-client and x-goog-user-project headers
530
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
525
531
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
526
532
  lib_name: @config.lib_name, lib_version: @config.lib_version,
527
533
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION
534
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
528
535
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
529
536
 
530
537
  header_params = {}
@@ -615,10 +622,11 @@ module Google
615
622
  # Customize the options with defaults
616
623
  metadata = @config.rpcs.create_job_template.metadata.to_h
617
624
 
618
- # Set x-goog-api-client and x-goog-user-project headers
625
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
619
626
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
620
627
  lib_name: @config.lib_name, lib_version: @config.lib_version,
621
628
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION
629
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
622
630
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
623
631
 
624
632
  header_params = {}
@@ -716,10 +724,11 @@ module Google
716
724
  # Customize the options with defaults
717
725
  metadata = @config.rpcs.list_job_templates.metadata.to_h
718
726
 
719
- # Set x-goog-api-client and x-goog-user-project headers
727
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
720
728
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
721
729
  lib_name: @config.lib_name, lib_version: @config.lib_version,
722
730
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION
731
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
723
732
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
724
733
 
725
734
  header_params = {}
@@ -804,10 +813,11 @@ module Google
804
813
  # Customize the options with defaults
805
814
  metadata = @config.rpcs.get_job_template.metadata.to_h
806
815
 
807
- # Set x-goog-api-client and x-goog-user-project headers
816
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
808
817
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
809
818
  lib_name: @config.lib_name, lib_version: @config.lib_version,
810
819
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION
820
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
811
821
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
812
822
 
813
823
  header_params = {}
@@ -893,10 +903,11 @@ module Google
893
903
  # Customize the options with defaults
894
904
  metadata = @config.rpcs.delete_job_template.metadata.to_h
895
905
 
896
- # Set x-goog-api-client and x-goog-user-project headers
906
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
897
907
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
898
908
  lib_name: @config.lib_name, lib_version: @config.lib_version,
899
909
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION
910
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
900
911
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
901
912
 
902
913
  header_params = {}
@@ -38,6 +38,9 @@ module Google
38
38
  # concatenation, and digital ad-stitch ready content generation.
39
39
  #
40
40
  class Client
41
+ # @private
42
+ API_VERSION = ""
43
+
41
44
  # @private
42
45
  DEFAULT_ENDPOINT_TEMPLATE = "transcoder.$UNIVERSE_DOMAIN$"
43
46
 
@@ -237,12 +240,13 @@ module Google
237
240
  # Customize the options with defaults
238
241
  call_metadata = @config.rpcs.create_job.metadata.to_h
239
242
 
240
- # Set x-goog-api-client and x-goog-user-project headers
243
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
241
244
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
242
245
  lib_name: @config.lib_name, lib_version: @config.lib_version,
243
246
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION,
244
247
  transports_version_send: [:rest]
245
248
 
249
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
246
250
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
247
251
 
248
252
  options.apply_defaults timeout: @config.rpcs.create_job.timeout,
@@ -330,12 +334,13 @@ module Google
330
334
  # Customize the options with defaults
331
335
  call_metadata = @config.rpcs.list_jobs.metadata.to_h
332
336
 
333
- # Set x-goog-api-client and x-goog-user-project headers
337
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
334
338
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
335
339
  lib_name: @config.lib_name, lib_version: @config.lib_version,
336
340
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION,
337
341
  transports_version_send: [:rest]
338
342
 
343
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
339
344
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
340
345
 
341
346
  options.apply_defaults timeout: @config.rpcs.list_jobs.timeout,
@@ -409,12 +414,13 @@ module Google
409
414
  # Customize the options with defaults
410
415
  call_metadata = @config.rpcs.get_job.metadata.to_h
411
416
 
412
- # Set x-goog-api-client and x-goog-user-project headers
417
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
413
418
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
414
419
  lib_name: @config.lib_name, lib_version: @config.lib_version,
415
420
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION,
416
421
  transports_version_send: [:rest]
417
422
 
423
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
418
424
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
419
425
 
420
426
  options.apply_defaults timeout: @config.rpcs.get_job.timeout,
@@ -491,12 +497,13 @@ module Google
491
497
  # Customize the options with defaults
492
498
  call_metadata = @config.rpcs.delete_job.metadata.to_h
493
499
 
494
- # Set x-goog-api-client and x-goog-user-project headers
500
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
495
501
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
496
502
  lib_name: @config.lib_name, lib_version: @config.lib_version,
497
503
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION,
498
504
  transports_version_send: [:rest]
499
505
 
506
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
500
507
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
501
508
 
502
509
  options.apply_defaults timeout: @config.rpcs.delete_job.timeout,
@@ -578,12 +585,13 @@ module Google
578
585
  # Customize the options with defaults
579
586
  call_metadata = @config.rpcs.create_job_template.metadata.to_h
580
587
 
581
- # Set x-goog-api-client and x-goog-user-project headers
588
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
582
589
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
583
590
  lib_name: @config.lib_name, lib_version: @config.lib_version,
584
591
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION,
585
592
  transports_version_send: [:rest]
586
593
 
594
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
587
595
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
588
596
 
589
597
  options.apply_defaults timeout: @config.rpcs.create_job_template.timeout,
@@ -672,12 +680,13 @@ module Google
672
680
  # Customize the options with defaults
673
681
  call_metadata = @config.rpcs.list_job_templates.metadata.to_h
674
682
 
675
- # Set x-goog-api-client and x-goog-user-project headers
683
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
676
684
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
677
685
  lib_name: @config.lib_name, lib_version: @config.lib_version,
678
686
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION,
679
687
  transports_version_send: [:rest]
680
688
 
689
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
681
690
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
682
691
 
683
692
  options.apply_defaults timeout: @config.rpcs.list_job_templates.timeout,
@@ -752,12 +761,13 @@ module Google
752
761
  # Customize the options with defaults
753
762
  call_metadata = @config.rpcs.get_job_template.metadata.to_h
754
763
 
755
- # Set x-goog-api-client and x-goog-user-project headers
764
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
756
765
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
757
766
  lib_name: @config.lib_name, lib_version: @config.lib_version,
758
767
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION,
759
768
  transports_version_send: [:rest]
760
769
 
770
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
761
771
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
762
772
 
763
773
  options.apply_defaults timeout: @config.rpcs.get_job_template.timeout,
@@ -834,12 +844,13 @@ module Google
834
844
  # Customize the options with defaults
835
845
  call_metadata = @config.rpcs.delete_job_template.metadata.to_h
836
846
 
837
- # Set x-goog-api-client and x-goog-user-project headers
847
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
838
848
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
839
849
  lib_name: @config.lib_name, lib_version: @config.lib_version,
840
850
  gapic_version: ::Google::Cloud::Video::Transcoder::V1::VERSION,
841
851
  transports_version_send: [:rest]
842
852
 
853
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
843
854
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
844
855
 
845
856
  options.apply_defaults timeout: @config.rpcs.delete_job_template.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Transcoder
24
24
  module V1
25
- VERSION = "0.13.0"
25
+ VERSION = "1.0.0"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-transcoder-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 1.0.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common