tencentcloud-sdk-ams 1.0.332 → 1.0.335

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: b9584799ddf9fdbb2815965c599163e2ee188ee0
4
- data.tar.gz: 4e13562671547c977d2cf9004ea1fb1b1e52475e
3
+ metadata.gz: 35bcf7690116ebe2cd3d4f72aca0bb2b079962c2
4
+ data.tar.gz: 500f313520de7d5ecb70d02eefabedb1802752cd
5
5
  SHA512:
6
- metadata.gz: ac3aa880ce9cd02494171c103467a21a458ee795b946181d9a9faf2527d5226c6c778ca88c135b66e3b91f51c80de7c7e2915ae264f0a42644d3f59c095941de
7
- data.tar.gz: f7943674a56be57a53dda7611ce29e955669de3d71db2dd7dededf43a5802422ad8acefa792a315fce06068212232cd0cf4c8804be06a22ef8bf3fd0e2bb6040
6
+ metadata.gz: fbb64aa226112f0f38a55f318061cf0ab1aa29367a79e1e783b095853bc2f194d4d46a4406bb1c0fea076461291bb033399e208f5e9dc872b0608619b85b4fc0
7
+ data.tar.gz: 1af20195151e19de98a905018013bcafbba02e34a2f1e7aee77a6d0cd6fa2127231f76767db95f2dea51c4355506e8d52bab1ff2de22cfeca5843e3c3513aa9f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.332
1
+ 1.0.335
@@ -550,7 +550,7 @@ module TencentCloud
550
550
  # @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
551
551
  # 注意:此字段可能返回 null,表示取不到有效值。
552
552
  # @type Suggestion: String
553
- # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
553
+ # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
554
554
  # 注意:此字段可能返回 null,表示取不到有效值。
555
555
  # @type Labels: Array
556
556
  # @param InputInfo: 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
@@ -574,12 +574,15 @@ module TencentCloud
574
574
  # @param UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
575
575
  # 注意:此字段可能返回 null,表示取不到有效值。
576
576
  # @type UpdatedAt: String
577
+ # @param Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
578
+ # 注意:此字段可能返回 null,表示取不到有效值。
579
+ # @type Label: String
577
580
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
578
581
  # @type RequestId: String
579
582
 
580
- attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :InputInfo, :AudioText, :AudioSegments, :ErrorType, :ErrorDescription, :CreatedAt, :UpdatedAt, :RequestId
583
+ attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :InputInfo, :AudioText, :AudioSegments, :ErrorType, :ErrorDescription, :CreatedAt, :UpdatedAt, :Label, :RequestId
581
584
 
582
- def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, inputinfo=nil, audiotext=nil, audiosegments=nil, errortype=nil, errordescription=nil, createdat=nil, updatedat=nil, requestid=nil)
585
+ def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, inputinfo=nil, audiotext=nil, audiosegments=nil, errortype=nil, errordescription=nil, createdat=nil, updatedat=nil, label=nil, requestid=nil)
583
586
  @TaskId = taskid
584
587
  @DataId = dataid
585
588
  @BizType = biztype
@@ -595,6 +598,7 @@ module TencentCloud
595
598
  @ErrorDescription = errordescription
596
599
  @CreatedAt = createdat
597
600
  @UpdatedAt = updatedat
601
+ @Label = label
598
602
  @RequestId = requestid
599
603
  end
600
604
 
@@ -631,6 +635,7 @@ module TencentCloud
631
635
  @ErrorDescription = params['ErrorDescription']
632
636
  @CreatedAt = params['CreatedAt']
633
637
  @UpdatedAt = params['UpdatedAt']
638
+ @Label = params['Label']
634
639
  @RequestId = params['RequestId']
635
640
  end
636
641
  end
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.332
4
+ version: 1.0.335
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-06-14 00:00:00.000000000 Z
11
+ date: 2022-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common