tencentcloud-sdk-vm 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: a844ab8913c79c74d610c9fa3c69684f3c2a5495
4
- data.tar.gz: 28c99be2a4e64a5fb0820af768ae43e25b0c5d05
3
+ metadata.gz: 6f7d0ce979a2d6f674fb3ea2155b7bff05c21f7b
4
+ data.tar.gz: bded4f87c670bbc93d842eb76b5ba22cf500a34c
5
5
  SHA512:
6
- metadata.gz: 4e04fd743ac37ca99443c12ec3a6877151dc3de3b5e19d929eace80bc5e818f9c24562f9aa50ee7a3d556174837267fd4e1f040332aa8d86d7a0f9d56e67f8f8
7
- data.tar.gz: d302be70d0952f3798f8118ed314134a670ef10a63d18eb8fdeb90446e13c2bacf3f11b3e668432aaa7b5e6b494c1167393669d5e3a70c6aea3f500813694d67
6
+ metadata.gz: 2687ff79c32997ba6ed6ffc8cb5e91e6093c674c50383cede7733b6b9b35024ff34a629c5cfb590ca164ee72d610cb4483cb7951c2843814508435b58377f1d3
7
+ data.tar.gz: 2c2eca3d62bec21ad4989c2e3b82e4c6ce7d8312d21ad53d57a4583eeaa61163a067948638fa137713ee5b7ae903aa6d447899271e6c36ac8c88c052fdce1af8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.332
1
+ 1.0.335
@@ -449,7 +449,7 @@ module TencentCloud
449
449
  # @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
450
450
  # 注意:此字段可能返回 null,表示取不到有效值。
451
451
  # @type Suggestion: String
452
- # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
452
+ # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
453
453
  # 注意:此字段可能返回 null,表示取不到有效值。
454
454
  # @type Labels: Array
455
455
  # @param MediaInfo: 该字段用于返回输入媒体文件的详细信息,包括编解码格式、分片时长等信息。详细内容敬请参考MediaInfo数据结构的描述。
@@ -478,12 +478,15 @@ module TencentCloud
478
478
  # @param ErrorDescription: 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
479
479
  # 注意:此字段可能返回 null,表示取不到有效值。
480
480
  # @type ErrorDescription: String
481
+ # @param Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
482
+ # 注意:此字段可能返回 null,表示取不到有效值。
483
+ # @type Label: String
481
484
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
482
485
  # @type RequestId: String
483
486
 
484
- attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :RequestId
487
+ attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :Label, :RequestId
485
488
 
486
- def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, inputinfo=nil, createdat=nil, updatedat=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, requestid=nil)
489
+ def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, inputinfo=nil, createdat=nil, updatedat=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, label=nil, requestid=nil)
487
490
  @TaskId = taskid
488
491
  @DataId = dataid
489
492
  @BizType = biztype
@@ -500,6 +503,7 @@ module TencentCloud
500
503
  @AudioSegments = audiosegments
501
504
  @ErrorType = errortype
502
505
  @ErrorDescription = errordescription
506
+ @Label = label
503
507
  @RequestId = requestid
504
508
  end
505
509
 
@@ -547,6 +551,7 @@ module TencentCloud
547
551
  end
548
552
  @ErrorType = params['ErrorType']
549
553
  @ErrorDescription = params['ErrorDescription']
554
+ @Label = params['Label']
550
555
  @RequestId = params['RequestId']
551
556
  end
552
557
  end
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: 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