tencentcloud-sdk-ams 1.0.328 → 1.0.329
Sign up to get free protection for your applications and to get access to all the features.
- 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: a16fb1b02b423671967f5399a9172ca615056d93
|
4
|
+
data.tar.gz: 8fca7fc2f06d085b8028fbc19233d0441e8fd553
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df818a94541e438d1df92af354769dbb8ee47e19924c942fc4cbc24bf3be95532218e74331e6de46942d0d7c3d1008e9201b1a2bc16db287f20059d3437cc876
|
7
|
+
data.tar.gz: 2bcd6811efa41b1a5c5ae665c2306db705a4bc134d81acd89cf47d24760578fb515e6b3a70df91b677ac260ce76efbcc9026b95d41af0681a29244e217db3c9c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.329
|
data/lib/v20201229/models.rb
CHANGED
@@ -51,10 +51,13 @@ module TencentCloud
|
|
51
51
|
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
52
52
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
53
53
|
# @type SubLabel: String
|
54
|
+
# @param RecognitionResults: 识别类标签结果信息列表
|
55
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
56
|
+
# @type RecognitionResults: Array
|
54
57
|
|
55
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel
|
58
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults
|
56
59
|
|
57
|
-
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)
|
60
|
+
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)
|
58
61
|
@HitFlag = hitflag
|
59
62
|
@Label = label
|
60
63
|
@Suggestion = suggestion
|
@@ -67,6 +70,7 @@ module TencentCloud
|
|
67
70
|
@MoanResults = moanresults
|
68
71
|
@LanguageResults = languageresults
|
69
72
|
@SubLabel = sublabel
|
73
|
+
@RecognitionResults = recognitionresults
|
70
74
|
end
|
71
75
|
|
72
76
|
def deserialize(params)
|
@@ -103,6 +107,14 @@ module TencentCloud
|
|
103
107
|
end
|
104
108
|
end
|
105
109
|
@SubLabel = params['SubLabel']
|
110
|
+
unless params['RecognitionResults'].nil?
|
111
|
+
@RecognitionResults = []
|
112
|
+
params['RecognitionResults'].each do |i|
|
113
|
+
recognitionresult_tmp = RecognitionResult.new
|
114
|
+
recognitionresult_tmp.deserialize(i)
|
115
|
+
@RecognitionResults << recognitionresult_tmp
|
116
|
+
end
|
117
|
+
end
|
106
118
|
end
|
107
119
|
end
|
108
120
|
|
@@ -799,6 +811,35 @@ module TencentCloud
|
|
799
811
|
end
|
800
812
|
end
|
801
813
|
|
814
|
+
# 识别类标签结果信息
|
815
|
+
class RecognitionResult < TencentCloud::Common::AbstractModel
|
816
|
+
# @param Label: 可能的取值有:Teenager 、Gender
|
817
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
818
|
+
# @type Label: String
|
819
|
+
# @param Tags: 识别标签列表
|
820
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
821
|
+
# @type Tags: Array
|
822
|
+
|
823
|
+
attr_accessor :Label, :Tags
|
824
|
+
|
825
|
+
def initialize(label=nil, tags=nil)
|
826
|
+
@Label = label
|
827
|
+
@Tags = tags
|
828
|
+
end
|
829
|
+
|
830
|
+
def deserialize(params)
|
831
|
+
@Label = params['Label']
|
832
|
+
unless params['Tags'].nil?
|
833
|
+
@Tags = []
|
834
|
+
params['Tags'].each do |i|
|
835
|
+
tag_tmp = Tag.new
|
836
|
+
tag_tmp.deserialize(i)
|
837
|
+
@Tags << tag_tmp
|
838
|
+
end
|
839
|
+
end
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
802
843
|
# 用于表示数据存储的相关信息
|
803
844
|
class StorageInfo < TencentCloud::Common::AbstractModel
|
804
845
|
# @param Type: 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
|
@@ -826,6 +867,40 @@ module TencentCloud
|
|
826
867
|
end
|
827
868
|
end
|
828
869
|
|
870
|
+
# 音频切片识别标签
|
871
|
+
class Tag < TencentCloud::Common::AbstractModel
|
872
|
+
# @param Name: 根据Label字段确定具体名称:
|
873
|
+
# 当Label 为Teenager 时 Name可能取值有:Teenager
|
874
|
+
# 当Label 为Gender 时 Name可能取值有:Male 、Female
|
875
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
876
|
+
# @type Name: String
|
877
|
+
# @param Score: 置信分:0~100,数值越大表示置信度越高
|
878
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
879
|
+
# @type Score: Integer
|
880
|
+
# @param StartTime: 识别开始偏移时间,单位:毫秒
|
881
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
882
|
+
# @type StartTime: Float
|
883
|
+
# @param EndTime: 识别结束偏移时间,单位:毫秒
|
884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
885
|
+
# @type EndTime: Float
|
886
|
+
|
887
|
+
attr_accessor :Name, :Score, :StartTime, :EndTime
|
888
|
+
|
889
|
+
def initialize(name=nil, score=nil, starttime=nil, endtime=nil)
|
890
|
+
@Name = name
|
891
|
+
@Score = score
|
892
|
+
@StartTime = starttime
|
893
|
+
@EndTime = endtime
|
894
|
+
end
|
895
|
+
|
896
|
+
def deserialize(params)
|
897
|
+
@Name = params['Name']
|
898
|
+
@Score = params['Score']
|
899
|
+
@StartTime = params['StartTime']
|
900
|
+
@EndTime = params['EndTime']
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
829
904
|
# 任务数据
|
830
905
|
class TaskData < TencentCloud::Common::AbstractModel
|
831
906
|
# @param DataId: 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ams
|
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
|