tencentcloud-sdk-vod 3.0.592 → 3.0.593

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180717/models.rb +166 -15
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54c10262fa75ef747968f76fa0cf815e2f57578d
4
- data.tar.gz: 1ca64717f19eaf05d47cbd9de5f2c7abcfc419b8
3
+ metadata.gz: 9069f5d69c33c155e126b79b94f0ec73f1cf8fac
4
+ data.tar.gz: 962e987cf4842fc74a06cb0887fa8cdbb1521688
5
5
  SHA512:
6
- metadata.gz: 8dbdde4de2833cf9e3b29c03fcdc29cd878a1270f3c01f1084e82eee65ad628c8c1c1937859a7f5858f7b5aba28f36f26178bb681ab2a4e78782e8a362419e41
7
- data.tar.gz: 5cf16d3380fb37c0f01337ce78721e23a629b0780d5cd490a2240daa1209d506554475f81383f9bde41342b4c48f6f40cdfdf4587f407db864166cbf51e2187c
6
+ metadata.gz: 7beb18dd30e0efd8cb1d85e478b9504b558259231524fac027a6ce9318458efc0c9eff4ae41c5c00ac5bef10e9c147dcf57308e9e04c16967dcf10496412a764
7
+ data.tar.gz: a2ad8719ba6c0ba0369836e10e9445912ea862959e08d3d32d3511425d34f41631b868da57792a480465ca7e82046b7aa69f19fc677b73bc36bfd903faaafbc0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.592
1
+ 3.0.593
@@ -235,14 +235,17 @@ module TencentCloud
235
235
  # @type Size: Integer
236
236
  # @param DigitalWatermarkType: 数字水印类型。可选值:
237
237
  # <li>Trace 表示经过溯源水印处理;</li>
238
+ # <li>CopyRight 表示经过版权水印处理;</li>
238
239
  # <li>None 表示没有经过数字水印处理。</li>
239
240
  # @type DigitalWatermarkType: String
240
241
  # @param SubStreamSet: 子流信息列表。
241
242
  # @type SubStreamSet: Array
243
+ # @param CopyRightWatermarkText: 版权信息。
244
+ # @type CopyRightWatermarkText: String
242
245
 
243
- attr_accessor :Definition, :Package, :DrmType, :Url, :Size, :DigitalWatermarkType, :SubStreamSet
246
+ attr_accessor :Definition, :Package, :DrmType, :Url, :Size, :DigitalWatermarkType, :SubStreamSet, :CopyRightWatermarkText
244
247
 
245
- def initialize(definition=nil, package=nil, drmtype=nil, url=nil, size=nil, digitalwatermarktype=nil, substreamset=nil)
248
+ def initialize(definition=nil, package=nil, drmtype=nil, url=nil, size=nil, digitalwatermarktype=nil, substreamset=nil, copyrightwatermarktext=nil)
246
249
  @Definition = definition
247
250
  @Package = package
248
251
  @DrmType = drmtype
@@ -250,6 +253,7 @@ module TencentCloud
250
253
  @Size = size
251
254
  @DigitalWatermarkType = digitalwatermarktype
252
255
  @SubStreamSet = substreamset
256
+ @CopyRightWatermarkText = copyrightwatermarktext
253
257
  end
254
258
 
255
259
  def deserialize(params)
@@ -267,6 +271,7 @@ module TencentCloud
267
271
  @SubStreamSet << mediasubstreaminfoitem_tmp
268
272
  end
269
273
  end
274
+ @CopyRightWatermarkText = params['CopyRightWatermarkText']
270
275
  end
271
276
  end
272
277
 
@@ -278,15 +283,18 @@ module TencentCloud
278
283
  # @type WatermarkSet: Array
279
284
  # @param TraceWatermark: 溯源水印。
280
285
  # @type TraceWatermark: :class:`Tencentcloud::Vod.v20180717.models.TraceWatermarkInput`
286
+ # @param CopyRightWatermark: 版权水印。
287
+ # @type CopyRightWatermark: :class:`Tencentcloud::Vod.v20180717.models.CopyRightWatermarkInput`
281
288
  # @param SubtitleSet: 字幕列表,元素为字幕 ID,支持多个字幕,最大可支持16个。
282
289
  # @type SubtitleSet: Array
283
290
 
284
- attr_accessor :Definition, :WatermarkSet, :TraceWatermark, :SubtitleSet
291
+ attr_accessor :Definition, :WatermarkSet, :TraceWatermark, :CopyRightWatermark, :SubtitleSet
285
292
 
