tencentcloud-sdk-ams 1.0.224 → 1.0.228

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a35d7df79fcef3ba463b001942a9fa232368c5c
4
- data.tar.gz: 78a34af4866157916783dd8fc85096da649cd8d5
3
+ metadata.gz: bbceccc295f9793681ecc69c7c210fda61465653
4
+ data.tar.gz: a3e92af05007086ab23b6e429273089caa672d41
5
5
  SHA512:
6
- metadata.gz: 4d7cc3803bd2bca87c4e507dd9bcdd1e4195cfec8756c62ffe311236c2dedfad46ea82a17331fff873eb4a9c1830f0c965fb8e01595a202352d5d79d7e02e749
7
- data.tar.gz: f89154ea7d6e2cfe37401277b74b7f65fb85250aa7f263395c5c5c080c44e11ce58ce852a7e8963977f201d829447359d54db465a6770cd10f03af1cb569b1ab
6
+ metadata.gz: f80b4a99372944be255d9ad2a238a0ddd52793dc71a1def18cdd5dc985f7a4b198c6cab4a29f77d00d662d682ee40c40180da34372529134195e1e631bca4bb8
7
+ data.tar.gz: de0f7191e3572c84b1112f97f608dff6e69998a19c0b3848555012a3076615613fcfabbbbb20a53d5f3ef6533274b8b23a49032fe739878d4f5eb88825da87ea
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.224
1
+ 1.0.228
@@ -98,7 +98,7 @@ module TencentCloud
98
98
  # ### 接口功能说明:
99
99
  # - 支持对音频流或音频文件进行检测,判断其中是否包含违规内容;
100
100
  # - 支持设置回调地址 Callback 获取检测结果(对于已在审核的任务,最长回调时间为用户配置的**切片时长 + 2s**),或通过接口(查询音频检测结果)主动轮询获取检测结果;
101
- # - 支持识别违规内容,包括:低俗、谩骂、色情、涉政、广告等场景;
101
+ # - 支持识别违规内容,包括:低俗、谩骂、色情、广告等场景;
102
102
  # - 支持批量提交检测任务,检测任务列表**最多支持10个**。
103
103
 
104
104
  # ### 音频文件调用说明:
@@ -48,10 +48,13 @@ module TencentCloud
48
48
  # @type MoanResults: Array
49
49
  # @param LanguageResults: 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
50
50
  # @type LanguageResults: Array
51
+ # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
52
+ # 注意:此字段可能返回 null,表示取不到有效值。
53
+ # @type SubLabel: String
51
54
 
52
- attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults
55
+ attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel
53
56
 
54
- def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil)
57
+ 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)
55
58
  @HitFlag = hitflag
56
59
  @Label = label
57
60
  @Suggestion = suggestion
@@ -63,6 +66,7 @@ module TencentCloud
63
66
  @TextResults = textresults
64
67
  @MoanResults = moanresults
65
68
  @LanguageResults = languageresults
69
+ @SubLabel = sublabel
66
70
  end
67
71
 
68
72
  def deserialize(params)
@@ -98,6 +102,7 @@ module TencentCloud
98
102
  @LanguageResults << audioresultdetaillanguageresult_tmp
99
103
  end
100
104
  end
105
+ @SubLabel = params['SubLabel']
101
106
  end
102
107
  end
103
108
 
@@ -151,15 +156,19 @@ module TencentCloud
151
156
  # @type EndTime: Float
152
157
  # @param SubLabelCode: *内测中,敬请期待*
153
158
  # @type SubLabelCode: String
159
+ # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
160
+ # 注意:此字段可能返回 null,表示取不到有效值。
161
+ # @type SubLabel: String
154
162
 
155
- attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode
163
+ attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode, :SubLabel
156
164
 
157
- def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil)
165
+ def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil, sublabel=nil)
158
166
  @Label = label
159
167
  @Score = score
160
168
  @StartTime = starttime
161
169
  @EndTime = endtime
162
170
  @SubLabelCode = sublabelcode
171
+ @SubLabel = sublabel
163
172
  end
164
173
 
165
174
  def deserialize(params)
@@ -168,6 +177,7 @@ module TencentCloud
168
177
  @StartTime = params['StartTime']
169
178
  @EndTime = params['EndTime']
170
179
  @SubLabelCode = params['SubLabelCode']
180
+ @SubLabel = params['SubLabel']
171
181
  end
172
182
  end
173
183
 
@@ -194,10 +204,13 @@ module TencentCloud
194
204
  # @type Suggestion: String
195
205
  # @param LibType: 该字段用于返回自定义关键词对应的词库类型,取值为**1**(黑白库)和**2**(自定义关键词库),若未配置自定义关键词库,则默认值为1(黑白库匹配)。
196
206
  # @type LibType: Integer
207
+ # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
208
+ # 注意:此字段可能返回 null,表示取不到有效值。
209
+ # @type SubLabel: String
197
210
 
198
- attr_accessor :Label, :Keywords, :LibId, :LibName, :Score, :Suggestion, :LibType
211
+ attr_accessor :Label, :Keywords, :LibId, :LibName, :Score, :Suggestion, :LibType, :SubLabel
199
212
 
200
- def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, suggestion=nil, libtype=nil)
213
+ def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, suggestion=nil, libtype=nil, sublabel=nil)
201
214
  @Label = label
202
215
  @Keywords = keywords
203
216
  @LibId = libid
@@ -205,6 +218,7 @@ module TencentCloud
205
218
  @Score = score
206
219
  @Suggestion = suggestion
207
220
  @LibType = libtype
221
+ @SubLabel = sublabel
208
222
  end
209
223
 
210
224
  def deserialize(params)
@@ -215,6 +229,7 @@ module TencentCloud
215
229
  @Score = params['Score']
216
230
  @Suggestion = params['Suggestion']
217
231
  @LibType = params['LibType']
232
+ @SubLabel = params['SubLabel']
218
233
  end
219
234
  end
220
235
 
@@ -946,19 +961,24 @@ module TencentCloud
946
961
  # @param Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
947
962
  # 注意:此字段可能返回 null,表示取不到有效值。
948
963
  # @type Score: Integer
964
+ # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
965
+ # 注意:此字段可能返回 null,表示取不到有效值。
966
+ # @type SubLabel: String
949
967
 
950
- attr_accessor :Label, :Suggestion, :Score
968
+ attr_accessor :Label, :Suggestion, :Score, :SubLabel
951
969
 
952
- def initialize(label=nil, suggestion=nil, score=nil)
970
+ def initialize(label=nil, suggestion=nil, score=nil, sublabel=nil)
953
971
  @Label = label
954
972
  @Suggestion = suggestion
955
973
  @Score = score
974
+ @SubLabel = sublabel
956
975
  end
957
976
 
958
977
  def deserialize(params)
959
978
  @Label = params['Label']
960
979
  @Suggestion = params['Suggestion']
961
980
  @Score = params['Score']
981
+ @SubLabel = params['SubLabel']
962
982
  end
963
983
  end
964
984
 
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: 1.0.224
4
+ version: 1.0.228
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-15 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common