google-apis-transcoder_v1beta1 0.1.0 → 0.6.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: 4d81817a155fba5a30ef539bfaabf38fbe7464e08d03c3b9ceec1cbbd83282d4
4
- data.tar.gz: 8688232dc5d0bdf91caf0051367568fb18037ca7eb9912a984de7c7c17a277ff
3
+ metadata.gz: 8e959df3ab2dd822a4f4b39132dfbf86e36b3fb37a4a8d0b74dda9d4c1edc506
4
+ data.tar.gz: bbe5ec3440149475a727764823b362565326b78e561e7e9996a3d3efdfda50eb
5
5
  SHA512:
6
- metadata.gz: 6c2572db3dfe258204239ec3160893562f9ba4ba5385ea9b198b13a3a73283a61a5a754f83eaa73e2177ad2a196b4f08745aad6ba58a33d4108fc526737ce2bc
7
- data.tar.gz: b6ccb985c86388f333ba4d384d639a2592e8bc1362ff923543e124b976ce855070847e73c01f4904033b616be81ba63859fb60b874e8da2b7fbd1741abc8d4ae
6
+ metadata.gz: 33693c85fd66ff6946ef58aa9dc34e7d3e381e02895456e2277fe108776cb0b84b86f2ebcfb6e4ce875508d46b1ba4766117fbe8e367cb16cd5d95950eb131c8
7
+ data.tar.gz: c183cdc0e728a54610f524335466b9e56e9da9b6485c9c011c13869e4bb04cce5c32cf79049bc04b8b3f6c5eda687055dc5917cdaf5de0fc6c5213abcae51cfc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-transcoder_v1beta1
2
2
 
3
+ ### v0.6.0 (2021-04-07)
4
+
5
+ * Regenerated from discovery document revision 20210405
6
+
7
+ ### v0.5.0 (2021-03-24)
8
+
9
+ * Regenerated from discovery document revision 20210323
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Regenerated from discovery document revision 20210301
15
+
16
+ ### v0.3.0 (2021-02-23)
17
+
18
+ * Regenerated from discovery document revision 20210219
19
+
20
+ ### v0.2.0 (2021-02-02)
21
+
22
+ * Regenerated from discovery document revision 20210129
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
@@ -196,12 +196,12 @@ module Google
196
196
  alias_method :low_boost?, :low_boost
197
197
 
198
198
  # Specify audio loudness normalization in loudness units relative to full scale (
199
- # LUFS). Enter a value between -24 and 0, where -24 is the Advanced Television
200
- # Systems Committee (ATSC A/85), -23 is the EU R128 broadcast standard, -19 is
201
- # the prior standard for online mono audio, -18 is the ReplayGain standard, -16
202
- # is the prior standard for stereo audio, -14 is the new online audio standard
203
- # recommended by Spotify, as well as Amazon Echo, and 0 disables normalization.
204
- # The default is 0.
199
+ # LUFS). Enter a value between -24 and 0 (the default), where: * -24 is the
200
+ # Advanced Television Systems Committee (ATSC A/85) standard * -23 is the EU
201
+ # R128 broadcast standard * -19 is the prior standard for online mono audio * -
202
+ # 18 is the ReplayGain standard * -16 is the prior standard for stereo audio * -
203
+ # 14 is the new online audio standard recommended by Spotify, as well as Amazon
204
+ # Echo * 0 disables normalization
205
205
  # Corresponds to the JSON property `lufs`
206
206
  # @return [Float]
207
207
  attr_accessor :lufs
@@ -649,7 +649,8 @@ module Google
649
649
  class Image
650
650
  include Google::Apis::Core::Hashable
651
651
 
652
- # Target image opacity. Valid values: `1` (solid, default), `0` (transparent).
652
+ # Target image opacity. Valid values: `1.0` (solid, default) to `0.0` (
653
+ # transparent).
653
654
  # Corresponds to the JSON property `alpha`