286
- def initialize(definition=nil, watermarkset=nil, tracewatermark=nil, subtitleset=nil)
293
+ def initialize(definition=nil, watermarkset=nil, tracewatermark=nil, copyrightwatermark=nil, subtitleset=nil)
287
294
  @Definition = definition
288
295
  @WatermarkSet = watermarkset
289
296
  @TraceWatermark = tracewatermark
297
+ @CopyRightWatermark = copyrightwatermark
290
298
  @SubtitleSet = subtitleset
291
299
  end
292
300
 
@@ -304,6 +312,10 @@ module TencentCloud
304
312
  @TraceWatermark = TraceWatermarkInput.new
305
313
  @TraceWatermark.deserialize(params['TraceWatermark'])
306
314
  end
315
+ unless params['CopyRightWatermark'].nil?
316
+ @CopyRightWatermark = CopyRightWatermarkInput.new
317
+ @CopyRightWatermark.deserialize(params['CopyRightWatermark'])
318
+ end
307
319
  @SubtitleSet = params['SubtitleSet']
308
320
  end
309
321
  end
@@ -4404,10 +4416,10 @@ module TencentCloud
4404
4416
  # <li>White:白色背景</li>
4405
4417
  # 默认值:Black。
4406
4418
  # @type Color: String
4407
- # @param Width: 画布宽度,即输出视频的宽度,取值范围:0~ 4096,单位:px。
4419
+ # @param Width: 画布宽度,即输出视频的宽度,取值范围:0~ 3840,单位:px。
4408
4420
  # 默认值:0,表示和第一个视频轨的第一个视频片段的视频宽度一致。
4409
4421
  # @type Width: Integer
4410
- # @param Height: 画布高度,即输出视频的高度(或长边),取值范围:0~ 4096,单位:px。
4422
+ # @param Height: 画布高度,即输出视频的高度(或长边),取值范围:0~ 3840,单位:px。
4411
4423
  # 默认值:0,表示和第一个视频轨的第一个视频片段的视频高度一致。
4412
4424
  # @type Height: Integer
4413
4425
 
@@ -5192,6 +5204,22 @@ module TencentCloud
5192
5204
  end
5193
5205
  end
5194
5206
 
5207
+ # 版权水印参数
5208
+ class CopyRightWatermarkInput < TencentCloud::Common::AbstractModel
5209
+ # @param Text: 版权信息,最大长度为 200 个字符。
5210
+ # @type Text: String
5211
+
5212
+ attr_accessor :Text
5213
+
5214
+ def initialize(text=nil)
5215
+ @Text = text
5216
+ end
5217
+
5218
+ def deserialize(params)
5219
+ @Text = params['Text']
5220
+ end
5221
+ end
5222
+
5195
5223
  # 对视频截图做封面任务输入参数类型
5196
5224
  class CoverBySnapshotTaskInput < TencentCloud::Common::AbstractModel
5197
5225
  # @param Definition: 指定时间点截图模板 ID。
@@ -10667,7 +10695,8 @@ module TencentCloud
10667
10695
  # <li>DescribeFileAttributesTask:获取文件属性任务;</li>
10668
10696
  # <li>RebuildMedia:音画质重生任务;</li>
10669
10697
  # <li>ReviewAudioVideo:音视频审核任务;</li>
10670
- # <li>ExtractTraceWatermark:提取溯源水印任务。</li>
10698
+ # <li>ExtractTraceWatermark:提取溯源水印任务;</li>
10699
+ # <li>ExtractCopyRightWatermark:提取版权水印任务。</li>
10671
10700
  # @type TaskType: String
10672
10701
  # @param Status: 任务状态,取值:
10673
10702
  # <li>WAITING:等待中;</li>
@@ -10725,6 +10754,9 @@ module TencentCloud
10725
10754
  # @param ExtractTraceWatermarkTask: 提取溯源水印任务信息,仅当 TaskType 为 ExtractTraceWatermark,该字段有值。
10726
10755
  # 注意:此字段可能返回 null,表示取不到有效值。
10727
10756
  # @type ExtractTraceWatermarkTask: :class:`Tencentcloud::Vod.v20180717.models.ExtractTraceWatermarkTask`
