tencentcloud-sdk-ams 1.0.328 → 1.0.331

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/v20201229/models.rb +77 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4002a037244b7bb9c5d406b2ccacaa25a8dd7519
4
- data.tar.gz: 2b814296d4273ad1c53f3b81e5f7448b855e722d
3
+ metadata.gz: ac0fc56eed8057611704d1dc604841993752067b
4
+ data.tar.gz: 87d2b69de537bc0e22ed714becd3ae5d438fe3df
5
5
  SHA512:
6
- metadata.gz: f51a8dda99b75e9f9f9707a1dee3ae06061acbea69d2026e28687165a5cd11988aa5e8b3655e016b2035fa6fe3efdb7e38c6b2c02dc5b54cd28ed29affa48a5c
7
- data.tar.gz: 1dd8ce0b60d43073b3ea635cb377e5701cff39f83ba051f76f6a8fa106f84be9cec21a96cfe7dd80af7c3361be1aaec0ad3475f46c7144bcfb59f2a447d8b847
6
+ metadata.gz: 30bcd40eb7d5bda89fe1b285f49ee9a245fa789e25cb99815bad09a1084965f40c73f7f6a7dd513982631d43f01b7849d40f99253cf1b76f42a651bb20e55a5e
7
+ data.tar.gz: 349174a99c4acd93af6199814b35184b40bf4d3b08b3d17fc3aaeb718b929d7e1644888b0b38ec90b2fd1dac6425bdc28fc19925e14a93e8d42ff755d53c7163
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.328
1
+ 1.0.331
@@ -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.328
4
+ version: 1.0.331
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-07 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common