tencentcloud-sdk-ams 1.0.226 → 1.0.227
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201229/models.rb +32 -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: a1a23d5ba5601de8c56a95065813a6cde79a63a0
|
4
|
+
data.tar.gz: 83c0d46fc5b7904e34bbf903e6a4d49b5fb39d09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b28aff85f1c2b3dd817cda9d6c7ef61d19a504e2d02b056f23a861f5156666b88249ab298c2beb66aacb52d15776a3141a148b0972a8fd5d0b8640dc291266d4
|
7
|
+
data.tar.gz: 01688400550b5d5d098fc142cd13d2c523c2dc27966fda7f2a1ba97ac7833fb33ccf212a8a7db5681fe916ec39a713d9c2397a7114e5a192d2e86d7332912628
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.227
|
data/lib/v20201229/models.rb
CHANGED
@@ -48,10 +48,14 @@ module TencentCloud
|
|
48
48
|
# @type MoanResults: Array
|
49
49
|
# @param LanguageResults: 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
|
50
50
|
# @type LanguageResults: Array
|
51
|
+
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
52
|
+
# 注意:此字段可能返回null,表示取不到有效值。
|
53
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
54
|
+
# @type SubLabel: String
|
51
55
|
|
52
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults
|
56
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel
|
53
57
|
|
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)
|
58
|
+
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
59
|
@HitFlag = hitflag
|
56
60
|
@Label = label
|
57
61
|
@Suggestion = suggestion
|
@@ -63,6 +67,7 @@ module TencentCloud
|
|
63
67
|
@TextResults = textresults
|
64
68
|
@MoanResults = moanresults
|
65
69
|
@LanguageResults = languageresults
|
70
|
+
@SubLabel = sublabel
|
66
71
|
end
|
67
72
|
|
68
73
|
def deserialize(params)
|
@@ -98,6 +103,7 @@ module TencentCloud
|
|
98
103
|
@LanguageResults << audioresultdetaillanguageresult_tmp
|
99
104
|
end
|
100
105
|
end
|
106
|
+
@SubLabel = params['SubLabel']
|
101
107
|
end
|
102
108
|
end
|
103
109
|
|
@@ -151,15 +157,20 @@ module TencentCloud
|
|
151
157
|
# @type EndTime: Float
|
152
158
|
# @param SubLabelCode: *内测中,敬请期待*
|
153
159
|
# @type SubLabelCode: String
|
160
|
+
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
161
|
+
# 注意:此字段可能返回null,表示取不到有效值。
|
162
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
163
|
+
# @type SubLabel: String
|
154
164
|
|
155
|
-
attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode
|
165
|
+
attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode, :SubLabel
|
156
166
|
|
157
|
-
def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil)
|
167
|
+
def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil, sublabel=nil)
|
158
168
|
@Label = label
|
159
169
|
@Score = score
|
160
170
|
@StartTime = starttime
|
161
171
|
@EndTime = endtime
|
162
172
|
@SubLabelCode = sublabelcode
|
173
|
+
@SubLabel = sublabel
|
163
174
|
end
|
164
175
|
|
165
176
|
def deserialize(params)
|
@@ -168,6 +179,7 @@ module TencentCloud
|
|
168
179
|
@StartTime = params['StartTime']
|
169
180
|
@EndTime = params['EndTime']
|
170
181
|
@SubLabelCode = params['SubLabelCode']
|
182
|
+
@SubLabel = params['SubLabel']
|
171
183
|
end
|
172
184
|
end
|
173
185
|
|
@@ -194,10 +206,14 @@ module TencentCloud
|
|
194
206
|
# @type Suggestion: String
|
195
207
|
# @param LibType: 该字段用于返回自定义关键词对应的词库类型,取值为**1**(黑白库)和**2**(自定义关键词库),若未配置自定义关键词库,则默认值为1(黑白库匹配)。
|
196
208
|
# @type LibType: Integer
|
209
|
+
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
210
|
+
# 注意:此字段可能返回null,表示取不到有效值。
|
211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
212
|
+
# @type SubLabel: String
|
197
213
|
|
198
|
-
attr_accessor :Label, :Keywords, :LibId, :LibName, :Score, :Suggestion, :LibType
|
214
|
+
attr_accessor :Label, :Keywords, :LibId, :LibName, :Score, :Suggestion, :LibType, :SubLabel
|
199
215
|
|
200
|
-
def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, suggestion=nil, libtype=nil)
|
216
|
+
def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, suggestion=nil, libtype=nil, sublabel=nil)
|
201
217
|
@Label = label
|
202
218
|
@Keywords = keywords
|
203
219
|
@LibId = libid
|
@@ -205,6 +221,7 @@ module TencentCloud
|
|
205
221
|
@Score = score
|
206
222
|
@Suggestion = suggestion
|
207
223
|
@LibType = libtype
|
224
|
+
@SubLabel = sublabel
|
208
225
|
end
|
209
226
|
|
210
227
|
def deserialize(params)
|
@@ -215,6 +232,7 @@ module TencentCloud
|
|
215
232
|
@Score = params['Score']
|
216
233
|
@Suggestion = params['Suggestion']
|
217
234
|
@LibType = params['LibType']
|
235
|
+
@SubLabel = params['SubLabel']
|
218
236
|
end
|
219
237
|
end
|
220
238
|
|
@@ -946,19 +964,25 @@ module TencentCloud
|
|
946
964
|
# @param Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
|
947
965
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
948
966
|
# @type Score: Integer
|
967
|
+
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
968
|
+
# 注意:此字段可能返回null,表示取不到有效值。
|
969
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
970
|
+
# @type SubLabel: String
|
949
971
|
|
950
|
-
attr_accessor :Label, :Suggestion, :Score
|
972
|
+
attr_accessor :Label, :Suggestion, :Score, :SubLabel
|
951
973
|
|
952
|
-
def initialize(label=nil, suggestion=nil, score=nil)
|
974
|
+
def initialize(label=nil, suggestion=nil, score=nil, sublabel=nil)
|
953
975
|
@Label = label
|
954
976
|
@Suggestion = suggestion
|
955
977
|
@Score = score
|
978
|
+
@SubLabel = sublabel
|
956
979
|
end
|
957
980
|
|
958
981
|
def deserialize(params)
|
959
982
|
@Label = params['Label']
|
960
983
|
@Suggestion = params['Suggestion']
|
961
984
|
@Score = params['Score']
|
985
|
+
@SubLabel = params['SubLabel']
|
962
986
|
end
|
963
987
|
end
|
964
988
|
|
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.
|
4
|
+
version: 1.0.227
|
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-
|
11
|
+
date: 2021-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|