google-apis-transcoder_v1 0.19.0 → 0.21.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: 0eeeff7a5b6f7d4bddb359836fb39b9c15a7f14c3cc155141b99a531b3d6ad97
4
- data.tar.gz: 55f431b223f58ddbeb670482ced2b902c4fef465bc46a2417989f50f2d3f856c
3
+ metadata.gz: 99cb31c0f5ae145fc47349632b474f3704eadd5d2ada9ec460a6a9f9c95571b7
4
+ data.tar.gz: 3d73bfa4ac696278724ed678324b3c1b6261d6fb23b514e281e28234f01005ef
5
5
  SHA512:
6
- metadata.gz: b36bd934d75136886148829243ca4d9e393bcc00f710d7fa4af2a0f1e3746cf91a130fe5674b6c33e574263892ec83d1682dbc0bb1b2282dec8017dea2d671b8
7
- data.tar.gz: 5485993c09bec10a78a68aba8f207d222dfb3ce35326a038f75f5684d53b8d9a1b500b873bd7a8f5cf314ceee88ceed655ad5414f0b05e7e52dc99ced7c29e04
6
+ metadata.gz: f6d94668cc9904ab1c774318832fd8cf463ac2753f2bcac79984f3180c2f0b551222a10801be8defd331f77b26050b988d394dc199a7c0c2d70f6f7fa2d1e2b2
7
+ data.tar.gz: 5758a83643a6ce96588174c527088e8d5ae4d1effdf17b3b9062919593b7253f8a4c160a9d16efadaf2125c1d715bc8ccd64407ed3f680df82ff70177e412870
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-transcoder_v1
2
2
 
3
+ ### v0.21.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230906
6
+
7
+ ### v0.20.0 (2023-07-23)
8
+
9
+ * Regenerated from discovery document revision 20230712
10
+
3
11
  ### v0.19.0 (2023-07-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230621
@@ -59,7 +59,7 @@ module Google
59
59
  class Animation
60
60
  include Google::Apis::Core::Hashable
61
61
 
62
- # End previous overlay animation from the video. Without AnimationEnd, the
62
+ # End previous overlay animation from the video. Without `AnimationEnd`, the
63
63
  # overlay object will keep the state of previous animation until the end of the
64
64
  # video.
65
65
  # Corresponds to the JSON property `animationEnd`
@@ -88,7 +88,7 @@ module Google
88
88
  end
89
89
  end
90
90
 
91
- # End previous overlay animation from the video. Without AnimationEnd, the
91
+ # End previous overlay animation from the video. Without `AnimationEnd`, the
92
92
  # overlay object will keep the state of previous animation until the end of the
93
93
  # video.
94
94
  class AnimationEnd
@@ -213,12 +213,12 @@ module Google
213
213
  end
214
214
  end
215
215
 
216
- # The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
216
+ # The mapping for the JobConfig.edit_list atoms with audio EditAtom.inputs.
217
217
  class AudioMapping
218
218
  include Google::Apis::Core::Hashable
219
219
 
220
- # Required. The `EditAtom.key` that references the atom with audio inputs in the
221
- # `Job.edit_list`.
220
+ # Required. The EditAtom.key that references the atom with audio inputs in the
221
+ # JobConfig.edit_list.
222
222
  # Corresponds to the JSON property `atomKey`
223
223
  # @return [String]
224
224
  attr_accessor :atom_key
@@ -234,7 +234,7 @@ module Google
234
234
  # @return [Fixnum]
235
235
  attr_accessor :input_channel
236
236
 
237
- # Required. The `Input.key` that identifies the input file.
237
+ # Required. The Input.key that identifies the input file.
238
238
  # Corresponds to the JSON property `inputKey`
239
239
  # @return [String]
240
240
  attr_accessor :input_key
@@ -307,7 +307,7 @@ module Google
307
307
  # @return [String]
308
308
  attr_accessor :language_code
309
309
 
310
- # The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
310
+ # The mapping for the JobConfig.edit_list atoms with audio EditAtom.inputs.
311
311
  # Corresponds to the JSON property `mapping`
