Skip to content

Commit b906aa1

Browse files
feat: Automated regeneration of transcoder v1 client (#23847)
Auto-created at 2025-08-03 10:20:09 +0000 using the toys pull request generator.
1 parent 3b62fcf commit b906aa1

File tree

5 files changed

+119
-2
lines changed

5 files changed

+119
-2
lines changed

api_names_out.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358333,9 +358333,13 @@
358333358333
"/transcoder:v1/Image/resolution": resolution
358334358334
"/transcoder:v1/Image/uri": uri
358335358335
"/transcoder:v1/Input": input
358336+
"/transcoder:v1/Input/attributes": attributes
358336358337
"/transcoder:v1/Input/key": key
358337358338
"/transcoder:v1/Input/preprocessingConfig": preprocessing_config
358338358339
"/transcoder:v1/Input/uri": uri
358340+
"/transcoder:v1/InputAttributes": input_attributes
358341+
"/transcoder:v1/InputAttributes/trackDefinitions": track_definitions
358342+
"/transcoder:v1/InputAttributes/trackDefinitions/track_definition": track_definition
358339358343
"/transcoder:v1/Job": job
358340358344
"/transcoder:v1/Job/batchModePriority": batch_mode_priority
358341358345
"/transcoder:v1/Job/config": config
@@ -358468,6 +358472,13 @@
358468358472
"/transcoder:v1/TextStream/languageCode": language_code
358469358473
"/transcoder:v1/TextStream/mapping": mapping
358470358474
"/transcoder:v1/TextStream/mapping/mapping": mapping
358475+
"/transcoder:v1/TrackDefinition": track_definition
358476+
"/transcoder:v1/TrackDefinition/detectLanguages": detect_languages
358477+
"/transcoder:v1/TrackDefinition/detectedLanguages": detected_languages
358478+
"/transcoder:v1/TrackDefinition/detectedLanguages/detected_language": detected_language
358479+
"/transcoder:v1/TrackDefinition/inputTrack": input_track
358480+
"/transcoder:v1/TrackDefinition/languages": languages
358481+
"/transcoder:v1/TrackDefinition/languages/language": language
358471358482
"/transcoder:v1/VideoStream": video_stream
358472358483
"/transcoder:v1/VideoStream/h264": h264
358473358484
"/transcoder:v1/VideoStream/h265": h265

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.32.0 (2025-08-03)
4+
5+
* Regenerated from discovery document revision 20250723
6+
37
### v0.31.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250630

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

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,11 @@ def update!(**args)
12801280
class Input
12811281
include Google::Apis::Core::Hashable
12821282

1283+
# Input attributes that provide additional information about the input asset.
1284+
# Corresponds to the JSON property `attributes`
1285+
# @return [Google::Apis::TranscoderV1::InputAttributes]
1286+
attr_accessor :attributes
1287+
12831288
# A unique key for this input. Must be specified when using advanced mapping and
12841289
# edit lists.
12851290
# Corresponds to the JSON property `key`
@@ -1306,12 +1311,32 @@ def initialize(**args)
13061311

13071312
# Update properties of this object
13081313
def update!(**args)
1314+
@attributes = args[:attributes] if args.key?(:attributes)
13091315
@key = args[:key] if args.key?(:key)
13101316
@preprocessing_config = args[:preprocessing_config] if args.key?(:preprocessing_config)
13111317
@uri = args[:uri] if args.key?(:uri)
13121318
end
13131319
end
13141320

1321+
# Input attributes that provide additional information about the input asset.
1322+
class InputAttributes
1323+
include Google::Apis::Core::Hashable
1324+
1325+
# Optional. A list of track definitions for the input asset.
1326+
# Corresponds to the JSON property `trackDefinitions`
1327+
# @return [Array<Google::Apis::TranscoderV1::TrackDefinition>]
1328+
attr_accessor :track_definitions
1329+
1330+
def initialize(**args)
1331+
update!(**args)
1332+
end
1333+
1334+
# Update properties of this object
1335+
def update!(**args)
1336+
@track_definitions = args[:track_definitions] if args.key?(:track_definitions)
1337+
end
1338+
end
1339+
13151340
# Transcoding job resource.
13161341
class Job
13171342
include Google::Apis::Core::Hashable
@@ -2230,6 +2255,51 @@ def update!(**args)
22302255
end
22312256
end
22322257

2258+
# Track definition for the input asset.
2259+
class TrackDefinition
2260+
include Google::Apis::Core::Hashable
2261+
2262+
# Optional. Whether to automatically detect the languages present in the track.
2263+
# If true, the system will attempt to identify all the languages present in the
2264+
# track and populate the languages field.
2265+
# Corresponds to the JSON property `detectLanguages`
2266+
# @return [Boolean]
2267+
attr_accessor :detect_languages
2268+
alias_method :detect_languages?, :detect_languages
2269+
2270+
# Output only. A list of languages detected in the input asset, represented by a
2271+
# BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see
2272+
# https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. This field is
2273+
# only populated if the detect_languages field is set to true.
2274+
# Corresponds to the JSON property `detectedLanguages`
2275+
# @return [Array<String>]
2276+
attr_accessor :detected_languages
2277+
2278+
# The input track.
2279+
# Corresponds to the JSON property `inputTrack`
2280+
# @return [Fixnum]
2281+
attr_accessor :input_track
2282+
2283+
# Optional. A list of languages spoken in the input asset, represented by a BCP
2284+
# 47 language code, such as "en-US" or "sr-Latn". For more information, see
2285+
# https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
2286+
# Corresponds to the JSON property `languages`
2287+
# @return [Array<String>]
2288+
attr_accessor :languages
2289+
2290+
def initialize(**args)
2291+
update!(**args)
2292+
end
2293+
2294+
# Update properties of this object
2295+
def update!(**args)
2296+
@detect_languages = args[:detect_languages] if args.key?(:detect_languages)
2297+
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
2298+
@input_track = args[:input_track] if args.key?(:input_track)
2299+
@languages = args[:languages] if args.key?(:languages)
2300+
end
2301+
end
2302+
22332303
# Video stream resource.
22342304
class VideoStream
22352305
include Google::Apis::Core::Hashable

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.31.0"
19+
GEM_VERSION = "0.32.0"
2020

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

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

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
220220
include Google::Apis::Core::JsonObjectSupport
221221
end
222222

223+
class InputAttributes
224+
class Representation < Google::Apis::Core::JsonRepresentation; end
225+
226+
include Google::Apis::Core::JsonObjectSupport
227+
end
228+
223229
class Job
224230
class Representation < Google::Apis::Core::JsonRepresentation; end
225231

@@ -352,6 +358,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
352358
include Google::Apis::Core::JsonObjectSupport
353359
end
354360

361+
class TrackDefinition
362+
class Representation < Google::Apis::Core::JsonRepresentation; end
363+
364+
include Google::Apis::Core::JsonObjectSupport
365+
end
366+
355367
class VideoStream
356368
class Representation < Google::Apis::Core::JsonRepresentation; end
357369

@@ -722,13 +734,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
722734
class Input
723735
# @private
724736
class Representation < Google::Apis::Core::JsonRepresentation
737+
property :attributes, as: 'attributes', class: Google::Apis::TranscoderV1::InputAttributes, decorator: Google::Apis::TranscoderV1::InputAttributes::Representation
738+
725739
property :key, as: 'key'
726740
property :preprocessing_config, as: 'preprocessingConfig', class: Google::Apis::TranscoderV1::PreprocessingConfig, decorator: Google::Apis::TranscoderV1::PreprocessingConfig::Representation
727741

728742
property :uri, as: 'uri'
729743
end
730744
end
731745

746+
class InputAttributes
747+
# @private
748+
class Representation < Google::Apis::Core::JsonRepresentation
749+
collection :track_definitions, as: 'trackDefinitions', class: Google::Apis::TranscoderV1::TrackDefinition, decorator: Google::Apis::TranscoderV1::TrackDefinition::Representation
750+
751+
end
752+
end
753+
732754
class Job
733755
# @private
734756
class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,6 +1001,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
9791001
end
9801002
end
9811003

1004+
class TrackDefinition
1005+
# @private
1006+
class Representation < Google::Apis::Core::JsonRepresentation
1007+
property :detect_languages, as: 'detectLanguages'
1008+
collection :detected_languages, as: 'detectedLanguages'
1009+
property :input_track, as: 'inputTrack'
1010+
collection :languages, as: 'languages'
1011+
end
1012+
end
1013+
9821014
class VideoStream
9831015
# @private
9841016
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)