tencentcloud-sdk-ivld 3.0.953 → 3.0.954
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/v20210903/client.rb +0 -1
- data/lib/v20210903/models.rb +54 -20
- 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: dfb7201a59bd90925871050c6673768e2f265fbe
|
4
|
+
data.tar.gz: 8ce01c1adbacb1e21a51b63bb1665e2934885938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ce4baa1c06f6a2a548793b569e5f7cff051b810b4f7254c4bd04fb667cefb8b7a9193b31aad562e5418930ade64448f49b278e83123acebd04cbc92d5ac2813
|
7
|
+
data.tar.gz: cad20a066359f650c96752dd888fe3800c96c52bd7749d4ac4383727e9f54f3b1a13b92a74f2d4491a8e1127b4ab4d4a4edc90f10fd40cf7702616ebd21fcf1c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.954
|
data/lib/v20210903/client.rb
CHANGED
@@ -523,7 +523,6 @@ module TencentCloud
|
|
523
523
|
|
524
524
|
# 请注意,**此接口仅返回任务执行状态信息,不返回任务执行结果**
|
525
525
|
|
526
|
-
|
527
526
|
# @param request: Request instance for DescribeTask.
|
528
527
|
# @type request: :class:`Tencentcloud::ivld::V20210903::DescribeTaskRequest`
|
529
528
|
# @rtype: :class:`Tencentcloud::ivld::V20210903::DescribeTaskResponse`
|
data/lib/v20210903/models.rb
CHANGED
@@ -180,12 +180,16 @@ module TencentCloud
|
|
180
180
|
# @type AudioInfoSet: Array
|
181
181
|
# @param TextTagSet: 音频识别标签数据
|
182
182
|
# @type TextTagSet: :class:`Tencentcloud::Ivld.v20210903.models.MultiLevelTag`
|
183
|
+
# @param WebMediaURL: 音频下载地址
|
184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
185
|
+
# @type WebMediaURL: String
|
183
186
|
|
184
|
-
attr_accessor :AudioInfoSet, :TextTagSet
|
187
|
+
attr_accessor :AudioInfoSet, :TextTagSet, :WebMediaURL
|
185
188
|
|
186
|
-
def initialize(audioinfoset=nil, texttagset=nil)
|
189
|
+
def initialize(audioinfoset=nil, texttagset=nil, webmediaurl=nil)
|
187
190
|
@AudioInfoSet = audioinfoset
|
188
191
|
@TextTagSet = texttagset
|
192
|
+
@WebMediaURL = webmediaurl
|
189
193
|
end
|
190
194
|
|
191
195
|
def deserialize(params)
|
@@ -201,6 +205,7 @@ module TencentCloud
|
|
201
205
|
@TextTagSet = MultiLevelTag.new
|
202
206
|
@TextTagSet.deserialize(params['TextTagSet'])
|
203
207
|
end
|
208
|
+
@WebMediaURL = params['WebMediaURL']
|
204
209
|
end
|
205
210
|
end
|
206
211
|
|
@@ -252,16 +257,24 @@ module TencentCloud
|
|
252
257
|
# @param Format: 媒资音频文件格式
|
253
258
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
254
259
|
# @type Format: String
|
260
|
+
# @param BitDepth: Audio Bit Depth: 16/24 bit .etc
|
261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
262
|
+
# @type BitDepth: Integer
|
263
|
+
# @param ShortFormat: 封装格式短后缀
|
264
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
265
|
+
# @type ShortFormat: String
|
255
266
|
|
256
|
-
attr_accessor :FileSize, :MD5, :Duration, :SampleRate, :BitRate, :Format
|
267
|
+
attr_accessor :FileSize, :MD5, :Duration, :SampleRate, :BitRate, :Format, :BitDepth, :ShortFormat
|
257
268
|
|
258
|
-
def initialize(filesize=nil, md5=nil, duration=nil, samplerate=nil, bitrate=nil, format=nil)
|
269
|
+
def initialize(filesize=nil, md5=nil, duration=nil, samplerate=nil, bitrate=nil, format=nil, bitdepth=nil, shortformat=nil)
|
259
270
|
@FileSize = filesize
|
260
271
|
@MD5 = md5
|
261
272
|
@Duration = duration
|
262
273
|
@SampleRate = samplerate
|
263
274
|
@BitRate = bitrate
|
264
275
|
@Format = format
|
276
|
+
@BitDepth = bitdepth
|
277
|
+
@ShortFormat = shortformat
|
265
278
|
end
|
266
279
|
|
267
280
|
def deserialize(params)
|
@@ -271,6 +284,8 @@ module TencentCloud
|
|
271
284
|
@SampleRate = params['SampleRate']
|
272
285
|
@BitRate = params['BitRate']
|
273
286
|
@Format = params['Format']
|
287
|
+
@BitDepth = params['BitDepth']
|
288
|
+
@ShortFormat = params['ShortFormat']
|
274
289
|
end
|
275
290
|
end
|
276
291
|
|
@@ -463,7 +478,7 @@ module TencentCloud
|
|
463
478
|
|
464
479
|
# CreateTask请求参数结构体
|
465
480
|
class CreateTaskRequest < TencentCloud::Common::AbstractModel
|
466
|
-
# @param MediaId: 媒资文件ID
|
481
|
+
# @param MediaId: 媒资文件ID
|
467
482
|
# @type MediaId: String
|
468
483
|
# @param MediaPreknownInfo: 媒资素材先验知识,相关限制参考MediaPreknownInfo
|
469
484
|
# @type MediaPreknownInfo: :class:`Tencentcloud::Ivld.v20210903.models.MediaPreknownInfo`
|
@@ -757,7 +772,7 @@ module TencentCloud
|
|
757
772
|
|
758
773
|
# DeleteCustomCategory返回参数结构体
|
759
774
|
class DeleteCustomCategoryResponse < TencentCloud::Common::AbstractModel
|
760
|
-
# @param CategoryId:
|
775
|
+
# @param CategoryId: 自定义分类ID
|
761
776
|
# @type CategoryId: String
|
762
777
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
763
778
|
# @type RequestId: String
|
@@ -1103,7 +1118,7 @@ module TencentCloud
|
|
1103
1118
|
|
1104
1119
|
# DescribeMedia请求参数结构体
|
1105
1120
|
class DescribeMediaRequest < TencentCloud::Common::AbstractModel
|
1106
|
-
# @param MediaId: 导入媒资返回的媒资ID
|
1121
|
+
# @param MediaId: 导入媒资返回的媒资ID
|
1107
1122
|
# @type MediaId: String
|
1108
1123
|
|
1109
1124
|
attr_accessor :MediaId
|
@@ -1281,7 +1296,7 @@ module TencentCloud
|
|
1281
1296
|
|
1282
1297
|
# DescribeTask请求参数结构体
|
1283
1298
|
class DescribeTaskRequest < TencentCloud::Common::AbstractModel
|
1284
|
-
# @param TaskId: CreateTask返回的任务ID
|
1299
|
+
# @param TaskId: CreateTask返回的任务ID
|
1285
1300
|
# @type TaskId: String
|
1286
1301
|
|
1287
1302
|
attr_accessor :TaskId
|
@@ -1666,11 +1681,11 @@ module TencentCloud
|
|
1666
1681
|
|
1667
1682
|
# ImportMedia请求参数结构体
|
1668
1683
|
class ImportMediaRequest < TencentCloud::Common::AbstractModel
|
1669
|
-
# @param URL: 待分析视频的URL,目前只支持*不带签名的*COS
|
1684
|
+
# @param URL: 待分析视频的URL,目前只支持*不带签名的*COS地址,字段输入内容最大为1KB
|
1670
1685
|
# @type URL: String
|
1671
|
-
# @param MD5: 待分析视频的MD5,为空时不做校验,否则会做MD5校验,长度必须为
|
1686
|
+
# @param MD5: 待分析视频的MD5,为空时不做校验,否则会做MD5校验,长度必须为32
|
1672
1687
|
# @type MD5: String
|
1673
|
-
# @param Name:
|
1688
|
+
# @param Name: 待分析视频的名称,指定后可支持筛选,视频名称的大小长度不能超过64
|
1674
1689
|
# @type Name: String
|
1675
1690
|
# @param WriteBackCosPath: 当非本人外部视频地址导入时,该字段为转存的cos桶地址且不可为空; 示例:https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${PathPrefix}/ (注意,cos路径需要以/分隔符结尾)。
|
1676
1691
|
# 推荐采用本主帐号COS桶,如果使用其他帐号COS桶,请确保COS桶可写,否则可导致分析失败
|
@@ -1856,7 +1871,6 @@ module TencentCloud
|
|
1856
1871
|
end
|
1857
1872
|
|
1858
1873
|
# 媒资过滤条件
|
1859
|
-
|
1860
1874
|
class MediaFilter < TencentCloud::Common::AbstractModel
|
1861
1875
|
# @param MediaNameSet: 媒资名称过滤条件
|
1862
1876
|
# @type MediaNameSet: Array
|
@@ -2258,15 +2272,19 @@ module TencentCloud
|
|
2258
2272
|
# @param AppearRect: 人脸在图片中的位置,仅在图片标签任务有效
|
2259
2273
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2260
2274
|
# @type AppearRect: :class:`Tencentcloud::Ivld.v20210903.models.Rectf`
|
2275
|
+
# @param PersonId: 人物的personId
|
2276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2277
|
+
# @type PersonId: String
|
2261
2278
|
|
2262
|
-
attr_accessor :Name, :Job, :FirstAppear, :AppearInfo, :AppearRect
|
2279
|
+
attr_accessor :Name, :Job, :FirstAppear, :AppearInfo, :AppearRect, :PersonId
|
2263
2280
|
|
2264
|
-
def initialize(name=nil, job=nil, firstappear=nil, appearinfo=nil, appearrect=nil)
|
2281
|
+
def initialize(name=nil, job=nil, firstappear=nil, appearinfo=nil, appearrect=nil, personid=nil)
|
2265
2282
|
@Name = name
|
2266
2283
|
@Job = job
|
2267
2284
|
@FirstAppear = firstappear
|
2268
2285
|
@AppearInfo = appearinfo
|
2269
2286
|
@AppearRect = appearrect
|
2287
|
+
@PersonId = personid
|
2270
2288
|
end
|
2271
2289
|
|
2272
2290
|
def deserialize(params)
|
@@ -2281,6 +2299,7 @@ module TencentCloud
|
|
2281
2299
|
@AppearRect = Rectf.new
|
2282
2300
|
@AppearRect.deserialize(params['AppearRect'])
|
2283
2301
|
end
|
2302
|
+
@PersonId = params['PersonId']
|
2284
2303
|
end
|
2285
2304
|
end
|
2286
2305
|
|
@@ -2777,13 +2796,17 @@ module TencentCloud
|
|
2777
2796
|
# @param TextTagSet: 文本标签信息
|
2778
2797
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2779
2798
|
# @type TextTagSet: :class:`Tencentcloud::Ivld.v20210903.models.MultiLevelTag`
|
2799
|
+
# @param WebMediaURL: 文档下载地址
|
2800
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2801
|
+
# @type WebMediaURL: String
|
2780
2802
|
|
2781
|
-
attr_accessor :Content, :Summary, :TextTagSet
|
2803
|
+
attr_accessor :Content, :Summary, :TextTagSet, :WebMediaURL
|
2782
2804
|
|
2783
|
-
def initialize(content=nil, summary=nil, texttagset=nil)
|
2805
|
+
def initialize(content=nil, summary=nil, texttagset=nil, webmediaurl=nil)
|
2784
2806
|
@Content = content
|
2785
2807
|
@Summary = summary
|
2786
2808
|
@TextTagSet = texttagset
|
2809
|
+
@WebMediaURL = webmediaurl
|
2787
2810
|
end
|
2788
2811
|
|
2789
2812
|
def deserialize(params)
|
@@ -2793,6 +2816,7 @@ module TencentCloud
|
|
2793
2816
|
@TextTagSet = MultiLevelTag.new
|
2794
2817
|
@TextTagSet.deserialize(params['TextTagSet'])
|
2795
2818
|
end
|
2819
|
+
@WebMediaURL = params['WebMediaURL']
|
2796
2820
|
end
|
2797
2821
|
end
|
2798
2822
|
|
@@ -2838,14 +2862,18 @@ module TencentCloud
|
|
2838
2862
|
# @param Format: 媒资文本文件格式
|
2839
2863
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2840
2864
|
# @type Format: String
|
2865
|
+
# @param ShortFormat: 封装格式短后缀
|
2866
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2867
|
+
# @type ShortFormat: String
|
2841
2868
|
|
2842
|
-
attr_accessor :FileSize, :MD5, :Length, :Format
|
2869
|
+
attr_accessor :FileSize, :MD5, :Length, :Format, :ShortFormat
|
2843
2870
|
|
2844
|
-
def initialize(filesize=nil, md5=nil, length=nil, format=nil)
|
2871
|
+
def initialize(filesize=nil, md5=nil, length=nil, format=nil, shortformat=nil)
|
2845
2872
|
@FileSize = filesize
|
2846
2873
|
@MD5 = md5
|
2847
2874
|
@Length = length
|
2848
2875
|
@Format = format
|
2876
|
+
@ShortFormat = shortformat
|
2849
2877
|
end
|
2850
2878
|
|
2851
2879
|
def deserialize(params)
|
@@ -2853,6 +2881,7 @@ module TencentCloud
|
|
2853
2881
|
@MD5 = params['MD5']
|
2854
2882
|
@Length = params['Length']
|
2855
2883
|
@Format = params['Format']
|
2884
|
+
@ShortFormat = params['ShortFormat']
|
2856
2885
|
end
|
2857
2886
|
end
|
2858
2887
|
|
@@ -2881,12 +2910,16 @@ module TencentCloud
|
|
2881
2910
|
# @param PutLibraryAllowed: 未知人物是否可以入库(只有当未知人物人脸小图质量分符合要求时才可入库)
|
2882
2911
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2883
2912
|
# @type PutLibraryAllowed: Boolean
|
2913
|
+
# @param AuditClass: 内容审核结果: 0-正常;1-涉政;其他待确定
|
2914
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2915
|
+
# @type AuditClass: Integer
|
2884
2916
|
|
2885
|
-
attr_accessor :VideoAppearSet, :PutLibraryAllowed
|
2917
|
+
attr_accessor :VideoAppearSet, :PutLibraryAllowed, :AuditClass
|
2886
2918
|
|
2887
|
-
def initialize(videoappearset=nil, putlibraryallowed=nil)
|
2919
|
+
def initialize(videoappearset=nil, putlibraryallowed=nil, auditclass=nil)
|
2888
2920
|
@VideoAppearSet = videoappearset
|
2889
2921
|
@PutLibraryAllowed = putlibraryallowed
|
2922
|
+
@AuditClass = auditclass
|
2890
2923
|
end
|
2891
2924
|
|
2892
2925
|
def deserialize(params)
|
@@ -2899,6 +2932,7 @@ module TencentCloud
|
|
2899
2932
|
end
|
2900
2933
|
end
|
2901
2934
|
@PutLibraryAllowed = params['PutLibraryAllowed']
|
2935
|
+
@AuditClass = params['AuditClass']
|
2902
2936
|
end
|
2903
2937
|
end
|
2904
2938
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ivld
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.954
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|