312
312
  # @return [Array<Google::Apis::TranscoderV1::AudioMapping>]
313
313
  attr_accessor :mapping
@@ -466,7 +466,7 @@ module Google
466
466
  include Google::Apis::Core::Hashable
467
467
 
468
468
  # The segment reference scheme for a `DASH` manifest. The default is `
469
- # SEGMENT_LIST`
469
+ # SEGMENT_LIST`.
470
470
  # Corresponds to the JSON property `segmentReferenceScheme`
471
471
  # @return [String]
472
472
  attr_accessor :segment_reference_scheme
@@ -610,8 +610,8 @@ module Google
610
610
  # @return [String]
611
611
  attr_accessor :end_time_offset
612
612
 
613
- # List of `Input.key`s identifying files that should be used in this atom. The
614
- # listed `inputs` must have the same timeline.
613
+ # List of Input.key values identifying files that should be used in this atom.
614
+ # The listed `inputs` must have the same timeline.
615
615
  # Corresponds to the JSON property `inputs`
616
616
  # @return [Array<String>]
617
617
  attr_accessor :inputs
@@ -757,6 +757,27 @@ module Google
757
757
  end
758
758
  end
759
759
 
760
+ # `fmp4` container configuration.
761
+ class Fmp4Config
762
+ include Google::Apis::Core::Hashable
763
+
764
+ # Optional. Specify the codec tag string that will be used in the media
765
+ # bitstream. When not specified, the codec appropriate value is used. Supported
766
+ # H265 codec tags: - `hvc1` (default) - `hev1`
767
+ # Corresponds to the JSON property `codecTag`
768
+ # @return [String]
769
+ attr_accessor :codec_tag
770
+
771
+ def initialize(**args)
772
+ update!(**args)
773
+ end
774
+
775
+ # Update properties of this object
776
+ def update!(**args)
777
+ @codec_tag = args[:codec_tag] if args.key?(:codec_tag)
778
+ end
779
+ end
780
+
760
781
  # H264 codec settings.
761
782
  class H264CodecSettings
762
783
  include Google::Apis::Core::Hashable
@@ -776,7 +797,7 @@ module Google
776
797
  attr_accessor :aq_strength
777
798
 
778
799
  # The number of consecutive B-frames. Must be greater than or equal to zero.
779
- # Must be less than `VideoStream.gop_frame_count` if set. The default is 0.
800
+ # Must be less than H264CodecSettings.gop_frame_count if set. The default is 0.
780
801
  # Corresponds to the JSON property `bFrameCount`
781
802
  # @return [Fixnum]
782
803
  attr_accessor :b_frame_count
@@ -800,8 +821,8 @@ module Google
800
821
  # @return [Fixnum]
801
822
  attr_accessor :crf_level
802
823
 
803
- # Use two-pass encoding strategy to achieve better video quality. `VideoStream.
804
- # rate_control_mode` must be `vbr`. The default is `false`.
824
+ # Use two-pass encoding strategy to achieve better video quality.
825
+ # H264CodecSettings.rate_control_mode must be `vbr`. The default is `false`.
805
826
  # Corresponds to the JSON property `enableTwoPass`
806
827
  # @return [Boolean]
807
828
  attr_accessor :enable_two_pass
@@ -874,8 +895,8 @@ module Google
874
895
  # @return [String]
875
896
  attr_accessor :profile
876
897
 
877
- # Specify the `rate_control_mode`. The default is `vbr`. Supported rate control
878
- # modes: - `vbr` - variable bitrate - `crf` - constant rate factor
898
+ # Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` -
899
+ # variable bitrate - `crf` - constant rate factor
879
900
  # Corresponds to the JSON property `rateControlMode`
880
901
  # @return [String]
881
902
  attr_accessor :rate_control_mode
@@ -889,13 +910,14 @@ module Google
889
910
  attr_accessor :tune
890
911
 
891
912
  # Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be
892
- # greater than zero. The default is equal to 90% of `VideoStream.vbv_size_bits`.
913
+ # greater than zero. The default is equal to 90% of H264CodecSettings.
914
+ # vbv_size_bits.
893
915
  # Corresponds to the JSON property `vbvFullnessBits`
