tencentcloud-sdk-vod 3.0.908 → 3.0.910
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/client.rb +1 -1
- data/lib/v20180717/models.rb +49 -7
- 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: 2130e8cb2f8402da4af9db9198b7fc6daf2aa7fa
|
4
|
+
data.tar.gz: f20325c3729635b7039e438a334d2a4500a2cd14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e01d5b09bb2c9651639d8d4acb6f14741d79d7ba5a8ceb8e4b9118fec5adf9dbca0fd993442ab176de36f3dc0679d17163dd1ac236084837ec8176cca8cc3538
|
7
|
+
data.tar.gz: 3310deff440eef3d13e6272649c277e31dcfe22d8eecfd9c5a7fe7635ad61b4c2ac56b581d0dbe952c4112ec99494bb05833ded7fa158812329879a783637ddb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.910
|
data/lib/v20180717/client.rb
CHANGED
@@ -410,7 +410,7 @@ module TencentCloud
|
|
410
410
|
end
|
411
411
|
|
412
412
|
# 创建片头片尾模板。
|
413
|
-
# -
|
413
|
+
# - 最大支持模板数量为 100 个。
|
414
414
|
|
415
415
|
# @param request: Request instance for CreateHeadTailTemplate.
|
416
416
|
# @type request: :class:`Tencentcloud::vod::V20180717::CreateHeadTailTemplateRequest`
|
data/lib/v20180717/models.rb
CHANGED
@@ -10077,16 +10077,19 @@ module TencentCloud
|
|
10077
10077
|
# @type UploadMediaCompleteEventSwitch: String
|
10078
10078
|
# @param DeleteMediaCompleteEventSwitch: 是否接收 [视频删除完成](https://cloud.tencent.com/document/product/266/13434) 事件通知,"OFF" 为忽略该事件通知,"ON" 为接收事件通知。
|
10079
10079
|
# @type DeleteMediaCompleteEventSwitch: String
|
10080
|
+
# @param PersistenceCompleteEventSwitch: 是否接收剪辑固化完成事件通知,"OFF" 为忽略该事件通知,"ON" 为接收事件通知。
|
10081
|
+
# @type PersistenceCompleteEventSwitch: String
|
10080
10082
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10081
10083
|
# @type RequestId: String
|
10082
10084
|
|
10083
|
-
attr_accessor :Mode, :NotificationUrl, :UploadMediaCompleteEventSwitch, :DeleteMediaCompleteEventSwitch, :RequestId
|
10085
|
+
attr_accessor :Mode, :NotificationUrl, :UploadMediaCompleteEventSwitch, :DeleteMediaCompleteEventSwitch, :PersistenceCompleteEventSwitch, :RequestId
|
10084
10086
|
|
10085
|
-
def initialize(mode=nil, notificationurl=nil, uploadmediacompleteeventswitch=nil, deletemediacompleteeventswitch=nil, requestid=nil)
|
10087
|
+
def initialize(mode=nil, notificationurl=nil, uploadmediacompleteeventswitch=nil, deletemediacompleteeventswitch=nil, persistencecompleteeventswitch=nil, requestid=nil)
|
10086
10088
|
@Mode = mode
|
10087
10089
|
@NotificationUrl = notificationurl
|
10088
10090
|
@UploadMediaCompleteEventSwitch = uploadmediacompleteeventswitch
|
10089
10091
|
@DeleteMediaCompleteEventSwitch = deletemediacompleteeventswitch
|
10092
|
+
@PersistenceCompleteEventSwitch = persistencecompleteeventswitch
|
10090
10093
|
@RequestId = requestid
|
10091
10094
|
end
|
10092
10095
|
|
@@ -10095,6 +10098,7 @@ module TencentCloud
|
|
10095
10098
|
@NotificationUrl = params['NotificationUrl']
|
10096
10099
|
@UploadMediaCompleteEventSwitch = params['UploadMediaCompleteEventSwitch']
|
10097
10100
|
@DeleteMediaCompleteEventSwitch = params['DeleteMediaCompleteEventSwitch']
|
10101
|
+
@PersistenceCompleteEventSwitch = params['PersistenceCompleteEventSwitch']
|
10098
10102
|
@RequestId = params['RequestId']
|
10099
10103
|
end
|
10100
10104
|
end
|
@@ -13252,7 +13256,8 @@ module TencentCloud
|
|
13252
13256
|
# <li>ExtractCopyRightWatermarkComplete:提取版权水印完成;</li>
|
13253
13257
|
# <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
|
13254
13258
|
# <li>QualityInspectComplete:音画质检测完成;</li>
|
13255
|
-
# <li>QualityEnhanceComplete
|
13259
|
+
# <li>QualityEnhanceComplete:音画质重生任务完成;</li>
|
13260
|
+
# <li>PersistenceComplete:剪辑固化完成。</li>
|
13256
13261
|
# <b>兼容 2017 版的事件类型:</b>
|
13257
13262
|
# <li>TranscodeComplete:视频转码完成;</li>
|
13258
13263
|
# <li>ConcatComplete:视频拼接完成;</li>
|
@@ -13335,10 +13340,13 @@ module TencentCloud
|
|
13335
13340
|
# @param MediaCastStatusChangedEvent: 媒体转推状态变化事件,当事件类型为 MediaCastStatusChanged 时有效。
|
13336
13341
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
13337
13342
|
# @type MediaCastStatusChangedEvent: :class:`Tencentcloud::Vod.v20180717.models.MediaCastEvent`
|
13343
|
+
# @param PersistenceCompleteEvent: 剪辑固化完成事件,当事件类型为 PersistenceComplete 时有效。
|
13344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13345
|
+
# @type PersistenceCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.PersistenceCompleteTask`
|
13338
13346
|
|
13339
|
-
attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :RebuildMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ExtractCopyRightWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent, :QualityInspectCompleteEvent, :QualityEnhanceCompleteEvent, :MediaCastStatusChangedEvent
|
13347
|
+
attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :RebuildMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ExtractCopyRightWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent, :QualityInspectCompleteEvent, :QualityEnhanceCompleteEvent, :MediaCastStatusChangedEvent, :PersistenceCompleteEvent
|
13340
13348
|
|
13341
|
-
def initialize(eventhandle=nil, eventtype=nil, fileuploadevent=nil, procedurestatechangeevent=nil, filedeleteevent=nil, pullcompleteevent=nil, editmediacompleteevent=nil, splitmediacompleteevent=nil, composemediacompleteevent=nil, clipcompleteevent=nil, transcodecompleteevent=nil, createimagespritecompleteevent=nil, concatcompleteevent=nil, snapshotbytimeoffsetcompleteevent=nil, wechatpublishcompleteevent=nil, wechatminiprogrampublishcompleteevent=nil, removewatermarkcompleteevent=nil, restoremediacompleteevent=nil, rebuildmediacompleteevent=nil, extracttracewatermarkcompleteevent=nil, extractcopyrightwatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil, qualityinspectcompleteevent=nil, qualityenhancecompleteevent=nil, mediacaststatuschangedevent=nil)
|
13349
|
+
def initialize(eventhandle=nil, eventtype=nil, fileuploadevent=nil, procedurestatechangeevent=nil, filedeleteevent=nil, pullcompleteevent=nil, editmediacompleteevent=nil, splitmediacompleteevent=nil, composemediacompleteevent=nil, clipcompleteevent=nil, transcodecompleteevent=nil, createimagespritecompleteevent=nil, concatcompleteevent=nil, snapshotbytimeoffsetcompleteevent=nil, wechatpublishcompleteevent=nil, wechatminiprogrampublishcompleteevent=nil, removewatermarkcompleteevent=nil, restoremediacompleteevent=nil, rebuildmediacompleteevent=nil, extracttracewatermarkcompleteevent=nil, extractcopyrightwatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil, qualityinspectcompleteevent=nil, qualityenhancecompleteevent=nil, mediacaststatuschangedevent=nil, persistencecompleteevent=nil)
|
13342
13350
|
@EventHandle = eventhandle
|
13343
13351
|
@EventType = eventtype
|
13344
13352
|
@FileUploadEvent = fileuploadevent
|
@@ -13366,6 +13374,7 @@ module TencentCloud
|
|
13366
13374
|
@QualityInspectCompleteEvent = qualityinspectcompleteevent
|
13367
13375
|
@QualityEnhanceCompleteEvent = qualityenhancecompleteevent
|
13368
13376
|
@MediaCastStatusChangedEvent = mediacaststatuschangedevent
|
13377
|
+
@PersistenceCompleteEvent = persistencecompleteevent
|
13369
13378
|
end
|
13370
13379
|
|
13371
13380
|
def deserialize(params)
|
@@ -13471,6 +13480,10 @@ module TencentCloud
|
|
13471
13480
|
@MediaCastStatusChangedEvent = MediaCastEvent.new
|
13472
13481
|
@MediaCastStatusChangedEvent.deserialize(params['MediaCastStatusChangedEvent'])
|
13473
13482
|
end
|
13483
|
+
unless params['PersistenceCompleteEvent'].nil?
|
13484
|
+
@PersistenceCompleteEvent = PersistenceCompleteTask.new
|
13485
|
+
@PersistenceCompleteEvent.deserialize(params['PersistenceCompleteEvent'])
|
13486
|
+
end
|
13474
13487
|
end
|
13475
13488
|
end
|
13476
13489
|
|
@@ -18330,16 +18343,19 @@ module TencentCloud
|
|
18330
18343
|
# @type UploadMediaCompleteEventSwitch: String
|
18331
18344
|
# @param DeleteMediaCompleteEventSwitch: 是否接收 [视频删除完成](https://cloud.tencent.com/document/product/266/13434) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。
|
18332
18345
|
# @type DeleteMediaCompleteEventSwitch: String
|
18346
|
+
# @param PersistenceCompleteEventSwitch: 是否接收剪辑固化完成事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。
|
18347
|
+
# @type PersistenceCompleteEventSwitch: String
|
18333
18348
|
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
18334
18349
|
# @type SubAppId: Integer
|
18335
18350
|
|
18336
|
-
attr_accessor :Mode, :NotificationUrl, :UploadMediaCompleteEventSwitch, :DeleteMediaCompleteEventSwitch, :SubAppId
|
18351
|
+
attr_accessor :Mode, :NotificationUrl, :UploadMediaCompleteEventSwitch, :DeleteMediaCompleteEventSwitch, :PersistenceCompleteEventSwitch, :SubAppId
|
18337
18352
|
|
18338
|
-
def initialize(mode=nil, notificationurl=nil, uploadmediacompleteeventswitch=nil, deletemediacompleteeventswitch=nil, subappid=nil)
|
18353
|
+
def initialize(mode=nil, notificationurl=nil, uploadmediacompleteeventswitch=nil, deletemediacompleteeventswitch=nil, persistencecompleteeventswitch=nil, subappid=nil)
|
18339
18354
|
@Mode = mode
|
18340
18355
|
@NotificationUrl = notificationurl
|
18341
18356
|
@UploadMediaCompleteEventSwitch = uploadmediacompleteeventswitch
|
18342
18357
|
@DeleteMediaCompleteEventSwitch = deletemediacompleteeventswitch
|
18358
|
+
@PersistenceCompleteEventSwitch = persistencecompleteeventswitch
|
18343
18359
|
@SubAppId = subappid
|
18344
18360
|
end
|
18345
18361
|
|
@@ -18348,6 +18364,7 @@ module TencentCloud
|
|
18348
18364
|
@NotificationUrl = params['NotificationUrl']
|
18349
18365
|
@UploadMediaCompleteEventSwitch = params['UploadMediaCompleteEventSwitch']
|
18350
18366
|
@DeleteMediaCompleteEventSwitch = params['DeleteMediaCompleteEventSwitch']
|
18367
|
+
@PersistenceCompleteEventSwitch = params['PersistenceCompleteEventSwitch']
|
18351
18368
|
@SubAppId = params['SubAppId']
|
18352
18369
|
end
|
18353
18370
|
end
|
@@ -20231,6 +20248,31 @@ module TencentCloud
|
|
20231
20248
|
end
|
20232
20249
|
end
|
20233
20250
|
|
20251
|
+
# 剪辑固化任务信息。
|
20252
|
+
class PersistenceCompleteTask < TencentCloud::Common::AbstractModel
|
20253
|
+
# @param FileId: 固化生成的媒体 ID。
|
20254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20255
|
+
# @type FileId: String
|
20256
|
+
# @param PersistenceSource: 剪辑固化的来源,有以下三种。
|
20257
|
+
# <li>SimpleHlsClip:来自简单 HLS 剪辑;</li>
|
20258
|
+
# <li>FastEditMedia:来自快速媒体编辑;</li>
|
20259
|
+
# <li>LiveRealTimeClip:来自直播即时剪辑。</li>
|
20260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
20261
|
+
# @type PersistenceSource: String
|
20262
|
+
|
20263
|
+
attr_accessor :FileId, :PersistenceSource
|
20264
|
+
|
20265
|
+
def initialize(fileid=nil, persistencesource=nil)
|
20266
|
+
@FileId = fileid
|
20267
|
+
@PersistenceSource = persistencesource
|
20268
|
+
end
|
20269
|
+
|
20270
|
+
def deserialize(params)
|
20271
|
+
@FileId = params['FileId']
|
20272
|
+
@PersistenceSource = params['PersistenceSource']
|
20273
|
+
end
|
20274
|
+
end
|
20275
|
+
|
20234
20276
|
# 播放统计文件信息
|
20235
20277
|
class PlayStatFileInfo < TencentCloud::Common::AbstractModel
|
20236
20278
|
# @param Date: 播放统计数据所属日期,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
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.910
|
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-09-
|
11
|
+
date: 2024-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|