google-cloud-video-transcoder-v1 1.1.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 594278a1fc785f9a477fc1859457f5751caed439a3debf3331e5aeac183bc1d0
4
- data.tar.gz: de80f6fc993c7082328ec49dd14e8d3ea210c4575a240620e8b3118579d4fd85
3
+ metadata.gz: a4d67058c98f34e880faa145940eb4ef580262b3dc05273e46c0fc6139912b7a
4
+ data.tar.gz: e2d4fbbd94e8ff8ba78068005e4f307d2e80e834c052cd2d5b78bc8362b4f632
5
5
  SHA512:
6
- metadata.gz: 8f23bb9dbd30f049996f1e70fab99bb3289ccc9486b6074a19b32d05a0ad2deae4d40aa0dc19a6405c12e1b9628bdf64ea2475da552d66b5c3c885ebe3596a30
7
- data.tar.gz: 9cb402c50b5520624c3716402514a2d2f1239679ebba1e0688466f58a6c0622763f8ff4bdb9f0d122b340181ebecd11919edad4e9a0735568f929e8072415ab5
6
+ metadata.gz: 0edcf7d36aa8a2ae512beed0632a5d1af5415d4f2c312201314451ddf514d7118d880f958482f3572c01af45322ac327cd4349b82ad37fe784f3070bf5b6e61d
7
+ data.tar.gz: 81ea76ee3b68b39ce047e6eaaab8acee5f6c9c0027c29bf8f87cbb779bf0617fd9cca9bde4e906df463b83705fc6f19c1c2543a1f9ff51a0541eb054553b5c12
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -992,6 +992,13 @@ module Google
992
992
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
993
993
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
994
994
  # * (`nil`) indicating no credentials
995
+ #
996
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
997
+ # external source for authentication to Google Cloud, you must validate it before
998
+ # providing it to a Google API client library. Providing an unvalidated credential
999
+ # configuration to Google APIs can compromise the security of your systems and data.
1000
+ # For more information, refer to [Validate credential configurations from external
1001
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
995
1002
  # @return [::Object]
996
1003
  # @!attribute [rw] scope
997
1004
  # The OAuth scopes
@@ -923,6 +923,13 @@ module Google
923
923
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
924
924
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
925
925
  # * (`nil`) indicating no credentials
926
+ #
927
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
928
+ # external source for authentication to Google Cloud, you must validate it before
929
+ # providing it to a Google API client library. Providing an unvalidated credential
930
+ # configuration to Google APIs can compromise the security of your systems and data.
931
+ # For more information, refer to [Validate credential configurations from external
932
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
926
933
  # @return [::Object]
927
934
  # @!attribute [rw] scope
928
935
  # The OAuth scopes
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Transcoder
24
24
  module V1
25
- VERSION = "1.1.0"
25
+ VERSION = "1.2.0"
26
26
  end
27
27
  end
28
28
  end
@@ -48,9 +48,13 @@ module Google
48
48
  # The default is `preset/web-hd`, which is the only supported preset.
49
49
  #
50
50
  # User defined JobTemplate: `{job_template_id}`
51
+ #
52
+ # Note: The following fields are mutually exclusive: `template_id`, `config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
51
53
  # @!attribute [rw] config
52
54
  # @return [::Google::Cloud::Video::Transcoder::V1::JobConfig]
53
55
  # The configuration for this job.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `config`, `template_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
54
58
  # @!attribute [r] state
55
59
  # @return [::Google::Cloud::Video::Transcoder::V1::Job::ProcessingState]
56
60
  # Output only. The current state of the job.
@@ -296,12 +300,18 @@ module Google
296
300
  # @!attribute [rw] video_stream
297
301
  # @return [::Google::Cloud::Video::Transcoder::V1::VideoStream]
298
302
  # Encoding of a video stream.
303
+ #
304
+ # Note: The following fields are mutually exclusive: `video_stream`, `audio_stream`, `text_stream`. If a field in that set is populated, all other fields in the set will automatically be cleared.
299
305
  # @!attribute [rw] audio_stream
300
306
  # @return [::Google::Cloud::Video::Transcoder::V1::AudioStream]
301
307
  # Encoding of an audio stream.
308
+ #
309
+ # Note: The following fields are mutually exclusive: `audio_stream`, `video_stream`, `text_stream`. If a field in that set is populated, all other fields in the set will automatically be cleared.
302
310
  # @!attribute [rw] text_stream
303
311
  # @return [::Google::Cloud::Video::Transcoder::V1::TextStream]
304
312
  # Encoding of a text stream. For example, closed captions or subtitles.
313
+ #
314
+ # Note: The following fields are mutually exclusive: `text_stream`, `video_stream`, `audio_stream`. If a field in that set is populated, all other fields in the set will automatically be cleared.
305
315
  class ElementaryStream
