tencentcloud-sdk-vm 1.0.328 → 1.0.329
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/v20201229/models.rb +77 -2
- 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: 53ec973380dd0720ec1aa973171c40827f8d71b2
|
4
|
+
data.tar.gz: 4ae7c9605083bc6b2ad8115e791472168b60f9fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e885de84a73d18a893a32bf60b8300ccf9397b97a82c149178f2b5ec9cf13d921ffb99d4daa6a1264e9dabc54f29f780b792515743dbef3d9ff38f5721c6d40
|
7
|
+
data.tar.gz: db6dbcb25bafb91877b424ae814e864c07b8f7ffb7fe6b5c8f3a3e1b7e5f16dc3c8a81e899b34fcfb3497b9864383880027018e37070fe33b73a37ead6d84c5c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.329
|
data/lib/v20201229/models.rb
CHANGED
@@ -56,10 +56,13 @@ module TencentCloud
|
|
56
56
|
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
57
57
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
58
58
|
# @type SubLabel: String
|
59
|
+
# @param RecognitionResults: 识别类标签结果信息列表
|
60
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
61
|
+
# @type RecognitionResults: Array
|
59
62
|
|
60
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel
|
63
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults
|
61
64
|
|
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)
|
65
|
+
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)
|
63
66
|
@HitFlag = hitflag
|
64
67
|
@Label = label
|
65
68
|
@Suggestion = suggestion
|
@@ -72,6 +75,7 @@ module TencentCloud
|
|
72
75
|
@MoanResults = moanresults
|
73
76
|
@LanguageResults = languageresults
|
74
77
|
@SubLabel = sublabel
|
78
|
+
@RecognitionResults = recognitionresults
|
75
79
|
end
|
76
80
|
|
77
81
|
def deserialize(params)
|
@@ -108,6 +112,14 @@ module TencentCloud
|
|
108
112
|
end
|
109
113
|
end
|
110
114
|
@SubLabel = params['SubLabel']
|
115
|
+
unless params['RecognitionResults'].nil?
|
116
|
+
@RecognitionResults = []
|
117
|
+
params['RecognitionResults'].each do |i|
|
118
|
+
recognitionresult_tmp = RecognitionResult.new
|
119
|
+
recognitionresult_tmp.deserialize(i)
|
120
|
+
@RecognitionResults << recognitionresult_tmp
|
121
|
+
end
|
122
|
+
end
|
111
123
|
end
|
112
124
|
end
|
113
125
|
|
@@ -906,6 +918,35 @@ module TencentCloud
|
|
906
918
|
end
|
907
919
|
end
|
908
920
|
|
921
|
+
# 识别类标签结果信息
|
922
|
+
class RecognitionResult < TencentCloud::Common::AbstractModel
|
923
|
+
# @param Label: 可能的取值有:Teenager 、Gender
|
924
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
925
|
+
# @type Label: String
|
926
|
+
# @param Tags: 识别标签列表
|
927
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
928
|
+
# @type Tags: Array
|
929
|
+
|
930
|
+
attr_accessor :Label, :Tags
|
931
|
+
|
932
|
+
def initialize(label=nil, tags=nil)
|
933
|
+
@Label = label
|
934
|
+
@Tags = tags
|
935
|
+
end
|
936
|
+
|
937
|
+
def deserialize(params)
|
938
|
+
@Label = params['Label']
|
939
|
+
unless params['Tags'].nil?
|
940
|
+
@Tags = []
|
941
|
+
params['Tags'].each do |i|
|
942
|
+
tag_tmp = Tag.new
|
943
|
+
tag_tmp.deserialize(i)
|
944
|
+
@Tags << tag_tmp
|
945
|
+
end
|
946
|
+
end
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
909
950
|
# 数据存储信息
|
910
951
|
class StorageInfo < TencentCloud::Common::AbstractModel
|
911
952
|
# @param Type: 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
|
@@ -933,6 +974,40 @@ module TencentCloud
|
|
933
974
|
end
|
934
975
|
end
|
935
976
|
|
977
|
+
# 音频切片识别标签
|
978
|
+
class Tag < TencentCloud::Common::AbstractModel
|
979
|
+
# @param Name: 根据Label字段确定具体名称:
|
980
|
+
# 当Label 为Teenager 时 Name可能取值有:Teenager
|
981
|
+
# 当Label 为Gender 时 Name可能取值有:Male 、Female
|
982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
983
|
+
# @type Name: String
|
984
|
+
# @param Score: 置信分:0~100,数值越大表示置信度越高
|
985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
986
|
+
# @type Score: Integer
|
987
|
+
# @param StartTime: 识别开始偏移时间,单位:毫秒
|
988
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
989
|
+
# @type StartTime: Float
|
990
|
+
# @param EndTime: 识别结束偏移时间,单位:毫秒
|
991
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
992
|
+
# @type EndTime: Float
|
993
|
+
|
994
|
+
attr_accessor :Name, :Score, :StartTime, :EndTime
|
995
|
+
|
996
|
+
def initialize(name=nil, score=nil, starttime=nil, endtime=nil)
|
997
|
+
@Name = name
|
998
|
+
@Score = score
|
999
|
+
@StartTime = starttime
|
1000
|
+
@EndTime = endtime
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
def deserialize(params)
|
1004
|
+
@Name = params['Name']
|
1005
|
+
@Score = params['Score']
|
1006
|
+
@StartTime = params['StartTime']
|
1007
|
+
@EndTime = params['EndTime']
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
|
936
1011
|
# 任务数据
|
937
1012
|
class TaskData < TencentCloud::Common::AbstractModel
|
938
1013
|
# @param DataId: 该字段用于返回视频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
|
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.
|
4
|
+
version: 1.0.329
|
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-
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|