tencentcloud-sdk-ams 3.0.1074 → 3.0.1092

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201229/models.rb +10 -106
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6bdd98576d40630c0cb72818077d6118142de82d
4
- data.tar.gz: 71e9a6f95b67d4bd2f0d6075b3a2a2bd4eabdb3a
3
+ metadata.gz: 5f72e720e0ae0d17cc71b82bdd0e39aeea196459
4
+ data.tar.gz: 4092c5498e469aec1ccf167fd0bb0c8ce515c14a
5
5
  SHA512:
6
- metadata.gz: 4e50cb7cf726077999a9c719238586d71d5b99c26b95fd4cfc9dc68a50eb33ade5eef31f78c7e28ed1d931120c2da861b712cdead7d71c43dec24c4f9bfec79c
7
- data.tar.gz: 5691084c9ff7ff168ba37364e3fb2c877db9a978c554e035cf41bd10c189924829d980d73a534469e52e4605a961356f7c51276bb2e1bf90d324b871f16a3858
6
+ metadata.gz: eb246982bb16c5dc2da854c3c5982d0f276a3b639a1a7caa5f57eb4c7c6b9ca150f339ae76402471bfa67eb8e070f6f8ef50d16503dc8e879ba2b279a6e027eb
7
+ data.tar.gz: bcf034544c3db3eab457a77d97237bb9ea769b388c66bfcff8d79ad80c9dfbfa57751e1a8dd0b6f8e79b904f907fdf16149d84cd7ee0a9c032b1e2e05f9bfe91
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1092
@@ -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
@@ -199,7 +190,6 @@ module TencentCloud
199
190
  # 音频呻吟审核结果
200
191
  class AudioResultDetailMoanResult < TencentCloud::Common::AbstractModel
201
192
  # @param Label: 该字段用于返回检测结果需要检测的内容类型,此处固定为**Moan**(呻吟)以调用呻吟检测功能。
202
- # 注意:此字段可能返回 null,表示取不到有效值。
203
193
  # @type Label: String
204
194
  # @param Score: 该字段用于返回呻吟检测的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于呻吟内容。
205
195
  # @type Score: Integer
@@ -210,15 +200,14 @@ module TencentCloud
210
200
  # @param SubLabelCode: *内测中,敬请期待*
211
201
  # @type SubLabelCode: String
212
202
  # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
213
- # 注意:此字段可能返回 null,表示取不到有效值。
214
203
  # @type SubLabel: String
215
204
  # @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
216
205
  # @type Suggestion: String
217
206
 
218
207
  attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode, :SubLabel, :Suggestion
219
208
  extend Gem::Deprecate
220
- deprecate :SubLabelCode, :none, 2025, 6
221
- deprecate :SubLabelCode=, :none, 2025, 6
209
+ deprecate :SubLabelCode, :none, 2025, 7
210
+ deprecate :SubLabelCode=, :none, 2025, 7
222
211
 
223
212
  def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil, sublabel=nil, suggestion=nil)
224
213
  @Label = label
@@ -244,16 +233,12 @@ module TencentCloud
244
233
  # 音频说话人声纹识别返回结果
245
234
  class AudioResultDetailSpeakerResult < TencentCloud::Common::AbstractModel
246
235
  # @param Label: 该字段用于返回检测结果需要检测的内容类型。
247
- # 注意:此字段可能返回 null,表示取不到有效值。
248
236
  # @type Label: String
249
237
  # @param Score: 该字段用于返回呻吟检测的置信度,取值范围:0(置信度最低)-100(置信度最高),越高代表音频越有可能属于说话人声纹。
250
- # 注意:此字段可能返回 null,表示取不到有效值。
251
238
  # @type Score: Integer
252
239
  # @param StartTime: 该字段用于返回对应说话人的片段在音频文件内的开始时间,单位为秒。
253
- # 注意:此字段可能返回 null,表示取不到有效值。
254
240
  # @type StartTime: Float
255
241
  # @param EndTime: 该字段用于返回对应说话人的片段在音频文件内的结束时间,单位为秒。
256
- # 注意:此字段可能返回 null,表示取不到有效值。
257
242
  # @type EndTime: Float
258
243
 
