tencentcloud-sdk-vod 3.0.887 → 3.0.889
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180717/client.rb +72 -0
- data/lib/v20180717/models.rb +294 -14
- 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: e80988bcf154a87dae808a07b281579b671f63e0
|
|
4
|
+
data.tar.gz: a05b71cc993876b03c48fb83ddc0d3548884a749
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c882510b03492351399f1c96e6f89e7161ea9a7db82bca6bc9e47671ec542288020b705dc8dd39112762d2670b872ac66b2fac46717376dae8b7d120ce7ec3f
|
|
7
|
+
data.tar.gz: d47f3d723ad7ea3e888cb44f5271b5da8e06855f6a02aa3c4ec1ff65657eac0f833af8259d263b61b07d8372bf7c1694af12dc0b9e0b601c9f2345843ac482cc
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.889
|
data/lib/v20180717/client.rb
CHANGED
|
@@ -1836,6 +1836,30 @@ module TencentCloud
|
|
|
1836
1836
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1837
1837
|
end
|
|
1838
1838
|
|
|
1839
|
+
# 查询轮播当前播放列表。
|
|
1840
|
+
|
|
1841
|
+
# @param request: Request instance for DescribeCurrentPlaylist.
|
|
1842
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeCurrentPlaylistRequest`
|
|
1843
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeCurrentPlaylistResponse`
|
|
1844
|
+
def DescribeCurrentPlaylist(request)
|
|
1845
|
+
body = send_request('DescribeCurrentPlaylist', request.serialize)
|
|
1846
|
+
response = JSON.parse(body)
|
|
1847
|
+
if response['Response'].key?('Error') == false
|
|
1848
|
+
model = DescribeCurrentPlaylistResponse.new
|
|
1849
|
+
model.deserialize(response['Response'])
|
|
1850
|
+
model
|
|
1851
|
+
else
|
|
1852
|
+
code = response['Response']['Error']['Code']
|
|
1853
|
+
message = response['Response']['Error']['Message']
|
|
1854
|
+
reqid = response['Response']['RequestId']
|
|
1855
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1856
|
+
end
|
|
1857
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1858
|
+
raise e
|
|
1859
|
+
rescue StandardError => e
|
|
1860
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1861
|
+
end
|
|
1862
|
+
|
|
1839
1863
|
# 该接口用于查询指定日期范围内每天的播放统计数据。
|
|
1840
1864
|
# * 可以查询最近一年的播放统计数据。
|
|
1841
1865
|
# * 结束日期和起始日期的时间跨度最大为90天。
|
|
@@ -3020,6 +3044,30 @@ module TencentCloud
|
|
|
3020
3044
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3021
3045
|
end
|
|
3022
3046
|
|
|
3047
|
+
# 对 HLS 视频实现快速拼接和快速剪辑,生成新的 HLS 格式的媒体。
|
|
3048
|
+
|
|
3049
|
+
# @param request: Request instance for FastEditMedia.
|
|
3050
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::FastEditMediaRequest`
|
|
3051
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::FastEditMediaResponse`
|
|
3052
|
+
def FastEditMedia(request)
|
|
3053
|
+
body = send_request('FastEditMedia', request.serialize)
|
|
3054
|
+
response = JSON.parse(body)
|
|
3055
|
+
if response['Response'].key?('Error') == false
|
|
3056
|
+
model = FastEditMediaResponse.new
|
|
3057
|
+
model.deserialize(response['Response'])
|
|
3058
|
+
model
|
|
3059
|
+
else
|
|
3060
|
+
code = response['Response']['Error']['Code']
|
|
3061
|
+
message = response['Response']['Error']['Message']
|
|
3062
|
+
reqid = response['Response']['RequestId']
|
|
3063
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3064
|
+
end
|
|
3065
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3066
|
+
raise e
|
|
3067
|
+
rescue StandardError => e
|
|
3068
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3069
|
+
end
|
|
3070
|
+
|
|
3023
3071
|
# * 对媒体禁播后,除了点播控制台预览,其他场景访问视频各种资源的 URL(原始文件、转码输出文件、截图等)均会返回 403。
|
|
3024
3072
|
# 禁播/解禁操作全网生效时间约 5~10 分钟。
|
|
3025
3073
|
|
|
@@ -3045,6 +3093,30 @@ module TencentCloud
|
|
|
3045
3093
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3046
3094
|
end
|
|
3047
3095
|
|
|
3096
|
+
# 操作轮播当前播放列表。支持的操作有:<li> Insert:向当前播列表插入播放节目。</li><li> Delete:删除播列表中的播放节目。</li>
|
|
3097
|
+
|
|
3098
|
+
# @param request: Request instance for HandleCurrentPlaylist.
|
|
3099
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::HandleCurrentPlaylistRequest`
|
|
3100
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::HandleCurrentPlaylistResponse`
|
|
3101
|
+
def HandleCurrentPlaylist(request)
|
|
3102
|
+
body = send_request('HandleCurrentPlaylist', request.serialize)
|
|
3103
|
+
response = JSON.parse(body)
|
|
3104
|
+
if response['Response'].key?('Error') == false
|
|
3105
|
+
model = HandleCurrentPlaylistResponse.new
|
|
3106
|
+
model.deserialize(response['Response'])
|
|
3107
|
+
model
|
|
3108
|
+
else
|
|
3109
|
+
code = response['Response']['Error']['Code']
|
|
3110
|
+
message = response['Response']['Error']['Message']
|
|
3111
|
+
reqid = response['Response']['RequestId']
|
|
3112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3113
|
+
end
|
|
3114
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3115
|
+
raise e
|
|
3116
|
+
rescue StandardError => e
|
|
3117
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3118
|
+
end
|
|
3119
|
+
|
|
3048
3120
|
# 对点播中的音视频媒体发起音画质检测任务。
|
|
3049
3121
|
|
|
3050
3122
|
# @param request: Request instance for InspectMediaQuality.
|
data/lib/v20180717/models.rb
CHANGED
|
@@ -9614,6 +9614,57 @@ module TencentCloud
|
|
|
9614
9614
|
end
|
|
9615
9615
|
end
|
|
9616
9616
|
|
|
9617
|
+
# DescribeCurrentPlaylist请求参数结构体
|
|
9618
|
+
class DescribeCurrentPlaylistRequest < TencentCloud::Common::AbstractModel
|
|
9619
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
|
9620
|
+
# @type SubAppId: Integer
|
|
9621
|
+
# @param RoundPlayId: 轮播播单唯一标识。
|
|
9622
|
+
# @type RoundPlayId: String
|
|
9623
|
+
# @param Limit: 返回的播放列表的长度。最大10,默认值为5。
|
|
9624
|
+
# @type Limit: Integer
|
|
9625
|
+
|
|
9626
|
+
attr_accessor :SubAppId, :RoundPlayId, :Limit
|
|
9627
|
+
|
|
9628
|
+
def initialize(subappid=nil, roundplayid=nil, limit=nil)
|
|
9629
|
+
@SubAppId = subappid
|
|
9630
|
+
@RoundPlayId = roundplayid
|
|
9631
|
+
@Limit = limit
|
|
9632
|
+
end
|
|
9633
|
+
|
|
9634
|
+
def deserialize(params)
|
|
9635
|
+
@SubAppId = params['SubAppId']
|
|
9636
|
+
@RoundPlayId = params['RoundPlayId']
|
|
9637
|
+
@Limit = params['Limit']
|
|
9638
|
+
end
|
|
9639
|
+
end
|
|
9640
|
+
|
|
9641
|
+
# DescribeCurrentPlaylist返回参数结构体
|
|
9642
|
+
class DescribeCurrentPlaylistResponse < TencentCloud::Common::AbstractModel
|
|
9643
|
+
# @param CurrentPlaylist: 当前播放列表信息。
|
|
9644
|
+
# @type CurrentPlaylist: Array
|
|
9645
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9646
|
+
# @type RequestId: String
|
|
9647
|
+
|
|
9648
|
+
attr_accessor :CurrentPlaylist, :RequestId
|
|
9649
|
+
|
|
9650
|
+
def initialize(currentplaylist=nil, requestid=nil)
|
|
9651
|
+
@CurrentPlaylist = currentplaylist
|
|
9652
|
+
@RequestId = requestid
|
|
9653
|
+
end
|
|
9654
|
+
|
|
9655
|
+
def deserialize(params)
|
|
9656
|
+
unless params['CurrentPlaylist'].nil?
|
|
9657
|
+
@CurrentPlaylist = []
|
|
9658
|
+
params['CurrentPlaylist'].each do |i|
|
|
9659
|
+
roundplayfileplayinfo_tmp = RoundPlayFilePlayInfo.new
|
|
9660
|
+
roundplayfileplayinfo_tmp.deserialize(i)
|
|
9661
|
+
@CurrentPlaylist << roundplayfileplayinfo_tmp
|
|
9662
|
+
end
|
|
9663
|
+
end
|
|
9664
|
+
@RequestId = params['RequestId']
|
|
9665
|
+
end
|
|
9666
|
+
end
|
|
9667
|
+
|
|
9617
9668
|
# DescribeDailyMediaPlayStat请求参数结构体
|
|
9618
9669
|
class DescribeDailyMediaPlayStatRequest < TencentCloud::Common::AbstractModel
|
|
9619
9670
|
# @param FileId: 媒体文件 ID 。
|
|
@@ -11202,18 +11253,30 @@ module TencentCloud
|
|
|
11202
11253
|
class DescribeRoundPlaysRequest < TencentCloud::Common::AbstractModel
|
|
11203
11254
|
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
11204
11255
|
# @type SubAppId: Integer
|
|
11205
|
-
# @param RoundPlayIds:
|
|
11256
|
+
# @param RoundPlayIds: 过滤条件:轮播播单标识,数组长度限制:100。
|
|
11206
11257
|
# @type RoundPlayIds: Array
|
|
11207
|
-
# @param
|
|
11258
|
+
# @param Status: 过滤条件,轮播播单状态,可选值: <li>Enabled:启动状态;</li> <li>Disabled:停止状态。</li>
|
|
11259
|
+
# @type Status: String
|
|
11260
|
+
# @param CreateTime: 过滤条件:轮播播单创建时间。
|
|
11261
|
+
# @type CreateTime: :class:`Tencentcloud::Vod.v20180717.models.TimeRange`
|
|
11262
|
+
# @param UpdateTime: 过滤条件:轮播播单更新时间。
|
|
11263
|
+
# @type UpdateTime: :class:`Tencentcloud::Vod.v20180717.models.TimeRange`
|
|
11264
|
+
# @param ScrollToken: 翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。
|
|
11265
|
+
# @type ScrollToken: String
|
|
11266
|
+
# @param Offset: 分页偏移量,默认值:0。已经废弃,请根据 ScrollToken 参数进行分批次查询。
|
|
11208
11267
|
# @type Offset: Integer
|
|
11209
11268
|
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
|
11210
11269
|
# @type Limit: Integer
|
|
11211
11270
|
|
|
11212
|
-
attr_accessor :SubAppId, :RoundPlayIds, :Offset, :Limit
|
|
11271
|
+
attr_accessor :SubAppId, :RoundPlayIds, :Status, :CreateTime, :UpdateTime, :ScrollToken, :Offset, :Limit
|
|
11213
11272
|
|
|
11214
|
-
def initialize(subappid=nil, roundplayids=nil, offset=nil, limit=nil)
|
|
11273
|
+
def initialize(subappid=nil, roundplayids=nil, status=nil, createtime=nil, updatetime=nil, scrolltoken=nil, offset=nil, limit=nil)
|
|
11215
11274
|
@SubAppId = subappid
|
|
11216
11275
|
@RoundPlayIds = roundplayids
|
|
11276
|
+
@Status = status
|
|
11277
|
+
@CreateTime = createtime
|
|
11278
|
+
@UpdateTime = updatetime
|
|
11279
|
+
@ScrollToken = scrolltoken
|
|
11217
11280
|
@Offset = offset
|
|
11218
11281
|
@Limit = limit
|
|
11219
11282
|
end
|
|
@@ -11221,6 +11284,16 @@ module TencentCloud
|
|
|
11221
11284
|
def deserialize(params)
|
|
11222
11285
|
@SubAppId = params['SubAppId']
|
|
11223
11286
|
@RoundPlayIds = params['RoundPlayIds']
|
|
11287
|
+
@Status = params['Status']
|
|
11288
|
+
unless params['CreateTime'].nil?
|
|
11289
|
+
@CreateTime = TimeRange.new
|
|
11290
|
+
@CreateTime.deserialize(params['CreateTime'])
|
|
11291
|
+
end
|
|
11292
|
+
unless params['UpdateTime'].nil?
|
|
11293
|
+
@UpdateTime = TimeRange.new
|
|
11294
|
+
@UpdateTime.deserialize(params['UpdateTime'])
|
|
11295
|
+
end
|
|
11296
|
+
@ScrollToken = params['ScrollToken']
|
|
11224
11297
|
@Offset = params['Offset']
|
|
11225
11298
|
@Limit = params['Limit']
|
|
11226
11299
|
end
|
|
@@ -11228,18 +11301,21 @@ module TencentCloud
|
|
|
11228
11301
|
|
|
11229
11302
|
# DescribeRoundPlays返回参数结构体
|
|
11230
11303
|
class DescribeRoundPlaysResponse < TencentCloud::Common::AbstractModel
|
|
11231
|
-
# @param TotalCount:
|
|
11304
|
+
# @param TotalCount: 符合过滤条件的轮播播单总数。已经废弃,分批次查询请请使用 ScrollToken 参数。
|
|
11232
11305
|
# @type TotalCount: Integer
|
|
11233
11306
|
# @param RoundPlaySet: 轮播播单详情列表。
|
|
11234
11307
|
# @type RoundPlaySet: Array
|
|
11308
|
+
# @param ScrollToken: 翻页标识,当请求未返回所有数据,该字段表示下一条记录的 ID。当该字段为空,说明已无更多数据。
|
|
11309
|
+
# @type ScrollToken: String
|
|
11235
11310
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11236
11311
|
# @type RequestId: String
|
|
11237
11312
|
|
|
11238
|
-
attr_accessor :TotalCount, :RoundPlaySet, :RequestId
|
|
11313
|
+
attr_accessor :TotalCount, :RoundPlaySet, :ScrollToken, :RequestId
|
|
11239
11314
|
|
|
11240
|
-
def initialize(totalcount=nil, roundplayset=nil, requestid=nil)
|
|
11315
|
+
def initialize(totalcount=nil, roundplayset=nil, scrolltoken=nil, requestid=nil)
|
|
11241
11316
|
@TotalCount = totalcount
|
|
11242
11317
|
@RoundPlaySet = roundplayset
|
|
11318
|
+
@ScrollToken = scrolltoken
|
|
11243
11319
|
@RequestId = requestid
|
|
11244
11320
|
end
|
|
11245
11321
|
|
|
@@ -11253,6 +11329,7 @@ module TencentCloud
|
|
|
11253
11329
|
@RoundPlaySet << roundplayinfo_tmp
|
|
11254
11330
|
end
|
|
11255
11331
|
end
|
|
11332
|
+
@ScrollToken = params['ScrollToken']
|
|
11256
11333
|
@RequestId = params['RequestId']
|
|
11257
11334
|
end
|
|
11258
11335
|
end
|
|
@@ -13849,6 +13926,96 @@ module TencentCloud
|
|
|
13849
13926
|
end
|
|
13850
13927
|
end
|
|
13851
13928
|
|
|
13929
|
+
# 快速媒体编辑操作的输入媒体类型
|
|
13930
|
+
class FastEditMediaFileInfo < TencentCloud::Common::AbstractModel
|
|
13931
|
+
# @param FileId: 媒体的 ID。
|
|
13932
|
+
# @type FileId: String
|
|
13933
|
+
# @param AudioVideoType: 操作的音视频类型,可选值有:
|
|
13934
|
+
# <li>Transcode:转码输出;</li>
|
|
13935
|
+
# <li>Original:原始音视频。</li>
|
|
13936
|
+
# 注意:操作的音视频,必须为 HLS 格式。
|
|
13937
|
+
# @type AudioVideoType: String
|
|
13938
|
+
# @param TranscodeDefinition: 当 AudioVideoType 为 Transcode 时有效,表示操作媒体的的转码模板 ID。
|
|
13939
|
+
# @type TranscodeDefinition: Integer
|
|
13940
|
+
# @param StartTimeOffset: 媒体剪辑起始的偏移时间,单位:秒。
|
|
13941
|
+
# @type StartTimeOffset: Float
|
|
13942
|
+
# @param EndTimeOffset: 媒体剪辑结束的时间偏移,单位:秒。
|
|
13943
|
+
# @type EndTimeOffset: Float
|
|
13944
|
+
|
|
13945
|
+
attr_accessor :FileId, :AudioVideoType, :TranscodeDefinition, :StartTimeOffset, :EndTimeOffset
|
|
13946
|
+
|
|
13947
|
+
def initialize(fileid=nil, audiovideotype=nil, transcodedefinition=nil, starttimeoffset=nil, endtimeoffset=nil)
|
|
13948
|
+
@FileId = fileid
|
|
13949
|
+
@AudioVideoType = audiovideotype
|
|
13950
|
+
@TranscodeDefinition = transcodedefinition
|
|
13951
|
+
@StartTimeOffset = starttimeoffset
|
|
13952
|
+
@EndTimeOffset = endtimeoffset
|
|
13953
|
+
end
|
|
13954
|
+
|
|
13955
|
+
def deserialize(params)
|
|
13956
|
+
@FileId = params['FileId']
|
|
13957
|
+
@AudioVideoType = params['AudioVideoType']
|
|
13958
|
+
@TranscodeDefinition = params['TranscodeDefinition']
|
|
13959
|
+
@StartTimeOffset = params['StartTimeOffset']
|
|
13960
|
+
@EndTimeOffset = params['EndTimeOffset']
|
|
13961
|
+
end
|
|
13962
|
+
end
|
|
13963
|
+
|
|
13964
|
+
# FastEditMedia请求参数结构体
|
|
13965
|
+
class FastEditMediaRequest < TencentCloud::Common::AbstractModel
|
|
13966
|
+
# @param FileInfos: 输入的媒体文件信息。最多支持传入100个媒体。
|
|
13967
|
+
# @type FileInfos: Array
|
|
13968
|
+
# @param ClipMode: ClipMode 用来表示剪辑时间点落在一个 TS 分片中间时,是否包含这个分片。共有两种取值: <li>StartInclusiveEndInclusive:当剪辑起始时间点和结束时间点落在一个分片的中间时,都会包含这个分片;</li> <li>StartInclusiveEndExclusive:当起始时间点落在一个分片的中间时,会包含这个分片;而当结束时间点落在一个分片的中间时,不会包含这个分片。</li> 不填时,默认为 StartInclusiveEndInclusive。
|
|
13969
|
+
# @type ClipMode: String
|
|
13970
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
13971
|
+
# @type SubAppId: Integer
|
|
13972
|
+
|
|
13973
|
+
attr_accessor :FileInfos, :ClipMode, :SubAppId
|
|
13974
|
+
|
|
13975
|
+
def initialize(fileinfos=nil, clipmode=nil, subappid=nil)
|
|
13976
|
+
@FileInfos = fileinfos
|
|
13977
|
+
@ClipMode = clipmode
|
|
13978
|
+
@SubAppId = subappid
|
|
13979
|
+
end
|
|
13980
|
+
|
|
13981
|
+
def deserialize(params)
|
|
13982
|
+
unless params['FileInfos'].nil?
|
|
13983
|
+
@FileInfos = []
|
|
13984
|
+
params['FileInfos'].each do |i|
|
|
13985
|
+
fasteditmediafileinfo_tmp = FastEditMediaFileInfo.new
|
|
13986
|
+
fasteditmediafileinfo_tmp.deserialize(i)
|
|
13987
|
+
@FileInfos << fasteditmediafileinfo_tmp
|
|
13988
|
+
end
|
|
13989
|
+
end
|
|
13990
|
+
@ClipMode = params['ClipMode']
|
|
13991
|
+
@SubAppId = params['SubAppId']
|
|
13992
|
+
end
|
|
13993
|
+
end
|
|
13994
|
+
|
|
13995
|
+
# FastEditMedia返回参数结构体
|
|
13996
|
+
class FastEditMediaResponse < TencentCloud::Common::AbstractModel
|
|
13997
|
+
# @param FileId: 快速编辑后的视频的媒体文件的唯一标识。
|
|
13998
|
+
# @type FileId: String
|
|
13999
|
+
# @param Url: 快速编辑后的媒体播放地址。
|
|
14000
|
+
# @type Url: String
|
|
14001
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14002
|
+
# @type RequestId: String
|
|
14003
|
+
|
|
14004
|
+
attr_accessor :FileId, :Url, :RequestId
|
|
14005
|
+
|
|
14006
|
+
def initialize(fileid=nil, url=nil, requestid=nil)
|
|
14007
|
+
@FileId = fileid
|
|
14008
|
+
@Url = url
|
|
14009
|
+
@RequestId = requestid
|
|
14010
|
+
end
|
|
14011
|
+
|
|
14012
|
+
def deserialize(params)
|
|
14013
|
+
@FileId = params['FileId']
|
|
14014
|
+
@Url = params['Url']
|
|
14015
|
+
@RequestId = params['RequestId']
|
|
14016
|
+
end
|
|
14017
|
+
end
|
|
14018
|
+
|
|
13852
14019
|
# 文件删除结果信息
|
|
13853
14020
|
class FileDeleteResultItem < TencentCloud::Common::AbstractModel
|
|
13854
14021
|
# @param FileId: 删除的文件 ID 。
|
|
@@ -14116,6 +14283,72 @@ module TencentCloud
|
|
|
14116
14283
|
end
|
|
14117
14284
|
end
|
|
14118
14285
|
|
|
14286
|
+
# HandleCurrentPlaylist请求参数结构体
|
|
14287
|
+
class HandleCurrentPlaylistRequest < TencentCloud::Common::AbstractModel
|
|
14288
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
|
14289
|
+
# @type SubAppId: Integer
|
|
14290
|
+
# @param RoundPlayId: 轮播播单唯一标识。
|
|
14291
|
+
# @type RoundPlayId: String
|
|
14292
|
+
# @param Operation: 操作类型,取值有:<li>Insert:向当前播放列表插入播放节目。</li> <li>InsertTemporary:向当前播放列表临时插入播放节目。只能插入到当前正在播放的节目后面,临时插入的节目只在本次轮播过程生效。</li><li>Delete:删除播放列表中的播放节目。不能删除正在播放的节目。</li>
|
|
14293
|
+
# @type Operation: String
|
|
14294
|
+
# @param ItemId: 播单节目 ID。当 Operation 为 Insert 时必填,表示插入的节目列表位于该播放节目之后。插入的位置必须在当前正在播放的节目之后。
|
|
14295
|
+
# @type ItemId: String
|
|
14296
|
+
# @param RoundPlaylist: 节目列表。当 Operation 为 Insert、InsertTemporary、Delete 时必填,表示要操作的节目列表。列表长度最大为10。
|
|
14297
|
+
# @type RoundPlaylist: Array
|
|
14298
|
+
|
|
14299
|
+
attr_accessor :SubAppId, :RoundPlayId, :Operation, :ItemId, :RoundPlaylist
|
|
14300
|
+
|
|
14301
|
+
def initialize(subappid=nil, roundplayid=nil, operation=nil, itemid=nil, roundplaylist=nil)
|
|
14302
|
+
@SubAppId = subappid
|
|
14303
|
+
@RoundPlayId = roundplayid
|
|
14304
|
+
@Operation = operation
|
|
14305
|
+
@ItemId = itemid
|
|
14306
|
+
@RoundPlaylist = roundplaylist
|
|
14307
|
+
end
|
|
14308
|
+
|
|
14309
|
+
def deserialize(params)
|
|
14310
|
+
@SubAppId = params['SubAppId']
|
|
14311
|
+
@RoundPlayId = params['RoundPlayId']
|
|
14312
|
+
@Operation = params['Operation']
|
|
14313
|
+
@ItemId = params['ItemId']
|
|
14314
|
+
unless params['RoundPlaylist'].nil?
|
|
14315
|
+
@RoundPlaylist = []
|
|
14316
|
+
params['RoundPlaylist'].each do |i|
|
|
14317
|
+
roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new
|
|
14318
|
+
roundplaylistiteminfo_tmp.deserialize(i)
|
|
14319
|
+
@RoundPlaylist << roundplaylistiteminfo_tmp
|
|
14320
|
+
end
|
|
14321
|
+
end
|
|
14322
|
+
end
|
|
14323
|
+
end
|
|
14324
|
+
|
|
14325
|
+
# HandleCurrentPlaylist返回参数结构体
|
|
14326
|
+
class HandleCurrentPlaylistResponse < TencentCloud::Common::AbstractModel
|
|
14327
|
+
# @param RoundPlaylist: 操作成功的节目列表。
|
|
14328
|
+
# @type RoundPlaylist: Array
|
|
14329
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14330
|
+
# @type RequestId: String
|
|
14331
|
+
|
|
14332
|
+
attr_accessor :RoundPlaylist, :RequestId
|
|
14333
|
+
|
|
14334
|
+
def initialize(roundplaylist=nil, requestid=nil)
|
|
14335
|
+
@RoundPlaylist = roundplaylist
|
|
14336
|
+
@RequestId = requestid
|
|
14337
|
+
end
|
|
14338
|
+
|
|
14339
|
+
def deserialize(params)
|
|
14340
|
+
unless params['RoundPlaylist'].nil?
|
|
14341
|
+
@RoundPlaylist = []
|
|
14342
|
+
params['RoundPlaylist'].each do |i|
|
|
14343
|
+
roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new
|
|
14344
|
+
roundplaylistiteminfo_tmp.deserialize(i)
|
|
14345
|
+
@RoundPlaylist << roundplaylistiteminfo_tmp
|
|
14346
|
+
end
|
|
14347
|
+
end
|
|
14348
|
+
@RequestId = params['RequestId']
|
|
14349
|
+
end
|
|
14350
|
+
end
|
|
14351
|
+
|
|
14119
14352
|
# 视频片头片尾识别任务控制参数
|
|
14120
14353
|
class HeadTailConfigureInfo < TencentCloud::Common::AbstractModel
|
|
14121
14354
|
# @param Switch: 视频片头片尾识别任务开关,可选值:
|
|
@@ -18866,8 +19099,7 @@ module TencentCloud
|
|
|
18866
19099
|
# @type Name: String
|
|
18867
19100
|
# @param Desc: 轮播播单描述信息,长度限制:256 个字符。
|
|
18868
19101
|
# @type Desc: String
|
|
18869
|
-
# @param Status:
|
|
18870
|
-
# <li>Disabled:结束播放,结束后轮播任务不能再次启动。</li>
|
|
19102
|
+
# @param Status: 播放状态,可选值:<li>Disabled:停止播放。</li><li>Enabled:启播时长到达后启动播放。</li>
|
|
18871
19103
|
# @type Status: String
|
|
18872
19104
|
# @param PlayBackMode: 播放模式,可选值:
|
|
18873
19105
|
# <li>Loop:循环播放播单;</li>
|
|
@@ -24430,6 +24662,40 @@ module TencentCloud
|
|
|
24430
24662
|
end
|
|
24431
24663
|
end
|
|
24432
24664
|
|
|
24665
|
+
# 轮播节目播放信息
|
|
24666
|
+
class RoundPlayFilePlayInfo < TencentCloud::Common::AbstractModel
|
|
24667
|
+
# @param ItemId: 播单节目的 ID,由系统分配。
|
|
24668
|
+
# @type ItemId: String
|
|
24669
|
+
# @param FileId: 媒体文件标识。
|
|
24670
|
+
# @type FileId: String
|
|
24671
|
+
# @param StartPlayTime: 启播时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
|
|
24672
|
+
# @type StartPlayTime: String
|
|
24673
|
+
# @param Duration: 播放时长,单位为秒。
|
|
24674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
24675
|
+
# @type Duration: Float
|
|
24676
|
+
# @param Progress: 播放进度,单位为妙。
|
|
24677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
24678
|
+
# @type Progress: Float
|
|
24679
|
+
|
|
24680
|
+
attr_accessor :ItemId, :FileId, :StartPlayTime, :Duration, :Progress
|
|
24681
|
+
|
|
24682
|
+
def initialize(itemid=nil, fileid=nil, startplaytime=nil, duration=nil, progress=nil)
|
|
24683
|
+
@ItemId = itemid
|
|
24684
|
+
@FileId = fileid
|
|
24685
|
+
@StartPlayTime = startplaytime
|
|
24686
|
+
@Duration = duration
|
|
24687
|
+
@Progress = progress
|
|
24688
|
+
end
|
|
24689
|
+
|
|
24690
|
+
def deserialize(params)
|
|
24691
|
+
@ItemId = params['ItemId']
|
|
24692
|
+
@FileId = params['FileId']
|
|
24693
|
+
@StartPlayTime = params['StartPlayTime']
|
|
24694
|
+
@Duration = params['Duration']
|
|
24695
|
+
@Progress = params['Progress']
|
|
24696
|
+
end
|
|
24697
|
+
end
|
|
24698
|
+
|
|
24433
24699
|
# 轮播任务信息
|
|
24434
24700
|
class RoundPlayInfo < TencentCloud::Common::AbstractModel
|
|
24435
24701
|
# @param RoundPlayId: 轮播播单标识。
|
|
@@ -24454,10 +24720,16 @@ module TencentCloud
|
|
|
24454
24720
|
# @type PlayBackMode: String
|
|
24455
24721
|
# @param Url: 轮播播放地址。
|
|
24456
24722
|
# @type Url: String
|
|
24723
|
+
# @param CreateTime: 创建时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
|
|
24724
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
24725
|
+
# @type CreateTime: String
|
|
24726
|
+
# @param UpdateTime: 更新时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
|
|
24727
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
24728
|
+
# @type UpdateTime: String
|
|
24457
24729
|
|
|
24458
|
-
attr_accessor :RoundPlayId, :StartTime, :RoundPlaylist, :Name, :Desc, :Status, :PlayBackMode, :Url
|
|
24730
|
+
attr_accessor :RoundPlayId, :StartTime, :RoundPlaylist, :Name, :Desc, :Status, :PlayBackMode, :Url, :CreateTime, :UpdateTime
|
|
24459
24731
|
|
|
24460
|
-
def initialize(roundplayid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil, status=nil, playbackmode=nil, url=nil)
|
|
24732
|
+
def initialize(roundplayid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil, status=nil, playbackmode=nil, url=nil, createtime=nil, updatetime=nil)
|
|
24461
24733
|
@RoundPlayId = roundplayid
|
|
24462
24734
|
@StartTime = starttime
|
|
24463
24735
|
@RoundPlaylist = roundplaylist
|
|
@@ -24466,6 +24738,8 @@ module TencentCloud
|
|
|
24466
24738
|
@Status = status
|
|
24467
24739
|
@PlayBackMode = playbackmode
|
|
24468
24740
|
@Url = url
|
|
24741
|
+
@CreateTime = createtime
|
|
24742
|
+
@UpdateTime = updatetime
|
|
24469
24743
|
end
|
|
24470
24744
|
|
|
24471
24745
|
def deserialize(params)
|
|
@@ -24484,10 +24758,12 @@ module TencentCloud
|
|
|
24484
24758
|
@Status = params['Status']
|
|
24485
24759
|
@PlayBackMode = params['PlayBackMode']
|
|
24486
24760
|
@Url = params['Url']
|
|
24761
|
+
@CreateTime = params['CreateTime']
|
|
24762
|
+
@UpdateTime = params['UpdateTime']
|
|
24487
24763
|
end
|
|
24488
24764
|
end
|
|
24489
24765
|
|
|
24490
|
-
#
|
|
24766
|
+
# 轮播播放节目信息
|
|
24491
24767
|
class RoundPlayListItemInfo < TencentCloud::Common::AbstractModel
|
|
24492
24768
|
# @param FileId: 媒体文件标识。
|
|
24493
24769
|
# @type FileId: String
|
|
@@ -24496,20 +24772,24 @@ module TencentCloud
|
|
|
24496
24772
|
# <li>Original:原始音视频。</li>
|
|
24497
24773
|
# Type 对应的格式必须为 HLS 格式。
|
|
24498
24774
|
# @type AudioVideoType: String
|
|
24775
|
+
# @param ItemId: 播放节目的 ID,由系统分配。
|
|
24776
|
+
# @type ItemId: String
|
|
24499
24777
|
# @param Definition: 指定播放的转码模版,当 AudioVideoType 为 Transcode 时必须指定。
|
|
24500
24778
|
# @type Definition: Integer
|
|
24501
24779
|
|
|
24502
|
-
attr_accessor :FileId, :AudioVideoType, :Definition
|
|
24780
|
+
attr_accessor :FileId, :AudioVideoType, :ItemId, :Definition
|
|
24503
24781
|
|
|
24504
|
-
def initialize(fileid=nil, audiovideotype=nil, definition=nil)
|
|
24782
|
+
def initialize(fileid=nil, audiovideotype=nil, itemid=nil, definition=nil)
|
|
24505
24783
|
@FileId = fileid
|
|
24506
24784
|
@AudioVideoType = audiovideotype
|
|
24785
|
+
@ItemId = itemid
|
|
24507
24786
|
@Definition = definition
|
|
24508
24787
|
end
|
|
24509
24788
|
|
|
24510
24789
|
def deserialize(params)
|
|
24511
24790
|
@FileId = params['FileId']
|
|
24512
24791
|
@AudioVideoType = params['AudioVideoType']
|
|
24792
|
+
@ItemId = params['ItemId']
|
|
24513
24793
|
@Definition = params['Definition']
|
|
24514
24794
|
end
|
|
24515
24795
|
end
|
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: 3.0.
|
|
4
|
+
version: 3.0.889
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-08-
|
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|