tencentcloud-sdk-vod 3.0.468 → 3.0.469

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 +115 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a08cb3a98d7af0c288a04ca309224a1ace211343
4
- data.tar.gz: 3ffeb7a411e961d22d231643c55d3c5b2b8b43c6
3
+ metadata.gz: 00159f049948703b79fb9e680be755c7e88a5fae
4
+ data.tar.gz: d8c32333bb685f56be8cf7ef3077e2d4b2abfe59
5
5
  SHA512:
6
- metadata.gz: f19bbc674953620f74b40f2714ffeca9d8e79ed5654c1bd30e83ebbf5ad608ee6d67a3bf639eaa8d6960cd6cd90d97eebc4992819c1078ee7963ccbb29432948
7
- data.tar.gz: 8f5d74840cc0c277c2d5d609f5d5cceece79f16f078356e64383c405c217f60f001d456645d0f9590144fdb64e6c6a7e828c53ad2fd3df60fbd9e85e3d8db201
6
+ metadata.gz: b61eaed7912a460a23f8d04bcc91e1459ed58b1c2978fb9b0fcc561aab95859cc61bee85000169030080c575c3906e3ce6c21db53fa41698b0807fa30cf1b3bf
7
+ data.tar.gz: 09df81be87ddf10ac0215c90e6d6801a94691179f9d5b0c96147429428e65eb2a62bfbf43edc9a70d3fa72b5a914cdc3c5e4b60ceb2e9113b352713403277906
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.468
1
+ 3.0.469
@@ -8373,6 +8373,81 @@ module TencentCloud
8373
8373
  end
8374
8374
  end
8375
8375
 
8376
+ # 获取文件属性任务信息
8377
+ class DescribeFileAttributesTask < TencentCloud::Common::AbstractModel
8378
+ # @param TaskId: 任务 ID。
8379
+ # @type TaskId: String
8380
+ # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
8381
+ # @type Status: String
8382
+ # @param ErrCode: 错误码,0 表示成功,其他值表示失败:
8383
+ # <li>40000:输入参数不合法,请检查输入参数;</li>
8384
+ # <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
8385
+ # <li>70000:内部服务错误,建议重试。</li>
8386
+ # @type ErrCode: Integer
8387
+ # @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) 列表。
8388
+ # @type ErrCodeExt: String
8389
+ # @param Message: 错误信息。
8390
+ # @type Message: String
8391
+ # @param Progress: 任务进度,取值范围 [0-100] 。
8392
+ # @type Progress: Integer
8393
+ # @param FileId: 媒体文件 ID。
8394
+ # @type FileId: String
8395
+ # @param Output: 获取媒体文件属性任务的输出。
8396
+ # 注意:此字段可能返回 null,表示取不到有效值。
8397
+ # @type Output: :class:`Tencentcloud::Vod.v20180717.models.DescribeFileAttributesTaskOutput`
8398
+ # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
8399
+ # @type SessionId: String
8400
+ # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
8401
+ # @type SessionContext: String
8402
+
8403
+ attr_accessor :TaskId, :Status, :ErrCode, :ErrCodeExt, :Message, :Progress, :FileId, :Output, :SessionId, :SessionContext
8404
+
8405
+ def initialize(taskid=nil, status=nil, errcode=nil, errcodeext=nil, message=nil, progress=nil, fileid=nil, output=nil, sessionid=nil, sessioncontext=nil)
8406
+ @TaskId = taskid
8407
+ @Status = status
8408
+ @ErrCode = errcode
8409
+ @ErrCodeExt = errcodeext
8410
+ @Message = message
8411
+ @Progress = progress
8412
+ @FileId = fileid
8413
+ @Output = output
8414
+ @SessionId = sessionid
8415
+ @SessionContext = sessioncontext
8416
+ end
8417
+
8418
+ def deserialize(params)
8419
+ @TaskId = params['TaskId']
8420
+ @Status = params['Status']
8421
+ @ErrCode = params['ErrCode']
8422
+ @ErrCodeExt = params['ErrCodeExt']
8423
+ @Message = params['Message']
8424
+ @Progress = params['Progress']
8425
+ @FileId = params['FileId']
8426
+ unless params['Output'].nil?
8427
+ @Output = DescribeFileAttributesTaskOutput.new
8428
+ @Output.deserialize(params['Output'])
8429
+ end
8430
+ @SessionId = params['SessionId']
8431
+ @SessionContext = params['SessionContext']
8432
+ end
8433
+ end
8434
+
8435
+ # 获取文件属性任务输出
8436
+ class DescribeFileAttributesTaskOutput < TencentCloud::Common::AbstractModel
8437
+ # @param Md5: 媒体文件的 Md5 值。
8438
+ # @type Md5: String
8439
+
8440
+ attr_accessor :Md5
8441
+
8442
+ def initialize(md5=nil)
8443
+ @Md5 = md5
8444
+ end
8445
+
8446
+ def deserialize(params)
8447
+ @Md5 = params['Md5']
8448
+ end
8449
+ end
8450
+
8376
8451
  # DescribeHeadTailTemplates请求参数结构体
