google-apis-transcoder_v1 0.18.0 → 0.20.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: 4ec7ccd1a713d324f58fd83e4952911a3ff5b565ef87178f5237825b41726d36
4
- data.tar.gz: 2b7ddca6c0d0c7b452f1951a37642a5afb7d04d79bcc44a1421d355df62abf28
3
+ metadata.gz: 60d78a1fea51730e52b7216df66cbf80308182d3eefc39f528956765ca933afd
4
+ data.tar.gz: 6a215e67be7899f3505f296700cf6a8d904e5a9ffe334f58d9145304da5b0b28
5
5
  SHA512:
6
- metadata.gz: 522ec88994cc73a200d0c364a78388ef870bc43888ad27f061d69db5099f463cfec0d022073cc78495c9ee785a35320280a46f17212d9b6cc772f5254fed0847
7
- data.tar.gz: 3eab6b2647d572a48d98bd1ccaeb6fda091ac02f1f0515bbbd08a5c56740598ff9bdd227a8eb7142c8173750cb4e1cfcabb454537e0844634dfdfd68c3d367f6
6
+ metadata.gz: 2b222fd10f4d8200d1ff4a4ad11619195986164ff40628bc11f336340b237d4b2d1e0955cd7493e45ed5f6f6679578226fe339077ccb3d58de036f9f7f2dfbd6
7
+ data.tar.gz: 9f6b5123ccf195da55f8f3ebf7d4a10968ef6a3f0e771caebc69a04ea4d54afcb4eee9e158b49eaf46c9b0f71041e4f5d33024b32ce56d74857dba12d31d4fcc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-transcoder_v1
2
2
 
3
+ ### v0.20.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230712
6
+
7
+ ### v0.19.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230621
10
+
3
11
  ### v0.18.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230607
@@ -42,11 +42,24 @@ module Google
42
42
  end
43
43
  end
44
44
 
45
+ # Configuration for AES-128 encryption.
46
+ class Aes128Encryption
47
+ include Google::Apis::Core::Hashable
48
+
49
+ def initialize(**args)
50
+ update!(**args)
51
+ end
52
+
53
+ # Update properties of this object
54
+ def update!(**args)
55
+ end
56
+ end
57
+
45
58
  # Animation types.
46
59
  class Animation
47
60
  include Google::Apis::Core::Hashable
48
61
 
49
- # End previous overlay animation from the video. Without AnimationEnd, the
62
+ # End previous overlay animation from the video. Without `AnimationEnd`, the
50
63
  # overlay object will keep the state of previous animation until the end of the
51
64
  # video.
52
65
  # Corresponds to the JSON property `animationEnd`
@@ -75,7 +88,7 @@ module Google
75
88
  end
76
89
  end
77
90
 
78
- # End previous overlay animation from the video. Without AnimationEnd, the
91
+ # End previous overlay animation from the video. Without `AnimationEnd`, the
79
92
  # overlay object will keep the state of previous animation until the end of the
80
93
  # video.
81
94
  class AnimationEnd
@@ -200,12 +213,12 @@ module Google
200
213
  end
201
214
  end
202
215
 
203
- # 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.
204
217
  class AudioMapping
205
218
  include Google::Apis::Core::Hashable
206
219
 
207
- # Required. The `EditAtom.key` that references the atom with audio inputs in the
208
- # `Job.edit_list`.
220
+ # Required. The EditAtom.key that references the atom with audio inputs in the
221
+ # JobConfig.edit_list.
209
222
  # Corresponds to the JSON property `atomKey`
210
223
  # @return [String]
211
224
  attr_accessor :atom_key
@@ -221,7 +234,7 @@ module Google
221
234
  # @return [Fixnum]
222
235
  attr_accessor :input_channel
223
236
 
224
- # Required. The `Input.key` that identifies the input file.
237
+ # Required. The Input.key that identifies the input file.
225
238
  # Corresponds to the JSON property `inputKey`
226
239
  # @return [String]
227
240
  attr_accessor :input_key
@@ -294,7 +307,7 @@ module Google
294
307
  # @return [String]
295
308
  attr_accessor :language_code
296
309
 
297
- # 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.
298
311
  # Corresponds to the JSON property `mapping`
299
312
  # @return [Array<Google::Apis::TranscoderV1::AudioMapping>]
300
313
  attr_accessor :mapping
@@ -359,6 +372,19 @@ module Google
359
372
  end
360
373
  end
361
374
 
375
+ # Clearkey configuration.
376
+ class Clearkey
377
+ include Google::Apis::Core::Hashable
378
+
379
+ def initialize(**args)
380
+ update!(**args)
381
+ end
382
+
383
+ # Update properties of this object
384
+ def update!(**args)
385
+ end
386
+ end
387
+
362
388
  # Color preprocessing configuration. **Note:** This configuration is not
