tencentcloud-sdk-vm 3.0.408 → 3.0.410
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210922/models.rb +71 -33
- 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: 1f35d4332b0b3a2c80027bccc455e0b12300388e
|
|
4
|
+
data.tar.gz: 4c6b15e7874c8408dfe72afb3023ac53a9166de5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f09fac53a8489c66c371036bf5286bdd81e8c89d659790f9c871a44bb781c15e741072c17f09f4d20c54a8c1620cd24487ac26004bb7e98b3e87a9fc0f82fb91
|
|
7
|
+
data.tar.gz: bd31427130c43c317b5bec46bad8ccc335d7d6df4b51ef47cbc9118e120dc15fe9f5482c207aac5974bf9fa28b17cdba423a59886645eca386608cadfe1a2bc9
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.410
|
data/lib/v20210922/models.rb
CHANGED
|
@@ -425,76 +425,75 @@ module TencentCloud
|
|
|
425
425
|
|
|
426
426
|
# DescribeTaskDetail返回参数结构体
|
|
427
427
|
class DescribeTaskDetailResponse < TencentCloud::Common::AbstractModel
|
|
428
|
-
# @param TaskId:
|
|
428
|
+
# @param TaskId: 该字段用于返回创建视频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
|
|
429
429
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
430
430
|
# @type TaskId: String
|
|
431
|
-
# @param DataId:
|
|
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:
|
|
483
|
-
#
|
|
484
|
-
#
|
|
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:
|
|
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.
|
|
4
|
+
version: 3.0.410
|
|
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-
|
|
11
|
+
date: 2022-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|