8377
8452
  class DescribeHeadTailTemplatesRequest < TencentCloud::Common::AbstractModel
8378
8453
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
@@ -9587,6 +9662,7 @@ module TencentCloud
9587
9662
  # <li>PullUpload:拉取上传媒体文件任务;</li>
9588
9663
  # <li>FastClipMedia:快速剪辑任务;</li>
9589
9664
  # <li>RemoveWatermarkTask:智能去除水印任务;</li>
9665
+ # <li>DescribeFileAttributesTask:获取文件属性任务;</li>
9590
9666
  # <li> ReviewAudioVideo:音视频审核任务。</li>
9591
9667
  # @type TaskType: String
9592
9668
  # @param Status: 任务状态,取值:
@@ -9648,12 +9724,15 @@ module TencentCloud
9648
9724
  # @param ReduceMediaBitrateTask: 该字段已无效。
9649
9725
  # 注意:此字段可能返回 null,表示取不到有效值。
9650
9726
  # @type ReduceMediaBitrateTask: :class:`Tencentcloud::Vod.v20180717.models.ReduceMediaBitrateTask`
9727
+ # @param DescribeFileAttributesTask: 获取文件属性任务信息,仅当 TaskType 为 DescribeFileAttributes,该字段有值。
9728
+ # 注意:此字段可能返回 null,表示取不到有效值。
9729
+ # @type DescribeFileAttributesTask: :class:`Tencentcloud::Vod.v20180717.models.DescribeFileAttributesTask`
9651
9730
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9652
9731
  # @type RequestId: String
9653
9732
 
9654
- attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :ExtractTraceWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :RequestId
9733
+ attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :ExtractTraceWatermarkTask, :ReviewAudioVideoTask, :ReduceMediaBitrateTask, :DescribeFileAttributesTask, :RequestId
9655
9734
 
9656
- 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, extracttracewatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, requestid=nil)
9735
+ 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, extracttracewatermarktask=nil, reviewaudiovideotask=nil, reducemediabitratetask=nil, describefileattributestask=nil, requestid=nil)
9657
9736
  @TaskType = tasktype
9658
9737
  @Status = status
9659
9738
  @CreateTime = createtime
@@ -9675,6 +9754,7 @@ module TencentCloud
9675
9754
  @ExtractTraceWatermarkTask = extracttracewatermarktask
9676
9755
  @ReviewAudioVideoTask = reviewaudiovideotask
9677
9756
  @ReduceMediaBitrateTask = reducemediabitratetask
9757
+ @DescribeFileAttributesTask = describefileattributestask
9678
9758
  @RequestId = requestid
9679
9759
  end
9680
9760
 
@@ -9748,6 +9828,10 @@ module TencentCloud
9748
9828
  @ReduceMediaBitrateTask = ReduceMediaBitrateTask.new
9749
9829
  @ReduceMediaBitrateTask.deserialize(params['ReduceMediaBitrateTask'])
9750
9830
  end
9831
+ unless params['DescribeFileAttributesTask'].nil?
9832
+ @DescribeFileAttributesTask = DescribeFileAttributesTask.new
9833
+ @DescribeFileAttributesTask.deserialize(params['DescribeFileAttributesTask'])
9834
+ end
9751
9835
  @RequestId = params['RequestId']
