tencentcloud-sdk-iotvideo 3.0.753 → 3.0.755
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 +51 -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: 37808e36bf905b060fd363a76ba2ca2c5f86d1a6
|
4
|
+
data.tar.gz: 6fb93b0f5c57f1466e522600d4fb3f5cc5ca5706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 110936b2434e8eefa7d241095a39ece2dc4edf53cf40ab26bc89aa6327033a403f312d580680066c7f59b7a914b596efad7cd4102fb68eda502183daec79712f
|
7
|
+
data.tar.gz: 9d640a37a0998a4e789fa71f1d1f5791281a2affeb434d027b31cb2032c01af25836e2471b03cf85191598b914b26a4f5eaae0d87ee2b18ceb359f60b78b9c68
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.755
|
data/lib/v20211125/client.rb
CHANGED
@@ -917,6 +917,30 @@ module TencentCloud
|
|
917
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
918
|
end
|
919
919
|
|
920
|
+
# 拉取多个云存事件缩略图
|
921
|
+
|
922
|
+
# @param request: Request instance for DescribeCloudStorageMultiThumbnail.
|
923
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20211125::DescribeCloudStorageMultiThumbnailRequest`
|
924
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20211125::DescribeCloudStorageMultiThumbnailResponse`
|
925
|
+
def DescribeCloudStorageMultiThumbnail(request)
|
926
|
+
body = send_request('DescribeCloudStorageMultiThumbnail', request.serialize)
|
927
|
+
response = JSON.parse(body)
|
928
|
+
if response['Response'].key?('Error') == false
|
929
|
+
model = DescribeCloudStorageMultiThumbnailResponse.new
|
930
|
+
model.deserialize(response['Response'])
|
931
|
+
model
|
932
|
+
else
|
933
|
+
code = response['Response']['Error']['Code']
|
934
|
+
message = response['Response']['Error']['Message']
|
935
|
+
reqid = response['Response']['RequestId']
|
936
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
937
|
+
end
|
938
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
939
|
+
raise e
|
940
|
+
rescue StandardError => e
|
941
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
|
+
end
|
943
|
+
|
920
944
|
# 查询云存服务详情
|
921
945
|
|
922
946
|
# @param request: Request instance for DescribeCloudStorageOrder.
|
data/lib/v20211125/models.rb
CHANGED
@@ -2299,6 +2299,57 @@ module TencentCloud
|
|
2299
2299
|
end
|
2300
2300
|
end
|
2301
2301
|
|
2302
|
+
# DescribeCloudStorageMultiThumbnail请求参数结构体
|
2303
|
+
class DescribeCloudStorageMultiThumbnailRequest < TencentCloud::Common::AbstractModel
|
2304
|
+
# @param ProductId: 产品ID
|
2305
|
+
# @type ProductId: String
|
2306
|
+
# @param DeviceName: 设备名称
|
2307
|
+
# @type DeviceName: String
|
2308
|
+
# @param MultiThumbnail: 多个缩略图文件名根据 | 分割
|
2309
|
+
# @type MultiThumbnail: String
|
2310
|
+
|
2311
|
+
attr_accessor :ProductId, :DeviceName, :MultiThumbnail
|
2312
|
+
|
2313
|
+
def initialize(productid=nil, devicename=nil, multithumbnail=nil)
|
2314
|
+
@ProductId = productid
|
2315
|
+
@DeviceName = devicename
|
2316
|
+
@MultiThumbnail = multithumbnail
|
2317
|
+
end
|
2318
|
+
|
2319
|
+
def deserialize(params)
|
2320
|
+
@ProductId = params['ProductId']
|
2321
|
+
@DeviceName = params['DeviceName']
|
2322
|
+
@MultiThumbnail = params['MultiThumbnail']
|
2323
|
+
end
|
2324
|
+
end
|
2325
|
+
|
2326
|
+
# DescribeCloudStorageMultiThumbnail返回参数结构体
|
2327
|
+
class DescribeCloudStorageMultiThumbnailResponse < TencentCloud::Common::AbstractModel
|
2328
|
+
# @param ThumbnailURLInfoList: 缩略图访问地址
|
2329
|
+
# @type ThumbnailURLInfoList: Array
|
2330
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2331
|
+
# @type RequestId: String
|
2332
|
+
|
2333
|
+
attr_accessor :ThumbnailURLInfoList, :RequestId
|
2334
|
+
|
2335
|
+
def initialize(thumbnailurlinfolist=nil, requestid=nil)
|
2336
|
+
@ThumbnailURLInfoList = thumbnailurlinfolist
|
2337
|
+
@RequestId = requestid
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
def deserialize(params)
|
2341
|
+
unless params['ThumbnailURLInfoList'].nil?
|
2342
|
+
@ThumbnailURLInfoList = []
|
2343
|
+
params['ThumbnailURLInfoList'].each do |i|
|
2344
|
+
thumbnailurlinfolist_tmp = ThumbnailURLInfoList.new
|
2345
|
+
thumbnailurlinfolist_tmp.deserialize(i)
|
2346
|
+
@ThumbnailURLInfoList << thumbnailurlinfolist_tmp
|
2347
|
+
end
|
2348
|
+
end
|
2349
|
+
@RequestId = params['RequestId']
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
|
2302
2353
|
# DescribeCloudStorageOrder请求参数结构体
|
2303
2354
|
class DescribeCloudStorageOrderRequest < TencentCloud::Common::AbstractModel
|
2304
2355
|
# @param OrderId: 订单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.755
|
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-01-
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|