654
655
  # @return [Float]
655
656
  attr_accessor :alpha
@@ -659,8 +660,8 @@ module Google
659
660
  # @return [Google::Apis::TranscoderV1beta1::NormalizedCoordinate]
660
661
  attr_accessor :resolution
661
662
 
662
- # Required. URI of the image in Cloud Storage. For example, `gs://bucket/inputs/
663
- # image.jpeg`.
663
+ # Required. URI of the JPEG image in Cloud Storage. For example, `gs://bucket/
664
+ # inputs/image.jpeg`. JPEG is the only supported image type.
664
665
  # Corresponds to the JSON property `uri`
665
666
  # @return [String]
666
667
  attr_accessor :uri
@@ -692,8 +693,9 @@ module Google
692
693
  # @return [Google::Apis::TranscoderV1beta1::PreprocessingConfig]
693
694
  attr_accessor :preprocessing_config
694
695
 
695
- # URI of the media. It must be stored in Cloud Storage. Example `gs://bucket/
696
- # inputs/file.mp4`. If empty the value will be populated from `Job.input_uri`.
696
+ # URI of the media. Input files must be at least 5 seconds in duration and
697
+ # stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). If empty,
698
+ # the value will be populated from `Job.input_uri`.
697
699
  # Corresponds to the JSON property `uri`
698
700
  # @return [String]
699
701
  attr_accessor :uri
@@ -744,8 +746,8 @@ module Google
744
746
 
745
747
  # Input only. Specify the `input_uri` to populate empty `uri` fields in each
746
748
  # element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
747
- # template. URI of the media. It must be stored in Cloud Storage. For example, `
748
- # gs://bucket/inputs/file.mp4`.
749
+ # template. URI of the media. Input files must be at least 5 seconds in duration
750
+ # and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
749
751
  # Corresponds to the JSON property `inputUri`
750
752
  # @return [String]
751
753
  attr_accessor :input_uri
@@ -1119,6 +1121,65 @@ module Google
1119
1121
  end
1120
1122
  end
1121
1123
 
1124
+ # Represents the metadata of the long-running operation.
1125
+ class OperationMetadata
1126
+ include Google::Apis::Core::Hashable
1127
+
1128
+ # [Output only] API version used to start the operation.
1129
+ # Corresponds to the JSON property `apiVersion`
1130
+ # @return [String]
1131
+ attr_accessor :api_version
1132
+
1133
+ # [Output only] Identifies whether the user has requested cancellation of the
1134
+ # operation. Operations that have successfully been cancelled have Operation.
1135
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1136
+ # CANCELLED`.
1137
+ # Corresponds to the JSON property `cancelRequested`
1138
+ # @return [Boolean]
1139
+ attr_accessor :cancel_requested
1140
+ alias_method :cancel_requested?, :cancel_requested
1141
+
1142
+ # [Output only] The time the operation was created.
1143
+ # Corresponds to the JSON property `createTime`
1144
+ # @return [String]
1145
+ attr_accessor :create_time
1146
+
1147
+ # [Output only] The time the operation finished running.
1148
+ # Corresponds to the JSON property `endTime`
1149
+ # @return [String]
1150
+ attr_accessor :end_time
1151
+
1152
+ # [Output only] Human-readable status of the operation, if any.
1153
+ # Corresponds to the JSON property `statusDetail`
1154
+ # @return [String]
1155
+ attr_accessor :status_detail
1156
+
1157
+ # [Output only] Server-defined resource path for the target of the operation.
1158
+ # Corresponds to the JSON property `target`
1159
+ # @return [String]
1160
+ attr_accessor :target
1161
+
1162
+ # [Output only] Name of the verb executed by the operation.
1163
+ # Corresponds to the JSON property `verb`
1164
+ # @return [String]
1165
+ attr_accessor :verb
1166
+
1167
+ def initialize(**args)
1168
+ update!(**args)
1169
+ end
1170
+
1171
+ # Update properties of this object
1172
+ def update!(**args)
1173
+ @api_version = args[:api_version] if args.key?(:api_version)
1174
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1175
+ @create_time = args[:create_time] if args.key?(:create_time)
1176
+ @end_time = args[:end_time] if args.key?(:end_time)
1177
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1178
+ @target = args[:target] if args.key?(:target)
1179
+ @verb = args[:verb] if args.key?(:verb)
1180
+ end
1181
+ end
1182
+
1122
1183
  # The origin URI.