894
916
  # @return [Fixnum]
895
917
  attr_accessor :vbv_fullness_bits
896
918
 
897
919
  # Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater
898
- # than zero. The default is equal to `VideoStream.bitrate_bps`.
920
+ # than zero. The default is equal to H264CodecSettings.bitrate_bps.
899
921
  # Corresponds to the JSON property `vbvSizeBits`
900
922
  # @return [Fixnum]
901
923
  attr_accessor :vbv_size_bits
@@ -959,7 +981,7 @@ module Google
959
981
  attr_accessor :aq_strength
960
982
 
961
983
  # The number of consecutive B-frames. Must be greater than or equal to zero.
962
- # Must be less than `VideoStream.gop_frame_count` if set. The default is 0.
984
+ # Must be less than H265CodecSettings.gop_frame_count if set. The default is 0.
963
985
  # Corresponds to the JSON property `bFrameCount`
964
986
  # @return [Fixnum]
965
987
  attr_accessor :b_frame_count
@@ -983,8 +1005,8 @@ module Google
983
1005
  # @return [Fixnum]
984
1006
  attr_accessor :crf_level
985
1007
 
986
- # Use two-pass encoding strategy to achieve better video quality. `VideoStream.
987
- # rate_control_mode` must be `vbr`. The default is `false`.
1008
+ # Use two-pass encoding strategy to achieve better video quality.
1009
+ # H265CodecSettings.rate_control_mode must be `vbr`. The default is `false`.
988
1010
  # Corresponds to the JSON property `enableTwoPass`
989
1011
  # @return [Boolean]
990
1012
  attr_accessor :enable_two_pass
@@ -1054,8 +1076,8 @@ module Google
1054
1076
  # @return [String]
1055
1077
  attr_accessor :profile
1056
1078
 
1057
- # Specify the `rate_control_mode`. The default is `vbr`. Supported rate control
1058
- # modes: - `vbr` - variable bitrate - `crf` - constant rate factor
1079
+ # Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` -
1080
+ # variable bitrate - `crf` - constant rate factor
1059
1081
  # Corresponds to the JSON property `rateControlMode`
1060
1082
  # @return [String]
1061
1083
  attr_accessor :rate_control_mode
@@ -1069,7 +1091,8 @@ module Google
1069
1091
  attr_accessor :tune
1070
1092
 
1071
1093
  # Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be
1072
- # greater than zero. The default is equal to 90% of `VideoStream.vbv_size_bits`.
1094
+ # greater than zero. The default is equal to 90% of H265CodecSettings.
1095
+ # vbv_size_bits.
1073
1096
  # Corresponds to the JSON property `vbvFullnessBits`
1074
1097
  # @return [Fixnum]
1075
1098
  attr_accessor :vbv_fullness_bits
@@ -1169,7 +1192,7 @@ module Google
1169
1192
 
1170
1193
  # URI of the media. Input files must be at least 5 seconds in duration and
1171
1194
  # stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). If empty,
1172
- # the value is populated from `Job.input_uri`. See [Supported input and output
1195
+ # the value is populated from Job.input_uri. See [Supported input and output
1173
1196
  # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-
1174
1197
  # output-formats).
1175
1198
  # Corresponds to the JSON property `uri`
@@ -1193,7 +1216,7 @@ module Google
1193
1216
  include Google::Apis::Core::Hashable
1194
1217
 
1195
1218
  # The processing priority of a batch job. This field can only be set for batch
1196
- # mode jobs, and the default value is 0. This value cannot be negative. Higher
1219
+ # mode jobs. The default value is 0. This value cannot be negative. Higher
1197
1220
  # values correspond to higher priorities for the job.
1198
1221
  # Corresponds to the JSON property `batchModePriority`
1199
1222
  # @return [Fixnum]
@@ -1323,7 +1346,7 @@ module Google
1323
1346
  # @return [Array<Google::Apis::TranscoderV1::AdBreak>]
1324
1347
  attr_accessor :ad_breaks
