tencentcloud-sdk-vod 1.0.339 → 1.0.340
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180717/models.rb +26 -25
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fb652d609b004f78b1cc54699e15531d6129d31
|
4
|
+
data.tar.gz: a7d750a8276aff5302acbadbbc702055e8c2c7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 500bdbef38c0547a1532d57f1209899ff3d8a3a08f75efaba76b59d4f39f07d22a9da1cd0c4c406e51f55eb32c658229a923728a649565524d511c7ecf5ab43c
|
7
|
+
data.tar.gz: 389733a0cb5753ae7bb30ba74907e7549fd1e8aa33db4e76502c5138e5aa4b0b68c4ad7277949d2f5bad79bec5dccec30b2df4f3c2cf84009f7a004a7239d1ef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.340
|
data/lib/v20180717/models.rb
CHANGED
@@ -13491,22 +13491,23 @@ module TencentCloud
|
|
13491
13491
|
# @type Height: Integer
|
13492
13492
|
# @param Width: 视频流宽度的最大值,单位:px。
|
13493
13493
|
# @type Width: Integer
|
13494
|
-
# @param Size:
|
13494
|
+
# @param Size: 媒体文件总大小,单位:字节。
|
13495
|
+
# <li>当媒体文件为 HLS 时,大小是 m3u8 和 ts 文件大小的总和。</li>
|
13495
13496
|
# @type Size: Integer
|
13496
13497
|
# @param Duration: 视频时长,单位:秒。
|
13497
13498
|
# @type Duration: Float
|
13498
|
-
# @param Container: 容器类型,例如 m4a,mp4 等。
|
13499
|
-
# @type Container: String
|
13500
13499
|
# @param Md5: 视频的 md5 值。
|
13501
13500
|
# @type Md5: String
|
13502
|
-
# @param
|
13503
|
-
# @type
|
13501
|
+
# @param Container: 容器类型,例如 m4a,mp4 等。
|
13502
|
+
# @type Container: String
|
13504
13503
|
# @param VideoStreamSet: 视频流信息。
|
13505
13504
|
# @type VideoStreamSet: Array
|
13505
|
+
# @param AudioStreamSet: 音频流信息。
|
13506
|
+
# @type AudioStreamSet: Array
|
13506
13507
|
|
13507
|
-
attr_accessor :Url, :Definition, :Bitrate, :Height, :Width, :Size, :Duration, :
|
13508
|
+
attr_accessor :Url, :Definition, :Bitrate, :Height, :Width, :Size, :Duration, :Md5, :Container, :VideoStreamSet, :AudioStreamSet
|
13508
13509
|
|
13509
|
-
def initialize(url=nil, definition=nil, bitrate=nil, height=nil, width=nil, size=nil, duration=nil,
|
13510
|
+
def initialize(url=nil, definition=nil, bitrate=nil, height=nil, width=nil, size=nil, duration=nil, md5=nil, container=nil, videostreamset=nil, audiostreamset=nil)
|
13510
13511
|
@Url = url
|
13511
13512
|
@Definition = definition
|
13512
13513
|
@Bitrate = bitrate
|
@@ -13514,10 +13515,10 @@ module TencentCloud
|
|
13514
13515
|
@Width = width
|
13515
13516
|
@Size = size
|
13516
13517
|
@Duration = duration
|
13517
|
-
@Container = container
|
13518
13518
|
@Md5 = md5
|
13519
|
-
@
|
13519
|
+
@Container = container
|
13520
13520
|
@VideoStreamSet = videostreamset
|
13521
|
+
@AudioStreamSet = audiostreamset
|
13521
13522
|
end
|
13522
13523
|
|
13523
13524
|
def deserialize(params)
|
@@ -13528,16 +13529,8 @@ module TencentCloud
|
|
13528
13529
|
@Width = params['Width']
|
13529
13530
|
@Size = params['Size']
|
13530
13531
|
@Duration = params['Duration']
|
13531
|
-
@Container = params['Container']
|
13532
13532
|
@Md5 = params['Md5']
|
13533
|
-
|
13534
|
-
@AudioStreamSet = []
|
13535
|
-
params['AudioStreamSet'].each do |i|
|
13536
|
-
mediaaudiostreamitem_tmp = MediaAudioStreamItem.new
|
13537
|
-
mediaaudiostreamitem_tmp.deserialize(i)
|
13538
|
-
@AudioStreamSet << mediaaudiostreamitem_tmp
|
13539
|
-
end
|
13540
|
-
end
|
13533
|
+
@Container = params['Container']
|
13541
13534
|
unless params['VideoStreamSet'].nil?
|
13542
13535
|
@VideoStreamSet = []
|
13543
13536
|
params['VideoStreamSet'].each do |i|
|
@@ -13546,6 +13539,14 @@ module TencentCloud
|
|
13546
13539
|
@VideoStreamSet << mediavideostreamitem_tmp
|
13547
13540
|
end
|
13548
13541
|
end
|
13542
|
+
unless params['AudioStreamSet'].nil?
|
13543
|
+
@AudioStreamSet = []
|
13544
|
+
params['AudioStreamSet'].each do |i|
|
13545
|
+
mediaaudiostreamitem_tmp = MediaAudioStreamItem.new
|
13546
|
+
mediaaudiostreamitem_tmp.deserialize(i)
|
13547
|
+
@AudioStreamSet << mediaaudiostreamitem_tmp
|
13548
|
+
end
|
13549
|
+
end
|
13549
13550
|
end
|
13550
13551
|
end
|
13551
13552
|
|
@@ -17656,6 +17657,8 @@ module TencentCloud
|
|
17656
17657
|
|
17657
17658
|
# SearchMedia请求参数结构体
|
17658
17659
|
class SearchMediaRequest < TencentCloud::Common::AbstractModel
|
17660
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
17661
|
+
# @type SubAppId: Integer
|
17659
17662
|
# @param FileIds: 文件 ID 集合,匹配集合中的任意元素。
|
17660
17663
|
# <li>数组长度限制:10。</li>
|
17661
17664
|
# <li>单个 ID 长度限制:40个字符。</li>
|
@@ -17676,7 +17679,7 @@ module TencentCloud
|
|
17676
17679
|
# <li>数组长度限制:10。</li>
|
17677
17680
|
# @type ClassIds: Array
|
17678
17681
|
# @param Tags: 标签集合,匹配集合中任意元素。
|
17679
|
-
# <li>单个标签长度限制:
|
17682
|
+
# <li>单个标签长度限制:16个字符。</li>
|
17680
17683
|
# <li>数组长度限制:10。</li>
|
17681
17684
|
# @type Tags: Array
|
17682
17685
|
# @param Categories: 文件类型。匹配集合中的任意元素:
|
@@ -17725,8 +17728,6 @@ module TencentCloud
|
|
17725
17728
|
# <li>单个存储地区长度限制:20个字符。</li>
|
17726
17729
|
# <li>数组长度限制:20。</li>
|
17727
17730
|
# @type StorageRegions: Array
|
17728
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
17729
|
-
# @type SubAppId: Integer
|
17730
17731
|
# @param StorageClasses: 存储类型数组。可选值有:
|
17731
17732
|
# <li> STANDARD:标准存储。</li>
|
17732
17733
|
# <li> STANDARD_IA:低频存储。</li>
|
@@ -17758,9 +17759,10 @@ module TencentCloud
|
|
17758
17759
|
# <li>格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。</li>
|
17759
17760
|
# @type EndTime: String
|
17760
17761
|
|
17761
|
-
attr_accessor :FileIds, :Names, :NamePrefixes, :Descriptions, :ClassIds, :Tags, :Categories, :SourceTypes, :StreamIds, :Vids, :CreateTime, :ExpireTime, :Sort, :Offset, :Limit, :Filters, :StorageRegions, :
|
17762
|
+
attr_accessor :SubAppId, :FileIds, :Names, :NamePrefixes, :Descriptions, :ClassIds, :Tags, :Categories, :SourceTypes, :StreamIds, :Vids, :CreateTime, :ExpireTime, :Sort, :Offset, :Limit, :Filters, :StorageRegions, :StorageClasses, :Text, :SourceType, :StreamId, :Vid, :StartTime, :EndTime
|
17762
17763
|
|
17763
|
-
def initialize(fileids=nil, names=nil, nameprefixes=nil, descriptions=nil, classids=nil, tags=nil, categories=nil, sourcetypes=nil, streamids=nil, vids=nil, createtime=nil, expiretime=nil, sort=nil, offset=nil, limit=nil, filters=nil, storageregions=nil,
|
17764
|
+
def initialize(subappid=nil, fileids=nil, names=nil, nameprefixes=nil, descriptions=nil, classids=nil, tags=nil, categories=nil, sourcetypes=nil, streamids=nil, vids=nil, createtime=nil, expiretime=nil, sort=nil, offset=nil, limit=nil, filters=nil, storageregions=nil, storageclasses=nil, text=nil, sourcetype=nil, streamid=nil, vid=nil, starttime=nil, endtime=nil)
|
17765
|
+
@SubAppId = subappid
|
17764
17766
|
@FileIds = fileids
|
17765
17767
|
@Names = names
|
17766
17768
|
@NamePrefixes = nameprefixes
|
@@ -17778,7 +17780,6 @@ module TencentCloud
|
|
17778
17780
|
@Limit = limit
|
17779
17781
|
@Filters = filters
|
17780
17782
|
@StorageRegions = storageregions
|
17781
|
-
@SubAppId = subappid
|
17782
17783
|
@StorageClasses = storageclasses
|
17783
17784
|
@Text = text
|
17784
17785
|
@SourceType = sourcetype
|
@@ -17789,6 +17790,7 @@ module TencentCloud
|
|
17789
17790
|
end
|
17790
17791
|
|
17791
17792
|
def deserialize(params)
|
17793
|
+
@SubAppId = params['SubAppId']
|
17792
17794
|
@FileIds = params['FileIds']
|
17793
17795
|
@Names = params['Names']
|
17794
17796
|
@NamePrefixes = params['NamePrefixes']
|
@@ -17815,7 +17817,6 @@ module TencentCloud
|
|
17815
17817
|
@Limit = params['Limit']
|
17816
17818
|
@Filters = params['Filters']
|
17817
17819
|
@StorageRegions = params['StorageRegions']
|
17818
|
-
@SubAppId = params['SubAppId']
|
17819
17820
|
@StorageClasses = params['StorageClasses']
|
17820
17821
|
@Text = params['Text']
|
17821
17822
|
@SourceType = params['SourceType']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.340
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|