363
389
  # supported.
364
390
  class Color
@@ -440,7 +466,7 @@ module Google
440
466
  include Google::Apis::Core::Hashable
441
467
 
442
468
  # The segment reference scheme for a `DASH` manifest. The default is `
443
- # SEGMENT_LIST`
469
+ # SEGMENT_LIST`.
444
470
  # Corresponds to the JSON property `segmentReferenceScheme`
445
471
  # @return [String]
446
472
  attr_accessor :segment_reference_scheme
@@ -536,6 +562,43 @@ module Google
536
562
  end
537
563
  end
538
564
 
565
+ # Defines configuration for DRM systems in use.
566
+ class DrmSystems
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # Clearkey configuration.
570
+ # Corresponds to the JSON property `clearkey`
571
+ # @return [Google::Apis::TranscoderV1::Clearkey]
572
+ attr_accessor :clearkey
573
+
574
+ # Fairplay configuration.
575
+ # Corresponds to the JSON property `fairplay`
576
+ # @return [Google::Apis::TranscoderV1::Fairplay]
577
+ attr_accessor :fairplay
578
+
579
+ # Playready configuration.
580
+ # Corresponds to the JSON property `playready`
581
+ # @return [Google::Apis::TranscoderV1::Playready]
582
+ attr_accessor :playready
583
+
584
+ # Widevine configuration.
585
+ # Corresponds to the JSON property `widevine`
586
+ # @return [Google::Apis::TranscoderV1::Widevine]
587
+ attr_accessor :widevine
588
+
589
+ def initialize(**args)
590
+ update!(**args)
591
+ end
592
+
593
+ # Update properties of this object
594
+ def update!(**args)
595
+ @clearkey = args[:clearkey] if args.key?(:clearkey)
596
+ @fairplay = args[:fairplay] if args.key?(:fairplay)
597
+ @playready = args[:playready] if args.key?(:playready)
598
+ @widevine = args[:widevine] if args.key?(:widevine)
599
+ end
600
+ end
601
+
539
602
  # Edit atom.
540
603
  class EditAtom
541
604
  include Google::Apis::Core::Hashable
@@ -547,8 +610,8 @@ module Google
547
610
  # @return [String]
548
611
  attr_accessor :end_time_offset
549
612
 
550
- # List of `Input.key`s identifying files that should be used in this atom. The
551
- # 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.
552
615
  # Corresponds to the JSON property `inputs`
553
616
  # @return [Array<String>]
554
617
  attr_accessor :inputs
@@ -632,6 +695,68 @@ module Google
632
695
  end
633
696
  end
634
697
 
698
+ # Encryption settings.
699
+ class Encryption
700
+ include Google::Apis::Core::Hashable
701
+
702
+ # Configuration for AES-128 encryption.
703
+ # Corresponds to the JSON property `aes128`
704
+ # @return [Google::Apis::TranscoderV1::Aes128Encryption]
705
+ attr_accessor :aes128
706
+
707
+ # Defines configuration for DRM systems in use.
708
+ # Corresponds to the JSON property `drmSystems`
709
+ # @return [Google::Apis::TranscoderV1::DrmSystems]
710
+ attr_accessor :drm_systems
711
+
712
+ # Required. Identifier for this set of encryption options.
713
+ # Corresponds to the JSON property `id`
714
+ # @return [String]
715
+ attr_accessor :id
716
+
717
+ # Configuration for MPEG Common Encryption (MPEG-CENC).
718
+ # Corresponds to the JSON property `mpegCenc`
719
+ # @return [Google::Apis::TranscoderV1::MpegCommonEncryption]
720
+ attr_accessor :mpeg_cenc
721
+
722
+ # Configuration for SAMPLE-AES encryption.
723
+ # Corresponds to the JSON property `sampleAes`
724
+ # @return [Google::Apis::TranscoderV1::SampleAesEncryption]
725
+ attr_accessor :sample_aes
726
+
727
+ # Configuration for secrets stored in Google Secret Manager.
728
+ # Corresponds to the JSON property `secretManagerKeySource`
729
+ # @return [Google::Apis::TranscoderV1::SecretManagerSource]
730
+ attr_accessor :secret_manager_key_source
731
+
732
+ def initialize(**args)
733
+ update!(**args)
734
+ end
735
+
736
+ # Update properties of this object
737
+ def update!(**args)
738
+ @aes128 = args[:aes128] if args.key?(:aes128)
739
+ @drm_systems = args[:drm_systems] if args.key?(:drm_systems)
740
+ @id = args[:id] if args.key?(:id)
741
+ @mpeg_cenc = args[:mpeg_cenc] if args.key?(:mpeg_cenc)
742
+ @sample_aes = args[:sample_aes] if args.key?(:sample_aes)
743
+ @secret_manager_key_source = args[:secret_manager_key_source] if args.key?(:secret_manager_key_source)
744
+ end
745
+ end
746
+
747
+ # Fairplay configuration.
748
+ class Fairplay
749
+ include Google::Apis::Core::Hashable
750
+
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
754
+
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ end
758
+ end
759
+
635
760
  # H264 codec settings.