9752
9836
  end
9753
9837
  end
@@ -10672,6 +10756,7 @@ module TencentCloud
10672
10756
  # <li>FastClipMediaComplete:快速剪辑完成;</li>
10673
10757
  # <li>ReviewAudioVideoComplete:音视频审核完成;</li>
10674
10758
  # <li>ExtractTraceWatermarkComplete:提取溯源水印完成;</li>
10759
+ # <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
10675
10760
  # <b>兼容 2017 版的事件类型:</b>
10676
10761
  # <li>TranscodeComplete:视频转码完成;</li>
10677
10762
  # <li>ConcatComplete:视频拼接完成;</li>
@@ -10736,10 +10821,13 @@ module TencentCloud
10736
10821
  # @param ReduceMediaBitrateCompleteEvent: 该字段已无效。
10737
10822
  # 注意:此字段可能返回 null,表示取不到有效值。
10738
10823
  # @type ReduceMediaBitrateCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.ReduceMediaBitrateTask`
10824
+ # @param DescribeFileAttributesCompleteEvent: 获取文件属性完成事件,当事件类型为 DescribeFileAttributesComplete 时有效。
10825
+ # 注意:此字段可能返回 null,表示取不到有效值。
10826
+ # @type DescribeFileAttributesCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.DescribeFileAttributesTask`
10739
10827
 
10740
- attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent
10828
+ attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :ExtractTraceWatermarkCompleteEvent, :ReviewAudioVideoCompleteEvent, :ReduceMediaBitrateCompleteEvent, :DescribeFileAttributesCompleteEvent
10741
10829
 
10742
- 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, extracttracewatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil)
10830
+ 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, extracttracewatermarkcompleteevent=nil, reviewaudiovideocompleteevent=nil, reducemediabitratecompleteevent=nil, describefileattributescompleteevent=nil)
10743
10831
  @EventHandle = eventhandle
10744
10832
  @EventType = eventtype
10745
10833
  @FileUploadEvent = fileuploadevent
@@ -10761,6 +10849,7 @@ module TencentCloud
10761
10849
  @ExtractTraceWatermarkCompleteEvent = extracttracewatermarkcompleteevent
10762
10850
  @ReviewAudioVideoCompleteEvent = reviewaudiovideocompleteevent
10763
10851
  @ReduceMediaBitrateCompleteEvent = reducemediabitratecompleteevent
10852
+ @DescribeFileAttributesCompleteEvent = describefileattributescompleteevent
10764
10853
  end
10765
10854
 
10766
10855
  def deserialize(params)
@@ -10842,6 +10931,10 @@ module TencentCloud
10842
10931
  @ReduceMediaBitrateCompleteEvent = ReduceMediaBitrateTask.new
10843
10932
  @ReduceMediaBitrateCompleteEvent.deserialize(params['ReduceMediaBitrateCompleteEvent'])
10844
10933
  end
10934
+ unless params['DescribeFileAttributesCompleteEvent'].nil?
10935
+ @DescribeFileAttributesCompleteEvent = DescribeFileAttributesTask.new
10936
+ @DescribeFileAttributesCompleteEvent.deserialize(params['DescribeFileAttributesCompleteEvent'])
10937
+ end
10845
10938
  end
10846
10939
  end
10847
10940
 
@@ -13035,10 +13128,13 @@ module TencentCloud
13035
13128
  # @type VideoDuration: Float
13036
13129
  # @param AudioDuration: 音频时长,单位:秒。
13037
13130
  # @type AudioDuration: Float
13131
+ # @param Md5: 媒体文件的 Md5 值。
13132
+ # <li><font color=red>注意</font>:如需要获取媒体文件的 Md5,调用 DescribeFileAttributes 接口,待任务执行完成后获取。</li>
13133
+ # @type Md5: String
13038
13134
 
