Skip to content

Commit 398c141

Browse files
feat: Automated regeneration of transcoder v1 client (#17890)
Auto-created at 2024-02-18 10:23:15 +0000 using the toys pull request generator.
1 parent 5fed617 commit 398c141

File tree

5 files changed

+36
-17
lines changed

5 files changed

+36
-17
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308820,6 +308820,7 @@
308820308820
"/transcoder:v1/H264CodecSettings/enableTwoPass": enable_two_pass
308821308821
"/transcoder:v1/H264CodecSettings/entropyCoder": entropy_coder
308822308822
"/transcoder:v1/H264CodecSettings/frameRate": frame_rate
308823+
"/transcoder:v1/H264CodecSettings/frameRateConversionStrategy": frame_rate_conversion_strategy
308823308824
"/transcoder:v1/H264CodecSettings/gopDuration": gop_duration
308824308825
"/transcoder:v1/H264CodecSettings/gopFrameCount": gop_frame_count
308825308826
"/transcoder:v1/H264CodecSettings/heightPixels": height_pixels
@@ -308844,6 +308845,7 @@
308844308845
"/transcoder:v1/H265CodecSettings/crfLevel": crf_level
308845308846
"/transcoder:v1/H265CodecSettings/enableTwoPass": enable_two_pass
308846308847
"/transcoder:v1/H265CodecSettings/frameRate": frame_rate
308848+
"/transcoder:v1/H265CodecSettings/frameRateConversionStrategy": frame_rate_conversion_strategy
308847308849
"/transcoder:v1/H265CodecSettings/gopDuration": gop_duration
308848308850
"/transcoder:v1/H265CodecSettings/gopFrameCount": gop_frame_count
308849308851
"/transcoder:v1/H265CodecSettings/hdr10": hdr10
@@ -309008,6 +309010,7 @@
309008309010
"/transcoder:v1/Vp9CodecSettings/bitrateBps": bitrate_bps
309009309011
"/transcoder:v1/Vp9CodecSettings/crfLevel": crf_level
309010309012
"/transcoder:v1/Vp9CodecSettings/frameRate": frame_rate
309013+
"/transcoder:v1/Vp9CodecSettings/frameRateConversionStrategy": frame_rate_conversion_strategy
309011309014
"/transcoder:v1/Vp9CodecSettings/gopDuration": gop_duration
309012309015
"/transcoder:v1/Vp9CodecSettings/gopFrameCount": gop_frame_count
309013309016
"/transcoder:v1/Vp9CodecSettings/heightPixels": height_pixels

generated/google-apis-transcoder_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-transcoder_v1
22

3+
### v0.24.0 (2024-02-18)
4+
5+
* Regenerated from discovery document revision 20240207
6+
37
### v0.23.0 (2024-02-04)
48

59
* Regenerated from discovery document revision 20240124

generated/google-apis-transcoder_v1/lib/google/apis/transcoder_v1/classes.rb

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -835,15 +835,17 @@ class H264CodecSettings
835835
attr_accessor :entropy_coder
836836

837837
# Required. The target video frame rate in frames per second (FPS). Must be less
838-
# than or equal to 120. Will default to the input frame rate if larger than the
839-
# input frame rate. The API will generate an output FPS that is divisible by the
840-
# input FPS, and smaller or equal to the target FPS. See [Calculating frame rate]
841-
# (https://cloud.google.com/transcoder/docs/concepts/frame-rate) for more
842-
# information.
838+
# than or equal to 120.
843839
# Corresponds to the JSON property `frameRate`
844840
# @return [Float]
845841
attr_accessor :frame_rate
846842

843+
# Optional. Frame rate conversion strategy for desired frame rate. The default
844+
# is `DOWNSAMPLE`.
845+
# Corresponds to the JSON property `frameRateConversionStrategy`
846+
# @return [String]
847+
attr_accessor :frame_rate_conversion_strategy
848+
847849
# Select the GOP size based on the specified duration. The default is `3s`. Note
848850
# that `gopDuration` must be less than or equal to [`segmentDuration`](#
849851
# SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible
@@ -958,6 +960,7 @@ def update!(**args)
958960
@enable_two_pass = args[:enable_two_pass] if args.key?(:enable_two_pass)
959961
@entropy_coder = args[:entropy_coder] if args.key?(:entropy_coder)
960962
@frame_rate = args[:frame_rate] if args.key?(:frame_rate)
963+
@frame_rate_conversion_strategy = args[:frame_rate_conversion_strategy] if args.key?(:frame_rate_conversion_strategy)
961964
@gop_duration = args[:gop_duration] if args.key?(:gop_duration)
962965
@gop_frame_count = args[:gop_frame_count] if args.key?(:gop_frame_count)
963966
@height_pixels = args[:height_pixels] if args.key?(:height_pixels)
@@ -1051,15 +1054,17 @@ class H265CodecSettings
10511054
alias_method :enable_two_pass?, :enable_two_pass
10521055

10531056
# Required. The target video frame rate in frames per second (FPS). Must be less
1054-
# than or equal to 120. Will default to the input frame rate if larger than the
1055-
# input frame rate. The API will generate an output FPS that is divisible by the
1056-
# input FPS, and smaller or equal to the target FPS. See [Calculating frame rate]
1057-
# (https://cloud.google.com/transcoder/docs/concepts/frame-rate) for more
1058-
# information.
1057+
# than or equal to 120.
10591058
# Corresponds to the JSON property `frameRate`
10601059
# @return [Float]
10611060
attr_accessor :frame_rate
10621061

1062+
# Optional. Frame rate conversion strategy for desired frame rate. The default
1063+
# is `DOWNSAMPLE`.
1064+
# Corresponds to the JSON property `frameRateConversionStrategy`
1065+
# @return [String]
1066+
attr_accessor :frame_rate_conversion_strategy
1067+
10631068
# Select the GOP size based on the specified duration. The default is `3s`. Note
10641069
# that `gopDuration` must be less than or equal to [`segmentDuration`](#
10651070
# SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible
@@ -1181,6 +1186,7 @@ def update!(**args)
11811186
@crf_level = args[:crf_level] if args.key?(:crf_level)
11821187
@enable_two_pass = args[:enable_two_pass] if args.key?(:enable_two_pass)
11831188
@frame_rate = args[:frame_rate] if args.key?(:frame_rate)
1189+
@frame_rate_conversion_strategy = args[:frame_rate_conversion_strategy] if args.key?(:frame_rate_conversion_strategy)
11841190
@gop_duration = args[:gop_duration] if args.key?(:gop_duration)
11851191
@gop_frame_count = args[:gop_frame_count] if args.key?(:gop_frame_count)
11861192
@hdr10 = args[:hdr10] if args.key?(:hdr10)
@@ -2264,15 +2270,17 @@ class Vp9CodecSettings
22642270
attr_accessor :crf_level
22652271

22662272
# Required. The target video frame rate in frames per second (FPS). Must be less
2267-
# than or equal to 120. Will default to the input frame rate if larger than the
2268-
# input frame rate. The API will generate an output FPS that is divisible by the
2269-
# input FPS, and smaller or equal to the target FPS. See [Calculating frame rate]
2270-
# (https://cloud.google.com/transcoder/docs/concepts/frame-rate) for more
2271-
# information.
2273+
# than or equal to 120.
22722274
# Corresponds to the JSON property `frameRate`
22732275
# @return [Float]
22742276
attr_accessor :frame_rate
22752277

2278+
# Optional. Frame rate conversion strategy for desired frame rate. The default
2279+
# is `DOWNSAMPLE`.
2280+
# Corresponds to the JSON property `frameRateConversionStrategy`
2281+
# @return [String]
2282+
attr_accessor :frame_rate_conversion_strategy
2283+
22762284
# Select the GOP size based on the specified duration. The default is `3s`. Note
22772285
# that `gopDuration` must be less than or equal to [`segmentDuration`](#
22782286
# SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible
@@ -2352,6 +2360,7 @@ def update!(**args)
23522360
@bitrate_bps = args[:bitrate_bps] if args.key?(:bitrate_bps)
23532361
@crf_level = args[:crf_level] if args.key?(:crf_level)
23542362
@frame_rate = args[:frame_rate] if args.key?(:frame_rate)
2363+
@frame_rate_conversion_strategy = args[:frame_rate_conversion_strategy] if args.key?(:frame_rate_conversion_strategy)
23552364
@gop_duration = args[:gop_duration] if args.key?(:gop_duration)
23562365
@gop_frame_count = args[:gop_frame_count] if args.key?(:gop_frame_count)
23572366
@height_pixels = args[:height_pixels] if args.key?(:height_pixels)

generated/google-apis-transcoder_v1/lib/google/apis/transcoder_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module TranscoderV1
1818
# Version of the google-apis-transcoder_v1 gem
19-
GEM_VERSION = "0.23.0"
19+
GEM_VERSION = "0.24.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.13.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240124"
25+
REVISION = "20240207"
2626
end
2727
end
2828
end

generated/google-apis-transcoder_v1/lib/google/apis/transcoder_v1/representations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
628628
property :enable_two_pass, as: 'enableTwoPass'
629629
property :entropy_coder, as: 'entropyCoder'
630630
property :frame_rate, as: 'frameRate'
631+
property :frame_rate_conversion_strategy, as: 'frameRateConversionStrategy'
631632
property :gop_duration, as: 'gopDuration'
632633
property :gop_frame_count, as: 'gopFrameCount'
633634
property :height_pixels, as: 'heightPixels'
@@ -669,6 +670,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
669670
property :crf_level, as: 'crfLevel'
670671
property :enable_two_pass, as: 'enableTwoPass'
671672
property :frame_rate, as: 'frameRate'
673+
property :frame_rate_conversion_strategy, as: 'frameRateConversionStrategy'
672674
property :gop_duration, as: 'gopDuration'
673675
property :gop_frame_count, as: 'gopFrameCount'
674676
property :hdr10, as: 'hdr10', class: Google::Apis::TranscoderV1::H265ColorFormatHdr10, decorator: Google::Apis::TranscoderV1::H265ColorFormatHdr10::Representation
@@ -994,6 +996,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
994996
property :bitrate_bps, as: 'bitrateBps'
995997
property :crf_level, as: 'crfLevel'
996998
property :frame_rate, as: 'frameRate'
999+
property :frame_rate_conversion_strategy, as: 'frameRateConversionStrategy'
9971000
property :gop_duration, as: 'gopDuration'
9981001
property :gop_frame_count, as: 'gopFrameCount'
9991002
property :height_pixels, as: 'heightPixels'

0 commit comments

Comments
 (0)