636
761
  class H264CodecSettings
637
762
  include Google::Apis::Core::Hashable
@@ -651,7 +776,7 @@ module Google
651
776
  attr_accessor :aq_strength
652
777
 
653
778
  # The number of consecutive B-frames. Must be greater than or equal to zero.
654
- # Must be less than `VideoStream.gop_frame_count` if set. The default is 0.
779
+ # Must be less than H264CodecSettings.gop_frame_count if set. The default is 0.
655
780
  # Corresponds to the JSON property `bFrameCount`
656
781
  # @return [Fixnum]
657
782
  attr_accessor :b_frame_count
@@ -675,8 +800,8 @@ module Google
675
800
  # @return [Fixnum]
676
801
  attr_accessor :crf_level
677
802
 
678
- # Use two-pass encoding strategy to achieve better video quality. `VideoStream.
679
- # rate_control_mode` must be `vbr`. The default is `false`.
803
+ # Use two-pass encoding strategy to achieve better video quality.
804
+ # H264CodecSettings.rate_control_mode must be `vbr`. The default is `false`.
680
805
  # Corresponds to the JSON property `enableTwoPass`
681
806
  # @return [Boolean]
682
807
  attr_accessor :enable_two_pass
@@ -749,8 +874,8 @@ module Google
749
874
  # @return [String]
750
875
  attr_accessor :profile
751
876
 
752
- # Specify the `rate_control_mode`. The default is `vbr`. Supported rate control
753
- # modes: - `vbr` - variable bitrate - `crf` - constant rate factor
877
+ # Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` -
878
+ # variable bitrate - `crf` - constant rate factor
754
879
  # Corresponds to the JSON property `rateControlMode`
755
880
  # @return [String]
756
881
  attr_accessor :rate_control_mode
@@ -764,13 +889,14 @@ module Google
764
889
  attr_accessor :tune
765
890
 
766
891
  # Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be
767
- # greater than zero. The default is equal to 90% of `VideoStream.vbv_size_bits`.
892
+ # greater than zero. The default is equal to 90% of H264CodecSettings.
893
+ # vbv_size_bits.
768
894
  # Corresponds to the JSON property `vbvFullnessBits`
769
895
  # @return [Fixnum]
770
896
  attr_accessor :vbv_fullness_bits
771
897
 
772
898
  # Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater
773
- # than zero. The default is equal to `VideoStream.bitrate_bps`.
899
+ # than zero. The default is equal to H264CodecSettings.bitrate_bps.
774
900
  # Corresponds to the JSON property `vbvSizeBits`
775
901
  # @return [Fixnum]
776
902
  attr_accessor :vbv_size_bits
@@ -834,7 +960,7 @@ module Google
834
960
  attr_accessor :aq_strength
835
961
 
836
962
  # The number of consecutive B-frames. Must be greater than or equal to zero.
837
- # Must be less than `VideoStream.gop_frame_count` if set. The default is 0.
963
+ # Must be less than H265CodecSettings.gop_frame_count if set. The default is 0.
838
964
  # Corresponds to the JSON property `bFrameCount`
839
965
  # @return [Fixnum]
840
966
  attr_accessor :b_frame_count
@@ -858,8 +984,8 @@ module Google
858
984
  # @return [Fixnum]
859
985
  attr_accessor :crf_level
860
986
 
861
- # Use two-pass encoding strategy to achieve better video quality. `VideoStream.
862
- # rate_control_mode` must be `vbr`. The default is `false`.
987
+ # Use two-pass encoding strategy to achieve better video quality.
988
+ # H265CodecSettings.rate_control_mode must be `vbr`. The default is `false`.
863
989
  # Corresponds to the JSON property `enableTwoPass`
864
990
  # @return [Boolean]
865
991
  attr_accessor :enable_two_pass
@@ -929,8 +1055,8 @@ module Google
929
1055
  # @return [String]
930
1056
  attr_accessor :profile
931
1057
 
932
- # Specify the `rate_control_mode`. The default is `vbr`. Supported rate control
933
- # modes: - `vbr` - variable bitrate - `crf` - constant rate factor
1058
+ # Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` -
1059
+ # variable bitrate - `crf` - constant rate factor
934
1060
  # Corresponds to the JSON property `rateControlMode`
935
1061
  # @return [String]