1123
1184
  class OriginUri
1124
1185
  include Google::Apis::Core::Hashable
@@ -1191,6 +1252,44 @@ module Google
1191
1252
  end
1192
1253
  end
1193
1254
 
1255
+ # Pad filter configuration for the input video. The padded input video is scaled
1256
+ # after padding with black to match the output resolution.
1257
+ class Pad
1258
+ include Google::Apis::Core::Hashable
1259
+
1260
+ # The number of pixels to add to the bottom. The default is 0.
1261
+ # Corresponds to the JSON property `bottomPixels`
1262
+ # @return [Fixnum]
1263
+ attr_accessor :bottom_pixels
1264
+
1265
+ # The number of pixels to add to the left. The default is 0.
1266
+ # Corresponds to the JSON property `leftPixels`
1267
+ # @return [Fixnum]
1268
+ attr_accessor :left_pixels
1269
+
1270
+ # The number of pixels to add to the right. The default is 0.
1271
+ # Corresponds to the JSON property `rightPixels`
1272
+ # @return [Fixnum]
1273
+ attr_accessor :right_pixels
1274
+
1275
+ # The number of pixels to add to the top. The default is 0.
1276
+ # Corresponds to the JSON property `topPixels`
1277
+ # @return [Fixnum]
1278
+ attr_accessor :top_pixels
1279
+
1280
+ def initialize(**args)
1281
+ update!(**args)
1282
+ end
1283
+
1284
+ # Update properties of this object
1285
+ def update!(**args)
1286
+ @bottom_pixels = args[:bottom_pixels] if args.key?(:bottom_pixels)
1287
+ @left_pixels = args[:left_pixels] if args.key?(:left_pixels)
1288
+ @right_pixels = args[:right_pixels] if args.key?(:right_pixels)
1289
+ @top_pixels = args[:top_pixels] if args.key?(:top_pixels)
1290
+ end
1291
+ end
1292
+
1194
1293
  # Preprocessing configurations.
1195
1294
  class PreprocessingConfig
1196
1295
  include Google::Apis::Core::Hashable
@@ -1221,6 +1320,12 @@ module Google
1221
1320
  # @return [Google::Apis::TranscoderV1beta1::Denoise]
1222
1321
  attr_accessor :denoise
1223
1322
 
1323
+ # Pad filter configuration for the input video. The padded input video is scaled
1324
+ # after padding with black to match the output resolution.
1325
+ # Corresponds to the JSON property `pad`
1326
+ # @return [Google::Apis::TranscoderV1beta1::Pad]
1327
+ attr_accessor :pad
1328
+
1224
1329
  def initialize(**args)
1225
1330
  update!(**args)
1226
1331
  end
@@ -1232,6 +1337,7 @@ module Google
1232
1337
  @crop = args[:crop] if args.key?(:crop)
1233
1338
  @deblock = args[:deblock] if args.key?(:deblock)
1234
1339
  @denoise = args[:denoise] if args.key?(:denoise)
1340
+ @pad = args[:pad] if args.key?(:pad)
1235
1341
  end
1236
1342
  end
1237
1343
 
@@ -1322,7 +1428,9 @@ module Google
1322
1428
  attr_accessor :individual_segments
1323
1429
  alias_method :individual_segments?, :individual_segments
1324
1430
 