1325
1348
 
1326
- # List of `Edit atom`s. Defines the ultimate timeline of the resulting file or
1349
+ # List of edit atoms. Defines the ultimate timeline of the resulting file or
1327
1350
  # manifest.
1328
1351
  # Corresponds to the JSON property `editList`
1329
1352
  # @return [Array<Google::Apis::TranscoderV1::EditAtom>]
@@ -1502,15 +1525,14 @@ module Google
1502
1525
  attr_accessor :dash
1503
1526
 
1504
1527
  # The name of the generated file. The default is `manifest` with the extension
1505
- # suffix corresponding to the `Manifest.type`.
1528
+ # suffix corresponding to the Manifest.type.
1506
1529
  # Corresponds to the JSON property `fileName`
1507
1530
  # @return [String]
1508
1531
  attr_accessor :file_name
1509
1532
 
1510
- # Required. List of user given `MuxStream.key`s that should appear in this
1511
- # manifest. When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.
1512
- # key` and `.m3u8` extension is generated for each element of the `Manifest.
1513
- # mux_streams`.
1533
+ # Required. List of user supplied MuxStream.key values that should appear in
1534
+ # this manifest. When Manifest.type is `HLS`, a media manifest with name
1535
+ # MuxStream.key and `.m3u8` extension is generated for each element in this list.
1514
1536
  # Corresponds to the JSON property `muxStreams`
1515
1537
  # @return [Array<String>]
1516
1538
  attr_accessor :mux_streams
@@ -1565,7 +1587,7 @@ module Google
1565
1587
  # @return [String]
1566
1588
  attr_accessor :container
1567
1589
 
1568
- # List of `ElementaryStream.key`s multiplexed in this stream.
1590
+ # List of ElementaryStream.key values multiplexed in this stream.
1569
1591
  # Corresponds to the JSON property `elementaryStreams`
1570
1592
  # @return [Array<String>]
1571
1593
  attr_accessor :elementary_streams
@@ -1576,16 +1598,20 @@ module Google
1576
1598
  # @return [String]
1577
1599
  attr_accessor :encryption_id
1578
1600
 
1579
- # The name of the generated file. The default is `MuxStream.key` with the
1580
- # extension suffix corresponding to the `MuxStream.container`. Individual
1581
- # segments also have an incremental 10-digit zero-padded suffix starting from 0
1582
- # before the extension, such as `mux_stream0000000123.ts`.
1601
+ # The name of the generated file. The default is MuxStream.key with the
1602
+ # extension suffix corresponding to the MuxStream.container. Individual segments
1603
+ # also have an incremental 10-digit zero-padded suffix starting from 0 before
1604
+ # the extension, such as `mux_stream0000000123.ts`.
1583
1605
  # Corresponds to the JSON property `fileName`
1584
1606
  # @return [String]
1585
1607
  attr_accessor :file_name
1586
1608
 
1587
- # A unique key for this multiplexed stream. HLS media manifests will be named `
1588
- # MuxStream.key` with the `.m3u8` extension suffix.
1609
+ # `fmp4` container configuration.
1610
+ # Corresponds to the JSON property `fmp4`
1611
+ # @return [Google::Apis::TranscoderV1::Fmp4Config]
1612
+ attr_accessor :fmp4
1613
+
1614
+ # A unique key for this multiplexed stream.
1589
1615
  # Corresponds to the JSON property `key`
1590
1616
  # @return [String]
1591
1617
  attr_accessor :key
@@ -1605,6 +1631,7 @@ module Google
1605
1631
  @elementary_streams = args[:elementary_streams] if args.key?(:elementary_streams)
1606
1632
  @encryption_id = args[:encryption_id] if args.key?(:encryption_id)
1607
1633
  @file_name = args[:file_name] if args.key?(:file_name)
1634
+ @fmp4 = args[:fmp4] if args.key?(:fmp4)
1608
1635
  @key = args[:key] if args.key?(:key)
1609
1636
  @segment_settings = args[:segment_settings] if args.key?(:segment_settings)
1610
1637
  end