936
1062
  attr_accessor :rate_control_mode
@@ -944,7 +1070,8 @@ module Google
944
1070
  attr_accessor :tune
945
1071
 
946
1072
  # Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be
947
- # greater than zero. The default is equal to 90% of `VideoStream.vbv_size_bits`.
1073
+ # greater than zero. The default is equal to 90% of H265CodecSettings.
1074
+ # vbv_size_bits.
948
1075
  # Corresponds to the JSON property `vbvFullnessBits`
949
1076
  # @return [Fixnum]
950
1077
  attr_accessor :vbv_fullness_bits
@@ -1044,7 +1171,7 @@ module Google
1044
1171
 
1045
1172
  # URI of the media. Input files must be at least 5 seconds in duration and
1046
1173
  # stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). If empty,
1047
- # the value is populated from `Job.input_uri`. See [Supported input and output
1174
+ # the value is populated from Job.input_uri. See [Supported input and output
1048
1175
  # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-
1049
1176
  # output-formats).
1050
1177
  # Corresponds to the JSON property `uri`
@@ -1067,6 +1194,13 @@ module Google
1067
1194
  class Job
1068
1195
  include Google::Apis::Core::Hashable
1069
1196
 
1197
+ # The processing priority of a batch job. This field can only be set for batch
1198
+ # mode jobs. The default value is 0. This value cannot be negative. Higher
1199
+ # values correspond to higher priorities for the job.
1200
+ # Corresponds to the JSON property `batchModePriority`
1201
+ # @return [Fixnum]
1202
+ attr_accessor :batch_mode_priority
1203
+
1070
1204
  # Job configuration
1071
1205
  # Corresponds to the JSON property `config`
1072
1206
  # @return [Google::Apis::TranscoderV1::JobConfig]
@@ -1119,6 +1253,11 @@ module Google
1119
1253
  # @return [String]
1120
1254
  attr_accessor :name
1121
1255
 
1256
+ # Optional. The optimization strategy of the job. The default is `AUTODETECT`.
1257
+ # Corresponds to the JSON property `optimization`
1258
+ # @return [String]
1259
+ attr_accessor :optimization
1260
+
1122
1261
  # Input only. Specify the `output_uri` to populate an empty `Job.config.output.
1123
1262
  # uri` or `JobTemplate.config.output.uri` when using template. URI for the
1124
1263
  # output file(s). For example, `gs://my-bucket/outputs/`. See [Supported input
@@ -1158,6 +1297,7 @@ module Google
1158
1297
 
1159
1298
  # Update properties of this object
1160
1299
  def update!(**args)
1300
+ @batch_mode_priority = args[:batch_mode_priority] if args.key?(:batch_mode_priority)
1161
1301
  @config = args[:config] if args.key?(:config)
1162
1302
  @create_time = args[:create_time] if args.key?(:create_time)
1163
1303
  @end_time = args[:end_time] if args.key?(:end_time)
@@ -1166,6 +1306,7 @@ module Google
1166
1306
  @labels = args[:labels] if args.key?(:labels)
1167
1307
  @mode = args[:mode] if args.key?(:mode)
1168
1308
  @name = args[:name] if args.key?(:name)
1309
+ @optimization = args[:optimization] if args.key?(:optimization)
1169
1310
  @output_uri = args[:output_uri] if args.key?(:output_uri)
1170
1311
  @start_time = args[:start_time] if args.key?(:start_time)
1171
1312
  @state = args[:state] if args.key?(:state)
@@ -1184,7 +1325,7 @@ module Google
1184
1325
  # @return [Array<Google::Apis::TranscoderV1::AdBreak>]
1185
1326
  attr_accessor :ad_breaks
1186
1327
 
1187
- # List of `Edit atom`s. Defines the ultimate timeline of the resulting file or
1328
+ # List of edit atoms. Defines the ultimate timeline of the resulting file or
1188
1329
  # manifest.
1189
1330
  # Corresponds to the JSON property `editList`
1190
1331
  # @return [Array<Google::Apis::TranscoderV1::EditAtom>]
@@ -1195,6 +1336,13 @@ module Google
1195
1336
  # @return [Array<Google::Apis::TranscoderV1::ElementaryStream>]
1196
1337
  attr_accessor :elementary_streams
1197
1338
 
1339
+ # List of encryption configurations for the content. Each configuration has an
1340
+ # ID. Specify this ID in the MuxStream.encryption_id field to indicate the
1341
+ # configuration to use for that `MuxStream` output.
1342
+ # Corresponds to the JSON property `encryptions`
1343
+ # @return [Array<Google::Apis::TranscoderV1::Encryption>]
1344
+ attr_accessor :encryptions
1345
+
1198
1346
  # List of input assets stored in Cloud Storage.