10757
+ # @param ExtractCopyRightWatermarkTask: 提取版权水印任务信息,仅当 TaskType 为 ExtractCopyRightWatermark,该字段有值。
10758
+ # 注意:此字段可能返回 null,表示取不到有效值。
10759
+ # @type ExtractCopyRightWatermarkTask: :class:`Tencentcloud::Vod.v20180717.models.ExtractCopyRightWatermarkTask`
10728
10760
  # @param ReviewAudioVideoTask: 音视频审核任务信息,仅当 TaskType 为 ReviewAudioVideo,该字段有值。
10729
10761
  # 注意:此字段可能返回 null,表示取不到有效值。
10730
10762
  # @type ReviewAudioVideoTask: :class:`Tencentcloud::Vod.v20180717.models.ReviewAudioVideoTask`
@@ -10737,9 +10769,9 @@ module TencentCloud
10737
10769
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10738
10770
  # @type RequestId: String
10739
10771
 
10740
- attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RebuildMediaTask, :ExtractTraceWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :RequestId
10772
+ attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RebuildMediaTask, :ExtractTraceWatermarkTask, :ExtractCopyRightWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :RequestId
10741
10773
 
10742
- def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, proceduretask=nil, editmediatask=nil, wechatpublishtask=nil, composemediatask=nil, splitmediatask=nil, wechatminiprogrampublishtask=nil, pulluploadtask=nil, transcodetask=nil, concattask=nil, cliptask=nil, createimagespritetask=nil, snapshotbytimeoffsettask=nil, removewatermarktask=nil, rebuildmediatask=nil, extracttracewatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, requestid=nil)
10774
+ def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, proceduretask=nil, editmediatask=nil, wechatpublishtask=nil, composemediatask=nil, splitmediatask=nil, wechatminiprogrampublishtask=nil, pulluploadtask=nil, transcodetask=nil, concattask=nil, cliptask=nil, createimagespritetask=nil, snapshotbytimeoffsettask=nil, removewatermarktask=nil, rebuildmediatask=nil, extracttracewatermarktask=nil, extractcopyrightwatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, requestid=nil)
10743
10775
  @TaskType = tasktype
10744
10776
  @Status = status
10745
10777
  @CreateTime = createtime
@@ -10760,6 +10792,7 @@ module TencentCloud
10760
10792
  @RemoveWatermarkTask = removewatermarktask
10761
10793
  @RebuildMediaTask = rebuildmediatask
10762
10794
  @ExtractTraceWatermarkTask = extracttracewatermarktask
10795
+ @ExtractCopyRightWatermarkTask = extractcopyrightwatermarktask
10763
10796
  @ReviewAudioVideoTask = reviewaudiovideotask
10764
10797
  @ReduceMediaBitrateTask = reducemediabitratetask
10765
10798
  @DescribeFileAttributesTask = describefileattributestask
@@ -10832,6 +10865,10 @@ module TencentCloud
10832
10865
  @ExtractTraceWatermarkTask = ExtractTraceWatermarkTask.new
10833
10866
  @ExtractTraceWatermarkTask.deserialize(params['ExtractTraceWatermarkTask'])
10834
10867
  end
10868
+ unless params['ExtractCopyRightWatermarkTask'].nil?
10869
+ @ExtractCopyRightWatermarkTask = ExtractCopyRightWatermarkTask.new
10870
+ @ExtractCopyRightWatermarkTask.deserialize(params['ExtractCopyRightWatermarkTask'])
10871
+ end
10835
10872
  unless params['ReviewAudioVideoTask'].nil?
10836
10873
  @ReviewAudioVideoTask = ReviewAudioVideoTask.new
10837
10874
  @ReviewAudioVideoTask.deserialize(params['ReviewAudioVideoTask'])
@@ -11904,6 +11941,7 @@ module TencentCloud
11904
11941
  # <li>RebuildMediaComplete:音画质重生完成事件。</li>
11905
11942
  # <li>ReviewAudioVideoComplete:音视频审核完成;</li>
11906
11943
  # <li>ExtractTraceWatermarkComplete:提取溯源水印完成;</li>
11944
+ # <li>ExtractCopyRightWatermarkComplete:提取版权水印完成;</li>
11907
11945
  # <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
11908
11946
  # <b>兼容 2017 版的事件类型:</b>
11909
11947
  # <li>TranscodeComplete:视频转码完成;</li>
@@ -11966,6 +12004,9 @@ module TencentCloud
11966
12004
  # @param ExtractTraceWatermarkCompleteEvent: 溯源水印提取完成事件,当事件类型为 ExtractTraceWatermarkComplete 时有效。
