google-cloud-video-transcoder-v1 1.1.0 → 2.0.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/README.md +1 -1
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/client.rb +7 -0
- data/lib/google/cloud/video/transcoder/v1/transcoder_service/rest/client.rb +15 -4
- data/lib/google/cloud/video/transcoder/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/video/transcoder/v1/resources.rb +48 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a22dcbe9be45978b5a605b51283df540874193f7bb300475d48c024ef16e4d5f
|
4
|
+
data.tar.gz: b19e9378be6a07c2b30c1a667695fd16897dc008a79a5f4b1fb7bdf9f0810b87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a3fd5e5990721fbc168cac99f4e31df81af0e9b881dd2a5327159654a432da449b01f7e5de5ba91a5955fe053808cd5431fca622dc9928b5cb3be5a63789e13
|
7
|
+
data.tar.gz: 9f1e9277655d8431d5a2a42cff10df86e1045b83aebb0dcb29068ae62fa0803069beef38467e7d09770009c08fd54dfac06946d1d8f4c03ce79c3d3926b73936
|
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
|
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
|
@@ -316,10 +316,10 @@ module Google
|
|
316
316
|
# One or more fields to compare and use to sort the output.
|
317
317
|
# See https://google.aip.dev/132#ordering.
|
318
318
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
319
|
-
# @yieldparam result [::Google::Cloud::Video::Transcoder::V1::
|
319
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::Transcoder::V1::Job>]
|
320
320
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
321
321
|
#
|
322
|
-
# @return [::Google::Cloud::Video::Transcoder::V1::
|
322
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::Transcoder::V1::Job>]
|
323
323
|
#
|
324
324
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
325
325
|
#
|
@@ -371,7 +371,9 @@ module Google
|
|
371
371
|
retry_policy: @config.retry_policy
|
372
372
|
|
373
373
|
@transcoder_service_stub.list_jobs request, options do |result, operation|
|
374
|
+
result = ::Gapic::Rest::PagedEnumerable.new @transcoder_service_stub, :list_jobs, "jobs", request, result, options
|
374
375
|
yield result, operation if block_given?
|
376
|
+
throw :response, result
|
375
377
|
end
|
376
378
|
rescue ::Gapic::Rest::Error => e
|
377
379
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -658,10 +660,10 @@ module Google
|
|
658
660
|
# One or more fields to compare and use to sort the output.
|
659
661
|
# See https://google.aip.dev/132#ordering.
|
660
662
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
661
|
-
# @yieldparam result [::Google::Cloud::Video::Transcoder::V1::
|
663
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::Transcoder::V1::JobTemplate>]
|
662
664
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
663
665
|
#
|
664
|
-
# @return [::Google::Cloud::Video::Transcoder::V1::
|
666
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::Transcoder::V1::JobTemplate>]
|
665
667
|
#
|
666
668
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
667
669
|
#
|
@@ -713,7 +715,9 @@ module Google
|
|
713
715
|
retry_policy: @config.retry_policy
|
714
716
|
|
715
717
|
@transcoder_service_stub.list_job_templates request, options do |result, operation|
|
718
|
+
result = ::Gapic::Rest::PagedEnumerable.new @transcoder_service_stub, :list_job_templates, "job_templates", request, result, options
|
716
719
|
yield result, operation if block_given?
|
720
|
+
throw :response, result
|
717
721
|
end
|
718
722
|
rescue ::Gapic::Rest::Error => e
|
719
723
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -923,6 +927,13 @@ module Google
|
|
923
927
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
924
928
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
925
929
|
# * (`nil`) indicating no credentials
|
930
|
+
#
|
931
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
932
|
+
# external source for authentication to Google Cloud, you must validate it before
|
933
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
934
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
935
|
+
# For more information, refer to [Validate credential configurations from external
|
936
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
926
937
|
# @return [::Object]
|
927
938
|
# @!attribute [rw] scope
|
928
939
|
# The OAuth scopes
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-07 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.
|
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.
|
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: '
|
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.
|
107
|
-
signing_key:
|
104
|
+
rubygems_version: 3.6.3
|
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.
|