1199
1347
  # Corresponds to the JSON property `inputs`
1200
1348
  # @return [Array<Google::Apis::TranscoderV1::Input>]
@@ -1240,6 +1388,7 @@ module Google
1240
1388
  @ad_breaks = args[:ad_breaks] if args.key?(:ad_breaks)
1241
1389
  @edit_list = args[:edit_list] if args.key?(:edit_list)
1242
1390
  @elementary_streams = args[:elementary_streams] if args.key?(:elementary_streams)
1391
+ @encryptions = args[:encryptions] if args.key?(:encryptions)
1243
1392
  @inputs = args[:inputs] if args.key?(:inputs)
1244
1393
  @manifests = args[:manifests] if args.key?(:manifests)
1245
1394
  @mux_streams = args[:mux_streams] if args.key?(:mux_streams)
@@ -1355,15 +1504,14 @@ module Google
1355
1504
  attr_accessor :dash
1356
1505
 
1357
1506
  # The name of the generated file. The default is `manifest` with the extension
1358
- # suffix corresponding to the `Manifest.type`.
1507
+ # suffix corresponding to the Manifest.type.
1359
1508
  # Corresponds to the JSON property `fileName`
1360
1509
  # @return [String]
1361
1510
  attr_accessor :file_name
1362
1511
 
1363
- # Required. List of user given `MuxStream.key`s that should appear in this
1364
- # manifest. When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.
1365
- # key` and `.m3u8` extension is generated for each element of the `Manifest.
1366
- # mux_streams`.
1512
+ # Required. List of user supplied MuxStream.key values that should appear in
1513
+ # this manifest. When Manifest.type is `HLS`, a media manifest with name
1514
+ # MuxStream.key and `.m3u8` extension is generated for each element in this list.
1367
1515
  # Corresponds to the JSON property `muxStreams`
1368
1516
  # @return [Array<String>]
1369
1517
  attr_accessor :mux_streams
@@ -1386,6 +1534,26 @@ module Google
1386
1534
  end
1387
1535
  end
1388
1536
 
1537
+ # Configuration for MPEG Common Encryption (MPEG-CENC).
1538
+ class MpegCommonEncryption
1539
+ include Google::Apis::Core::Hashable
1540
+
1541
+ # Required. Specify the encryption scheme. Supported encryption schemes: - `cenc`
1542
+ # - `cbcs`
1543
+ # Corresponds to the JSON property `scheme`
1544
+ # @return [String]
1545
+ attr_accessor :scheme
1546
+
1547
+ def initialize(**args)
1548
+ update!(**args)
1549
+ end
1550
+
1551
+ # Update properties of this object
1552
+ def update!(**args)
1553
+ @scheme = args[:scheme] if args.key?(:scheme)
1554
+ end
1555
+ end
1556
+
1389
1557
  # Multiplexing settings for output stream.
1390
1558
  class MuxStream
1391
1559
  include Google::Apis::Core::Hashable
@@ -1398,21 +1566,26 @@ module Google
1398
1566
  # @return [String]
1399
1567
  attr_accessor :container
1400
1568
 
1401
- # List of `ElementaryStream.key`s multiplexed in this stream.
1569
+ # List of ElementaryStream.key values multiplexed in this stream.
1402
1570
  # Corresponds to the JSON property `elementaryStreams`
1403
1571
  # @return [Array<String>]
1404
1572
  attr_accessor :elementary_streams
1405
1573
 
1406
- # The name of the generated file. The default is `MuxStream.key` with the
1407
- # extension suffix corresponding to the `MuxStream.container`. Individual
1408
- # segments also have an incremental 10-digit zero-padded suffix starting from 0
1409
- # before the extension, such as `mux_stream0000000123.ts`.
1574
+ # Identifier of the encryption configuration to use. If omitted, output will be
1575
+ # unencrypted.
1576
+ # Corresponds to the JSON property `encryptionId`
1577
+ # @return [String]
1578
+ attr_accessor :encryption_id
1579
+
1580
+ # The name of the generated file. The default is MuxStream.key with the
1581
+ # extension suffix corresponding to the MuxStream.container. Individual segments
1582
+ # also have an incremental 10-digit zero-padded suffix starting from 0 before
1583
+ # the extension, such as `mux_stream0000000123.ts`.
1410
1584
  # Corresponds to the JSON property `fileName`
1411
1585
  # @return [String]
1412
1586
  attr_accessor :file_name
1413
1587
 
1414
- # A unique key for this multiplexed stream. HLS media manifests will be named `
1415
- # MuxStream.key` with the `.m3u8` extension suffix.
1588
+ # A unique key for this multiplexed stream.
1416
1589
  # Corresponds to the JSON property `key`
1417
1590
  # @return [String]
1418
1591
  attr_accessor :key
