tencentcloud-sdk-vm 3.0.872 → 3.0.873
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/v20201229/client.rb +1 -3
- data/lib/v20201229/models.rb +128 -12
- data/lib/v20210922/models.rb +5 -6
- 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: 741ebcfe2868588f7447cef9be4658c65d7323d2
|
|
4
|
+
data.tar.gz: 93b2a965e14ff53852acb15bab35f6ef622798c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b176e5ceeee09fb99a7a19c90f813401b92e98993f1bf297d3c209b9e99e9d644f9684b79d5a590960c49b5d6a8175c8a8ba231eece757cc757435cacf50fe0b
|
|
7
|
+
data.tar.gz: 2054cf9a02605bc42956296b7029d668aa8c9ec2c50b176ddb105229d67ad811c22b4b691d1e9710ecca79ab6f1dc24e4ae025df4ef3d13adb3ea4f2f06631f6
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.873
|
data/lib/v20201229/client.rb
CHANGED
|
@@ -116,9 +116,7 @@ module TencentCloud
|
|
|
116
116
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
117
117
|
end
|
|
118
118
|
|
|
119
|
-
# 通过查看任务详情 DescribeTaskDetail
|
|
120
|
-
|
|
121
|
-
# 默认接口请求频率限制:**200次/秒**。
|
|
119
|
+
# 通过查看任务详情 DescribeTaskDetail 接口,可主动轮询获取检测结果详情。
|
|
122
120
|
|
|
123
121
|
# @param request: Request instance for DescribeTaskDetail.
|
|
124
122
|
# @type request: :class:`Tencentcloud::vm::V20201229::DescribeTaskDetailRequest`
|
data/lib/v20201229/models.rb
CHANGED
|
@@ -35,7 +35,7 @@ module TencentCloud
|
|
|
35
35
|
# @param Text: 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
|
|
36
36
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
37
37
|
# @type Text: String
|
|
38
|
-
# @param Url:
|
|
38
|
+
# @param Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
|
39
39
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
40
40
|
# @type Url: String
|
|
41
41
|
# @param Duration: 该字段用于返回音频文件的时长,单位为毫秒。
|
|
@@ -468,10 +468,10 @@ module TencentCloud
|
|
|
468
468
|
# @param UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
|
469
469
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
470
470
|
# @type UpdatedAt: String
|
|
471
|
-
# @param ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments
|
|
471
|
+
# @param ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments数据结构的描述。
|
|
472
472
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
473
473
|
# @type ImageSegments: Array
|
|
474
|
-
# @param AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments
|
|
474
|
+
# @param AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments数据结构的描述。
|
|
475
475
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
476
476
|
# @type AudioSegments: Array
|
|
477
477
|
# @param ErrorType: 当任务状态为Error时,返回对应错误的类型,取值:**DECODE_ERROR**: 解码失败。(输入资源中可能包含无法解码的视频)
|
|
@@ -485,12 +485,24 @@ module TencentCloud
|
|
|
485
485
|
# @param Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
|
|
486
486
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
487
487
|
# @type Label: String
|
|
488
|
+
# @param SegmentCosUrlList: 该字段用于返回检测结果明细数据相关的cos url
|
|
489
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
490
|
+
# @type SegmentCosUrlList: :class:`Tencentcloud::Vm.v20201229.models.SegmentCosUrlList`
|
|
491
|
+
# @param AudioText: 该字段用于返回音频审核的ASR识别结果
|
|
492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
493
|
+
# @type AudioText: String
|
|
494
|
+
# @param TryInSeconds: 在秒后重试
|
|
495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
496
|
+
# @type TryInSeconds: Integer
|
|
497
|
+
# @param Asrs: 该字段用于返回音频文件识别出的对应文本内容。
|
|
498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
499
|
+
# @type Asrs: Array
|
|
488
500
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
489
501
|
# @type RequestId: String
|
|
490
502
|
|
|
491
|
-
attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :Label, :RequestId
|
|
503
|
+
attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :Label, :SegmentCosUrlList, :AudioText, :TryInSeconds, :Asrs, :RequestId
|
|
492
504
|
|
|
493
|
-
def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, inputinfo=nil, createdat=nil, updatedat=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, label=nil, requestid=nil)
|
|
505
|
+
def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, inputinfo=nil, createdat=nil, updatedat=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, label=nil, segmentcosurllist=nil, audiotext=nil, tryinseconds=nil, asrs=nil, requestid=nil)
|
|
494
506
|
@TaskId = taskid
|
|
495
507
|
@DataId = dataid
|
|
496
508
|
@BizType = biztype
|
|
@@ -508,6 +520,10 @@ module TencentCloud
|
|
|
508
520
|
@ErrorType = errortype
|
|
509
521
|
@ErrorDescription = errordescription
|
|
510
522
|
@Label = label
|
|
523
|
+
@SegmentCosUrlList = segmentcosurllist
|
|
524
|
+
@AudioText = audiotext
|
|
525
|
+
@TryInSeconds = tryinseconds
|
|
526
|
+
@Asrs = asrs
|
|
511
527
|
@RequestId = requestid
|
|
512
528
|
end
|
|
513
529
|
|
|
@@ -556,6 +572,20 @@ module TencentCloud
|
|
|
556
572
|
@ErrorType = params['ErrorType']
|
|
557
573
|
@ErrorDescription = params['ErrorDescription']
|
|
558
574
|
@Label = params['Label']
|
|
575
|
+
unless params['SegmentCosUrlList'].nil?
|
|
576
|
+
@SegmentCosUrlList = SegmentCosUrlList.new
|
|
577
|
+
@SegmentCosUrlList.deserialize(params['SegmentCosUrlList'])
|
|
578
|
+
end
|
|
579
|
+
@AudioText = params['AudioText']
|
|
580
|
+
@TryInSeconds = params['TryInSeconds']
|
|
581
|
+
unless params['Asrs'].nil?
|
|
582
|
+
@Asrs = []
|
|
583
|
+
params['Asrs'].each do |i|
|
|
584
|
+
rcbasr_tmp = RcbAsr.new
|
|
585
|
+
rcbasr_tmp.deserialize(i)
|
|
586
|
+
@Asrs << rcbasr_tmp
|
|
587
|
+
end
|
|
588
|
+
end
|
|
559
589
|
@RequestId = params['RequestId']
|
|
560
590
|
end
|
|
561
591
|
end
|
|
@@ -651,7 +681,7 @@ module TencentCloud
|
|
|
651
681
|
# @param Results: 该字段用于返回图像审核结果的子结果,详细内容敬请参考ImageResultResult数据结构的描述。
|
|
652
682
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
653
683
|
# @type Results: Array
|
|
654
|
-
# @param Url: 该字段用于返回审核结果的访问链接(URL
|
|
684
|
+
# @param Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
|
655
685
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
656
686
|
# @type Url: String
|
|
657
687
|
# @param Extra: 该字段用于返回输入参数中的额外附加信息(Extra),如未配置则默认返回值为空。<br>备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理。
|
|
@@ -660,10 +690,13 @@ module TencentCloud
|
|
|
660
690
|
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
|
661
691
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
662
692
|
# @type SubLabel: String
|
|
693
|
+
# @param RecognitionResults: 该字段用于返回仅识别图片元素的模型结果;包括:场景模型命中的标签、置信度和位置信息
|
|
694
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
695
|
+
# @type RecognitionResults: Array
|
|
663
696
|
|
|
664
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Results, :Url, :Extra, :SubLabel
|
|
697
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Results, :Url, :Extra, :SubLabel, :RecognitionResults
|
|
665
698
|
|
|
666
|
-
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, results=nil, url=nil, extra=nil, sublabel=nil)
|
|
699
|
+
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, results=nil, url=nil, extra=nil, sublabel=nil, recognitionresults=nil)
|
|
667
700
|
@HitFlag = hitflag
|
|
668
701
|
@Label = label
|
|
669
702
|
@Suggestion = suggestion
|
|
@@ -672,6 +705,7 @@ module TencentCloud
|
|
|
672
705
|
@Url = url
|
|
673
706
|
@Extra = extra
|
|
674
707
|
@SubLabel = sublabel
|
|
708
|
+
@RecognitionResults = recognitionresults
|
|
675
709
|
end
|
|
676
710
|
|
|
677
711
|
def deserialize(params)
|
|
@@ -690,6 +724,14 @@ module TencentCloud
|
|
|
690
724
|
@Url = params['Url']
|
|
691
725
|
@Extra = params['Extra']
|
|
692
726
|
@SubLabel = params['SubLabel']
|
|
727
|
+
unless params['RecognitionResults'].nil?
|
|
728
|
+
@RecognitionResults = []
|
|
729
|
+
params['RecognitionResults'].each do |i|
|
|
730
|
+
recognitionresult_tmp = RecognitionResult.new
|
|
731
|
+
recognitionresult_tmp.deserialize(i)
|
|
732
|
+
@RecognitionResults << recognitionresult_tmp
|
|
733
|
+
end
|
|
734
|
+
end
|
|
693
735
|
end
|
|
694
736
|
end
|
|
695
737
|
|
|
@@ -791,10 +833,13 @@ module TencentCloud
|
|
|
791
833
|
# @param SubLabelCode: 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
|
|
792
834
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
793
835
|
# @type SubLabelCode: String
|
|
836
|
+
# @param SubLabel: 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
|
|
837
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
838
|
+
# @type SubLabel: String
|
|
794
839
|
|
|
795
|
-
attr_accessor :Name, :Text, :Location, :Label, :LibId, :LibName, :Keywords, :Suggestion, :Score, :SubLabelCode
|
|
840
|
+
attr_accessor :Name, :Text, :Location, :Label, :LibId, :LibName, :Keywords, :Suggestion, :Score, :SubLabelCode, :SubLabel
|
|
796
841
|
|
|
797
|
-
def initialize(name=nil, text=nil, location=nil, label=nil, libid=nil, libname=nil, keywords=nil, suggestion=nil, score=nil, sublabelcode=nil)
|
|
842
|
+
def initialize(name=nil, text=nil, location=nil, label=nil, libid=nil, libname=nil, keywords=nil, suggestion=nil, score=nil, sublabelcode=nil, sublabel=nil)
|
|
798
843
|
@Name = name
|
|
799
844
|
@Text = text
|
|
800
845
|
@Location = location
|
|
@@ -805,6 +850,7 @@ module TencentCloud
|
|
|
805
850
|
@Suggestion = suggestion
|
|
806
851
|
@Score = score
|
|
807
852
|
@SubLabelCode = sublabelcode
|
|
853
|
+
@SubLabel = sublabel
|
|
808
854
|
end
|
|
809
855
|
|
|
810
856
|
def deserialize(params)
|
|
@@ -821,6 +867,7 @@ module TencentCloud
|
|
|
821
867
|
@Suggestion = params['Suggestion']
|
|
822
868
|
@Score = params['Score']
|
|
823
869
|
@SubLabelCode = params['SubLabelCode']
|
|
870
|
+
@SubLabel = params['SubLabel']
|
|
824
871
|
end
|
|
825
872
|
end
|
|
826
873
|
|
|
@@ -867,12 +914,20 @@ module TencentCloud
|
|
|
867
914
|
# @type OffsetTime: String
|
|
868
915
|
# @param Result: 该字段用于返回视频片段的具体截帧审核结果,详细内容敬请参考ImageResult数据结构的描述。
|
|
869
916
|
# @type Result: :class:`Tencentcloud::Vm.v20201229.models.ImageResult`
|
|
917
|
+
# @param CreatedAt: 该字段用于返回视频片段的具体截帧审核时间。
|
|
918
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
919
|
+
# @type CreatedAt: String
|
|
920
|
+
# @param OffsetusTime: 该字段用于返回视频片段的截帧时间,单位为豪秒。
|
|
921
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
922
|
+
# @type OffsetusTime: String
|
|
870
923
|
|
|
871
|
-
attr_accessor :OffsetTime, :Result
|
|
924
|
+
attr_accessor :OffsetTime, :Result, :CreatedAt, :OffsetusTime
|
|
872
925
|
|
|
873
|
-
def initialize(offsettime=nil, result=nil)
|
|
926
|
+
def initialize(offsettime=nil, result=nil, createdat=nil, offsetustime=nil)
|
|
874
927
|
@OffsetTime = offsettime
|
|
875
928
|
@Result = result
|
|
929
|
+
@CreatedAt = createdat
|
|
930
|
+
@OffsetusTime = offsetustime
|
|
876
931
|
end
|
|
877
932
|
|
|
878
933
|
def deserialize(params)
|
|
@@ -881,6 +936,8 @@ module TencentCloud
|
|
|
881
936
|
@Result = ImageResult.new
|
|
882
937
|
@Result.deserialize(params['Result'])
|
|
883
938
|
end
|
|
939
|
+
@CreatedAt = params['CreatedAt']
|
|
940
|
+
@OffsetusTime = params['OffsetusTime']
|
|
884
941
|
end
|
|
885
942
|
end
|
|
886
943
|
|
|
@@ -927,6 +984,28 @@ module TencentCloud
|
|
|
927
984
|
end
|
|
928
985
|
end
|
|
929
986
|
|
|
987
|
+
# 审核切片asr文本信息
|
|
988
|
+
class RcbAsr < TencentCloud::Common::AbstractModel
|
|
989
|
+
# @param Text: 该字段用于返回音频文件识别出的对应文本内容,最大支持前1000个字符。
|
|
990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
991
|
+
# @type Text: String
|
|
992
|
+
# @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
|
993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
994
|
+
# @type CreatedAt: String
|
|
995
|
+
|
|
996
|
+
attr_accessor :Text, :CreatedAt
|
|
997
|
+
|
|
998
|
+
def initialize(text=nil, createdat=nil)
|
|
999
|
+
@Text = text
|
|
1000
|
+
@CreatedAt = createdat
|
|
1001
|
+
end
|
|
1002
|
+
|
|
1003
|
+
def deserialize(params)
|
|
1004
|
+
@Text = params['Text']
|
|
1005
|
+
@CreatedAt = params['CreatedAt']
|
|
1006
|
+
end
|
|
1007
|
+
end
|
|
1008
|
+
|
|
930
1009
|
# 识别类标签结果信息
|
|
931
1010
|
class RecognitionResult < TencentCloud::Common::AbstractModel
|
|
932
1011
|
# @param Label: 可能的取值有:Teenager 、Gender
|
|
@@ -956,6 +1035,43 @@ module TencentCloud
|
|
|
956
1035
|
end
|
|
957
1036
|
end
|
|
958
1037
|
|
|
1038
|
+
# 明细数据相关的cos url
|
|
1039
|
+
class SegmentCosUrlList < TencentCloud::Common::AbstractModel
|
|
1040
|
+
# @param ImageAllUrl: 全量图片片段的cos url
|
|
1041
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1042
|
+
# @type ImageAllUrl: String
|
|
1043
|
+
# @param AudioAllUrl: 全量音频片段的cos url
|
|
1044
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1045
|
+
# @type AudioAllUrl: String
|
|
1046
|
+
# @param ImageBlockUrl: 违规图片片段的cos url
|
|
1047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1048
|
+
# @type ImageBlockUrl: String
|
|
1049
|
+
# @param AudioBlockUrl: 违规音频片段的cos url
|
|
1050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1051
|
+
# @type AudioBlockUrl: String
|
|
1052
|
+
# @param AsrUrl: 全量音频识别文本的cos url
|
|
1053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1054
|
+
# @type AsrUrl: String
|
|
1055
|
+
|
|
1056
|
+
attr_accessor :ImageAllUrl, :AudioAllUrl, :ImageBlockUrl, :AudioBlockUrl, :AsrUrl
|
|
1057
|
+
|
|
1058
|
+
def initialize(imageallurl=nil, audioallurl=nil, imageblockurl=nil, audioblockurl=nil, asrurl=nil)
|
|
1059
|
+
@ImageAllUrl = imageallurl
|
|
1060
|
+
@AudioAllUrl = audioallurl
|
|
1061
|
+
@ImageBlockUrl = imageblockurl
|
|
1062
|
+
@AudioBlockUrl = audioblockurl
|
|
1063
|
+
@AsrUrl = asrurl
|
|
1064
|
+
end
|
|
1065
|
+
|
|
1066
|
+
def deserialize(params)
|
|
1067
|
+
@ImageAllUrl = params['ImageAllUrl']
|
|
1068
|
+
@AudioAllUrl = params['AudioAllUrl']
|
|
1069
|
+
@ImageBlockUrl = params['ImageBlockUrl']
|
|
1070
|
+
@AudioBlockUrl = params['AudioBlockUrl']
|
|
1071
|
+
@AsrUrl = params['AsrUrl']
|
|
1072
|
+
end
|
|
1073
|
+
end
|
|
1074
|
+
|
|
959
1075
|
# 数据存储信息
|
|
960
1076
|
class StorageInfo < TencentCloud::Common::AbstractModel
|
|
961
1077
|
# @param Type: 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
|
data/lib/v20210922/models.rb
CHANGED
|
@@ -35,7 +35,7 @@ module TencentCloud
|
|
|
35
35
|
# @param Text: 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
|
|
36
36
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
37
37
|
# @type Text: String
|
|
38
|
-
# @param Url:
|
|
38
|
+
# @param Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
|
39
39
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
40
40
|
# @type Url: String
|
|
41
41
|
# @param Duration: 该字段用于返回音频文件的时长,单位为毫秒。
|
|
@@ -340,8 +340,7 @@ module TencentCloud
|
|
|
340
340
|
|
|
341
341
|
# CreateVideoModerationTask请求参数结构体
|
|
342
342
|
class CreateVideoModerationTaskRequest < TencentCloud::Common::AbstractModel
|
|
343
|
-
# @param BizType:
|
|
344
|
-
# 备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
|
343
|
+
# @param BizType: 该字段表示特定审核策略的编号,用于接口调度。需要提前在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中创建策略后获取该Biztype字段,传入该字段,会根据业务场景在审核时调用相应的审核策略。 备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
|
345
344
|
# @type BizType: String
|
|
346
345
|
# @param Type: 任务类型:可选VIDEO(点播视频),LIVE_VIDEO(直播视频)
|
|
347
346
|
# @type Type: String
|
|
@@ -479,10 +478,10 @@ module TencentCloud
|
|
|
479
478
|
# @param TryInSeconds: 在秒后重试
|
|
480
479
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
481
480
|
# @type TryInSeconds: Integer
|
|
482
|
-
# @param ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments
|
|
481
|
+
# @param ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments数据结构的描述。
|
|
483
482
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
484
483
|
# @type ImageSegments: Array
|
|
485
|
-
# @param AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments
|
|
484
|
+
# @param AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments数据结构的描述。
|
|
486
485
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
487
486
|
# @type AudioSegments: Array
|
|
488
487
|
# @param ErrorType: 当任务状态为Error时,返回对应错误的类型,取值:
|
|
@@ -705,7 +704,7 @@ module TencentCloud
|
|
|
705
704
|
# @param Results: 画面截帧图片结果集
|
|
706
705
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
707
706
|
# @type Results: Array
|
|
708
|
-
# @param Url:
|
|
707
|
+
# @param Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
|
709
708
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
710
709
|
# @type Url: String
|
|
711
710
|
# @param Extra: 附加字段
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-vm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.873
|
|
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-07-
|
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|