tencentcloud-sdk-vm 3.0.407 → 3.0.409

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 +71 -33
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d90dfa7c3399f5b5fb6ca2a8b130c9e650f47803
4
- data.tar.gz: 6f648b6889546406fb080405a368cc83c5a24e25
3
+ metadata.gz: f286215f6fbcdf5a5e1cd9a92f0b6de4448fefe4
4
+ data.tar.gz: 10c4174c5ca7927506f29a1b5371e966ca027ad5
5
5
  SHA512:
6
- metadata.gz: 5f71081ccf3d0663a890efcef61b538a41378af5327efc0a47c21f37c70659d958cf84cee6d94523e23420586af18bd8e7fef82254e5624c9ee524a0fd1b444a
7
- data.tar.gz: d11f9bca2fe4350b214f1cbe1655c980b8dc5e6a18907d440251b8dea2776e2db4dc0701a1e2267577ba6940500ca0d27affdc98292eb534d04811b306f98c00
6
+ metadata.gz: 8ccee72e87921065fb45b87d7df3107754f1245be9c68cee6e6cbacc56ddaebebb9ffa021f8c8dae672e3688ab60ade7434477a40e92b3cc626157d396c8b446
7
+ data.tar.gz: 30dc49d380b4c4d1a058908fbbbc2ff9bd2d8d57edbabd75e810c816549414cd936fc1dc5ce1849de7870594664d0a76574db9a46fa1b7fa5c9fc7c44f29dfb9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.407
1
+ 3.0.409
@@ -425,76 +425,75 @@ module TencentCloud
425
425
 
426
426
  # DescribeTaskDetail返回参数结构体
427
427
  class DescribeTaskDetailResponse < TencentCloud::Common::AbstractModel
428
- # @param TaskId: 任务Id
428
+ # @param TaskId: 该字段用于返回创建视频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
429
429
  # 注意:此字段可能返回 null,表示取不到有效值。
430
430
  # @type TaskId: String
431
- # @param DataId: 审核时传入的数据Id
431
+ # @param DataId: 该字段用于返回调用视频审核接口时传入的数据ID参数,方便数据的辨别和管理。
432
432
  # 注意:此字段可能返回 null,表示取不到有效值。
433
433
  # @type DataId: String
434
- # @param BizType: 业务类型
434
+ # @param BizType: 该字段用于返回调用视频审核接口时传入的BizType参数,方便数据的辨别和管理。
435
435
  # 注意:此字段可能返回 null,表示取不到有效值。
436
436
  # @type BizType: String
437
- # @param Name: 任务名称
437
+ # @param Name: 该字段用于返回调用视频审核接口时传入的TaskInput参数中的任务名称,方便任务的识别与管理。
438
438
  # 注意:此字段可能返回 null,表示取不到有效值。
439
439
  # @type Name: String
440
- # @param Status: 状态,可选值:
441
- # FINISH 已完成
442
- # PENDING 等待中
443
- # RUNNING 进行中
444
- # ERROR 出错
445
- # CANCELLED 已取消
440
+ # @param Status: 该字段用于返回所查询内容的任务状态。
441
+ # <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
446
442
  # 注意:此字段可能返回 null,表示取不到有效值。
447
443
  # @type Status: String
448
- # @param Type: 类型
444
+ # @param Type: 该字段用于返回调用视频审核接口时输入的视频审核类型,取值为:**VIDEO**(点播视频)和**LIVE_VIDEO**(直播视频),默认值为VIDEO。
449
445
  # 注意:此字段可能返回 null,表示取不到有效值。
450
446
  # @type Type: String
451
- # @param Suggestion: 审核建议
452
- # 可选:
453
- # Pass 通过
454
- # Reveiw 建议复审
455
- # Block 确认违规
447
+ # @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
456
448
  # 注意:此字段可能返回 null,表示取不到有效值。
457
449
  # @type Suggestion: String
458
- # @param Labels: 审核结果
450
+ # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
459
451
  # 注意:此字段可能返回 null,表示取不到有效值。
460
452
  # @type Labels: Array
461
- # @param MediaInfo: 媒体解码信息
453
+ # @param MediaInfo: 该字段用于返回输入媒体文件的详细信息,包括编解码格式、分片时长等信息。详细内容敬请参考MediaInfo数据结构的描述。
462
454
  # 注意:此字段可能返回 null,表示取不到有效值。
463
455
  # @type MediaInfo: :class:`Tencentcloud::Vm.v20210922.models.MediaInfo`
464
- # @param InputInfo: 任务信息
456
+ # @param InputInfo: 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
465
457
  # 注意:此字段可能返回 null,表示取不到有效值。
466
458
  # @type InputInfo: :class:`Tencentcloud::Vm.v20210922.models.InputInfo`
467
- # @param CreatedAt: 创建时间
459
+ # @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
468
460
  # 注意:此字段可能返回 null,表示取不到有效值。
469
461
  # @type CreatedAt: String
470
- # @param UpdatedAt: 更新时间
462
+ # @param UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
471
463
  # 注意:此字段可能返回 null,表示取不到有效值。
472
464
  # @type UpdatedAt: String
473
465
  # @param TryInSeconds: 在秒后重试
474
466
  # 注意:此字段可能返回 null,表示取不到有效值。
475
467
  # @type TryInSeconds: Integer
476
- # @param ImageSegments: 图片结果
468
+ # @param ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments数据结构的描述。<br>备注:数据有效期为24小时,如需要延长存储时间,请在已配置的COS储存桶中设置。
477
469
  # 注意:此字段可能返回 null,表示取不到有效值。