1325
- # Duration of the segments in seconds. The default is `"6.0s"`.
1431
+ # Duration of the segments in seconds. The default is `"6.0s"`. Note that `
1432
+ # segmentDuration` must be greater than or equal to [`gopDuration`](#videostream)
1433
+ # , and `segmentDuration` must be divisible by [`gopDuration`](#videostream).
1326
1434
  # Corresponds to the JSON property `segmentDuration`
1327
1435
  # @return [String]
1328
1436
  attr_accessor :segment_duration
@@ -1373,6 +1481,13 @@ module Google
1373
1481
  # @return [String]
1374
1482
  attr_accessor :interval
1375
1483
 
1484
+ # The quality of the generated sprite sheet. Enter a value between 1 and 100,
1485
+ # where 1 is the lowest quality and 100 is the highest quality. The default is
1486
+ # 100. A high quality value corresponds to a low image data compression ratio.
1487
+ # Corresponds to the JSON property `quality`
1488
+ # @return [Fixnum]
1489
+ attr_accessor :quality
1490
+
1376
1491
  # The maximum number of rows per sprite sheet. When the sprite sheet is full, a
1377
1492
  # new sprite sheet is created. The default is 0, which indicates no maximum
1378
1493
  # limit.
@@ -1380,12 +1495,18 @@ module Google
1380
1495
  # @return [Fixnum]
1381
1496
  attr_accessor :row_count
1382
1497
 
1383
- # Required. The height of sprite in pixels. Must be an even integer.
1498
+ # Required. The height of sprite in pixels. Must be an even integer. To preserve
1499
+ # the source aspect ratio, set the SpriteSheet.sprite_height_pixels field or the
1500
+ # SpriteSheet.sprite_width_pixels field, but not both (the API will
1501
+ # automatically calculate the missing field).
1384
1502
  # Corresponds to the JSON property `spriteHeightPixels`
1385
1503
  # @return [Fixnum]
1386
1504
  attr_accessor :sprite_height_pixels
1387
1505
 
1388
- # Required. The width of sprite in pixels. Must be an even integer.
1506
+ # Required. The width of sprite in pixels. Must be an even integer. To preserve
1507
+ # the source aspect ratio, set the SpriteSheet.sprite_width_pixels field or the
1508
+ # SpriteSheet.sprite_height_pixels field, but not both (the API will
1509
+ # automatically calculate the missing field).
1389
1510
  # Corresponds to the JSON property `spriteWidthPixels`
1390
1511
  # @return [Fixnum]
1391
1512
  attr_accessor :sprite_width_pixels
@@ -1413,6 +1534,7 @@ module Google
1413
1534
  @file_prefix = args[:file_prefix] if args.key?(:file_prefix)
1414
1535
  @format = args[:format] if args.key?(:format)
1415
1536
  @interval = args[:interval] if args.key?(:interval)
1537
+ @quality = args[:quality] if args.key?(:quality)
1416
1538
  @row_count = args[:row_count] if args.key?(:row_count)
1417
1539
  @sprite_height_pixels = args[:sprite_height_pixels] if args.key?(:sprite_height_pixels)
1418
1540
  @sprite_width_pixels = args[:sprite_width_pixels] if args.key?(:sprite_width_pixels)
@@ -1572,20 +1694,17 @@ module Google
1572
1694
  # Required. The target video frame rate in frames per second (FPS). Must be less
1573
1695
  # than or equal to 120. Will default to the input frame rate if larger than the
1574
1696
  # input frame rate. The API will generate an output FPS that is divisible by the