306
316
  include ::Google::Protobuf::MessageExts
307
317
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -481,10 +491,14 @@ module Google
481
491
  # Total number of sprites. Create the specified number of sprites
482
492
  # distributed evenly across the timeline of the output media. The default
483
493
  # is 100.
494
+ #
495
+ # Note: The following fields are mutually exclusive: `total_count`, `interval`. If a field in that set is populated, all other fields in the set will automatically be cleared.
484
496
  # @!attribute [rw] interval
485
497
  # @return [::Google::Protobuf::Duration]
486
498
  # Starting from `0s`, create sprites at regular intervals. Specify the
487
499
  # interval value in seconds.
500
+ #
501
+ # Note: The following fields are mutually exclusive: `interval`, `total_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
488
502
  # @!attribute [rw] quality
489
503
  # @return [::Integer]
490
504
  # The quality of the generated sprite sheet. Enter a value between 1
@@ -594,12 +608,18 @@ module Google
594
608
  # @!attribute [rw] animation_static
595
609
  # @return [::Google::Cloud::Video::Transcoder::V1::Overlay::AnimationStatic]
596
610
  # Display static overlay object.
611
+ #
612
+ # Note: The following fields are mutually exclusive: `animation_static`, `animation_fade`, `animation_end`. If a field in that set is populated, all other fields in the set will automatically be cleared.
597
613
  # @!attribute [rw] animation_fade
598
614
  # @return [::Google::Cloud::Video::Transcoder::V1::Overlay::AnimationFade]
599
615
  # Display overlay object with fade animation.
616
+ #
617
+ # Note: The following fields are mutually exclusive: `animation_fade`, `animation_static`, `animation_end`. If a field in that set is populated, all other fields in the set will automatically be cleared.
600
618
  # @!attribute [rw] animation_end
601
619
  # @return [::Google::Cloud::Video::Transcoder::V1::Overlay::AnimationEnd]
602
620
  # End previous animation.
621
+ #
622
+ # Note: The following fields are mutually exclusive: `animation_end`, `animation_static`, `animation_fade`. If a field in that set is populated, all other fields in the set will automatically be cleared.
603
623
  class Animation
604
624
  include ::Google::Protobuf::MessageExts
605
625
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -774,9 +794,13 @@ module Google
774
794
  # @!attribute [rw] yadif
775
795
  # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig]
776
796
  # Specifies the Yet Another Deinterlacing Filter Configuration.
797
+ #
798
+ # Note: The following fields are mutually exclusive: `yadif`, `bwdif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
777
799
  # @!attribute [rw] bwdif
778
800
  # @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig]
779
801
  # Specifies the Bob Weaver Deinterlacing Filter Configuration.
802
+ #
803
+ # Note: The following fields are mutually exclusive: `bwdif`, `yadif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
780
804
  class Deinterlace
781
805
  include ::Google::Protobuf::MessageExts
782
806
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -845,12 +869,18 @@ module Google
845
869
  # @!attribute [rw] h264
846
870
  # @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H264CodecSettings]
847
871
  # H264 codec settings.
872
+ #
873
+ # Note: The following fields are mutually exclusive: `h264`, `h265`, `vp9`. If a field in that set is populated, all other fields in the set will automatically be cleared.
848
874
  # @!attribute [rw] h265
849
875
  # @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::H265CodecSettings]
850
876
  # H265 codec settings.
877
+ #
878
+ # Note: The following fields are mutually exclusive: `h265`, `h264`, `vp9`. If a field in that set is populated, all other fields in the set will automatically be cleared.
851
879
  # @!attribute [rw] vp9
852
880
  # @return [::Google::Cloud::Video::Transcoder::V1::VideoStream::Vp9CodecSettings]
853
881
  # VP9 codec settings.
882
+ #
883
+ # Note: The following fields are mutually exclusive: `vp9`, `h264`, `h265`. If a field in that set is populated, all other fields in the set will automatically be cleared.
854
884
  class VideoStream
855
885
  include ::Google::Protobuf::MessageExts
856
886
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -924,6 +954,8 @@ module Google
924
954
  # @return [::Integer]
925
955
  # Select the GOP size based on the specified frame count. Must be greater
926
956
  # than zero.
957
+ #
958
+ # Note: The following fields are mutually exclusive: `gop_frame_count`, `gop_duration`. If a field in that set is populated, all other fields in the set will automatically be cleared.
927
959
  # @!attribute [rw] gop_duration
928
960
  # @return [::Google::Protobuf::Duration]
929
961
  # Select the GOP size based on the specified duration. The default is
@@ -931,6 +963,8 @@ module Google
931
963
  # [`segmentDuration`](#SegmentSettings), and
932
964
  # [`segmentDuration`](#SegmentSettings) must be divisible by
933
965
  # `gopDuration`.
