tencentcloud-sdk-ams 3.0.1073 → 3.0.1090
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/models.rb +9 -99
- 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: 147a83de27de43e7de9d5dc897c7ab580a5a1f52
|
4
|
+
data.tar.gz: 704aa94df6a4300026600e4de378244dd45af9fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b86e063afc58ccec7872169ecb075758fa872f650284a9a5d7054f1f9e9c9b4ebbef804f13a5b4214e25087585fa09a7e235977134bfb7bb86e0d1b09101d4c2
|
7
|
+
data.tar.gz: 53e0fe03a20682782a9e585c761f3d06e310a500111ce4aab0022ee79df68e7c395249313ada0769c8b39182115b6935be76eb6cc53af5624917c0ca54c0c40b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1090
|
data/lib/v20201229/models.rb
CHANGED
@@ -20,23 +20,17 @@ module TencentCloud
|
|
20
20
|
# 音频审核输出参数
|
21
21
|
class AudioResult < TencentCloud::Common::AbstractModel
|
22
22
|
# @param HitFlag: 该字段用于返回审核内容是否命中审核模型;取值:0(**未命中**)、1(**命中**)。
|
23
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
23
|
# @type HitFlag: Integer
|
25
24
|
# @param Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
26
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
25
|
# @type Label: String
|
28
26
|
# @param Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
|
29
27
|
# 返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
30
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
31
28
|
# @type Suggestion: String
|
32
29
|
# @param Score: 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
|
33
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
34
30
|
# @type Score: Integer
|
35
31
|
# @param Text: 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
|
36
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
37
32
|
# @type Text: String
|
38
33
|
# @param Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
39
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
40
34
|
# @type Url: String
|
41
35
|
# @param Duration: 该字段用于返回音频文件的时长,单位为毫秒。
|
42
36
|
# @type Duration: String
|
@@ -49,10 +43,8 @@ module TencentCloud
|
|
49
43
|
# @param LanguageResults: 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
|
50
44
|
# @type LanguageResults: Array
|
51
45
|
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
52
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
53
46
|
# @type SubLabel: String
|
54
47
|
# @param RecognitionResults: 识别类标签结果信息列表
|
55
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
56
48
|
# @type RecognitionResults: Array
|
57
49
|
# @param SpeakerResults: 说话人结果
|
58
50
|
# @type SpeakerResults: Array
|
@@ -64,10 +56,12 @@ module TencentCloud
|
|
64
56
|
# @type SubTag: String
|
65
57
|
# @param SubTagCode: 三级标签码
|
66
58
|
# @type SubTagCode: String
|
59
|
+
# @param HitType: 审核检测类型
|
60
|
+
# @type HitType: String
|
67
61
|
|
68
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults, :SpeakerResults, :LabelResults, :TravelResults, :SubTag, :SubTagCode
|
62
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults, :SpeakerResults, :LabelResults, :TravelResults, :SubTag, :SubTagCode, :HitType
|
69
63
|
|
70
|
-
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil, sublabel=nil, recognitionresults=nil, speakerresults=nil, labelresults=nil, travelresults=nil, subtag=nil, subtagcode=nil)
|
64
|
+
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil, sublabel=nil, recognitionresults=nil, speakerresults=nil, labelresults=nil, travelresults=nil, subtag=nil, subtagcode=nil, hittype=nil)
|
71
65
|
@HitFlag = hitflag
|
72
66
|
@Label = label
|
73
67
|
@Suggestion = suggestion
|
@@ -86,6 +80,7 @@ module TencentCloud
|
|
86
80
|
@TravelResults = travelresults
|
87
81
|
@SubTag = subtag
|
88
82
|
@SubTagCode = subtagcode
|
83
|
+
@HitType = hittype
|
89
84
|
end
|
90
85
|
|
91
86
|
def deserialize(params)
|
@@ -156,25 +151,21 @@ module TencentCloud
|
|
156
151
|
end
|
157
152
|
@SubTag = params['SubTag']
|
158
153
|
@SubTagCode = params['SubTagCode']
|
154
|
+
@HitType = params['HitType']
|
159
155
|
end
|
160
156
|
end
|
161
157
|
|
162
158
|
# 音频语言种类检测结果
|
163
159
|
class AudioResultDetailLanguageResult < TencentCloud::Common::AbstractModel
|
164
160
|
# @param Label: 该字段用于返回对应的语言种类信息。
|
165
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
166
161
|
# @type Label: String
|
167
162
|
# @param Score: 该参数用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于当前返回的语种标签;
|
168
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
169
163
|
# @type Score: Integer
|
170
164
|
# @param StartTime: 该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为秒。
|
171
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
172
165
|
# @type StartTime: Float
|
173
166
|
# @param EndTime: 该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为秒。
|
174
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
175
167
|
# @type EndTime: Float
|
176
168
|
# @param SubLabelCode: *内测中,敬请期待*
|
177
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
178
169
|
# @type SubLabelCode: String
|
179
170
|
|
180
171
|
attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode
|
@@ -217,8 +208,8 @@ module TencentCloud
|
|
217
208
|
|
218
209
|
attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode, :SubLabel, :Suggestion
|
219
210
|
extend Gem::Deprecate
|
220
|
-
deprecate :SubLabelCode, :none, 2025,
|
221
|
-
deprecate :SubLabelCode=, :none, 2025,
|
211
|
+
deprecate :SubLabelCode, :none, 2025, 6
|
212
|
+
deprecate :SubLabelCode=, :none, 2025, 6
|
222
213
|
|
223
214
|
def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil, sublabel=nil, suggestion=nil)
|
224
215
|
@Label = label
|
@@ -329,16 +320,13 @@ module TencentCloud
|
|
329
320
|
end
|
330
321
|
end
|
331
322
|
|
332
|
-
#
|
323
|
+
# 表示该段声音的信息
|
333
324
|
class AudioSegments < TencentCloud::Common::AbstractModel
|
334
325
|
# @param OffsetTime: 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。
|
335
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
336
326
|
# @type OffsetTime: String
|
337
327
|
# @param Result: 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
|
338
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
339
328
|
# @type Result: :class:`Tencentcloud::Ams.v20201229.models.AudioResult`
|
340
329
|
# @param CreatedAt: 入库时间
|
341
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
342
330
|
# @type CreatedAt: String
|
343
331
|
|
344
332
|
attr_accessor :OffsetTime, :Result, :CreatedAt
|
@@ -363,13 +351,10 @@ module TencentCloud
|
|
363
351
|
# 参考腾讯云存储相关说明 https://cloud.tencent.com/document/product/436/44352
|
364
352
|
class BucketInfo < TencentCloud::Common::AbstractModel
|
365
353
|
# @param Bucket: 该字段用于标识腾讯云对象存储的存储桶名称,关于文件桶的详细信息敬请参考 [腾讯云存储相关说明](https://cloud.tencent.com/document/product/436/44352)。
|
366
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
367
354
|
# @type Bucket: String
|
368
355
|
# @param Region: 该字段用于标识腾讯云对象存储的托管机房的分布地区,对象存储 COS 的数据存放在这些地域的存储桶中。
|
369
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
370
356
|
# @type Region: String
|
371
357
|
# @param Object: 该字段用于标识腾讯云对象存储的对象Key,对象作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。
|
372
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
373
358
|
# @type Object: String
|
374
359
|
|
375
360
|
attr_accessor :Bucket, :Region, :Object
|
@@ -635,7 +620,6 @@ module TencentCloud
|
|
635
620
|
# CreateAudioModerationTask返回参数结构体
|
636
621
|
class CreateAudioModerationTaskResponse < TencentCloud::Common::AbstractModel
|
637
622
|
# @param Results: 该字段用于返回任务创建的结果,具体输出内容请参见TaskResult数据结构的详细描述。
|
638
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
639
623
|
# @type Results: Array
|
640
624
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
641
625
|
# @type RequestId: String
|
@@ -684,56 +668,39 @@ module TencentCloud
|
|
684
668
|
# DescribeTaskDetail返回参数结构体
|
685
669
|
class DescribeTaskDetailResponse < TencentCloud::Common::AbstractModel
|
686
670
|
# @param TaskId: 该字段用于返回创建音频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
|
687
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
688
671
|
# @type TaskId: String
|
689
672
|
# @param DataId: 该字段用于返回调用音频审核接口时在Tasks参数内传入的数据ID参数,方便数据的辨别和管理。
|
690
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
691
673
|
# @type DataId: String
|
692
674
|
# @param BizType: 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
|
693
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
694
675
|
# @type BizType: String
|
695
676
|
# @param Name: 该字段用于返回调用音频审核接口时传入的TaskInput参数中的任务名称,方便任务的识别与管理。
|
696
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
697
677
|
# @type Name: String
|
698
678
|
# @param Status: 该字段用于返回所查询内容的任务状态。
|
699
679
|
# <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
|
700
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
701
680
|
# @type Status: String
|
702
681
|
# @param Type: 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
|
703
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
704
682
|
# @type Type: String
|
705
683
|
# @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
706
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
707
684
|
# @type Suggestion: String
|
708
685
|
# @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
709
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
710
686
|
# @type Labels: Array
|
711
687
|
# @param InputInfo: 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
|
712
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
713
688
|
# @type InputInfo: :class:`Tencentcloud::Ams.v20201229.models.InputInfo`
|
714
689
|
# @param AudioText: 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
|
715
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
716
690
|
# @type AudioText: String
|
717
691
|
# @param AudioSegments: 该字段用于返回音频片段的审核结果,主要包括开始时间和音频审核的相应结果。<br>具体输出内容请参见AudioSegments及AudioResult数据结构的详细描述。
|
718
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
719
692
|
# @type AudioSegments: Array
|
720
693
|
# @param ErrorType: 当任务状态为Error时,该字段用于返回对应错误的类型;任务状态非Error时,默认返回为空。
|
721
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
722
694
|
# @type ErrorType: String
|
723
695
|
# @param ErrorDescription: 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
|
724
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
725
696
|
# @type ErrorDescription: String
|
726
697
|
# @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
727
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
728
698
|
# @type CreatedAt: String
|
729
699
|
# @param UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
730
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
731
700
|
# @type UpdatedAt: String
|
732
701
|
# @param Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
|
733
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
734
702
|
# @type Label: String
|
735
703
|
# @param MediaInfo: 媒体信息
|
736
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
737
704
|
# @type MediaInfo: :class:`Tencentcloud::Ams.v20201229.models.MediaInfo`
|
738
705
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
739
706
|
# @type RequestId: String
|
@@ -841,13 +808,10 @@ module TencentCloud
|
|
841
808
|
# DescribeTasks返回参数结构体
|
842
809
|
class DescribeTasksResponse < TencentCloud::Common::AbstractModel
|
843
810
|
# @param Total: 该字段用于返回当前查询的任务总量,格式为int字符串。
|
844
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
845
811
|
# @type Total: String
|
846
812
|
# @param Data: 该字段用于返回当前页的任务详细数据,具体输出内容请参见TaskData数据结构的详细描述。
|
847
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
848
813
|
# @type Data: Array
|
849
814
|
# @param PageToken: 该字段用于返回翻页时使用的Token信息,由系统自动生成,并在翻页时向下一个生成的页面传递此参数,以方便快速翻页功能的实现。当到最后一页时,该字段为空。
|
850
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
851
815
|
# @type PageToken: String
|
852
816
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
853
817
|
# @type RequestId: String
|
@@ -914,10 +878,8 @@ module TencentCloud
|
|
914
878
|
# 输入信息详情
|
915
879
|
class InputInfo < TencentCloud::Common::AbstractModel
|
916
880
|
# @param Type: 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储)。
|
917
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
918
881
|
# @type Type: String
|
919
882
|
# @param Url: 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空。
|
920
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
921
883
|
# @type Url: String
|
922
884
|
# @param BucketInfo: 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空。
|
923
885
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -944,25 +906,18 @@ module TencentCloud
|
|
944
906
|
# 歌曲识别结果
|
945
907
|
class LabelResults < TencentCloud::Common::AbstractModel
|
946
908
|
# @param Scene: 场景
|
947
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
948
909
|
# @type Scene: String
|
949
910
|
# @param Suggestion: 建议
|
950
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
951
911
|
# @type Suggestion: Integer
|
952
912
|
# @param Label: 标签
|
953
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
954
913
|
# @type Label: String
|
955
914
|
# @param Name: 名称:歌曲名,语种名,说话人名 等
|
956
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
957
915
|
# @type Name: String
|
958
916
|
# @param Score: 得分
|
959
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
960
917
|
# @type Score: Integer
|
961
918
|
# @param StartTime: 开始时间
|
962
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
963
919
|
# @type StartTime: Float
|
964
920
|
# @param EndTime: 结束时间
|
965
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
966
921
|
# @type EndTime: Float
|
967
922
|
|
968
923
|
attr_accessor :Scene, :Suggestion, :Label, :Name, :Score, :StartTime, :EndTime
|
@@ -1023,7 +978,6 @@ module TencentCloud
|
|
1023
978
|
# 呻吟低俗检测结果
|
1024
979
|
class MoanResult < TencentCloud::Common::AbstractModel
|
1025
980
|
# @param Label: 固定取值为Moan(呻吟/娇喘),如音频中无复杂类型「MoanResult」的返回则代表该音频中无呻吟/娇喘相关违规内容;
|
1026
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1027
981
|
# @type Label: String
|
1028
982
|
# @param Score: 机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
|
1029
983
|
# (如:Moan 99,则该样本属于呻吟/娇喘的置信度非常高。)
|
@@ -1036,8 +990,6 @@ module TencentCloud
|
|
1036
990
|
# @param EndTime: 违规事件结束时间,单位为秒(s);
|
1037
991
|
# @type EndTime: Float
|
1038
992
|
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
1039
|
-
# 注意:此字段可能返回null,表示取不到有效值。
|
1040
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1041
993
|
# @type SubLabel: String
|
1042
994
|
|
1043
995
|
attr_accessor :Label, :Score, :Suggestion, :StartTime, :EndTime, :SubLabel
|
@@ -1084,10 +1036,8 @@ module TencentCloud
|
|
1084
1036
|
# 识别类标签结果信息
|
1085
1037
|
class RecognitionResult < TencentCloud::Common::AbstractModel
|
1086
1038
|
# @param Label: 可能的取值有:Teenager 、Gender
|
1087
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1088
1039
|
# @type Label: String
|
1089
1040
|
# @param Tags: 识别标签列表
|
1090
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1091
1041
|
# @type Tags: Array
|
1092
1042
|
|
1093
1043
|
attr_accessor :Label, :Tags
|
@@ -1113,16 +1063,12 @@ module TencentCloud
|
|
1113
1063
|
# 说话人结果
|
1114
1064
|
class SpeakerResults < TencentCloud::Common::AbstractModel
|
1115
1065
|
# @param Label: 标签
|
1116
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1117
1066
|
# @type Label: String
|
1118
1067
|
# @param Score: 得分
|
1119
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1120
1068
|
# @type Score: Integer
|
1121
1069
|
# @param StartTime: 开始时间
|
1122
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1123
1070
|
# @type StartTime: Float
|
1124
1071
|
# @param EndTime: 结束时间
|
1125
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1126
1072
|
# @type EndTime: String
|
1127
1073
|
|
1128
1074
|
attr_accessor :Label, :Score, :StartTime, :EndTime
|
@@ -1174,16 +1120,12 @@ module TencentCloud
|
|
1174
1120
|
# @param Name: 根据Label字段确定具体名称:
|
1175
1121
|
# 当Label 为Teenager 时 Name可能取值有:Teenager
|
1176
1122
|
# 当Label 为Gender 时 Name可能取值有:Male 、Female
|
1177
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1178
1123
|
# @type Name: String
|
1179
1124
|
# @param Score: 置信分:0~100,数值越大表示置信度越高
|
1180
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1181
1125
|
# @type Score: Integer
|
1182
1126
|
# @param StartTime: 识别开始偏移时间,单位:毫秒
|
1183
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1184
1127
|
# @type StartTime: Float
|
1185
1128
|
# @param EndTime: 识别结束偏移时间,单位:毫秒
|
1186
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1187
1129
|
# @type EndTime: Float
|
1188
1130
|
|
1189
1131
|
attr_accessor :Name, :Score, :StartTime, :EndTime
|
@@ -1206,7 +1148,6 @@ module TencentCloud
|
|
1206
1148
|
# 任务数据
|
1207
1149
|
class TaskData < TencentCloud::Common::AbstractModel
|
1208
1150
|
# @param DataId: 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
|
1209
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1210
1151
|
# @type DataId: String
|
1211
1152
|
# @param TaskId: 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
|
1212
1153
|
# @type TaskId: String
|
@@ -1214,30 +1155,22 @@ module TencentCloud
|
|
1214
1155
|
# <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
|
1215
1156
|
# @type Status: String
|
1216
1157
|
# @param Name: 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。
|
1217
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1218
1158
|
# @type Name: String
|
1219
1159
|
# @param BizType: 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
|
1220
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1221
1160
|
# @type BizType: String
|
1222
1161
|
# @param Type: 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
|
1223
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1224
1162
|
# @type Type: String
|
1225
1163
|
# @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
1226
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1227
1164
|
# @type Suggestion: String
|
1228
1165
|
# @param MediaInfo: 输入信息
|
1229
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1230
1166
|
# @type MediaInfo: :class:`Tencentcloud::Ams.v20201229.models.MediaInfo`
|
1231
1167
|
# @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
1232
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1233
1168
|
# @type Labels: Array
|
1234
1169
|
# @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
1235
1170
|
# @type CreatedAt: String
|
1236
1171
|
# @param UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
1237
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1238
1172
|
# @type UpdatedAt: String
|
1239
1173
|
# @param InputInfo: 任务信息
|
1240
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1241
1174
|
# @type InputInfo: :class:`Tencentcloud::Ams.v20201229.models.InputInfo`
|
1242
1175
|
|
1243
1176
|
attr_accessor :DataId, :TaskId, :Status, :Name, :BizType, :Type, :Suggestion, :MediaInfo, :Labels, :CreatedAt, :UpdatedAt, :InputInfo
|
@@ -1344,16 +1277,12 @@ module TencentCloud
|
|
1344
1277
|
# 用于返回审核任务输出的标签
|
1345
1278
|
class TaskLabel < TencentCloud::Common::AbstractModel
|
1346
1279
|
# @param Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
1347
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1348
1280
|
# @type Label: String
|
1349
1281
|
# @param Suggestion: 该字段用于返回当前标签对应的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
1350
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1351
1282
|
# @type Suggestion: String
|
1352
1283
|
# @param Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
|
1353
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1354
1284
|
# @type Score: Integer
|
1355
1285
|
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
1356
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1357
1286
|
# @type SubLabel: String
|
1358
1287
|
|
1359
1288
|
attr_accessor :Label, :Suggestion, :Score, :SubLabel
|
@@ -1376,16 +1305,12 @@ module TencentCloud
|
|
1376
1305
|
# 创建任务时的返回结果
|
1377
1306
|
class TaskResult < TencentCloud::Common::AbstractModel
|
1378
1307
|
# @param DataId: 该字段用于返回创建音频审核任务时在TaskInput结构内传入的DataId,用于标识具体审核任务。
|
1379
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1380
1308
|
# @type DataId: String
|
1381
1309
|
# @param TaskId: 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
|
1382
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1383
1310
|
# @type TaskId: String
|
1384
1311
|
# @param Code: 该字段用于返回任务创建的状态,如返回OK则代表任务创建成功,其他返回值可参考公共错误码。
|
1385
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1386
1312
|
# @type Code: String
|
1387
1313
|
# @param Message: **仅在Code的返回值为错误码时生效**,用于返回错误的详情内容。
|
1388
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1389
1314
|
# @type Message: String
|
1390
1315
|
|
1391
1316
|
attr_accessor :DataId, :TaskId, :Code, :Message
|
@@ -1411,32 +1336,24 @@ module TencentCloud
|
|
1411
1336
|
# 以及其他令人反感、不安全或不适宜的内容类型。
|
1412
1337
|
|
1413
1338
|
# 如音频中无复杂类型「TextResults」的返回则代表该音频中无相关违规内容;
|
1414
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1415
1339
|
# @type Label: String
|
1416
1340
|
# @param Keywords: 命中的关键词,为空则代表该违规内容出自于模型的判断;
|
1417
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1418
1341
|
# @type Keywords: Array
|
1419
1342
|
# @param LibId: 命中关键词库的库标识;
|
1420
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1421
1343
|
# @type LibId: String
|
1422
1344
|
# @param LibName: 命中关键词库的名字;
|
1423
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1424
1345
|
# @type LibName: String
|
1425
1346
|
# @param Score: 机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
|
1426
1347
|
# (如:Porn 99,则该样本属于色情的置信度非常高。)
|
1427
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1428
1348
|
# @type Score: Integer
|
1429
1349
|
# @param Suggestion: 建议您拿到判断结果后的执行操作。
|
1430
1350
|
# 建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
|
1431
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1432
1351
|
# @type Suggestion: String
|
1433
1352
|
# @param LibType: 自定义词库的类型,自定义词库相关的信息可登录控制台中查看;
|
1434
1353
|
# 1:自定义黑白库;
|
1435
1354
|
# 2:公库;
|
1436
1355
|
# @type LibType: Integer
|
1437
1356
|
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
1438
|
-
# 注意:此字段可能返回null,表示取不到有效值。
|
1439
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1440
1357
|
# @type SubLabel: String
|
1441
1358
|
# @param HitInfos: 该字段用于返回违规文本命中信息
|
1442
1359
|
# @type HitInfos: Array
|
@@ -1478,25 +1395,18 @@ module TencentCloud
|
|
1478
1395
|
# 出行结果
|
1479
1396
|
class TravelResults < TencentCloud::Common::AbstractModel
|
1480
1397
|
# @param Label: 一级标签
|
1481
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1482
1398
|
# @type Label: String
|
1483
1399
|
# @param SubLabel: 二级标签
|
1484
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1485
1400
|
# @type SubLabel: String
|
1486
1401
|
# @param RiskLevel: 风险等级
|
1487
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1488
1402
|
# @type RiskLevel: String
|
1489
1403
|
# @param AudioRole: 出行音频角色
|
1490
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1491
1404
|
# @type AudioRole: String
|
1492
1405
|
# @param AudioText: 出行语音文本
|
1493
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1494
1406
|
# @type AudioText: String
|
1495
1407
|
# @param StartTime: 开始时间
|
1496
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1497
1408
|
# @type StartTime: Float
|
1498
1409
|
# @param EndTime: 结束时间
|
1499
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1500
1410
|
# @type EndTime: Float
|
1501
1411
|
|
1502
1412
|
attr_accessor :Label, :SubLabel, :RiskLevel, :AudioRole, :AudioText, :StartTime, :EndTime
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1090
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|