tencentcloud-sdk-iotvideo 3.0.390 → 3.0.398

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: 17b6c1d18eabd4d1e21a70f5004c1177c8a5cedb
4
- data.tar.gz: 3752048c08afcb02de7dd66697710226f0ca9d66
3
+ metadata.gz: 82564efa17a6fe311b7e1dfbc1533e58a3b63634
4
+ data.tar.gz: 885a055e9d5a0b11d91e272af84e4a92be997170
5
5
  SHA512:
6
- metadata.gz: 93f0a41ba5e46794f1a693210e58f779963987356e31a405c532cb1a4ef12b8643415374c47a38f582474b3898a93230974cb07687e9246276228977a2aeb398
7
- data.tar.gz: 99bcb8d4d1907c0fc729012faba53a83626e70f947df7818ca9a1d3d7c0d637296b042efe24aac85cd92d26beb5ea3188dc30fbf7a95bad0c9b2e71a536e0c4b
6
+ metadata.gz: 4b324af8d5963648996c6ecc51097cb47e1d9dcc5acdb4e84128262b6902c01feb15bec5f905ef9c5fc518a392633b7596e44e6d961a0067b13e9d9146ddbab7
7
+ data.tar.gz: dcd2774ed556ee517901e038e5615ba5e2477d8607108316c8a43b98f1c985ad5e68467908befcc4ccafcab7755b403aa9d53ebc3a9fed1fa0068643be56d567
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.390
1
+ 3.0.398
@@ -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
@@ -5925,10 +5973,13 @@ module TencentCloud
5925
5973
  # @param NetType: 连接类型,wifi表示WIFI连接,cellular表示4G连接
5926
5974
  # 注意:此字段可能返回 null,表示取不到有效值。
5927
5975
  # @type NetType: String
5976
+ # @param CategoryId: 产品品类,113:摄像头,567:儿童手表,595:可视对讲门锁
5977
+ # 注意:此字段可能返回 null,表示取不到有效值。
5978
+ # @type CategoryId: Integer
5928
5979
 
5929
- attr_accessor :ProductId, :ProductName, :DeviceType, :EncryptionType, :Features, :ChipOs, :ChipManufactureId, :ChipId, :ProductDescription, :CreateTime, :UpdateTime, :NetType
5980
+ attr_accessor :ProductId, :ProductName, :DeviceType, :EncryptionType, :Features, :ChipOs, :ChipManufactureId, :ChipId, :ProductDescription, :CreateTime, :UpdateTime, :NetType, :CategoryId
5930
5981
 
5931
- def initialize(productid=nil, productname=nil, devicetype=nil, encryptiontype=nil, features=nil, chipos=nil, chipmanufactureid=nil, chipid=nil, productdescription=nil, createtime=nil, updatetime=nil, nettype=nil)
5982
+ def initialize(productid=nil, productname=nil, devicetype=nil, encryptiontype=nil, features=nil, chipos=nil, chipmanufactureid=nil, chipid=nil, productdescription=nil, createtime=nil, updatetime=nil, nettype=nil, categoryid=nil)
5932
5983
  @ProductId = productid
5933
5984
  @ProductName = productname
5934
5985
  @DeviceType = devicetype
@@ -5941,6 +5992,7 @@ module TencentCloud
5941
5992
  @CreateTime = createtime
5942
5993
  @UpdateTime = updatetime
5943
5994
  @NetType = nettype
5995
+ @CategoryId = categoryid
5944
5996
  end
5945
5997
 
5946
5998
  def deserialize(params)
@@ -5956,6 +6008,7 @@ module TencentCloud
5956
6008
  @CreateTime = params['CreateTime']
5957
6009
  @UpdateTime = params['UpdateTime']
5958
6010
  @NetType = params['NetType']
6011
+ @CategoryId = params['CategoryId']
5959
6012
  end
5960
6013
  end
5961
6014
 
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.390
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-18 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