259
244
  attr_accessor :Label, :Score, :StartTime, :EndTime
@@ -329,16 +314,13 @@ module TencentCloud
329
314
  end
330
315
  end
331
316
 
332
- # 表示声音段信息
317
+ # 表示该段声音的信息
333
318
  class AudioSegments < TencentCloud::Common::AbstractModel
334
319
  # @param OffsetTime: 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。
335
- # 注意:此字段可能返回 null,表示取不到有效值。
336
320
  # @type OffsetTime: String
337
321
  # @param Result: 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
338
- # 注意:此字段可能返回 null,表示取不到有效值。
339
322
  # @type Result: :class:`Tencentcloud::Ams.v20201229.models.AudioResult`
340
323
  # @param CreatedAt: 入库时间
341
- # 注意:此字段可能返回 null,表示取不到有效值。
342
324
  # @type CreatedAt: String
343
325
 
344
326
  attr_accessor :OffsetTime, :Result, :CreatedAt
@@ -363,13 +345,10 @@ module TencentCloud
363
345
  # 参考腾讯云存储相关说明 https://cloud.tencent.com/document/product/436/44352
364
346
  class BucketInfo < TencentCloud::Common::AbstractModel
365
347
  # @param Bucket: 该字段用于标识腾讯云对象存储的存储桶名称,关于文件桶的详细信息敬请参考 [腾讯云存储相关说明](https://cloud.tencent.com/document/product/436/44352)。
366
- # 注意:此字段可能返回 null,表示取不到有效值。
367
348
  # @type Bucket: String
368
349
  # @param Region: 该字段用于标识腾讯云对象存储的托管机房的分布地区,对象存储 COS 的数据存放在这些地域的存储桶中。
369
- # 注意:此字段可能返回 null,表示取不到有效值。
370
350
  # @type Region: String
371
351
  # @param Object: 该字段用于标识腾讯云对象存储的对象Key,对象作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。
372
- # 注意:此字段可能返回 null,表示取不到有效值。
373
352
  # @type Object: String
374
353
 
375
354
  attr_accessor :Bucket, :Region, :Object
@@ -635,7 +614,6 @@ module TencentCloud
635
614
  # CreateAudioModerationTask返回参数结构体
636
615
  class CreateAudioModerationTaskResponse < TencentCloud::Common::AbstractModel
637
616
  # @param Results: 该字段用于返回任务创建的结果,具体输出内容请参见TaskResult数据结构的详细描述。
638
- # 注意:此字段可能返回 null,表示取不到有效值。
639
617
  # @type Results: Array
640
618
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
641
619
  # @type RequestId: String
@@ -684,56 +662,39 @@ module TencentCloud
684
662
  # DescribeTaskDetail返回参数结构体
685
663
  class DescribeTaskDetailResponse < TencentCloud::Common::AbstractModel
686
664
  # @param TaskId: 该字段用于返回创建音频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
687
- # 注意:此字段可能返回 null,表示取不到有效值。
688
665
  # @type TaskId: String
689
666
  # @param DataId: 该字段用于返回调用音频审核接口时在Tasks参数内传入的数据ID参数,方便数据的辨别和管理。
690
- # 注意:此字段可能返回 null,表示取不到有效值。
691
667
  # @type DataId: String
692
668
  # @param BizType: 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
693
- # 注意:此字段可能返回 null,表示取不到有效值。
694
669
  # @type BizType: String
695
670
  # @param Name: 该字段用于返回调用音频审核接口时传入的TaskInput参数中的任务名称,方便任务的识别与管理。
696
- # 注意:此字段可能返回 null,表示取不到有效值。
697
671
  # @type Name: String
698
672
  # @param Status: 该字段用于返回所查询内容的任务状态。
699
673
  # <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
700
- # 注意:此字段可能返回 null,表示取不到有效值。
701
674
  # @type Status: String
702
675
  # @param Type: 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
703
- # 注意:此字段可能返回 null,表示取不到有效值。
704
676
  # @type Type: String
705
677
  # @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
706
- # 注意:此字段可能返回 null,表示取不到有效值。
707
678
  # @type Suggestion: String
708
679
  # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
