tencentcloud-sdk-iotvideo 3.0.713 → 3.0.715
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/v20211125/client.rb +24 -0
- data/lib/v20211125/models.rb +73 -0
- 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: 348992665d4544232b35e3430f5118baa6ed9f21
|
4
|
+
data.tar.gz: b69ebc9fd31e269fa49998d4298d2a4a576082c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b9ddaf4ee44584171b867436b4e23165f0b70c450571c67adf6fd19af643252ad1ecdfe4ddd16aeb12783257145655127daa880809e1db7952fd08c9da37bd3
|
7
|
+
data.tar.gz: 931461565fc806f7513e283e1b17a9f191617a9cb2e13d1aca8accadd8af359e074898d460bce8521c13f5f0ba92a39e112fdff06c0bc5db244692fe16625c2a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.715
|
data/lib/v20211125/client.rb
CHANGED
@@ -1037,6 +1037,30 @@ module TencentCloud
|
|
1037
1037
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1038
1038
|
end
|
1039
1039
|
|
1040
|
+
# 批量拉取云存事件缩略图
|
1041
|
+
|
1042
|
+
# @param request: Request instance for DescribeCloudStorageThumbnailList.
|
1043
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20211125::DescribeCloudStorageThumbnailListRequest`
|
1044
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20211125::DescribeCloudStorageThumbnailListResponse`
|
1045
|
+
def DescribeCloudStorageThumbnailList(request)
|
1046
|
+
body = send_request('DescribeCloudStorageThumbnailList', request.serialize)
|
1047
|
+
response = JSON.parse(body)
|
1048
|
+
if response['Response'].key?('Error') == false
|
1049
|
+
model = DescribeCloudStorageThumbnailListResponse.new
|
1050
|
+
model.deserialize(response['Response'])
|
1051
|
+
model
|
1052
|
+
else
|
1053
|
+
code = response['Response']['Error']['Code']
|
1054
|
+
message = response['Response']['Error']['Message']
|
1055
|
+
reqid = response['Response']['RequestId']
|
1056
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1057
|
+
end
|
1058
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1059
|
+
raise e
|
1060
|
+
rescue StandardError => e
|
1061
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
|
+
end
|
1063
|
+
|
1040
1064
|
# 获取某一天云存时间轴
|
1041
1065
|
|
1042
1066
|
# @param request: Request instance for DescribeCloudStorageTime.
|
data/lib/v20211125/models.rb
CHANGED
@@ -2545,6 +2545,57 @@ module TencentCloud
|
|
2545
2545
|
end
|
2546
2546
|
end
|
2547
2547
|
|
2548
|
+
# DescribeCloudStorageThumbnailList请求参数结构体
|
2549
|
+
class DescribeCloudStorageThumbnailListRequest < TencentCloud::Common::AbstractModel
|
2550
|
+
# @param ProductId: 产品ID
|
2551
|
+
# @type ProductId: String
|
2552
|
+
# @param DeviceName: 设备名称
|
2553
|
+
# @type DeviceName: String
|
2554
|
+
# @param ThumbnailList: 缩略图文件名列表
|
2555
|
+
# @type ThumbnailList: Array
|
2556
|
+
|
2557
|
+
attr_accessor :ProductId, :DeviceName, :ThumbnailList
|
2558
|
+
|
2559
|
+
def initialize(productid=nil, devicename=nil, thumbnaillist=nil)
|
2560
|
+
@ProductId = productid
|
2561
|
+
@DeviceName = devicename
|
2562
|
+
@ThumbnailList = thumbnaillist
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
def deserialize(params)
|
2566
|
+
@ProductId = params['ProductId']
|
2567
|
+
@DeviceName = params['DeviceName']
|
2568
|
+
@ThumbnailList = params['ThumbnailList']
|
2569
|
+
end
|
2570
|
+
end
|
2571
|
+
|
2572
|
+
# DescribeCloudStorageThumbnailList返回参数结构体
|
2573
|
+
class DescribeCloudStorageThumbnailListResponse < TencentCloud::Common::AbstractModel
|
2574
|
+
# @param ThumbnailURLInfoList: 缩略图访问地址
|
2575
|
+
# @type ThumbnailURLInfoList: Array
|
2576
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2577
|
+
# @type RequestId: String
|
2578
|
+
|
2579
|
+
attr_accessor :ThumbnailURLInfoList, :RequestId
|
2580
|
+
|
2581
|
+
def initialize(thumbnailurlinfolist=nil, requestid=nil)
|
2582
|
+
@ThumbnailURLInfoList = thumbnailurlinfolist
|
2583
|
+
@RequestId = requestid
|
2584
|
+
end
|
2585
|
+
|
2586
|
+
def deserialize(params)
|
2587
|
+
unless params['ThumbnailURLInfoList'].nil?
|
2588
|
+
@ThumbnailURLInfoList = []
|
2589
|
+
params['ThumbnailURLInfoList'].each do |i|
|
2590
|
+
thumbnailurlinfolist_tmp = ThumbnailURLInfoList.new
|
2591
|
+
thumbnailurlinfolist_tmp.deserialize(i)
|
2592
|
+
@ThumbnailURLInfoList << thumbnailurlinfolist_tmp
|
2593
|
+
end
|
2594
|
+
end
|
2595
|
+
@RequestId = params['RequestId']
|
2596
|
+
end
|
2597
|
+
end
|
2598
|
+
|
2548
2599
|
# DescribeCloudStorageThumbnail请求参数结构体
|
2549
2600
|
class DescribeCloudStorageThumbnailRequest < TencentCloud::Common::AbstractModel
|
2550
2601
|
# @param ProductId: 产品ID
|
@@ -6140,6 +6191,28 @@ module TencentCloud
|
|
6140
6191
|
end
|
6141
6192
|
end
|
6142
6193
|
|
6194
|
+
# 缩略图信息
|
6195
|
+
class ThumbnailURLInfoList < TencentCloud::Common::AbstractModel
|
6196
|
+
# @param ThumbnailURL: 缩略图访问地址
|
6197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6198
|
+
# @type ThumbnailURL: String
|
6199
|
+
# @param ExpireTime: 缩略图访问地址的过期时间
|
6200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6201
|
+
# @type ExpireTime: Integer
|
6202
|
+
|
6203
|
+
attr_accessor :ThumbnailURL, :ExpireTime
|
6204
|
+
|
6205
|
+
def initialize(thumbnailurl=nil, expiretime=nil)
|
6206
|
+
@ThumbnailURL = thumbnailurl
|
6207
|
+
@ExpireTime = expiretime
|
6208
|
+
end
|
6209
|
+
|
6210
|
+
def deserialize(params)
|
6211
|
+
@ThumbnailURL = params['ThumbnailURL']
|
6212
|
+
@ExpireTime = params['ExpireTime']
|
6213
|
+
end
|
6214
|
+
end
|
6215
|
+
|
6143
6216
|
# TransferCloudStorage请求参数结构体
|
6144
6217
|
class TransferCloudStorageRequest < TencentCloud::Common::AbstractModel
|
6145
6218
|
# @param ProductId: 产品ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotvideo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.715
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|