tencentcloud-sdk-vod 3.0.400 → 3.0.403
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/models.rb +218 -8
- 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: c93c37b26dc43bd270a6e5559bac40aa9e049dc5
|
4
|
+
data.tar.gz: bf12a67fe3ac3ab2716ae2c21655e322d13a7975
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dcc47cb12e98de6a4a7df9e90b191619e6c505a52159e98f61e5a5c3ed350df1e9a428b4146ad84dadca443b5d16b08ac5bcc6adc0872969d39ccfa9c51149c
|
7
|
+
data.tar.gz: 3de95bdab36ae55be32921fda95e5232d60c5ffee5a47de604622c1926c0acf1b1673679c385ed315c8f60589d408fa056b38261a6e8b24cc1a6d8615a3d385a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.403
|
data/lib/v20180717/models.rb
CHANGED
@@ -9463,7 +9463,8 @@ module TencentCloud
|
|
9463
9463
|
# <li>WechatMiniProgramPublish:微信小程序视频发布任务;</li>
|
9464
9464
|
# <li>PullUpload:拉取上传媒体文件任务;</li>
|
9465
9465
|
# <li>FastClipMedia:快速剪辑任务;</li>
|
9466
|
-
# <li>RemoveWatermarkTask
|
9466
|
+
# <li>RemoveWatermarkTask:智能去除水印任务;</li>
|
9467
|
+
# <li> ReviewAudioVideo:音视频审核任务。</li>
|
9467
9468
|
# @type TaskType: String
|
9468
9469
|
# @param Status: 任务状态,取值:
|
9469
9470
|
# <li>WAITING:等待中;</li>
|
@@ -9515,12 +9516,15 @@ module TencentCloud
|
|
9515
9516
|
# @param RemoveWatermarkTask: 智能去除水印任务信息,仅当 TaskType 为 RemoveWatermark,该字段有值。
|
9516
9517
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9517
9518
|
# @type RemoveWatermarkTask: :class:`Tencentcloud::Vod.v20180717.models.RemoveWatermarkTask`
|
9519
|
+
# @param ReviewAudioVideoTask: 音视频审核任务信息,仅当 TaskType 为 ReviewAudioVideo,该字段有值。
|
9520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9521
|
+
# @type ReviewAudioVideoTask: :class:`Tencentcloud::Vod.v20180717.models.ReviewAudioVideoTask`
|
9518
9522
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9519
9523
|
# @type RequestId: String
|
9520
9524
|
|
9521
|
-
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :RequestId
|
9525
|
+
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :ProcedureTask, :EditMediaTask, :WechatPublishTask, :ComposeMediaTask, :SplitMediaTask, :WechatMiniProgramPublishTask, :PullUploadTask, :TranscodeTask, :ConcatTask, :ClipTask, :CreateImageSpriteTask, :SnapshotByTimeOffsetTask, :RemoveWatermarkTask, :ReviewAudioVideoTask, :RequestId
|
9522
9526
|
|
9523
|
-
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, requestid=nil)
|
9527
|
+
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, reviewaudiovideotask=nil, requestid=nil)
|
9524
9528
|
@TaskType = tasktype
|
9525
9529
|
@Status = status
|
9526
9530
|
@CreateTime = createtime
|
@@ -9539,6 +9543,7 @@ module TencentCloud
|
|
9539
9543
|
@CreateImageSpriteTask = createimagespritetask
|
9540
9544
|
@SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
|
9541
9545
|
@RemoveWatermarkTask = removewatermarktask
|
9546
|
+
@ReviewAudioVideoTask = reviewaudiovideotask
|
9542
9547
|
@RequestId = requestid
|
9543
9548
|
end
|
9544
9549
|
|
@@ -9600,6 +9605,10 @@ module TencentCloud
|
|
9600
9605
|
@RemoveWatermarkTask = RemoveWatermarkTask.new
|
9601
9606
|
@RemoveWatermarkTask.deserialize(params['RemoveWatermarkTask'])
|
9602
9607
|
end
|
9608
|
+
unless params['ReviewAudioVideoTask'].nil?
|
9609
|
+
@ReviewAudioVideoTask = ReviewAudioVideoTask.new
|
9610
|
+
@ReviewAudioVideoTask.deserialize(params['ReviewAudioVideoTask'])
|
9611
|
+
end
|
9603
9612
|
@RequestId = params['RequestId']
|
9604
9613
|
end
|
9605
9614
|
end
|
@@ -10521,7 +10530,8 @@ module TencentCloud
|
|
10521
10530
|
# <li>WechatPublishComplete:微信发布完成;</li>
|
10522
10531
|
# <li>ComposeMediaComplete:制作媒体文件完成;</li>
|
10523
10532
|
# <li>WechatMiniProgramPublishComplete:微信小程序发布完成。</li>
|
10524
|
-
# <li>FastClipMediaComplete
|
10533
|
+
# <li>FastClipMediaComplete:快速剪辑完成;</li>
|
10534
|
+
# <li>ReviewAudioVideoComplete:音视频审核完成。</li>
|
10525
10535
|
# <b>兼容 2017 版的事件类型:</b>
|
10526
10536
|
# <li>TranscodeComplete:视频转码完成;</li>
|
10527
10537
|
# <li>ConcatComplete:视频拼接完成;</li>
|
@@ -10577,10 +10587,13 @@ module TencentCloud
|
|
10577
10587
|
# @param RestoreMediaCompleteEvent: 视频取回完成事件,当事件类型为RestoreMediaComplete 时有效。
|
10578
10588
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10579
10589
|
# @type RestoreMediaCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.RestoreMediaTask`
|
10590
|
+
# @param ReviewAudioVideoCompleteEvent: 音视频审核完成事件,当事件类型为 ReviewAudioVideoComplete 时有效。
|
10591
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10592
|
+
# @type ReviewAudioVideoCompleteEvent: :class:`Tencentcloud::Vod.v20180717.models.ReviewAudioVideoTask`
|
10580
10593
|
|
10581
|
-
attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent
|
10594
|
+
attr_accessor :EventHandle, :EventType, :FileUploadEvent, :ProcedureStateChangeEvent, :FileDeleteEvent, :PullCompleteEvent, :EditMediaCompleteEvent, :SplitMediaCompleteEvent, :ComposeMediaCompleteEvent, :ClipCompleteEvent, :TranscodeCompleteEvent, :CreateImageSpriteCompleteEvent, :ConcatCompleteEvent, :SnapshotByTimeOffsetCompleteEvent, :WechatPublishCompleteEvent, :WechatMiniProgramPublishCompleteEvent, :RemoveWatermarkCompleteEvent, :RestoreMediaCompleteEvent, :ReviewAudioVideoCompleteEvent
|
10582
10595
|
|
10583
|
-
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)
|
10596
|
+
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, reviewaudiovideocompleteevent=nil)
|
10584
10597
|
@EventHandle = eventhandle
|
10585
10598
|
@EventType = eventtype
|
10586
10599
|
@FileUploadEvent = fileuploadevent
|
@@ -10599,6 +10612,7 @@ module TencentCloud
|
|
10599
10612
|
@WechatMiniProgramPublishCompleteEvent = wechatminiprogrampublishcompleteevent
|
10600
10613
|
@RemoveWatermarkCompleteEvent = removewatermarkcompleteevent
|
10601
10614
|
@RestoreMediaCompleteEvent = restoremediacompleteevent
|
10615
|
+
@ReviewAudioVideoCompleteEvent = reviewaudiovideocompleteevent
|
10602
10616
|
end
|
10603
10617
|
|
10604
10618
|
def deserialize(params)
|
@@ -10668,6 +10682,10 @@ module TencentCloud
|
|
10668
10682
|
@RestoreMediaCompleteEvent = RestoreMediaTask.new
|
10669
10683
|
@RestoreMediaCompleteEvent.deserialize(params['RestoreMediaCompleteEvent'])
|
10670
10684
|
end
|
10685
|
+
unless params['ReviewAudioVideoCompleteEvent'].nil?
|
10686
|
+
@ReviewAudioVideoCompleteEvent = ReviewAudioVideoTask.new
|
10687
|
+
@ReviewAudioVideoCompleteEvent.deserialize(params['ReviewAudioVideoCompleteEvent'])
|
10688
|
+
end
|
10671
10689
|
end
|
10672
10690
|
end
|
10673
10691
|
|
@@ -17020,10 +17038,16 @@ module TencentCloud
|
|
17020
17038
|
# <li>FullRefund:可全额退款。</li>
|
17021
17039
|
# <li>Denied:不可退款。</li>
|
17022
17040
|
# @type RefundStatus: String
|
17041
|
+
# @param RenewStatus: 自动续费状态,取值有:
|
17042
|
+
# <li>Never:不自动续费。</li>
|
17043
|
+
# <li>Expire:到期自动续费。</li>
|
17044
|
+
# <li>ExpireOrUseOut:到期或用完自动续费。</li>
|
17045
|
+
# <li>NotSupport:不支持。</li>
|
17046
|
+
# @type RenewStatus: String
|
17023
17047
|
|
17024
|
-
attr_accessor :ProductType, :StartTime, :ExpireTime, :ProductInstanceId, :LastConsumeDate, :BindStatus, :ProductInstanceResourceSet, :ProductInstanceStatus, :RefundStatus
|
17048
|
+
attr_accessor :ProductType, :StartTime, :ExpireTime, :ProductInstanceId, :LastConsumeDate, :BindStatus, :ProductInstanceResourceSet, :ProductInstanceStatus, :RefundStatus, :RenewStatus
|
17025
17049
|
|
17026
|
-
def initialize(producttype=nil, starttime=nil, expiretime=nil, productinstanceid=nil, lastconsumedate=nil, bindstatus=nil, productinstanceresourceset=nil, productinstancestatus=nil, refundstatus=nil)
|
17050
|
+
def initialize(producttype=nil, starttime=nil, expiretime=nil, productinstanceid=nil, lastconsumedate=nil, bindstatus=nil, productinstanceresourceset=nil, productinstancestatus=nil, refundstatus=nil, renewstatus=nil)
|
17027
17051
|
@ProductType = producttype
|
17028
17052
|
@StartTime = starttime
|
17029
17053
|
@ExpireTime = expiretime
|
@@ -17033,6 +17057,7 @@ module TencentCloud
|
|
17033
17057
|
@ProductInstanceResourceSet = productinstanceresourceset
|
17034
17058
|
@ProductInstanceStatus = productinstancestatus
|
17035
17059
|
@RefundStatus = refundstatus
|
17060
|
+
@RenewStatus = renewstatus
|
17036
17061
|
end
|
17037
17062
|
|
17038
17063
|
def deserialize(params)
|
@@ -17052,6 +17077,7 @@ module TencentCloud
|
|
17052
17077
|
end
|
17053
17078
|
@ProductInstanceStatus = params['ProductInstanceStatus']
|
17054
17079
|
@RefundStatus = params['RefundStatus']
|
17080
|
+
@RenewStatus = params['RenewStatus']
|
17055
17081
|
end
|
17056
17082
|
end
|
17057
17083
|
|
@@ -17916,6 +17942,190 @@ module TencentCloud
|
|
17916
17942
|
end
|
17917
17943
|
end
|
17918
17944
|
|
17945
|
+
# 音视频审核片段。
|
17946
|
+
class ReviewAudioVideoSegmentItem < TencentCloud::Common::AbstractModel
|
17947
|
+
# @param StartTimeOffset: 嫌疑片段起始的偏移时间,单位:秒。
|
17948
|
+
# @type StartTimeOffset: Float
|
17949
|
+
# @param EndTimeOffset: 嫌疑片段结束的偏移时间,单位:秒。
|
17950
|
+
# @type EndTimeOffset: Float
|
17951
|
+
# @param Confidence: 嫌疑片段涉及令人反感的信息的分数。
|
17952
|
+
# @type Confidence: Float
|
17953
|
+
# @param Suggestion: 嫌疑片段鉴别涉及违规信息的结果建议,取值范围:
|
17954
|
+
# <li>review:疑似违规,建议复审;</li>
|
17955
|
+
# <li>block:确认违规,建议封禁。</li>
|
17956
|
+
# @type Suggestion: String
|
17957
|
+
# @param Label: 嫌疑片段最可能的违规的标签,取值范围:
|
17958
|
+
# <li>Porn:色情;</li>
|
17959
|
+
# <li>Terrorism:暴恐;</li>
|
17960
|
+
# <li>Political:令人不适宜的信息。</li>
|
17961
|
+
# @type Label: String
|
17962
|
+
# @param SubLabel: 当 Form 为 Image 或 Voice 时有效,表示当前标签(Label)下的二级标签。
|
17963
|
+
# 当 Form 为 Image 且 Label 为 Porn 时,取值范围:
|
17964
|
+
# <li>porn:色情;</li>
|
17965
|
+
# <li>vulgar:低俗。</li>
|
17966
|
+
|
17967
|
+
# 当 Form 为 Image 且 Label 为 Terrorism 时,取值范围:
|
17968
|
+
# <li>guns:武器枪支;</li>
|
17969
|
+
# <li>bloody:血腥画面;</li>
|
17970
|
+
# <li>banners:暴恐旗帜;</li>
|
17971
|
+
# <li> scenario:暴恐画面;</li>
|
17972
|
+
# <li>explosion:爆炸火灾。</li>
|
17973
|
+
|
17974
|
+
# 当 Form 为 Image 且 Label 为 Political 时,取值范围:
|
17975
|
+
# <li>violation_photo:违规图标;</li>
|
17976
|
+
# <li>nation_politician:国家领导人;</li>
|
17977
|
+
# <li>province_politician:省部级领导人;</li>
|
17978
|
+
# <li>county_politician:市/县级领导人;</li>
|
17979
|
+
# <li>sensitive_politician:敏感相关人物;</li>
|
17980
|
+
# <li>foreign_politician:国外政治人物;</li>
|
17981
|
+
# <li>sensitive_entertainment:敏感娱乐明星;</li>
|
17982
|
+
# <li>sensitive_military:敏感军事人物。</li>
|
17983
|
+
|
17984
|
+
# 当 Form 为 Voice 且 Label 为 Porn 时,取值范围:
|
17985
|
+
# <li>moan:娇喘。</li>
|
17986
|
+
# @type SubLabel: String
|
17987
|
+
# @param Form: 嫌疑片段违禁的形式,取值范围:
|
17988
|
+
# <li>Image:画面上的人物或图标;</li>
|
17989
|
+
# <li>OCR:画面上的文字;</li>
|
17990
|
+
# <li>ASR:语音中的文字;</li>
|
17991
|
+
# <li>Voice:声音。</li>
|
17992
|
+
# @type Form: String
|
17993
|
+
# @param AreaCoordSet: 当 Form 为 Image 或 OCR 时有效,表示嫌疑人物、图标或文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
|
17994
|
+
# @type AreaCoordSet: Array
|
17995
|
+
# @param Text: 当 Form 为 OCR 或 ASR 时有效,表示识别出来的 OCR 或 ASR 文本内容。
|
17996
|
+
# @type Text: String
|
17997
|
+
# @param KeywordSet: 当 Form 为 OCR 或 ASR 时有效,表示嫌疑片段命中的违规关键词列表。
|
17998
|
+
# @type KeywordSet: Array
|
17999
|
+
|
18000
|
+
attr_accessor :StartTimeOffset, :EndTimeOffset, :Confidence, :Suggestion, :Label, :SubLabel, :Form, :AreaCoordSet, :Text, :KeywordSet
|
18001
|
+
|
18002
|
+
def initialize(starttimeoffset=nil, endtimeoffset=nil, confidence=nil, suggestion=nil, label=nil, sublabel=nil, form=nil, areacoordset=nil, text=nil, keywordset=nil)
|
18003
|
+
@StartTimeOffset = starttimeoffset
|
18004
|
+
@EndTimeOffset = endtimeoffset
|
18005
|
+
@Confidence = confidence
|
18006
|
+
@Suggestion = suggestion
|
18007
|
+
@Label = label
|
18008
|
+
@SubLabel = sublabel
|
18009
|
+
@Form = form
|
18010
|
+
@AreaCoordSet = areacoordset
|
18011
|
+
@Text = text
|
18012
|
+
@KeywordSet = keywordset
|
18013
|
+
end
|
18014
|
+
|
18015
|
+
def deserialize(params)
|
18016
|
+
@StartTimeOffset = params['StartTimeOffset']
|
18017
|
+
@EndTimeOffset = params['EndTimeOffset']
|
18018
|
+
@Confidence = params['Confidence']
|
18019
|
+
@Suggestion = params['Suggestion']
|
18020
|
+
@Label = params['Label']
|
18021
|
+
@SubLabel = params['SubLabel']
|
18022
|
+
@Form = params['Form']
|
18023
|
+
@AreaCoordSet = params['AreaCoordSet']
|
18024
|
+
@Text = params['Text']
|
18025
|
+
@KeywordSet = params['KeywordSet']
|
18026
|
+
end
|
18027
|
+
end
|
18028
|
+
|
18029
|
+
# 音视频审核任务信息。
|
18030
|
+
class ReviewAudioVideoTask < TencentCloud::Common::AbstractModel
|
18031
|
+
# @param TaskId: 任务 ID。
|
18032
|
+
# @type TaskId: String
|
18033
|
+
# @param Status: 任务状态,取值:
|
18034
|
+
# <li>PROCESSING:处理中;</li>
|
18035
|
+
# <li>FINISH:已完成。</li>
|
18036
|
+
# @type Status: String
|
18037
|
+
# @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) 列表。
|
18038
|
+
# @type ErrCodeExt: String
|
18039
|
+
# @param Message: 错误信息。
|
18040
|
+
# @type Message: String
|
18041
|
+
# @param Output: 音视频审核任务的输出。
|
18042
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18043
|
+
# @type Output: :class:`Tencentcloud::Vod.v20180717.models.ReviewAudioVideoTaskOutput`
|
18044
|
+
# @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
18045
|
+
# @type SessionId: String
|
18046
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
18047
|
+
# @type SessionContext: String
|
18048
|
+
|
18049
|
+
attr_accessor :TaskId, :Status, :ErrCodeExt, :Message, :Output, :SessionId, :SessionContext
|
18050
|
+
|
18051
|
+
def initialize(taskid=nil, status=nil, errcodeext=nil, message=nil, output=nil, sessionid=nil, sessioncontext=nil)
|
18052
|
+
@TaskId = taskid
|
18053
|
+
@Status = status
|
18054
|
+
@ErrCodeExt = errcodeext
|
18055
|
+
@Message = message
|
18056
|
+
@Output = output
|
18057
|
+
@SessionId = sessionid
|
18058
|
+
@SessionContext = sessioncontext
|
18059
|
+
end
|
18060
|
+
|
18061
|
+
def deserialize(params)
|
18062
|
+
@TaskId = params['TaskId']
|
18063
|
+
@Status = params['Status']
|
18064
|
+
@ErrCodeExt = params['ErrCodeExt']
|
18065
|
+
@Message = params['Message']
|
18066
|
+
unless params['Output'].nil?
|
18067
|
+
@Output = ReviewAudioVideoTaskOutput.new
|
18068
|
+
@Output.deserialize(params['Output'])
|
18069
|
+
end
|
18070
|
+
@SessionId = params['SessionId']
|
18071
|
+
@SessionContext = params['SessionContext']
|
18072
|
+
end
|
18073
|
+
end
|
18074
|
+
|
18075
|
+
# 音视频审核任务的输出。
|
18076
|
+
class ReviewAudioVideoTaskOutput < TencentCloud::Common::AbstractModel
|
18077
|
+
# @param Suggestion: 音视频内容审核的结果建议,取值范围:
|
18078
|
+
# <li>pass:建议通过;</li>
|
18079
|
+
# <li>review:建议复审;</li>
|
18080
|
+
# <li>block:建议封禁。</li>
|
18081
|
+
# @type Suggestion: String
|
18082
|
+
# @param Label: 当 Suggestion 为 review 或 block 时有效,表示音视频最可能的违规的标签,取值范围:
|
18083
|
+
# <li>Porn:色情;</li>
|
18084
|
+
# <li>Terrorism:暴恐;</li>
|
18085
|
+
# <li>Political:令人不适宜的信息。</li>
|
18086
|
+
# @type Label: String
|
18087
|
+
# @param Form: 当 Suggestion 为 review 或 block 时有效,表示音视频最可能的违禁的形式,取值范围:
|
18088
|
+
# <li>Image:画面上的人物或图标;</li>
|
18089
|
+
# <li>OCR:画面上的文字;</li>
|
18090
|
+
# <li>ASR:语音中的文字;</li>
|
18091
|
+
# <li>Voice:声音。</li>
|
18092
|
+
# @type Form: String
|
18093
|
+
# @param SegmentSet: 有违规信息的嫌疑的视频片段列表。
|
18094
|
+
# <font color=red>注意</font> :该列表最多仅展示前 10个 元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
18095
|
+
# @type SegmentSet: Array
|
18096
|
+
# @param SegmentSetFileUrl: 涉及违规信息的嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
18097
|
+
# @type SegmentSetFileUrl: String
|
18098
|
+
# @param SegmentSetFileUrlExpireTime: 涉及违规信息的嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
18099
|
+
# @type SegmentSetFileUrlExpireTime: String
|
18100
|
+
|
18101
|
+
attr_accessor :Suggestion, :Label, :Form, :SegmentSet, :SegmentSetFileUrl, :SegmentSetFileUrlExpireTime
|
18102
|
+
|
18103
|
+
def initialize(suggestion=nil, label=nil, form=nil, segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil)
|
18104
|
+
@Suggestion = suggestion
|
18105
|
+
@Label = label
|
18106
|
+
@Form = form
|
18107
|
+
@SegmentSet = segmentset
|
18108
|
+
@SegmentSetFileUrl = segmentsetfileurl
|
18109
|
+
@SegmentSetFileUrlExpireTime = segmentsetfileurlexpiretime
|
18110
|
+
end
|
18111
|
+
|
18112
|
+
def deserialize(params)
|
18113
|
+
@Suggestion = params['Suggestion']
|
18114
|
+
@Label = params['Label']
|
18115
|
+
@Form = params['Form']
|
18116
|
+
unless params['SegmentSet'].nil?
|
18117
|
+
@SegmentSet = []
|
18118
|
+
params['SegmentSet'].each do |i|
|
18119
|
+
reviewaudiovideosegmentitem_tmp = ReviewAudioVideoSegmentItem.new
|
18120
|
+
reviewaudiovideosegmentitem_tmp.deserialize(i)
|
18121
|
+
@SegmentSet << reviewaudiovideosegmentitem_tmp
|
18122
|
+
end
|
18123
|
+
end
|
18124
|
+
@SegmentSetFileUrl = params['SegmentSetFileUrl']
|
18125
|
+
@SegmentSetFileUrlExpireTime = params['SegmentSetFileUrlExpireTime']
|
18126
|
+
end
|
18127
|
+
end
|
18128
|
+
|
17919
18129
|
# ReviewImage请求参数结构体
|
17920
18130
|
class ReviewImageRequest < TencentCloud::Common::AbstractModel
|
17921
18131
|
# @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符。本接口要求媒体文件必须是图片格式。
|
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.403
|
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-
|
11
|
+
date: 2022-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|