709
- # 注意:此字段可能返回 null,表示取不到有效值。
710
680
  # @type Labels: Array
711
681
  # @param InputInfo: 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
712
- # 注意:此字段可能返回 null,表示取不到有效值。
713
682
  # @type InputInfo: :class:`Tencentcloud::Ams.v20201229.models.InputInfo`
714
683
  # @param AudioText: 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
715
- # 注意:此字段可能返回 null,表示取不到有效值。
716
684
  # @type AudioText: String
717
685
  # @param AudioSegments: 该字段用于返回音频片段的审核结果,主要包括开始时间和音频审核的相应结果。<br>具体输出内容请参见AudioSegments及AudioResult数据结构的详细描述。
718
- # 注意:此字段可能返回 null,表示取不到有效值。
719
686
  # @type AudioSegments: Array
720
687
  # @param ErrorType: 当任务状态为Error时,该字段用于返回对应错误的类型;任务状态非Error时,默认返回为空。
721
- # 注意:此字段可能返回 null,表示取不到有效值。
722
688
  # @type ErrorType: String
723
689
  # @param ErrorDescription: 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
724
- # 注意:此字段可能返回 null,表示取不到有效值。
725
690
  # @type ErrorDescription: String
726
691
  # @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
727
- # 注意:此字段可能返回 null,表示取不到有效值。
728
692
  # @type CreatedAt: String
729
693
  # @param UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
730
- # 注意:此字段可能返回 null,表示取不到有效值。
731
694
  # @type UpdatedAt: String
732
695
  # @param Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
733
- # 注意:此字段可能返回 null,表示取不到有效值。
734
696
  # @type Label: String
735
697
  # @param MediaInfo: 媒体信息
736
- # 注意:此字段可能返回 null,表示取不到有效值。
737
698
  # @type MediaInfo: :class:`Tencentcloud::Ams.v20201229.models.MediaInfo`
738
699
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
739
700
  # @type RequestId: String
@@ -841,13 +802,10 @@ module TencentCloud
841
802
  # DescribeTasks返回参数结构体
842
803
  class DescribeTasksResponse < TencentCloud::Common::AbstractModel
843
804
  # @param Total: 该字段用于返回当前查询的任务总量,格式为int字符串。
844
- # 注意:此字段可能返回 null,表示取不到有效值。
845
805
  # @type Total: String
846
806
  # @param Data: 该字段用于返回当前页的任务详细数据,具体输出内容请参见TaskData数据结构的详细描述。
847
- # 注意:此字段可能返回 null,表示取不到有效值。
848
807
  # @type Data: Array
849
808
  # @param PageToken: 该字段用于返回翻页时使用的Token信息,由系统自动生成,并在翻页时向下一个生成的页面传递此参数,以方便快速翻页功能的实现。当到最后一页时,该字段为空。
850
- # 注意:此字段可能返回 null,表示取不到有效值。
851
809
  # @type PageToken: String
852
810
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
853
811
  # @type RequestId: String
@@ -914,10 +872,8 @@ module TencentCloud
914
872
  # 输入信息详情
915
873
  class InputInfo < TencentCloud::Common::AbstractModel
916
874
  # @param Type: 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储)。
917
- # 注意:此字段可能返回 null,表示取不到有效值。
918
875
  # @type Type: String
919
876
  # @param Url: 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空。
920
- # 注意:此字段可能返回 null,表示取不到有效值。
921
877
  # @type Url: String
922
878
  # @param BucketInfo: 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空。
923
879
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -944,25 +900,18 @@ module TencentCloud
944
900
  # 歌曲识别结果
945
901
  class LabelResults < TencentCloud::Common::AbstractModel
946
902
  # @param Scene: 场景
947
- # 注意:此字段可能返回 null,表示取不到有效值。
948
903
  # @type Scene: String
949
- # @param Suggestion: 建议
950
- # 注意:此字段可能返回 null,表示取不到有效值。
904
+ # @param Suggestion: 建议值
951
905
  # @type Suggestion: Integer
952
906
  # @param Label: 标签
953
- # 注意:此字段可能返回 null,表示取不到有效值。
954
907
  # @type Label: String
955
908
  # @param Name: 名称:歌曲名,语种名,说话人名 等
