tencentcloud-sdk-iotvideo 3.0.395 → 3.0.398
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 +48 -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: 82564efa17a6fe311b7e1dfbc1533e58a3b63634
|
4
|
+
data.tar.gz: 885a055e9d5a0b11d91e272af84e4a92be997170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b324af8d5963648996c6ecc51097cb47e1d9dcc5acdb4e84128262b6902c01feb15bec5f905ef9c5fc518a392633b7596e44e6d961a0067b13e9d9146ddbab7
|
7
|
+
data.tar.gz: dcd2774ed556ee517901e038e5615ba5e2477d8607108316c8a43b98f1c985ad5e68467908befcc4ccafcab7755b403aa9d53ebc3a9fed1fa0068643be56d567
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.398
|
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 DescribeCloudStorageStreamData.
|
923
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20211125::DescribeCloudStorageStreamDataRequest`
|
924
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20211125::DescribeCloudStorageStreamDataResponse`
|
925
|
+
def DescribeCloudStorageStreamData(request)
|
926
|
+
body = send_request('DescribeCloudStorageStreamData', request.serialize)
|
927
|
+
response = JSON.parse(body)
|
928
|
+
if response['Response'].key?('Error') == false
|
929
|
+
model = DescribeCloudStorageStreamDataResponse.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 DescribeCloudStorageThumbnail.
|
data/lib/v20211125/models.rb
CHANGED
@@ -2307,6 +2307,54 @@ module TencentCloud
|
|
2307
2307
|
end
|
2308
2308
|
end
|
2309
2309
|
|
2310
|
+
# DescribeCloudStorageStreamData请求参数结构体
|
2311
|
+
class DescribeCloudStorageStreamDataRequest < TencentCloud::Common::AbstractModel
|
2312
|
+
# @param ProductId: 产品ID
|
2313
|
+
# @type ProductId: String
|
2314
|
+
# @param DeviceName: 设备名称
|
2315
|
+
# @type DeviceName: String
|
2316
|
+
# @param StartTime: 图片流事件开始时间
|
2317
|
+
# @type StartTime: Integer
|
2318
|
+
|
2319
|
+
attr_accessor :ProductId, :DeviceName, :StartTime
|
2320
|
+
|
2321
|
+
def initialize(productid=nil, devicename=nil, starttime=nil)
|
2322
|
+
@ProductId = productid
|
2323
|
+
@DeviceName = devicename
|
2324
|
+
@StartTime = starttime
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
def deserialize(params)
|
2328
|
+
@ProductId = params['ProductId']
|
2329
|
+
@DeviceName = params['DeviceName']
|
2330
|
+
@StartTime = params['StartTime']
|
2331
|
+
end
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
# DescribeCloudStorageStreamData返回参数结构体
|
2335
|
+
class DescribeCloudStorageStreamDataResponse < TencentCloud::Common::AbstractModel
|
2336
|
+
# @param VideoStream: 图片流视频地址
|
2337
|
+
# @type VideoStream: String
|
2338
|
+
# @param AudioStream: 图片流音频地址
|
2339
|
+
# @type AudioStream: String
|
2340
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2341
|
+
# @type RequestId: String
|
2342
|
+
|
2343
|
+
attr_accessor :VideoStream, :AudioStream, :RequestId
|
2344
|
+
|
2345
|
+
def initialize(videostream=nil, audiostream=nil, requestid=nil)
|
2346
|
+
@VideoStream = videostream
|
2347
|
+
@AudioStream = audiostream
|
2348
|
+
@RequestId = requestid
|
2349
|
+
end
|
2350
|
+
|
2351
|
+
def deserialize(params)
|
2352
|
+
@VideoStream = params['VideoStream']
|
2353
|
+
@AudioStream = params['AudioStream']
|
2354
|
+
@RequestId = params['RequestId']
|
2355
|
+
end
|
2356
|
+
end
|
2357
|
+
|
2310
2358
|
# DescribeCloudStorageThumbnail请求参数结构体
|
2311
2359
|
class DescribeCloudStorageThumbnailRequest < TencentCloud::Common::AbstractModel
|
2312
2360
|
# @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.398
|
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-08-
|
11
|
+
date: 2022-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|