@@ -1640,7 +1667,7 @@ module Google
1640
1667
  include Google::Apis::Core::Hashable
1641
1668
 
1642
1669
  # URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty,
1643
- # the value is populated from `Job.output_uri`. See [Supported input and output
1670
+ # the value is populated from Job.output_uri. See [Supported input and output
1644
1671
  # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-
1645
1672
  # output-formats).
1646
1673
  # Corresponds to the JSON property `uri`
@@ -1661,7 +1688,7 @@ module Google
1661
1688
  class Overlay
1662
1689
  include Google::Apis::Core::Hashable
1663
1690
 
1664
- # List of Animations. The list should be chronological, without any time overlap.
1691
+ # List of animations. The list should be chronological, without any time overlap.
1665
1692
  # Corresponds to the JSON property `animations`
1666
1693
  # @return [Array<Google::Apis::TranscoderV1::Animation>]
1667
1694
  attr_accessor :animations
@@ -2020,17 +2047,17 @@ module Google
2020
2047
  end
2021
2048
  end
2022
2049
 
2023
- # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
2050
+ # The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
2024
2051
  class TextMapping
2025
2052
  include Google::Apis::Core::Hashable
2026
2053
 
2027
- # Required. The `EditAtom.key` that references atom with text inputs in the `Job.
2028
- # edit_list`.
2054
+ # Required. The EditAtom.key that references atom with text inputs in the
2055
+ # JobConfig.edit_list.
2029
2056
  # Corresponds to the JSON property `atomKey`
2030
2057
  # @return [String]
2031
2058
  attr_accessor :atom_key
2032
2059
 
2033
- # Required. The `Input.key` that identifies the input file.
2060
+ # Required. The Input.key that identifies the input file.
2034
2061
  # Corresponds to the JSON property `inputKey`
2035
2062
  # @return [String]
2036
2063
  attr_accessor :input_key
@@ -2075,7 +2102,7 @@ module Google
2075
2102
  # @return [String]
2076
2103
  attr_accessor :language_code
2077
2104
 
2078
- # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
2105
+ # The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
2079
2106
  # Corresponds to the JSON property `mapping`
2080
2107
  # @return [Array<Google::Apis::TranscoderV1::TextMapping>]
2081
2108
  attr_accessor :mapping
@@ -2194,8 +2221,8 @@ module Google
2194
2221
  # @return [String]
2195
2222
  attr_accessor :profile
2196
2223
 
2197
- # Specify the `rate_control_mode`. The default is `vbr`. Supported rate control
2198
- # modes: - `vbr` - variable bitrate
2224
+ # Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` -
2225
+ # variable bitrate
2199
2226
  # Corresponds to the JSON property `rateControlMode`
2200
2227
  # @return [String]
2201
2228
  attr_accessor :rate_control_mode
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TranscoderV1
18
18
  # Version of the google-apis-transcoder_v1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230621"
25
+ REVISION = "20230906"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class Fmp4Config
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class H264CodecSettings
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -561,6 +567,13 @@ module Google
561
567
  end
562
568
  end
563
569
 
570
+ class Fmp4Config
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :codec_tag, as: 'codecTag'
574
+ end
575
+ end
576
+
564
577
  class H264CodecSettings
565
578
  # @private
566
579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -738,6 +751,8 @@ module Google
738
751
  collection :elementary_streams, as: 'elementaryStreams'
739
752
  property :encryption_id, as: 'encryptionId'
740
753
  property :file_name, as: 'fileName'
754
+ property :fmp4, as: 'fmp4', class: Google::Apis::TranscoderV1::Fmp4Config, decorator: Google::Apis::TranscoderV1::Fmp4Config::Representation
755
+
741
756
  property :key, as: 'key'
742
757
  property :segment_settings, as: 'segmentSettings', class: Google::Apis::TranscoderV1::SegmentSettings, decorator: Google::Apis::TranscoderV1::SegmentSettings::Representation
743
758
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-transcoder_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.21.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: 2023-07-02 00:00:00.000000000 Z
11
+ date: 2023-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-transcoder_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-transcoder_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Transcoder API V1