956
- # 注意:此字段可能返回 null,表示取不到有效值。
957
909
  # @type Name: String
958
910
  # @param Score: 得分
959
- # 注意:此字段可能返回 null,表示取不到有效值。
960
911
  # @type Score: Integer
961
912
  # @param StartTime: 开始时间
962
- # 注意:此字段可能返回 null,表示取不到有效值。
963
913
  # @type StartTime: Float
964
914
  # @param EndTime: 结束时间
965
- # 注意:此字段可能返回 null,表示取不到有效值。
966
915
  # @type EndTime: Float
967
916
 
968
917
  attr_accessor :Scene, :Suggestion, :Label, :Name, :Score, :StartTime, :EndTime
@@ -1023,7 +972,6 @@ module TencentCloud
1023
972
  # 呻吟低俗检测结果
1024
973
  class MoanResult < TencentCloud::Common::AbstractModel
1025
974
  # @param Label: 固定取值为Moan(呻吟/娇喘),如音频中无复杂类型「MoanResult」的返回则代表该音频中无呻吟/娇喘相关违规内容;
1026
- # 注意:此字段可能返回 null,表示取不到有效值。
1027
975
  # @type Label: String
1028
976
  # @param Score: 机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
1029
977
  # (如:Moan 99,则该样本属于呻吟/娇喘的置信度非常高。)
@@ -1036,8 +984,6 @@ module TencentCloud
1036
984
  # @param EndTime: 违规事件结束时间,单位为秒(s);
1037
985
  # @type EndTime: Float
1038
986
  # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
1039
- # 注意:此字段可能返回null,表示取不到有效值。
1040
- # 注意:此字段可能返回 null,表示取不到有效值。
1041
987
  # @type SubLabel: String
1042
988
 
1043
989
  attr_accessor :Label, :Score, :Suggestion, :StartTime, :EndTime, :SubLabel
@@ -1084,10 +1030,8 @@ module TencentCloud
1084
1030
  # 识别类标签结果信息
1085
1031
  class RecognitionResult < TencentCloud::Common::AbstractModel
1086
1032
  # @param Label: 可能的取值有:Teenager 、Gender
1087
- # 注意:此字段可能返回 null,表示取不到有效值。
1088
1033
  # @type Label: String
1089
1034
  # @param Tags: 识别标签列表
1090
- # 注意:此字段可能返回 null,表示取不到有效值。
1091
1035
  # @type Tags: Array
1092
1036
 
1093
1037
  attr_accessor :Label, :Tags
@@ -1113,16 +1057,12 @@ module TencentCloud
1113
1057
  # 说话人结果
1114
1058
  class SpeakerResults < TencentCloud::Common::AbstractModel
1115
1059
  # @param Label: 标签
1116
- # 注意:此字段可能返回 null,表示取不到有效值。
1117
1060
  # @type Label: String
1118
1061
  # @param Score: 得分
1119
- # 注意:此字段可能返回 null,表示取不到有效值。
1120
1062
  # @type Score: Integer
1121
1063
  # @param StartTime: 开始时间
1122
- # 注意:此字段可能返回 null,表示取不到有效值。
1123
1064
  # @type StartTime: Float
1124
1065
  # @param EndTime: 结束时间
1125
- # 注意:此字段可能返回 null,表示取不到有效值。
1126
1066
  # @type EndTime: String
1127
1067
 
1128
1068
  attr_accessor :Label, :Score, :StartTime, :EndTime
@@ -1174,16 +1114,12 @@ module TencentCloud
1174
1114
  # @param Name: 根据Label字段确定具体名称:
1175
1115
  # 当Label 为Teenager 时 Name可能取值有:Teenager
1176
1116
  # 当Label 为Gender 时 Name可能取值有:Male 、Female
1177
- # 注意:此字段可能返回 null,表示取不到有效值。
1178
1117
  # @type Name: String
1179
1118
  # @param Score: 置信分:0~100,数值越大表示置信度越高
1180
- # 注意:此字段可能返回 null,表示取不到有效值。
1181
1119
  # @type Score: Integer
1182
1120
  # @param StartTime: 识别开始偏移时间,单位:毫秒