11967
12005
  # 注意:此字段可能返回 null,表示取不到有效值。
11968
12006
  # @type ExtractTraceWatermarkCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.ExtractTraceWatermarkTask`
12007
+ # @param ExtractCopyRightWatermarkCompleteEvent: 版权水印提取完成事件,当事件类型为 ExtractCopyRightWatermarkComplete 时有效。
12008
+ # 注意:此字段可能返回 null,表示取不到有效值。
12009
+ # @type ExtractCopyRightWatermarkCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.ExtractCopyRightWatermarkTask`
11969
12010
  # @param ReviewAudioVideoCompleteEvent: 音视频审核完成事件,当事件类型为 ReviewAudioVideoComplete 时有效。
11970
12011
  # 注意:此字段可能返回 null,表示取不到有效值。
11971
12012
  # @type ReviewAudioVideoCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.ReviewAudioVideoTask`
@@ -11976,9 +12017,9 @@ module TencentCloud
11976
12017
  # 注意:此字段可能返回 null,表示取不到有效值。
11977
12018
  # @type DescribeFileAttributesCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.DescribeFileAttributesTask`
11978
12019
 
11979
- attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :RebuildMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent
12020
+ 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
11980
12021
 
11981
- 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, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil)
12022
+ 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)
11982
12023
  @EventHandle = eventhandle
11983
12024
  @EventType = eventtype
11984
12025
  @FileUploadEvent = fileuploadevent
@@ -11999,6 +12040,7 @@ module TencentCloud
11999
12040
  @RestoreMediaCompleteEvent = restoremediacompleteevent
12000
12041
  @RebuildMediaCompleteEvent = rebuildmediacompleteevent
12001
12042
  @ExtractTraceWatermarkCompleteEvent = extracttracewatermarkcompleteevent
12043
+ @ExtractCopyRightWatermarkCompleteEvent = extractcopyrightwatermarkcompleteevent
12002
12044
  @ReviewAudioVideoCompleteEvent = reviewaudiovideocompleteevent
12003
12045
  @ReduceMediaBitrateCompleteEvent = reducemediabitratecompleteevent
12004
12046
  @DescribeFileAttributesCompleteEvent = describefileattributescompleteevent
@@ -12079,6 +12121,10 @@ module TencentCloud
12079
12121
  @ExtractTraceWatermarkCompleteEvent = ExtractTraceWatermarkTask.new
12080
12122
  @ExtractTraceWatermarkCompleteEvent.deserialize(params['ExtractTraceWatermarkCompleteEvent'])
12081
12123
  end
12124
+ unless params['ExtractCopyRightWatermarkCompleteEvent'].nil?
12125
+ @ExtractCopyRightWatermarkCompleteEvent = ExtractCopyRightWatermarkTask.new
12126
+ @ExtractCopyRightWatermarkCompleteEvent.deserialize(params['ExtractCopyRightWatermarkCompleteEvent'])
12127
+ end
12082
12128
  unless params['ReviewAudioVideoCompleteEvent'].nil?
12083
12129
  @ReviewAudioVideoCompleteEvent = ReviewAudioVideoTask.new
12084
12130
  @ReviewAudioVideoCompleteEvent.deserialize(params['ReviewAudioVideoCompleteEvent'])
@@ -12150,6 +12196,99 @@ module TencentCloud
12150
12196
  end
12151
12197
  end
12152
12198
 