@@ -1430,6 +1603,7 @@ module Google
1430
1603
  def update!(**args)
1431
1604
  @container = args[:container] if args.key?(:container)
1432
1605
  @elementary_streams = args[:elementary_streams] if args.key?(:elementary_streams)
1606
+ @encryption_id = args[:encryption_id] if args.key?(:encryption_id)
1433
1607
  @file_name = args[:file_name] if args.key?(:file_name)
1434
1608
  @key = args[:key] if args.key?(:key)
1435
1609
  @segment_settings = args[:segment_settings] if args.key?(:segment_settings)
@@ -1466,7 +1640,7 @@ module Google
1466
1640
  include Google::Apis::Core::Hashable
1467
1641
 
1468
1642
  # URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty,
1469
- # the value is populated from `Job.output_uri`. See [Supported input and output
1643
+ # the value is populated from Job.output_uri. See [Supported input and output
1470
1644
  # formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-
1471
1645
  # output-formats).
1472
1646
  # Corresponds to the JSON property `uri`
@@ -1487,7 +1661,7 @@ module Google
1487
1661
  class Overlay
1488
1662
  include Google::Apis::Core::Hashable
1489
1663
 
1490
- # List of Animations. The list should be chronological, without any time overlap.
1664
+ # List of animations. The list should be chronological, without any time overlap.
1491
1665
  # Corresponds to the JSON property `animations`
1492
1666
  # @return [Array<Google::Apis::TranscoderV1::Animation>]
1493
1667
  attr_accessor :animations
@@ -1546,6 +1720,19 @@ module Google
1546
1720
  end
1547
1721
  end
1548
1722
 
1723
+ # Playready configuration.
1724
+ class Playready
1725
+ include Google::Apis::Core::Hashable
1726
+
1727
+ def initialize(**args)
1728
+ update!(**args)
1729
+ end
1730
+
1731
+ # Update properties of this object
1732
+ def update!(**args)
1733
+ end
1734
+ end
1735
+
1549
1736
  # Preprocessing configurations.
1550
1737
  class PreprocessingConfig
1551
1738
  include Google::Apis::Core::Hashable
@@ -1626,6 +1813,41 @@ module Google
1626
1813
  end
1627
1814
  end
1628
1815
 
1816
+ # Configuration for SAMPLE-AES encryption.
1817
+ class SampleAesEncryption
1818
+ include Google::Apis::Core::Hashable
1819
+
1820
+ def initialize(**args)
1821
+ update!(**args)
1822
+ end
1823
+
1824
+ # Update properties of this object
1825
+ def update!(**args)
1826
+ end
1827
+ end
1828
+
1829
+ # Configuration for secrets stored in Google Secret Manager.
1830
+ class SecretManagerSource
1831
+ include Google::Apis::Core::Hashable
1832
+
1833
+ # Required. The name of the Secret Version containing the encryption key in the
1834
+ # following format: `projects/`project`/secrets/`secret_id`/versions/`
1835
+ # version_number`` Note that only numbered versions are supported. Aliases like "
1836
+ # latest" are not supported.
1837
+ # Corresponds to the JSON property `secretVersion`
1838
+ # @return [String]
1839
+ attr_accessor :secret_version
1840
+
1841
+ def initialize(**args)
1842
+ update!(**args)
1843
+ end
1844
+
1845
+ # Update properties of this object
1846
+ def update!(**args)
1847
+ @secret_version = args[:secret_version] if args.key?(:secret_version)
1848
+ end
1849
+ end
1850
+
1629
1851
  # Segment settings for `ts`, `fmp4` and `vtt`.
1630
1852
  class SegmentSettings
1631
1853
  include Google::Apis::Core::Hashable
@@ -1798,17 +2020,17 @@ module Google
1798
2020
  end
1799
2021
  end
1800
2022
 
1801
- # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
2023
+ # The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
1802
2024
  class TextMapping
1803
2025
  include Google::Apis::Core::Hashable
1804
2026
 
1805
- # Required. The `EditAtom.key` that references atom with text inputs in the `Job.
1806
- # edit_list`.
2027
+ # Required. The EditAtom.key that references atom with text inputs in the
2028
+ # JobConfig.edit_list.
1807
2029
  # Corresponds to the JSON property `atomKey`
1808
2030
  # @return [String]
1809
2031
  attr_accessor :atom_key
1810
2032
 
1811
- # Required. The `Input.key` that identifies the input file.
2033
+ # Required. The Input.key that identifies the input file.
1812
2034
  # Corresponds to the JSON property `inputKey`
1813
2035
  # @return [String]
1814
2036
  attr_accessor :input_key
@@ -1853,7 +2075,7 @@ module Google
1853
2075
  # @return [String]