966
+ #
967
+ # Note: The following fields are mutually exclusive: `gop_duration`, `gop_frame_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
934
968
  # @!attribute [rw] enable_two_pass
935
969
  # @return [::Boolean]
936
970
  # Use two-pass encoding strategy to achieve better video quality.
@@ -1069,6 +1103,8 @@ module Google
1069
1103
  # @return [::Integer]
1070
1104
  # Select the GOP size based on the specified frame count. Must be greater
1071
1105
  # than zero.
1106
+ #
1107
+ # Note: The following fields are mutually exclusive: `gop_frame_count`, `gop_duration`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1072
1108
  # @!attribute [rw] gop_duration
1073
1109
  # @return [::Google::Protobuf::Duration]
1074
1110
  # Select the GOP size based on the specified duration. The default is
@@ -1076,6 +1112,8 @@ module Google
1076
1112
  # [`segmentDuration`](#SegmentSettings), and
1077
1113
  # [`segmentDuration`](#SegmentSettings) must be divisible by
1078
1114
  # `gopDuration`.
1115
+ #
1116
+ # Note: The following fields are mutually exclusive: `gop_duration`, `gop_frame_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1079
1117
  # @!attribute [rw] enable_two_pass
1080
1118
  # @return [::Boolean]
1081
1119
  # Use two-pass encoding strategy to achieve better video quality.
@@ -1218,6 +1256,8 @@ module Google
1218
1256
  # @return [::Integer]
1219
1257
  # Select the GOP size based on the specified frame count. Must be greater
1220
1258
  # than zero.
1259
+ #
1260
+ # Note: The following fields are mutually exclusive: `gop_frame_count`, `gop_duration`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1221
1261
  # @!attribute [rw] gop_duration
1222
1262
  # @return [::Google::Protobuf::Duration]
1223
1263
  # Select the GOP size based on the specified duration. The default is
@@ -1225,6 +1265,8 @@ module Google
1225
1265
  # [`segmentDuration`](#SegmentSettings), and
1226
1266
  # [`segmentDuration`](#SegmentSettings) must be divisible by
1227
1267
  # `gopDuration`.
1268
+ #
1269
+ # Note: The following fields are mutually exclusive: `gop_duration`, `gop_frame_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1228
1270
  # @!attribute [rw] profile
1229
1271
  # @return [::String]
1230
1272
  # Enforces the specified codec profile. The following profiles are
@@ -1395,12 +1437,18 @@ module Google
1395
1437
  # @!attribute [rw] aes_128
1396
1438
  # @return [::Google::Cloud::Video::Transcoder::V1::Encryption::Aes128Encryption]
1397
1439
  # Configuration for AES-128 encryption.
1440
+ #
1441
+ # Note: The following fields are mutually exclusive: `aes_128`, `sample_aes`, `mpeg_cenc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1398
1442
  # @!attribute [rw] sample_aes
1399
1443
  # @return [::Google::Cloud::Video::Transcoder::V1::Encryption::SampleAesEncryption]
1400
1444
  # Configuration for SAMPLE-AES encryption.
1445
+ #
1446
+ # Note: The following fields are mutually exclusive: `sample_aes`, `aes_128`, `mpeg_cenc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1401
1447
  # @!attribute [rw] mpeg_cenc
1402
1448
  # @return [::Google::Cloud::Video::Transcoder::V1::Encryption::MpegCommonEncryption]
1403
1449
  # Configuration for MPEG Common Encryption (MPEG-CENC).
1450
+ #
1451
+ # Note: The following fields are mutually exclusive: `mpeg_cenc`, `aes_128`, `sample_aes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1404
1452
  # @!attribute [rw] secret_manager_key_source
1405
1453
  # @return [::Google::Cloud::Video::Transcoder::V1::Encryption::SecretManagerSource]
1406
1454
  # Keys are stored in Google Secret Manager.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-transcoder-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -88,7 +87,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
88
87
  licenses:
89
88
  - Apache-2.0
90
89
  metadata: {}
91
- post_install_message:
92
90
  rdoc_options: []
93
91
  require_paths:
94
92
  - lib
@@ -96,15 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
94
  requirements:
97
95
  - - ">="
98
96
  - !ruby/object:Gem::Version
99
- version: '2.7'
97
+ version: '3.0'
100
98
  required_rubygems_version: !ruby/object:Gem::Requirement
101
99
  requirements:
102
100
  - - ">="
103
101
  - !ruby/object:Gem::Version
104
102
  version: '0'
105
103
  requirements: []
106
- rubygems_version: 3.5.23
107
- signing_key:
104
+ rubygems_version: 3.6.2
108
105
  specification_version: 4
109
106
  summary: This API converts video files into formats suitable for consumer distribution.
110
107
  For more information, see the Transcoder API overview.