478
470
  # @type ImageSegments: Array
479
- # @param AudioSegments: 音频结果
471
+ # @param AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments数据结构的描述。<br>备注:数据有效期为24小时,如需要延长存储时间,请在已配置的COS储存桶中设置。
480
472
  # 注意:此字段可能返回 null,表示取不到有效值。
481
473
  # @type AudioSegments: Array
482
- # @param ErrorType: 如果返回的状态为ERROR,该字段会标记错误类型。
483
- # 可选值::
484
- # DECODE_ERROR: 解码失败。(输入资源中可能包含无法解码的视频)
485
- # URL_ERROR:下载地址验证失败。
486
- # TIMEOUT_ERROR:处理超时。
474
+ # @param ErrorType: 当任务状态为Error时,返回对应错误的类型,取值:**DECODE_ERROR**: 解码失败。(输入资源中可能包含无法解码的视频)
475
+ # **URL_ERROR**:下载地址验证失败。
476
+ # **TIMEOUT_ERROR**:处理超时。任务状态非Error时默认返回为空。
487
477
  # 注意:此字段可能返回 null,表示取不到有效值。
488
478
  # @type ErrorType: String
489
- # @param ErrorDescription: 审核任务错误日志。当Error不为空时,会展示该字段
479
+ # @param ErrorDescription: 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
490
480
  # 注意:此字段可能返回 null,表示取不到有效值。
491
481
  # @type ErrorDescription: String
482
+ # @param Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
483
+ # 注意:此字段可能返回 null,表示取不到有效值。
484
+ # @type Label: String
485
+ # @param AudioText: 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
486
+ # 注意:此字段可能返回 null,表示取不到有效值。
487
+ # @type AudioText: String
488
+ # @param Asrs: 该字段用于返回音频文件识别出的对应文本内容。
489
+ # 注意:此字段可能返回 null,表示取不到有效值。
490
+ # @type Asrs: Array
492
491
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
493
492
  # @type RequestId: String
494
493
 
495
- attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :TryInSeconds, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :RequestId
494
+ attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :TryInSeconds, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :Label, :AudioText, :Asrs, :RequestId
496
495
 
497
- 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, tryinseconds=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, requestid=nil)
496
+ 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, tryinseconds=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, label=nil, audiotext=nil, asrs=nil, requestid=nil)
498
497
  @TaskId = taskid
499
498
  @DataId = dataid
500
499
  @BizType = biztype
@@ -512,6 +511,9 @@ module TencentCloud
512
511
  @AudioSegments = audiosegments
513
512
  @ErrorType = errortype
514
513
  @ErrorDescription = errordescription
514
+ @Label = label
515
+ @AudioText = audiotext
516
+ @Asrs = asrs
515
517
  @RequestId = requestid
516
518
  end
517
519
 
@@ -560,6 +562,16 @@ module TencentCloud
560
562
  end
561
563
  @ErrorType = params['ErrorType']
562
564
  @ErrorDescription = params['ErrorDescription']
565
+ @Label = params['Label']
566
+ @AudioText = params['AudioText']
567
+ unless params['Asrs'].nil?
568
+ @Asrs = []
569
+ params['Asrs'].each do |i|
570
+ rcbasr_tmp = RcbAsr.new
571
+ rcbasr_tmp.deserialize(i)
572
+ @Asrs << rcbasr_tmp
573
+ end
574
+ end
563
575
  @RequestId = params['RequestId']
564
576
  end
565
577
  end
@@ -944,14 +956,17 @@ module TencentCloud
944
956
  # @type Width: Integer
945
957
  # @param Height: 高,单位为像素
946
958
  # @type Height: Integer
959
+ # @param Thumbnail: 封面
960
+ # @type Thumbnail: String
947
961
 
948
- attr_accessor :Codecs, :Duration, :Width, :Height
962
+ attr_accessor :Codecs, :Duration, :Width, :Height, :Thumbnail
949
963
 
950
- def initialize(codecs=nil, duration=nil, width=nil, height=nil)
964
+ def initialize(codecs=nil, duration=nil, width=nil, height=nil, thumbnail=nil)
951
965
  @Codecs = codecs
952
966
  @Duration = duration
953
967
  @Width = width
954
968
  @Height = height
969
+ @Thumbnail = thumbnail
955
970
  end
956
971
 
957
972
  def deserialize(params)
@@ -959,6 +974,29 @@ module TencentCloud
959
974
  @Duration = params['Duration']
960
975
  @Width = params['Width']
961
976
  @Height = params['Height']
977
+ @Thumbnail = params['Thumbnail']
978
+ end
979
+ end
980
+
981
+ # 审核切片asr文本信息
982
+ class RcbAsr < TencentCloud::Common::AbstractModel
983
+ # @param Text: 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
984
+ # 注意:此字段可能返回 null,表示取不到有效值。
985
+ # @type Text: String
986
+ # @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
987
+ # 注意:此字段可能返回 null,表示取不到有效值。
988
+ # @type CreatedAt: String
989
+
990
+ attr_accessor :Text, :CreatedAt
991
+
992
+ def initialize(text=nil, createdat=nil)
993
+ @Text = text
994
+ @CreatedAt = createdat
995
+ end
996
+
997
+ def deserialize(params)
998
+ @Text = params['Text']
999
+ @CreatedAt = params['CreatedAt']
962
1000
  end
963
1001
  end
964
1002
 
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.407
4
+ version: 3.0.409
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-12 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common