1854
2076
  attr_accessor :language_code
1855
2077
 
1856
- # The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
2078
+ # The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
1857
2079
  # Corresponds to the JSON property `mapping`
1858
2080
  # @return [Array<Google::Apis::TranscoderV1::TextMapping>]
1859
2081
  attr_accessor :mapping
@@ -1972,8 +2194,8 @@ module Google
1972
2194
  # @return [String]
1973
2195
  attr_accessor :profile
1974
2196
 
1975
- # Specify the `rate_control_mode`. The default is `vbr`. Supported rate control
1976
- # modes: - `vbr` - variable bitrate
2197
+ # Specify the mode. The default is `vbr`. Supported rate control modes: - `vbr` -
2198
+ # variable bitrate
1977
2199
  # Corresponds to the JSON property `rateControlMode`
1978
2200
  # @return [String]
1979
2201
  attr_accessor :rate_control_mode
@@ -2008,6 +2230,19 @@ module Google
2008
2230
  end
2009
2231
  end
2010
2232
 
2233
+ # Widevine configuration.
2234
+ class Widevine
2235
+ include Google::Apis::Core::Hashable
2236
+
2237
+ def initialize(**args)
2238
+ update!(**args)
2239
+ end
2240
+
2241
+ # Update properties of this object
2242
+ def update!(**args)
2243
+ end
2244
+ end
2245
+
2011
2246
  # Yet Another Deinterlacing Filter Configuration.
2012
2247
  class YadifConfig
2013
2248
  include Google::Apis::Core::Hashable
@@ -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.18.0"
19
+ GEM_VERSION = "0.20.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 = "20230607"
25
+ REVISION = "20230712"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class Aes128Encryption
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class Animation
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class Clearkey
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class Color
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -112,6 +124,12 @@ module Google
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class DrmSystems
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class EditAtom
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -130,6 +148,18 @@ module Google
130
148
  include Google::Apis::Core::JsonObjectSupport
131
149
  end
132
150
 
151
+ class Encryption
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Fairplay
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
133
163
  class H264CodecSettings
134
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
165
 
@@ -190,6 +220,12 @@ module Google
190
220
  include Google::Apis::Core::JsonObjectSupport
191
221
  end
192
222
 
223
+ class MpegCommonEncryption
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
193
229
  class MuxStream
194
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
231
 
@@ -220,6 +256,12 @@ module Google
220
256
  include Google::Apis::Core::JsonObjectSupport
221
257
  end
222
258
 
259
+ class Playready
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
223
265
  class PreprocessingConfig
224
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
267
 
@@ -232,6 +274,18 @@ module Google
232
274
  include Google::Apis::Core::JsonObjectSupport
233
275
  end
234
276
 
277
+ class SampleAesEncryption
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class SecretManagerSource
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
235
289
  class SegmentSettings
236
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
291
 
@@ -274,6 +328,12 @@ module Google
274
328
  include Google::Apis::Core::JsonObjectSupport
275
329
  end
276
330
 
331
+ class Widevine
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
277
337
  class YadifConfig
278
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
339
 
@@ -287,6 +347,12 @@ module Google
287
347
  end
288
348
  end
289
349
 
350
+ class Aes128Encryption
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ end
354
+ end
355
+
290
356
  class Animation
291
357
  # @private
292
358
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -371,6 +437,12 @@ module Google
371
437
  end
372
438
  end
373
439
 
440
+ class Clearkey
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ end
444
+ end
445
+
374
446
  class Color
375
447
  # @private
376
448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -423,6 +495,20 @@ module Google
423
495
  end
424
496
  end
425
497
 
498
+ class DrmSystems
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :clearkey, as: 'clearkey', class: Google::Apis::TranscoderV1::Clearkey, decorator: Google::Apis::TranscoderV1::Clearkey::Representation
502
+
503
+ property :fairplay, as: 'fairplay', class: Google::Apis::TranscoderV1::Fairplay, decorator: Google::Apis::TranscoderV1::Fairplay::Representation
504
+
505
+ property :playready, as: 'playready', class: Google::Apis::TranscoderV1::Playready, decorator: Google::Apis::TranscoderV1::Playready::Representation
506
+
507
+ property :widevine, as: 'widevine', class: Google::Apis::TranscoderV1::Widevine, decorator: Google::Apis::TranscoderV1::Widevine::Representation
508
+
509
+ end
510
+ end
511
+
426
512
  class EditAtom
427
513
  # @private
428
514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -452,6 +538,29 @@ module Google
452
538
  end
453
539
  end
454
540
 