1183
- # 注意:此字段可能返回 null,表示取不到有效值。
1184
1121
  # @type StartTime: Float
1185
1122
  # @param EndTime: 识别结束偏移时间,单位:毫秒
1186
- # 注意:此字段可能返回 null,表示取不到有效值。
1187
1123
  # @type EndTime: Float
1188
1124
 
1189
1125
  attr_accessor :Name, :Score, :StartTime, :EndTime
@@ -1206,7 +1142,6 @@ module TencentCloud
1206
1142
  # 任务数据
1207
1143
  class TaskData < TencentCloud::Common::AbstractModel
1208
1144
  # @param DataId: 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
1209
- # 注意:此字段可能返回 null,表示取不到有效值。
1210
1145
  # @type DataId: String
1211
1146
  # @param TaskId: 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
1212
1147
  # @type TaskId: String
@@ -1214,30 +1149,22 @@ module TencentCloud
1214
1149
  # <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
1215
1150
  # @type Status: String
1216
1151
  # @param Name: 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。
1217
- # 注意:此字段可能返回 null,表示取不到有效值。
1218
1152
  # @type Name: String
1219
1153
  # @param BizType: 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
1220
- # 注意:此字段可能返回 null,表示取不到有效值。
1221
1154
  # @type BizType: String
1222
1155
  # @param Type: 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
1223
- # 注意:此字段可能返回 null,表示取不到有效值。
1224
1156
  # @type Type: String
1225
1157
  # @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
1226
- # 注意:此字段可能返回 null,表示取不到有效值。
1227
1158
  # @type Suggestion: String
1228
1159
  # @param MediaInfo: 输入信息
1229
- # 注意:此字段可能返回 null,表示取不到有效值。
1230
1160
  # @type MediaInfo: :class:`Tencentcloud::Ams.v20201229.models.MediaInfo`
1231
1161
  # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
1232
- # 注意:此字段可能返回 null,表示取不到有效值。
1233
1162
  # @type Labels: Array
1234
1163
  # @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
1235
1164
  # @type CreatedAt: String
1236
1165
  # @param UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
1237
- # 注意:此字段可能返回 null,表示取不到有效值。
1238
1166
  # @type UpdatedAt: String
1239
1167
  # @param InputInfo: 任务信息
1240
- # 注意:此字段可能返回 null,表示取不到有效值。
1241
1168
  # @type InputInfo: :class:`Tencentcloud::Ams.v20201229.models.InputInfo`
1242
1169
 
1243
1170
  attr_accessor :DataId, :TaskId, :Status, :Name, :BizType, :Type, :Suggestion, :MediaInfo, :Labels, :CreatedAt, :UpdatedAt, :InputInfo
@@ -1344,16 +1271,12 @@ module TencentCloud
1344
1271
  # 用于返回审核任务输出的标签
1345
1272
  class TaskLabel < TencentCloud::Common::AbstractModel
1346
1273
  # @param Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
1347
- # 注意:此字段可能返回 null,表示取不到有效值。
1348
1274
  # @type Label: String
1349
1275
  # @param Suggestion: 该字段用于返回当前标签对应的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
1350
- # 注意:此字段可能返回 null,表示取不到有效值。
1351
1276
  # @type Suggestion: String
1352
1277
  # @param Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
1353
- # 注意:此字段可能返回 null,表示取不到有效值。
1354
1278
  # @type Score: Integer
1355
1279
  # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
1356
- # 注意:此字段可能返回 null,表示取不到有效值。
1357
1280
  # @type SubLabel: String
1358
1281
 
1359
1282
  attr_accessor :Label, :Suggestion, :Score, :SubLabel
@@ -1376,16 +1299,12 @@ module TencentCloud
1376
1299
  # 创建任务时的返回结果
1377
1300
  class TaskResult < TencentCloud::Common::AbstractModel
1378
1301
  # @param DataId: 该字段用于返回创建音频审核任务时在TaskInput结构内传入的DataId,用于标识具体审核任务。
1379
- # 注意:此字段可能返回 null,表示取不到有效值。
1380
1302
  # @type DataId: String
1381
1303
  # @param TaskId: 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
1382
- # 注意:此字段可能返回 null,表示取不到有效值。
1383
1304
  # @type TaskId: String