12199
+ # 提取版权水印任务。
12200
+ class ExtractCopyRightWatermarkTask < TencentCloud::Common::AbstractModel
12201
+ # @param TaskId: 任务 ID。
12202
+ # @type TaskId: String
12203
+ # @param Status: 任务状态,取值:
12204
+ # <li>PROCESSING:处理中;</li>
12205
+ # <li>FINISH:已完成。</li>
12206
+ # @type Status: String
12207
+ # @param ErrCode: 错误码,0 表示成功,其他值表示失败:
12208
+ # <li>40000:输入参数不合法,请检查输入参数;</li>
12209
+ # <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
12210
+ # <li>70000:内部服务错误,建议重试。</li>
12211
+ # @type ErrCode: Integer
12212
+ # @param Message: 错误信息。
12213
+ # @type Message: String
12214
+ # @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
12215
+ # @type ErrCodeExt: String
12216
+ # @param Input: 提取版权水印任务输入信息。
12217
+ # 注意:此字段可能返回 null,表示取不到有效值。
12218
+ # @type Input: :class:`Tencentcloud::Vod.v20180717.models.ExtractCopyRightWatermarkTaskInput`
12219
+ # @param Output: 提取版权水印任务输出信息。
12220
+ # 注意:此字段可能返回 null,表示取不到有效值。
12221
+ # @type Output: :class:`Tencentcloud::Vod.v20180717.models.ExtractCopyRightWatermarkTaskOutput`
12222
+ # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
12223
+ # @type SessionId: String
12224
+ # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
12225
+ # @type SessionContext: String
12226
+
12227
+ attr_accessor :TaskId, :Status, :ErrCode, :Message, :ErrCodeExt, :Input, :Output, :SessionId, :SessionContext
12228
+
12229
+ def initialize(taskid=nil, status=nil, errcode=nil, message=nil, errcodeext=nil, input=nil, output=nil, sessionid=nil, sessioncontext=nil)
12230
+ @TaskId = taskid
12231
+ @Status = status
12232
+ @ErrCode = errcode
12233
+ @Message = message
12234
+ @ErrCodeExt = errcodeext
12235
+ @Input = input
12236
+ @Output = output
12237
+ @SessionId = sessionid
12238
+ @SessionContext = sessioncontext
12239
+ end
12240
+
12241
+ def deserialize(params)
12242
+ @TaskId = params['TaskId']
12243
+ @Status = params['Status']
12244
+ @ErrCode = params['ErrCode']
12245
+ @Message = params['Message']
12246
+ @ErrCodeExt = params['ErrCodeExt']
12247
+ unless params['Input'].nil?
12248
+ @Input = ExtractCopyRightWatermarkTaskInput.new
12249
+ @Input.deserialize(params['Input'])
12250
+ end
12251
+ unless params['Output'].nil?
12252
+ @Output = ExtractCopyRightWatermarkTaskOutput.new
12253
+ @Output.deserialize(params['Output'])
12254
+ end
12255
+ @SessionId = params['SessionId']
12256
+ @SessionContext = params['SessionContext']
12257
+ end
12258
+ end
12259
+
12260
+ # 提取版权水印任务输入
12261
+ class ExtractCopyRightWatermarkTaskInput < TencentCloud::Common::AbstractModel
12262
+ # @param Url: 需要提取水印的媒体 URL。
12263
+ # @type Url: String
12264
+
12265
+ attr_accessor :Url
12266
+
12267
+ def initialize(url=nil)
12268
+ @Url = url
12269
+ end
12270
+
12271
+ def deserialize(params)
12272
+ @Url = params['Url']
12273
+ end
12274
+ end
12275
+
12276
+ # 提取版权水印输出信息
12277
+ class ExtractCopyRightWatermarkTaskOutput < TencentCloud::Common::AbstractModel
12278
+ # @param Text: 版权信息。
12279
+ # @type Text: String
12280
+
12281
+ attr_accessor :Text
12282
+
12283
+ def initialize(text=nil)
12284
+ @Text = text
12285
+ end
12286
+
12287
+ def deserialize(params)
12288
+ @Text = params['Text']
12289
+ end
12290
+ end
12291
+
12153
12292
  # ExtractTraceWatermark请求参数结构体
12154
12293
  class ExtractTraceWatermarkRequest < TencentCloud::Common::AbstractModel
12155
12294
  # @param Url: 需要提取水印的媒体 URL。
@@ -15618,12 +15757,15 @@ module TencentCloud
15618
15757
  # @type AudioStreamSet: Array
15619
15758
  # @param DigitalWatermarkType: 数字水印类型。可选值:
15620
15759
  # <li>Trace 表示经过溯源水印处理;</li>
15760
+ # <li>CopyRight 表示经过版权水印处理;</li>
15621
15761
  # <li>None 表示没有经过数字水印处理。</li>
15622
15762
  # @type DigitalWatermarkType: String
15763
+ # @param CopyRightWatermarkText: 版权信息。
15764
+ # @type CopyRightWatermarkText: String
15623
15765
 
15624
- attr_accessor :Url, :Definition, :Bitrate, :Height, :Width, :Size, :Duration, :Md5, :Container, :VideoStreamSet, :AudioStreamSet, :DigitalWatermarkType
15766
+ attr_accessor :Url, :Definition, :Bitrate, :Height, :Width, :Size, :Duration, :Md5, :Container, :VideoStreamSet, :AudioStreamSet, :DigitalWatermarkType, :CopyRightWatermarkText
15625
15767
 