13039
- attr_accessor :Size, :Container, :Bitrate, :Height, :Width, :Duration, :Rotate, :VideoStreamSet, :AudioStreamSet, :VideoDuration, :AudioDuration
13135
+ attr_accessor :Size, :Container, :Bitrate, :Height, :Width, :Duration, :Rotate, :VideoStreamSet, :AudioStreamSet, :VideoDuration, :AudioDuration, :Md5
13040
13136
 
13041
- def initialize(size=nil, container=nil, bitrate=nil, height=nil, width=nil, duration=nil, rotate=nil, videostreamset=nil, audiostreamset=nil, videoduration=nil, audioduration=nil)
13137
+ def initialize(size=nil, container=nil, bitrate=nil, height=nil, width=nil, duration=nil, rotate=nil, videostreamset=nil, audiostreamset=nil, videoduration=nil, audioduration=nil, md5=nil)
13042
13138
  @Size = size
13043
13139
  @Container = container
13044
13140
  @Bitrate = bitrate
@@ -13050,6 +13146,7 @@ module TencentCloud
13050
13146
  @AudioStreamSet = audiostreamset
13051
13147
  @VideoDuration = videoduration
13052
13148
  @AudioDuration = audioduration
13149
+ @Md5 = md5
13053
13150
  end
13054
13151
 
13055
13152
  def deserialize(params)
@@ -13078,6 +13175,7 @@ module TencentCloud
13078
13175
  end
13079
13176
  @VideoDuration = params['VideoDuration']
13080
13177
  @AudioDuration = params['AudioDuration']
13178
+ @Md5 = params['Md5']
13081
13179
  end
13082
13180
  end
13083
13181
 
@@ -18612,10 +18710,15 @@ module TencentCloud
18612
18710
  # @type Text: String
18613
18711
  # @param KeywordSet: 当 Form 为 OCR 或 ASR 时有效,表示嫌疑片段命中的违规关键词列表。
18614
18712
  # @type KeywordSet: Array
18713
+ # @param Url: 嫌疑图片 URL (图片不会永久存储,到达
18714
+ # PicUrlExpireTime 时间点后图片将被删除)。
18715
+ # @type Url: String
18716
+ # @param PicUrlExpireTime: 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
18717
+ # @type PicUrlExpireTime: String
18615
18718
 
18616
- attr_accessor :StartTimeOffset, :EndTimeOffset, :Confidence, :Suggestion, :Label, :SubLabel, :Form, :AreaCoordSet, :Text, :KeywordSet
18719
+ attr_accessor :StartTimeOffset, :EndTimeOffset, :Confidence, :Suggestion, :Label, :SubLabel, :Form, :AreaCoordSet, :Text, :KeywordSet, :Url, :PicUrlExpireTime
18617
18720
 
18618
- def initialize(starttimeoffset=nil, endtimeoffset=nil, confidence=nil, suggestion=nil, label=nil, sublabel=nil, form=nil, areacoordset=nil, text=nil, keywordset=nil)
18721
+ def initialize(starttimeoffset=nil, endtimeoffset=nil, confidence=nil, suggestion=nil, label=nil, sublabel=nil, form=nil, areacoordset=nil, text=nil, keywordset=nil, url=nil, picurlexpiretime=nil)
18619
18722
  @StartTimeOffset = starttimeoffset
18620
18723
  @EndTimeOffset = endtimeoffset
18621
18724
  @Confidence = confidence
@@ -18626,6 +18729,8 @@ module TencentCloud
18626
18729
  @AreaCoordSet = areacoordset
18627
18730
  @Text = text
18628
18731
  @KeywordSet = keywordset
18732
+ @Url = url
18733
+ @PicUrlExpireTime = picurlexpiretime
18629
18734
  end
18630
18735
 
18631
18736
  def deserialize(params)
@@ -18639,6 +18744,8 @@ module TencentCloud
18639
18744
  @AreaCoordSet = params['AreaCoordSet']
18640
18745
  @Text = params['Text']
18641
18746
  @KeywordSet = params['KeywordSet']
18747
+ @Url = params['Url']
18748
+ @PicUrlExpireTime = params['PicUrlExpireTime']
18642
18749
  end
18643
18750
  end
18644
18751
 
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.468
4
+ version: 3.0.469
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-12-08 00:00:00.000000000 Z
11
+ date: 2022-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common