1384
1305
  # @param Code: 该字段用于返回任务创建的状态,如返回OK则代表任务创建成功,其他返回值可参考公共错误码。
1385
- # 注意:此字段可能返回 null,表示取不到有效值。
1386
1306
  # @type Code: String
1387
1307
  # @param Message: **仅在Code的返回值为错误码时生效**,用于返回错误的详情内容。
1388
- # 注意:此字段可能返回 null,表示取不到有效值。
1389
1308
  # @type Message: String
1390
1309
 
1391
1310
  attr_accessor :DataId, :TaskId, :Code, :Message
@@ -1411,32 +1330,24 @@ module TencentCloud
1411
1330
  # 以及其他令人反感、不安全或不适宜的内容类型。
1412
1331
 
1413
1332
  # 如音频中无复杂类型「TextResults」的返回则代表该音频中无相关违规内容;
1414
- # 注意:此字段可能返回 null,表示取不到有效值。
1415
1333
  # @type Label: String
1416
1334
  # @param Keywords: 命中的关键词,为空则代表该违规内容出自于模型的判断;
1417
- # 注意:此字段可能返回 null,表示取不到有效值。
1418
1335
  # @type Keywords: Array
1419
1336
  # @param LibId: 命中关键词库的库标识;
1420
- # 注意:此字段可能返回 null,表示取不到有效值。
1421
1337
  # @type LibId: String
1422
1338
  # @param LibName: 命中关键词库的名字;
1423
- # 注意:此字段可能返回 null,表示取不到有效值。
1424
1339
  # @type LibName: String
1425
1340
  # @param Score: 机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
1426
1341
  # (如:Porn 99,则该样本属于色情的置信度非常高。)
1427
- # 注意:此字段可能返回 null,表示取不到有效值。
1428
1342
  # @type Score: Integer
1429
1343
  # @param Suggestion: 建议您拿到判断结果后的执行操作。
1430
1344
  # 建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
1431
- # 注意:此字段可能返回 null,表示取不到有效值。
1432
1345
  # @type Suggestion: String
1433
1346
  # @param LibType: 自定义词库的类型,自定义词库相关的信息可登录控制台中查看;
1434
1347
  # 1:自定义黑白库;
1435
1348
  # 2:公库;
1436
1349
  # @type LibType: Integer
1437
1350
  # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
1438
- # 注意:此字段可能返回null,表示取不到有效值。
1439
- # 注意:此字段可能返回 null,表示取不到有效值。
1440
1351
  # @type SubLabel: String
1441
1352
  # @param HitInfos: 该字段用于返回违规文本命中信息
1442
1353
  # @type HitInfos: Array
@@ -1478,25 +1389,18 @@ module TencentCloud
1478
1389
  # 出行结果
1479
1390
  class TravelResults < TencentCloud::Common::AbstractModel
1480
1391
  # @param Label: 一级标签
1481
- # 注意:此字段可能返回 null,表示取不到有效值。
1482
1392
  # @type Label: String
1483
1393
  # @param SubLabel: 二级标签
1484
- # 注意:此字段可能返回 null,表示取不到有效值。
1485
1394
  # @type SubLabel: String
1486
1395
  # @param RiskLevel: 风险等级
1487
- # 注意:此字段可能返回 null,表示取不到有效值。
1488
1396
  # @type RiskLevel: String
1489
1397
  # @param AudioRole: 出行音频角色
1490
- # 注意:此字段可能返回 null,表示取不到有效值。
1491
1398
  # @type AudioRole: String
1492
1399
  # @param AudioText: 出行语音文本
1493
- # 注意:此字段可能返回 null,表示取不到有效值。
1494
1400
  # @type AudioText: String
1495
1401
  # @param StartTime: 开始时间
1496
- # 注意:此字段可能返回 null,表示取不到有效值。
1497
1402
  # @type StartTime: Float
1498
1403
  # @param EndTime: 结束时间
1499
- # 注意:此字段可能返回 null,表示取不到有效值。
1500
1404
  # @type EndTime: Float
1501
1405
 
1502
1406
  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.1074
4
+ version: 3.0.1092
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-04 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common