1575
- # input FPS, and smaller or equal to the target FPS. The following table shows
1576
- # the computed video FPS given the target FPS (in parenthesis) and input FPS (in
1577
- # the first column): | | (30) | (60) | (25) | (50) | |--------|--------|--------|
1578
- # ------|------| | 240 | Fail | Fail | Fail | Fail | | 120 | 30 | 60 | 20 | 30 |
1579
- # | 100 | 25 | 50 | 20 | 30 | | 50 | 25 | 50 | 20 | 30 | | 60 | 30 | 60 | 20 |
1580
- # 30 | | 59.94 | 29.97 | 59.94 | 20 | 30 | | 48 | 24 | 48 | 20 | 30 | | 30 | 30 |
1581
- # 30 | 20 | 30 | | 25 | 25 | 25 | 20 | 30 | | 24 | 24 | 24 | 20 | 30 | | 23.976
1582
- # | 23.976 | 23.976 | 20 | 30 | | 15 | 15 | 15 | 20 | 30 | | 12 | 12 | 12 | 20 |
1583
- # 30 | | 10 | 10 | 10 | 20 | 30 |
1697
+ # input FPS, and smaller or equal to the target FPS. See [Calculate frame rate](
1698
+ # https://cloud.google.com/transcoder/docs/concepts/frame-rate) for more
1699
+ # information.
1584
1700
  # Corresponds to the JSON property `frameRate`
1585
1701
  # @return [Float]
1586
1702
  attr_accessor :frame_rate
1587
1703
 
1588
1704
  # Select the GOP size based on the specified duration. The default is `"3s"`.
1705
+ # Note that `gopDuration` must be less than or equal to [`segmentDuration`](#
1706
+ # SegmentSettings), and [`segmentDuration`](#SegmentSettings) must be divisible
1707
+ # by `gopDuration`.
1589
1708
  # Corresponds to the JSON property `gopDuration`
1590
1709
  # @return [String]
1591
1710
  attr_accessor :gop_duration
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TranscoderV1beta1
18
18
  # Version of the google-apis-transcoder_v1beta1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201209"
25
+ REVISION = "20210405"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class OperationMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class OriginUri
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -226,6 +232,12 @@ module Google
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
235
+ class Pad
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
229
241
  class PreprocessingConfig
230
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
243
 
@@ -610,6 +622,19 @@ module Google
610
622
  end
611
623
  end
612
624
 
625
+ class OperationMetadata
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :api_version, as: 'apiVersion'
629
+ property :cancel_requested, as: 'cancelRequested'
630
+ property :create_time, as: 'createTime'
631
+ property :end_time, as: 'endTime'
632
+ property :status_detail, as: 'statusDetail'
633
+ property :target, as: 'target'
634
+ property :verb, as: 'verb'
635
+ end
636
+ end
637
+
613
638
  class OriginUri
614
639
  # @private
615
640
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -635,6 +660,16 @@ module Google
635
660
  end
636
661
  end
637
662
 
663
+ class Pad
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :bottom_pixels, as: 'bottomPixels'
667
+ property :left_pixels, as: 'leftPixels'
668
+ property :right_pixels, as: 'rightPixels'
669
+ property :top_pixels, as: 'topPixels'
670
+ end
671
+ end
672
+
638
673
  class PreprocessingConfig
639
674
  # @private
640
675
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -648,6 +683,8 @@ module Google
648
683
 
649
684
  property :denoise, as: 'denoise', class: Google::Apis::TranscoderV1beta1::Denoise, decorator: Google::Apis::TranscoderV1beta1::Denoise::Representation
650
685
 
686
+ property :pad, as: 'pad', class: Google::Apis::TranscoderV1beta1::Pad, decorator: Google::Apis::TranscoderV1beta1::Pad::Representation
687
+
651
688
  end
652
689
  end
653
690
 
@@ -691,6 +728,7 @@ module Google
691
728
  property :file_prefix, as: 'filePrefix'
692
729
  property :format, as: 'format'
693
730
  property :interval, as: 'interval'
731
+ property :quality, as: 'quality'
694
732
  property :row_count, as: 'rowCount'
695
733
  property :sprite_height_pixels, as: 'spriteHeightPixels'
696
734
  property :sprite_width_pixels, as: 'spriteWidthPixels'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-transcoder_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.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: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-transcoder_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1beta1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-transcoder_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Transcoder API V1beta1