google-apis-transcoder_v1beta1 0.2.0 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e37396c6354cba7aa9b6c3780849fdb4e2d73654d6177932217cf6bc2647c127
|
4
|
+
data.tar.gz: 2ae5acd423bf0b879b1e9c325d12800ee1205db73daa7ea526019c30ee16fac8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ccf8df90433a6f42fcc4762ca54b4ee374ce4850dcbd135573acf283cfecdbfee96f337118a0e2737fe5f987e069270ed3a74621ed7bcab1b9ea4c6ba3c120b
|
7
|
+
data.tar.gz: 89c106804f18cbc3e7bce7dbf68e4a4a7b465b6812fb86203abd42b9779ea1eb5c9efca092f6548215cd22de42ad1136eab7bc61effc777b5b2300791b145a31
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-transcoder_v1beta1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-05-20)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.6.0 (2021-04-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210405
|
10
|
+
|
11
|
+
### v0.5.0 (2021-03-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210323
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210301
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-23)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210219
|
23
|
+
|
3
24
|
### v0.2.0 (2021-02-02)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210129
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
#
|
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
|
200
|
-
# Systems Committee (ATSC A/85)
|
201
|
-
# the prior standard for online mono audio
|
202
|
-
# is the
|
203
|
-
# recommended by Spotify, as well as Amazon
|
204
|
-
#
|
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
|
@@ -660,8 +660,8 @@ module Google
|
|
660
660
|
# @return [Google::Apis::TranscoderV1beta1::NormalizedCoordinate]
|
661
661
|
attr_accessor :resolution
|
662
662
|
|
663
|
-
# Required. URI of the image in Cloud Storage. For example, `gs://bucket/
|
664
|
-
# 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.
|
665
665
|
# Corresponds to the JSON property `uri`
|
666
666
|
# @return [String]
|
667
667
|
attr_accessor :uri
|
@@ -1252,6 +1252,44 @@ module Google
|
|
1252
1252
|
end
|
1253
1253
|
end
|
1254
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
|
+
|
1255
1293
|
# Preprocessing configurations.
|
1256
1294
|
class PreprocessingConfig
|
1257
1295
|
include Google::Apis::Core::Hashable
|
@@ -1282,6 +1320,12 @@ module Google
|
|
1282
1320
|
# @return [Google::Apis::TranscoderV1beta1::Denoise]
|
1283
1321
|
attr_accessor :denoise
|
1284
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
|
+
|
1285
1329
|
def initialize(**args)
|
1286
1330
|
update!(**args)
|
1287
1331
|
end
|
@@ -1293,6 +1337,7 @@ module Google
|
|
1293
1337
|
@crop = args[:crop] if args.key?(:crop)
|
1294
1338
|
@deblock = args[:deblock] if args.key?(:deblock)
|
1295
1339
|
@denoise = args[:denoise] if args.key?(:denoise)
|
1340
|
+
@pad = args[:pad] if args.key?(:pad)
|
1296
1341
|
end
|
1297
1342
|
end
|
1298
1343
|
|
@@ -1436,6 +1481,13 @@ module Google
|
|
1436
1481
|
# @return [String]
|
1437
1482
|
attr_accessor :interval
|
1438
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
|
+
|
1439
1491
|
# The maximum number of rows per sprite sheet. When the sprite sheet is full, a
|
1440
1492
|
# new sprite sheet is created. The default is 0, which indicates no maximum
|
1441
1493
|
# limit.
|
@@ -1443,12 +1495,18 @@ module Google
|
|
1443
1495
|
# @return [Fixnum]
|
1444
1496
|
attr_accessor :row_count
|
1445
1497
|
|
1446
|
-
# 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).
|
1447
1502
|
# Corresponds to the JSON property `spriteHeightPixels`
|
1448
1503
|
# @return [Fixnum]
|
1449
1504
|
attr_accessor :sprite_height_pixels
|
1450
1505
|
|
1451
|
-
# 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).
|
1452
1510
|
# Corresponds to the JSON property `spriteWidthPixels`
|
1453
1511
|
# @return [Fixnum]
|
1454
1512
|
attr_accessor :sprite_width_pixels
|
@@ -1476,6 +1534,7 @@ module Google
|
|
1476
1534
|
@file_prefix = args[:file_prefix] if args.key?(:file_prefix)
|
1477
1535
|
@format = args[:format] if args.key?(:format)
|
1478
1536
|
@interval = args[:interval] if args.key?(:interval)
|
1537
|
+
@quality = args[:quality] if args.key?(:quality)
|
1479
1538
|
@row_count = args[:row_count] if args.key?(:row_count)
|
1480
1539
|
@sprite_height_pixels = args[:sprite_height_pixels] if args.key?(:sprite_height_pixels)
|
1481
1540
|
@sprite_width_pixels = args[:sprite_width_pixels] if args.key?(:sprite_width_pixels)
|
@@ -1635,15 +1694,9 @@ module Google
|
|
1635
1694
|
# Required. The target video frame rate in frames per second (FPS). Must be less
|
1636
1695
|
# than or equal to 120. Will default to the input frame rate if larger than the
|
1637
1696
|
# input frame rate. The API will generate an output FPS that is divisible by the
|
1638
|
-
# input FPS, and smaller or equal to the target FPS.
|
1639
|
-
#
|
1640
|
-
#
|
1641
|
-
# ---|------|------| | 240 | Fail | Fail | Fail | Fail | | 120 | 30 | 60 | 20 |
|
1642
|
-
# 30 | | 100 | 25 | 50 | 20 | 30 | | 50 | 25 | 50 | 20 | 30 | | 60 | 30 | 60 |
|
1643
|
-
# 20 | 30 | | 59.94 | 29.97 | 59.94 | 20 | 30 | | 48 | 24 | 48 | 20 | 30 | | 30 |
|
1644
|
-
# 30 | 30 | 20 | 30 | | 25 | 25 | 25 | 20 | 30 | | 24 | 24 | 24 | 20 | 30 | |
|
1645
|
-
# 23.976 | 23.976 | 23.976 | 20 | 30 | | 15 | 15 | 15 | 20 | 30 | | 12 | 12 | 12
|
1646
|
-
# | 20 | 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.
|
1647
1700
|
# Corresponds to the JSON property `frameRate`
|
1648
1701
|
# @return [Float]
|
1649
1702
|
attr_accessor :frame_rate
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210405"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -232,6 +232,12 @@ module Google
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
233
233
|
end
|
234
234
|
|
235
|
+
class Pad
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
235
241
|
class PreprocessingConfig
|
236
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
243
|
|
@@ -654,6 +660,16 @@ module Google
|
|
654
660
|
end
|
655
661
|
end
|
656
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
|
+
|
657
673
|
class PreprocessingConfig
|
658
674
|
# @private
|
659
675
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -667,6 +683,8 @@ module Google
|
|
667
683
|
|
668
684
|
property :denoise, as: 'denoise', class: Google::Apis::TranscoderV1beta1::Denoise, decorator: Google::Apis::TranscoderV1beta1::Denoise::Representation
|
669
685
|
|
686
|
+
property :pad, as: 'pad', class: Google::Apis::TranscoderV1beta1::Pad, decorator: Google::Apis::TranscoderV1beta1::Pad::Representation
|
687
|
+
|
670
688
|
end
|
671
689
|
end
|
672
690
|
|
@@ -710,6 +728,7 @@ module Google
|
|
710
728
|
property :file_prefix, as: 'filePrefix'
|
711
729
|
property :format, as: 'format'
|
712
730
|
property :interval, as: 'interval'
|
731
|
+
property :quality, as: 'quality'
|
713
732
|
property :row_count, as: 'rowCount'
|
714
733
|
property :sprite_height_pixels, as: 'spriteHeightPixels'
|
715
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.
|
4
|
+
version: 0.7.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-
|
11
|
+
date: 2021-05-24 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-transcoder_v1beta1/v0.7.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.
|
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.2.
|
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
|