541
+ class Encryption
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :aes128, as: 'aes128', class: Google::Apis::TranscoderV1::Aes128Encryption, decorator: Google::Apis::TranscoderV1::Aes128Encryption::Representation
545
+
546
+ property :drm_systems, as: 'drmSystems', class: Google::Apis::TranscoderV1::DrmSystems, decorator: Google::Apis::TranscoderV1::DrmSystems::Representation
547
+
548
+ property :id, as: 'id'
549
+ property :mpeg_cenc, as: 'mpegCenc', class: Google::Apis::TranscoderV1::MpegCommonEncryption, decorator: Google::Apis::TranscoderV1::MpegCommonEncryption::Representation
550
+
551
+ property :sample_aes, as: 'sampleAes', class: Google::Apis::TranscoderV1::SampleAesEncryption, decorator: Google::Apis::TranscoderV1::SampleAesEncryption::Representation
552
+
553
+ property :secret_manager_key_source, as: 'secretManagerKeySource', class: Google::Apis::TranscoderV1::SecretManagerSource, decorator: Google::Apis::TranscoderV1::SecretManagerSource::Representation
554
+
555
+ end
556
+ end
557
+
558
+ class Fairplay
559
+ # @private
560
+ class Representation < Google::Apis::Core::JsonRepresentation
561
+ end
562
+ end
563
+
455
564
  class H264CodecSettings
456
565
  # @private
457
566
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +635,7 @@ module Google
526
635
  class Job
527
636
  # @private
528
637
  class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :batch_mode_priority, as: 'batchModePriority'
529
639
  property :config, as: 'config', class: Google::Apis::TranscoderV1::JobConfig, decorator: Google::Apis::TranscoderV1::JobConfig::Representation
530
640
 
531
641
  property :create_time, as: 'createTime'
@@ -536,6 +646,7 @@ module Google
536
646
  hash :labels, as: 'labels'
537
647
  property :mode, as: 'mode'
538
648
  property :name, as: 'name'
649
+ property :optimization, as: 'optimization'
539
650
  property :output_uri, as: 'outputUri'
540
651
  property :start_time, as: 'startTime'
541
652
  property :state, as: 'state'
@@ -553,6 +664,8 @@ module Google
553
664
 
554
665
  collection :elementary_streams, as: 'elementaryStreams', class: Google::Apis::TranscoderV1::ElementaryStream, decorator: Google::Apis::TranscoderV1::ElementaryStream::Representation
555
666
 
667
+ collection :encryptions, as: 'encryptions', class: Google::Apis::TranscoderV1::Encryption, decorator: Google::Apis::TranscoderV1::Encryption::Representation
668
+
556
669
  collection :inputs, as: 'inputs', class: Google::Apis::TranscoderV1::Input, decorator: Google::Apis::TranscoderV1::Input::Representation
557
670
 
558
671
  collection :manifests, as: 'manifests', class: Google::Apis::TranscoderV1::Manifest, decorator: Google::Apis::TranscoderV1::Manifest::Representation
@@ -611,11 +724,19 @@ module Google
611
724
  end
612
725
  end
613
726
 
727
+ class MpegCommonEncryption
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :scheme, as: 'scheme'
731
+ end
732
+ end
733
+
614
734
  class MuxStream
615
735
  # @private
616
736
  class Representation < Google::Apis::Core::JsonRepresentation
617
737
  property :container, as: 'container'
618
738
  collection :elementary_streams, as: 'elementaryStreams'
739
+ property :encryption_id, as: 'encryptionId'
619
740
  property :file_name, as: 'fileName'
620
741
  property :key, as: 'key'
621
742
  property :segment_settings, as: 'segmentSettings', class: Google::Apis::TranscoderV1::SegmentSettings, decorator: Google::Apis::TranscoderV1::SegmentSettings::Representation
@@ -658,6 +779,12 @@ module Google
658
779
  end
659
780
  end
660
781
 
782
+ class Playready
783
+ # @private
784
+ class Representation < Google::Apis::Core::JsonRepresentation
785
+ end
786
+ end
787
+
661
788
  class PreprocessingConfig
662
789
  # @private
663
790
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -685,6 +812,19 @@ module Google
685
812
  end
686
813
  end
687
814
 
815
+ class SampleAesEncryption
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ end
819
+ end
820
+
821
+ class SecretManagerSource
822
+ # @private
823
+ class Representation < Google::Apis::Core::JsonRepresentation
824
+ property :secret_version, as: 'secretVersion'
825
+ end
826
+ end
827
+
688
828
  class SegmentSettings
689
829
  # @private
690
830
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -767,6 +907,12 @@ module Google
767
907
  end
768
908
  end
769
909
 
910
+ class Widevine
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ end
914
+ end
915
+
770
916
  class YadifConfig
771
917
  # @private
772
918
  class Representation < Google::Apis::Core::JsonRepresentation
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.18.0
4
+ version: 0.20.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-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-23 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1/v0.20.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: []