15626
- def initialize(url=nil, definition=nil, bitrate=nil, height=nil, width=nil, size=nil, duration=nil, md5=nil, container=nil, videostreamset=nil, audiostreamset=nil, digitalwatermarktype=nil)
15768
+ def initialize(url=nil, definition=nil, bitrate=nil, height=nil, width=nil, size=nil, duration=nil, md5=nil, container=nil, videostreamset=nil, audiostreamset=nil, digitalwatermarktype=nil, copyrightwatermarktext=nil)
15627
15769
  @Url = url
15628
15770
  @Definition = definition
15629
15771
  @Bitrate = bitrate
@@ -15636,6 +15778,7 @@ module TencentCloud
15636
15778
  @VideoStreamSet = videostreamset
15637
15779
  @AudioStreamSet = audiostreamset
15638
15780
  @DigitalWatermarkType = digitalwatermarktype
15781
+ @CopyRightWatermarkText = copyrightwatermarktext
15639
15782
  end
15640
15783
 
15641
15784
  def deserialize(params)
@@ -15665,6 +15808,7 @@ module TencentCloud
15665
15808
  end
15666
15809
  end
15667
15810
  @DigitalWatermarkType = params['DigitalWatermarkType']
15811
+ @CopyRightWatermarkText = params['CopyRightWatermarkText']
15668
15812
  end
15669
15813
  end
15670
15814
 
@@ -24118,6 +24262,8 @@ module TencentCloud
24118
24262
  # @type WatermarkSet: Array
24119
24263
  # @param TraceWatermark: 溯源水印。
24120
24264
  # @type TraceWatermark: :class:`Tencentcloud::Vod.v20180717.models.TraceWatermarkInput`
24265
+ # @param CopyRightWatermark: 版权水印。
24266
+ # @type CopyRightWatermark: :class:`Tencentcloud::Vod.v20180717.models.CopyRightWatermarkInput`
24121
24267
  # @param MosaicSet: 马赛克列表,最大可支持 10 张。
24122
24268
  # @type MosaicSet: Array
24123
24269
  # @param HeadTailSet: 片头片尾列表,支持多片头片尾,最大可支持 10 个。
@@ -24133,12 +24279,13 @@ module TencentCloud
24133
24279
  # <li>当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。</li>
24134
24280
  # @type EndTimeOffset: Float
24135
24281
 
24136
- attr_accessor :Definition, :WatermarkSet, :TraceWatermark, :MosaicSet, :HeadTailSet, :StartTimeOffset, :EndTimeOffset
24282
+ attr_accessor :Definition, :WatermarkSet, :TraceWatermark, :CopyRightWatermark, :MosaicSet, :HeadTailSet, :StartTimeOffset, :EndTimeOffset
24137
24283
 
24138
- def initialize(definition=nil, watermarkset=nil, tracewatermark=nil, mosaicset=nil, headtailset=nil, starttimeoffset=nil, endtimeoffset=nil)
24284
+ def initialize(definition=nil, watermarkset=nil, tracewatermark=nil, copyrightwatermark=nil, mosaicset=nil, headtailset=nil, starttimeoffset=nil, endtimeoffset=nil)
24139
24285
  @Definition = definition
24140
24286
  @WatermarkSet = watermarkset
24141
24287
  @TraceWatermark = tracewatermark
24288
+ @CopyRightWatermark = copyrightwatermark
24142
24289
  @MosaicSet = mosaicset
24143
24290
  @HeadTailSet = headtailset
24144
24291
  @StartTimeOffset = starttimeoffset
@@ -24159,6 +24306,10 @@ module TencentCloud
24159
24306
  @TraceWatermark = TraceWatermarkInput.new
24160
24307
  @TraceWatermark.deserialize(params['TraceWatermark'])
24161
24308
  end
24309
+ unless params['CopyRightWatermark'].nil?
24310
+ @CopyRightWatermark = CopyRightWatermarkInput.new
24311
+ @CopyRightWatermark.deserialize(params['CopyRightWatermark'])
24312
+ end
24162
24313
  unless params['MosaicSet'].nil?
24163
24314
  @MosaicSet = []
24164
24315
  params['MosaicSet'].each do |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.592
4
+ version: 3.0.593
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-14 00:00:00.000000000 Z
11
+ date: 2023-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common