tencentcloud-sdk-vm 3.0.1078 → 3.0.1090
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/tencentcloud-sdk-vm.rb +3 -3
- data/lib/v20210922/models.rb +18 -92
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 220c1c543f73a2a4f0431b804fb3ec2b4aae07a6
|
4
|
+
data.tar.gz: 9b521368c80509901626de009c48761a7abc0abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 575bb5ac1cc8ab0ee7ccd74eea6b151638d3d5e9f3084cba56ea47e05b65abbabeaa3471c25a7222ce064393419769db6dd94eb92ec86f6d7fe98570436e05e4
|
7
|
+
data.tar.gz: 7359e4d224a96c6d71eda4ab133596786119e150fa47cce8e6d2b5735cc8c7407a61612cdb7456da4eb70a35bb30b8de2ce7ca7f0b11937e4f6daa1f75a761ed
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1090
|
data/lib/tencentcloud-sdk-vm.rb
CHANGED
@@ -5,12 +5,12 @@ require 'tencentcloud-sdk-common'
|
|
5
5
|
require_relative 'v20210922/client'
|
6
6
|
require_relative 'v20210922/models'
|
7
7
|
|
8
|
-
require_relative 'v20200709/client'
|
9
|
-
require_relative 'v20200709/models'
|
10
|
-
|
11
8
|
require_relative 'v20201229/client'
|
12
9
|
require_relative 'v20201229/models'
|
13
10
|
|
11
|
+
require_relative 'v20200709/client'
|
12
|
+
require_relative 'v20200709/models'
|
13
|
+
|
14
14
|
module TencentCloud
|
15
15
|
module Vm
|
16
16
|
end
|
data/lib/v20210922/models.rb
CHANGED
@@ -56,10 +56,12 @@ module TencentCloud
|
|
56
56
|
# @type SubTagCode: String
|
57
57
|
# @param LabelResults: 该字段用于返回音频文件歌曲识别的详细审核结果
|
58
58
|
# @type LabelResults: Array
|
59
|
+
# @param HitType: 审核命中类型
|
60
|
+
# @type HitType: String
|
59
61
|
|
60
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults, :SpeakerResults, :TravelResults, :SubTag, :SubTagCode, :LabelResults
|
62
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults, :SpeakerResults, :TravelResults, :SubTag, :SubTagCode, :LabelResults, :HitType
|
61
63
|
|
62
|
-
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil, sublabel=nil, recognitionresults=nil, speakerresults=nil, travelresults=nil, subtag=nil, subtagcode=nil, labelresults=nil)
|
64
|
+
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil, sublabel=nil, recognitionresults=nil, speakerresults=nil, travelresults=nil, subtag=nil, subtagcode=nil, labelresults=nil, hittype=nil)
|
63
65
|
@HitFlag = hitflag
|
64
66
|
@Label = label
|
65
67
|
@Suggestion = suggestion
|
@@ -78,6 +80,7 @@ module TencentCloud
|
|
78
80
|
@SubTag = subtag
|
79
81
|
@SubTagCode = subtagcode
|
80
82
|
@LabelResults = labelresults
|
83
|
+
@HitType = hittype
|
81
84
|
end
|
82
85
|
|
83
86
|
def deserialize(params)
|
@@ -148,25 +151,21 @@ module TencentCloud
|
|
148
151
|
@LabelResults << labelresult_tmp
|
149
152
|
end
|
150
153
|
end
|
154
|
+
@HitType = params['HitType']
|
151
155
|
end
|
152
156
|
end
|
153
157
|
|
154
158
|
# 音频小语种检测结果
|
155
159
|
class AudioResultDetailLanguageResult < TencentCloud::Common::AbstractModel
|
156
160
|
# @param Label: 语种
|
157
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
158
161
|
# @type Label: String
|
159
162
|
# @param Score: 得分
|
160
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
161
163
|
# @type Score: Integer
|
162
164
|
# @param StartTime: 开始时间
|
163
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
164
165
|
# @type StartTime: Float
|
165
166
|
# @param EndTime: 结束时间
|
166
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
167
167
|
# @type EndTime: Float
|
168
168
|
# @param SubLabelCode: 子标签码
|
169
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
170
169
|
# @type SubLabelCode: String
|
171
170
|
|
172
171
|
attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode
|
@@ -191,7 +190,6 @@ module TencentCloud
|
|
191
190
|
# 音频呻吟审核结果
|
192
191
|
class AudioResultDetailMoanResult < TencentCloud::Common::AbstractModel
|
193
192
|
# @param Label: 该字段用于返回检测结果需要检测的内容类型,此处固定为**Moan**(呻吟)以调用呻吟检测功能。
|
194
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
195
193
|
# @type Label: String
|
196
194
|
# @param Score: 该字段用于返回呻吟检测的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于呻吟内容。
|
197
195
|
# @type Score: Integer
|
@@ -424,7 +422,6 @@ module TencentCloud
|
|
424
422
|
# CreateVideoModerationTask返回参数结构体
|
425
423
|
class CreateVideoModerationTaskResponse < TencentCloud::Common::AbstractModel
|
426
424
|
# @param Results: 任务创建结果
|
427
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
428
425
|
# @type Results: Array
|
429
426
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
430
427
|
# @type RequestId: String
|
@@ -472,50 +469,35 @@ module TencentCloud
|
|
472
469
|
# DescribeTaskDetail返回参数结构体
|
473
470
|
class DescribeTaskDetailResponse < TencentCloud::Common::AbstractModel
|
474
471
|
# @param TaskId: 该字段用于返回创建视频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
|
475
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
476
472
|
# @type TaskId: String
|
477
473
|
# @param DataId: 该字段用于返回调用视频审核接口时传入的数据ID参数,方便数据的辨别和管理。
|
478
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
479
474
|
# @type DataId: String
|
480
475
|
# @param BizType: 该字段用于返回调用视频审核接口时传入的BizType参数,方便数据的辨别和管理。
|
481
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
482
476
|
# @type BizType: String
|
483
477
|
# @param Name: 该字段用于返回调用视频审核接口时传入的TaskInput参数中的任务名称,方便任务的识别与管理。
|
484
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
485
478
|
# @type Name: String
|
486
479
|
# @param Status: 该字段用于返回所查询内容的任务状态。
|
487
480
|
# <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
|
488
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
489
481
|
# @type Status: String
|
490
482
|
# @param Type: 该字段用于返回调用视频审核接口时输入的视频审核类型,取值为:**VIDEO**(点播视频)和**LIVE_VIDEO**(直播视频),默认值为VIDEO。
|
491
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
492
483
|
# @type Type: String
|
493
484
|
# @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
494
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
495
485
|
# @type Suggestion: String
|
496
486
|
# @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
497
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
498
487
|
# @type Labels: Array
|
499
488
|
# @param MediaInfo: 该字段用于返回输入媒体文件的详细信息,包括编解码格式、分片时长等信息。详细内容敬请参考MediaInfo数据结构的描述。
|
500
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
501
489
|
# @type MediaInfo: :class:`Tencentcloud::Vm.v20210922.models.MediaInfo`
|
502
490
|
# @param InputInfo: 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
|
503
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
504
491
|
# @type InputInfo: :class:`Tencentcloud::Vm.v20210922.models.InputInfo`
|
505
492
|
# @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
506
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
507
493
|
# @type CreatedAt: String
|
508
494
|
# @param UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
509
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
510
495
|
# @type UpdatedAt: String
|
511
496
|
# @param TryInSeconds: 在秒后重试
|
512
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
513
497
|
# @type TryInSeconds: Integer
|
514
498
|
# @param ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments数据结构的描述。
|
515
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
516
499
|
# @type ImageSegments: Array
|
517
500
|
# @param AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments数据结构的描述。
|
518
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
519
501
|
# @type AudioSegments: Array
|
520
502
|
# @param ErrorType: 当任务状态为Error时,返回对应错误的类型,取值:
|
521
503
|
# **DECODE_ERROR**: 解码失败。(输入资源中可能包含无法解码的视频)
|
@@ -525,22 +507,16 @@ module TencentCloud
|
|
525
507
|
# **MODERATION_ERROR**:审核失败。
|
526
508
|
# **URL_NOT_SUPPORTED**:源文件太大或没有图片音频帧
|
527
509
|
# 任务状态非Error时默认返回为空。
|
528
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
529
510
|
# @type ErrorType: String
|
530
511
|
# @param ErrorDescription: 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
|
531
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
532
512
|
# @type ErrorDescription: String
|
533
513
|
# @param Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
|
534
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
535
514
|
# @type Label: String
|
536
515
|
# @param AudioText: 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
|
537
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
538
516
|
# @type AudioText: String
|
539
517
|
# @param Asrs: 该字段用于返回音频文件识别出的对应文本内容。
|
540
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
541
518
|
# @type Asrs: Array
|
542
519
|
# @param SegmentCosUrlList: 该字段用于返回检测结果明细数据相关的cos url
|
543
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
544
520
|
# @type SegmentCosUrlList: :class:`Tencentcloud::Vm.v20210922.models.SegmentCosUrlList`
|
545
521
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
546
522
|
# @type RequestId: String
|
@@ -673,13 +649,10 @@ module TencentCloud
|
|
673
649
|
# DescribeTasks返回参数结构体
|
674
650
|
class DescribeTasksResponse < TencentCloud::Common::AbstractModel
|
675
651
|
# @param Total: 该字段用于返回当前查询的任务总量,格式为int字符串。
|
676
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
677
652
|
# @type Total: String
|
678
653
|
# @param Data: 该字段用于返回当前页的任务详细数据,具体输出内容请参见TaskData数据结构的详细描述。
|
679
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
680
654
|
# @type Data: Array
|
681
655
|
# @param PageToken: 该字段用于返回翻页时使用的Token信息,由系统自动生成,并在翻页时向下一个生成的页面传递此参数,以方便快速翻页功能的实现。当到最后一页时,该字段为空。
|
682
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
683
656
|
# @type PageToken: String
|
684
657
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
685
658
|
# @type RequestId: String
|
@@ -740,10 +713,12 @@ module TencentCloud
|
|
740
713
|
# @type SubLabel: String
|
741
714
|
# @param RecognitionResults: 场景结果
|
742
715
|
# @type RecognitionResults: Array
|
716
|
+
# @param HitType: 审核命中类型
|
717
|
+
# @type HitType: String
|
743
718
|
|
744
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Results, :Url, :Extra, :SubLabel, :RecognitionResults
|
719
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Results, :Url, :Extra, :SubLabel, :RecognitionResults, :HitType
|
745
720
|
|
746
|
-
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, results=nil, url=nil, extra=nil, sublabel=nil, recognitionresults=nil)
|
721
|
+
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, results=nil, url=nil, extra=nil, sublabel=nil, recognitionresults=nil, hittype=nil)
|
747
722
|
@HitFlag = hitflag
|
748
723
|
@Label = label
|
749
724
|
@Suggestion = suggestion
|
@@ -753,6 +728,7 @@ module TencentCloud
|
|
753
728
|
@Extra = extra
|
754
729
|
@SubLabel = sublabel
|
755
730
|
@RecognitionResults = recognitionresults
|
731
|
+
@HitType = hittype
|
756
732
|
end
|
757
733
|
|
758
734
|
def deserialize(params)
|
@@ -779,6 +755,7 @@ module TencentCloud
|
|
779
755
|
@RecognitionResults << recognitionresult_tmp
|
780
756
|
end
|
781
757
|
end
|
758
|
+
@HitType = params['HitType']
|
782
759
|
end
|
783
760
|
end
|
784
761
|
|
@@ -792,41 +769,34 @@ module TencentCloud
|
|
792
769
|
# Abuse 谩骂
|
793
770
|
# Terror 暴恐
|
794
771
|
# Ad 广告
|
795
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
796
772
|
# @type Scene: String
|
797
773
|
# @param HitFlag: 是否命中
|
798
774
|
# 0 未命中
|
799
775
|
# 1 命中
|
800
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
801
776
|
# @type HitFlag: Integer
|
802
777
|
# @param Suggestion: 审核建议,可选值:
|
803
778
|
# Pass 通过,
|
804
779
|
# Review 建议人审,
|
805
780
|
# Block 确认违规
|
806
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
807
781
|
# @type Suggestion: String
|
808
782
|
# @param Label: 标签
|
809
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
810
783
|
# @type Label: String
|
811
784
|
# @param SubLabel: 子标签
|
812
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
813
785
|
# @type SubLabel: String
|
814
786
|
# @param Score: 分数
|
815
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
816
787
|
# @type Score: Integer
|
817
788
|
# @param Names: 人物名称列表,如未识别,则为null
|
818
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
819
789
|
# @type Names: Array
|
820
790
|
# @param Text: 图片OCR文本
|
821
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
822
791
|
# @type Text: String
|
823
792
|
# @param Details: 其他详情
|
824
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
825
793
|
# @type Details: Array
|
794
|
+
# @param HitType: 审核命中类型
|
795
|
+
# @type HitType: String
|
826
796
|
|
827
|
-
attr_accessor :Scene, :HitFlag, :Suggestion, :Label, :SubLabel, :Score, :Names, :Text, :Details
|
797
|
+
attr_accessor :Scene, :HitFlag, :Suggestion, :Label, :SubLabel, :Score, :Names, :Text, :Details, :HitType
|
828
798
|
|
829
|
-
def initialize(scene=nil, hitflag=nil, suggestion=nil, label=nil, sublabel=nil, score=nil, names=nil, text=nil, details=nil)
|
799
|
+
def initialize(scene=nil, hitflag=nil, suggestion=nil, label=nil, sublabel=nil, score=nil, names=nil, text=nil, details=nil, hittype=nil)
|
830
800
|
@Scene = scene
|
831
801
|
@HitFlag = hitflag
|
832
802
|
@Suggestion = suggestion
|
@@ -836,6 +806,7 @@ module TencentCloud
|
|
836
806
|
@Names = names
|
837
807
|
@Text = text
|
838
808
|
@Details = details
|
809
|
+
@HitType = hittype
|
839
810
|
end
|
840
811
|
|
841
812
|
def deserialize(params)
|
@@ -855,40 +826,31 @@ module TencentCloud
|
|
855
826
|
@Details << imageresultsresultdetail_tmp
|
856
827
|
end
|
857
828
|
end
|
829
|
+
@HitType = params['HitType']
|
858
830
|
end
|
859
831
|
end
|
860
832
|
|
861
833
|
# 具体场景下的图片识别结果
|
862
834
|
class ImageResultsResultDetail < TencentCloud::Common::AbstractModel
|
863
835
|
# @param Name: 任务名称
|
864
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
865
836
|
# @type Name: String
|
866
837
|
# @param Text: OCR识别文本
|
867
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
868
838
|
# @type Text: String
|
869
839
|
# @param Location: 位置信息
|
870
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
871
840
|
# @type Location: :class:`Tencentcloud::Vm.v20210922.models.ImageResultsResultDetailLocation`
|
872
841
|
# @param Label: 标签
|
873
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
874
842
|
# @type Label: String
|
875
843
|
# @param LibId: 库ID
|
876
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
877
844
|
# @type LibId: String
|
878
845
|
# @param LibName: 库名称
|
879
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
880
846
|
# @type LibName: String
|
881
847
|
# @param Keywords: 命中的关键词
|
882
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
883
848
|
# @type Keywords: Array
|
884
849
|
# @param Suggestion: 建议
|
885
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
886
850
|
# @type Suggestion: String
|
887
851
|
# @param Score: 得分
|
888
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
889
852
|
# @type Score: Integer
|
890
853
|
# @param SubLabelCode: 子标签码
|
891
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
892
854
|
# @type SubLabelCode: String
|
893
855
|
# @param SubLabel: 子标签
|
894
856
|
# @type SubLabel: String
|
@@ -941,19 +903,14 @@ module TencentCloud
|
|
941
903
|
# 图片详情位置信息
|
942
904
|
class ImageResultsResultDetailLocation < TencentCloud::Common::AbstractModel
|
943
905
|
# @param X: x坐标
|
944
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
945
906
|
# @type X: Float
|
946
907
|
# @param Y: y坐标
|
947
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
948
908
|
# @type Y: Float
|
949
909
|
# @param Width: 宽度
|
950
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
951
910
|
# @type Width: Integer
|
952
911
|
# @param Height: 高度
|
953
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
954
912
|
# @type Height: Integer
|
955
913
|
# @param Rotate: 旋转角度
|
956
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
957
914
|
# @type Rotate: Float
|
958
915
|
|
959
916
|
attr_accessor :X, :Y, :Width, :Height, :Rotate
|
@@ -1011,10 +968,8 @@ module TencentCloud
|
|
1011
968
|
# 输入信息详情
|
1012
969
|
class InputInfo < TencentCloud::Common::AbstractModel
|
1013
970
|
# @param Type: 传入的类型可选:URL,COS
|
1014
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1015
971
|
# @type Type: String
|
1016
972
|
# @param Url: Url地址
|
1017
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1018
973
|
# @type Url: String
|
1019
974
|
# @param BucketInfo: 桶信息。当输入当时COS时,该字段不为空
|
1020
975
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -1146,10 +1101,8 @@ module TencentCloud
|
|
1146
1101
|
# 审核切片asr文本信息
|
1147
1102
|
class RcbAsr < TencentCloud::Common::AbstractModel
|
1148
1103
|
# @param Text: 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
|
1149
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1150
1104
|
# @type Text: String
|
1151
1105
|
# @param CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
1152
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1153
1106
|
# @type CreatedAt: String
|
1154
1107
|
|
1155
1108
|
attr_accessor :Text, :CreatedAt
|
@@ -1168,10 +1121,8 @@ module TencentCloud
|
|
1168
1121
|
# 识别类标签结果信息
|
1169
1122
|
class RecognitionResult < TencentCloud::Common::AbstractModel
|
1170
1123
|
# @param Label: 可能的取值有:Teenager 、Gender
|
1171
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1172
1124
|
# @type Label: String
|
1173
1125
|
# @param Tags: 识别标签列表
|
1174
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1175
1126
|
# @type Tags: Array
|
1176
1127
|
|
1177
1128
|
attr_accessor :Label, :Tags
|
@@ -1197,19 +1148,14 @@ module TencentCloud
|
|
1197
1148
|
# 明细数据相关的cos url
|
1198
1149
|
class SegmentCosUrlList < TencentCloud::Common::AbstractModel
|
1199
1150
|
# @param ImageAllUrl: 全量图片片段的cos url
|
1200
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1201
1151
|
# @type ImageAllUrl: String
|
1202
1152
|
# @param AudioAllUrl: 全量音频片段的cos url
|
1203
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1204
1153
|
# @type AudioAllUrl: String
|
1205
1154
|
# @param ImageBlockUrl: 违规图片片段的cos url
|
1206
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1207
1155
|
# @type ImageBlockUrl: String
|
1208
1156
|
# @param AudioBlockUrl: 违规音频片段的cos url
|
1209
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1210
1157
|
# @type AudioBlockUrl: String
|
1211
1158
|
# @param AsrUrl: 全量音频识别文本的cos url
|
1212
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1213
1159
|
# @type AsrUrl: String
|
1214
1160
|
|
1215
1161
|
attr_accessor :ImageAllUrl, :AudioAllUrl, :ImageBlockUrl, :AudioBlockUrl, :AsrUrl
|
@@ -1293,16 +1239,12 @@ module TencentCloud
|
|
1293
1239
|
# @param Name: 根据Label字段确定具体名称:
|
1294
1240
|
# 当Label 为Teenager 时 Name可能取值有:Teenager
|
1295
1241
|
# 当Label 为Gender 时 Name可能取值有:Male 、Female
|
1296
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1297
1242
|
# @type Name: String
|
1298
1243
|
# @param Score: 置信分:0~100,数值越大表示置信度越高
|
1299
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1300
1244
|
# @type Score: Integer
|
1301
1245
|
# @param StartTime: 识别开始偏移时间,单位:毫秒
|
1302
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1303
1246
|
# @type StartTime: Float
|
1304
1247
|
# @param EndTime: 识别结束偏移时间,单位:毫秒
|
1305
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1306
1248
|
# @type EndTime: Float
|
1307
1249
|
|
1308
1250
|
attr_accessor :Name, :Score, :StartTime, :EndTime
|
@@ -1325,40 +1267,28 @@ module TencentCloud
|
|
1325
1267
|
# 任务数据
|
1326
1268
|
class TaskData < TencentCloud::Common::AbstractModel
|
1327
1269
|
# @param TaskId: 任务ID
|
1328
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1329
1270
|
# @type TaskId: String
|
1330
1271
|
# @param DataId: 输入的数据ID
|
1331
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1332
1272
|
# @type DataId: String
|
1333
1273
|
# @param BizType: 业务类型
|
1334
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1335
1274
|
# @type BizType: String
|
1336
1275
|
# @param Name: 任务名称
|
1337
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1338
1276
|
# @type Name: String
|
1339
1277
|
# @param Status: 状态,可选:PENDING,RUNNING,ERROR,FINISH,CANCELLED
|
1340
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1341
1278
|
# @type Status: String
|
1342
1279
|
# @param Type: 任务类型
|
1343
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1344
1280
|
# @type Type: String
|
1345
1281
|
# @param Suggestion: 处理建议
|
1346
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1347
1282
|
# @type Suggestion: String
|
1348
1283
|
# @param Labels: 标签
|
1349
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1350
1284
|
# @type Labels: Array
|
1351
1285
|
# @param MediaInfo: 媒体信息
|
1352
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1353
1286
|
# @type MediaInfo: :class:`Tencentcloud::Vm.v20210922.models.MediaInfo`
|
1354
1287
|
# @param InputInfo: 输入信息
|
1355
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1356
1288
|
# @type InputInfo: :class:`Tencentcloud::Vm.v20210922.models.InputInfo`
|
1357
1289
|
# @param CreatedAt: 创建时间
|
1358
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1359
1290
|
# @type CreatedAt: String
|
1360
1291
|
# @param UpdatedAt: 更新时间
|
1361
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1362
1292
|
# @type UpdatedAt: String
|
1363
1293
|
|
1364
1294
|
attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt
|
@@ -1501,16 +1431,12 @@ module TencentCloud
|
|
1501
1431
|
# 创建任务时的返回结果
|
1502
1432
|
class TaskResult < TencentCloud::Common::AbstractModel
|
1503
1433
|
# @param DataId: 请求时传入的DataId
|
1504
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1505
1434
|
# @type DataId: String
|
1506
1435
|
# @param TaskId: TaskId,任务ID
|
1507
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1508
1436
|
# @type TaskId: String
|
1509
1437
|
# @param Code: 错误码。如果code为OK,则表示创建成功,其他则参考公共错误码
|
1510
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1511
1438
|
# @type Code: String
|
1512
1439
|
# @param Message: 如果错误,该字段表示错误详情
|
1513
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1514
1440
|
# @type Message: String
|
1515
1441
|
|
1516
1442
|
attr_accessor :DataId, :TaskId, :Code, :Message
|
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.1090
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,10 +34,10 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-vm.rb
|
37
|
-
- lib/v20210922/client.rb
|
38
|
-
- lib/v20210922/models.rb
|
39
37
|
- lib/v20200709/client.rb
|
40
38
|
- lib/v20200709/models.rb
|
39
|
+
- lib/v20210922/client.rb
|
40
|
+
- lib/v20210922/models.rb
|
41
41
|
- lib/v20201229/client.rb
|
42
42
|
- lib/v20201229/models.rb
|
43
43
|
- lib/VERSION
|