tencentcloud-sdk-iotvideo 3.0.391 → 3.0.399

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0eadae73a0099d729cb215b66afc49a8a65c9b25
4
- data.tar.gz: a496b4a72e547c2cc85286f2b95f30c4beed1b2c
3
+ metadata.gz: 79bb3936d35aab8b1fe984067c3f217c3dd6a0b1
4
+ data.tar.gz: 61bf10598b14efc05005d9ce030812fee4df70dc
5
5
  SHA512:
6
- metadata.gz: e8ce60af052f8bb0c9802804b40ddd1fa1a7c70006372cd85fc2512319f44e873b3276efe5ffa71f6ae2778fed898a8bc6f8c0edad48b742422bc839dcfd1bc2
7
- data.tar.gz: 5bae25d35229180866c190b272de372a6fc1a70b29f593f84b71c65197660d92e2f71f9ecf23339d54f6e490a9639a9d4ae99372d053078119b644ed1e0d9d65
6
+ metadata.gz: 21f4e78258dc6b7a5499322087a49f3a2528e681b7f7d3a7192a92436dc9614102f946be9ad93c7fe18cea4614f6a64824810fa53a185e907e424dfdfef1cf31
7
+ data.tar.gz: 849c0ed9776cd444463c11b550e1945954da256bd36c9d56056f110d5008ec65e99bb09677e23cadd47d36f47fca0f25599e87b3a070b7688f85931d53d7af52
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.391
1
+ 3.0.399
@@ -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.
@@ -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.391
4
+ version: 3.0.399
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-23 00:00:00.000000000 Z
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