tencentcloud-sdk-vm 3.0.410 → 3.0.411

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/v20210922/models.rb +15 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f35d4332b0b3a2c80027bccc455e0b12300388e
4
- data.tar.gz: 4c6b15e7874c8408dfe72afb3023ac53a9166de5
3
+ metadata.gz: 551e50844b65b2049ff24ad9e0a6f1d1e010b916
4
+ data.tar.gz: a24e7ed5103c948e04447e247c9546bcfc98718a
5
5
  SHA512:
6
- metadata.gz: f09fac53a8489c66c371036bf5286bdd81e8c89d659790f9c871a44bb781c15e741072c17f09f4d20c54a8c1620cd24487ac26004bb7e98b3e87a9fc0f82fb91
7
- data.tar.gz: bd31427130c43c317b5bec46bad8ccc335d7d6df4b51ef47cbc9118e120dc15fe9f5482c207aac5974bf9fa28b17cdba423a59886645eca386608cadfe1a2bc9
6
+ metadata.gz: 6ae696d6b57a2daf2be87a87b57f6c55c4b232370fb7e37b2cce05d0d8d0449611ea4c2a87f712bb4fc5ca36ee4b05e643512808d03016d6b43347f49b3e5f51
7
+ data.tar.gz: 940db4af1294f8709dea5e1dc5451ad3534f349c8eb9a345e53867790ee7aa0afd163c968e2d34794f37e814c076b0efdd8bb9c9e76bd0d53e7b86d3d8c588d6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.410
1
+ 3.0.411
@@ -203,31 +203,35 @@ module TencentCloud
203
203
 
204
204
  # 音频ASR文本审核结果
205
205
  class AudioResultDetailTextResult < TencentCloud::Common::AbstractModel
206
- # @param Label: 标签
206
+ # @param Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
207
207
  # 注意:此字段可能返回 null,表示取不到有效值。
208
208
  # @type Label: String
209
- # @param Keywords: 命中的关键词
209
+ # @param Keywords: 该字段用于返回ASR识别出的文本内容命中的关键词信息,用于标注内容违规的具体原因(如:加我微信)。该参数可能会有多个返回值,代表命中的多个关键词;若返回值为空,Score不为空,则代表识别结果所对应的恶意标签(Label)来自于语义模型判断的返回值。
210
210
  # 注意:此字段可能返回 null,表示取不到有效值。
211
211
  # @type Keywords: Array
212
- # @param LibId: 命中的LibId
212
+ # @param LibId: 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
213
213
  # 注意:此字段可能返回 null,表示取不到有效值。
214
214
  # @type LibId: String
215
- # @param LibName: 命中的LibName
215
+ # @param LibName: 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
216
216
  # 注意:此字段可能返回 null,表示取不到有效值。
217
217
  # @type LibName: String
218
- # @param Score: 得分
218
+ # @param Score: 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
219
219
  # 注意:此字段可能返回 null,表示取不到有效值。
220
220
  # @type Score: Integer
221
- # @param LibType: 词库类型 1 黑白库 2 自定义库
221
+ # @param LibType: 该字段用于返回自定义关键词对应的词库类型,取值为**1**(黑白库)和**2**(自定义关键词库),若未配置自定义关键词库,则默认值为1(黑白库匹配)。
222
222
  # 注意:此字段可能返回 null,表示取不到有效值。
223
223
  # @type LibType: Integer
224
- # @param Suggestion: 审核建议
224
+ # @param Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
225
+ # 返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
225
226
  # 注意:此字段可能返回 null,表示取不到有效值。
226
227
  # @type Suggestion: String
228
+ # @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
229
+ # 注意:此字段可能返回 null,表示取不到有效值。
230
+ # @type SubLabel: String
227
231
 
228
- attr_accessor :Label, :Keywords, :LibId, :LibName, :Score, :LibType, :Suggestion
232
+ attr_accessor :Label, :Keywords, :LibId, :LibName, :Score, :LibType, :Suggestion, :SubLabel
229
233
 
230
- def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, libtype=nil, suggestion=nil)
234
+ def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, libtype=nil, suggestion=nil, sublabel=nil)
231
235
  @Label = label
232
236
  @Keywords = keywords
233
237
  @LibId = libid
@@ -235,6 +239,7 @@ module TencentCloud
235
239
  @Score = score
236
240
  @LibType = libtype
237
241
  @Suggestion = suggestion
242
+ @SubLabel = sublabel
238
243
  end
239
244
 
240
245
  def deserialize(params)
@@ -245,6 +250,7 @@ module TencentCloud
245
250
  @Score = params['Score']
246
251
  @LibType = params['LibType']
247
252
  @Suggestion = params['Suggestion']
253
+ @SubLabel = params['SubLabel']
248
254
  end
249
255
  end
250
256
 
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.410
4
+ version: 3.0.411
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-15 00:00:00.000000000 Z
11
+ date: 2022-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common