tencentcloud-sdk-iotvideo 1.0.205 → 1.0.206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201215/client.rb +48 -0
- data/lib/v20201215/models.rb +96 -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: 7abad2d02b9e017807f09ffbe47182096aafbc9d
|
4
|
+
data.tar.gz: 20fe74fddbd294ebc23a1a46e3cf095b5c624500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 439f416462ec1d0ceca7a59cf76cf21a82749a396770922a4defc654957528058bd2d2bc519c6225fce4d0b4a2bd3c265d4d773aa1e45bf820a7cc58fd9a832c
|
7
|
+
data.tar.gz: 6ce69755b042eff3d2eee7f3825ef295fc7ac0aded164be0bdf0506f5f76668fdbe108ca8477fbf2c97a2060758f3fe0a058fb2040373e8c264579397753c91a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.206
|
data/lib/v20201215/client.rb
CHANGED
@@ -1277,6 +1277,30 @@ module TencentCloud
|
|
1277
1277
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1278
1278
|
end
|
1279
1279
|
|
1280
|
+
# 获取产品动态注册详情
|
1281
|
+
|
1282
|
+
# @param request: Request instance for DescribeProductDynamicRegister.
|
1283
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20201215::DescribeProductDynamicRegisterRequest`
|
1284
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20201215::DescribeProductDynamicRegisterResponse`
|
1285
|
+
def DescribeProductDynamicRegister(request)
|
1286
|
+
body = send_request('DescribeProductDynamicRegister', request.serialize)
|
1287
|
+
response = JSON.parse(body)
|
1288
|
+
if response['Response'].key?('Error') == false
|
1289
|
+
model = DescribeProductDynamicRegisterResponse.new
|
1290
|
+
model.deserialize(response['Response'])
|
1291
|
+
model
|
1292
|
+
else
|
1293
|
+
code = response['Response']['Error']['Code']
|
1294
|
+
message = response['Response']['Error']['Message']
|
1295
|
+
reqid = response['Response']['RequestId']
|
1296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1297
|
+
end
|
1298
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1299
|
+
raise e
|
1300
|
+
rescue StandardError => e
|
1301
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1302
|
+
end
|
1303
|
+
|
1280
1304
|
# 获取产品列表
|
1281
1305
|
|
1282
1306
|
# @param request: Request instance for DescribeProducts.
|
@@ -1661,6 +1685,30 @@ module TencentCloud
|
|
1661
1685
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1662
1686
|
end
|
1663
1687
|
|
1688
|
+
# 修改产品动态注册
|
1689
|
+
|
1690
|
+
# @param request: Request instance for ModifyProductDynamicRegister.
|
1691
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20201215::ModifyProductDynamicRegisterRequest`
|
1692
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20201215::ModifyProductDynamicRegisterResponse`
|
1693
|
+
def ModifyProductDynamicRegister(request)
|
1694
|
+
body = send_request('ModifyProductDynamicRegister', request.serialize)
|
1695
|
+
response = JSON.parse(body)
|
1696
|
+
if response['Response'].key?('Error') == false
|
1697
|
+
model = ModifyProductDynamicRegisterResponse.new
|
1698
|
+
model.deserialize(response['Response'])
|
1699
|
+
model
|
1700
|
+
else
|
1701
|
+
code = response['Response']['Error']['Code']
|
1702
|
+
message = response['Response']['Error']['Message']
|
1703
|
+
reqid = response['Response']['RequestId']
|
1704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1705
|
+
end
|
1706
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1707
|
+
raise e
|
1708
|
+
rescue StandardError => e
|
1709
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1710
|
+
end
|
1711
|
+
|
1664
1712
|
# 本接口(PublishMessage)用于使用自定义透传协议进行设备远控
|
1665
1713
|
|
1666
1714
|
# @param request: Request instance for PublishMessage.
|
data/lib/v20201215/models.rb
CHANGED
@@ -3272,6 +3272,50 @@ module TencentCloud
|
|
3272
3272
|
end
|
3273
3273
|
end
|
3274
3274
|
|
3275
|
+
# DescribeProductDynamicRegister请求参数结构体
|
3276
|
+
class DescribeProductDynamicRegisterRequest < TencentCloud::Common::AbstractModel
|
3277
|
+
# @param ProductId: 产品ID
|
3278
|
+
# @type ProductId: String
|
3279
|
+
|
3280
|
+
attr_accessor :ProductId
|
3281
|
+
|
3282
|
+
def initialize(productid=nil)
|
3283
|
+
@ProductId = productid
|
3284
|
+
end
|
3285
|
+
|
3286
|
+
def deserialize(params)
|
3287
|
+
@ProductId = params['ProductId']
|
3288
|
+
end
|
3289
|
+
end
|
3290
|
+
|
3291
|
+
# DescribeProductDynamicRegister返回参数结构体
|
3292
|
+
class DescribeProductDynamicRegisterResponse < TencentCloud::Common::AbstractModel
|
3293
|
+
# @param RegisterType: 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
|
3294
|
+
# @type RegisterType: Integer
|
3295
|
+
# @param ProductSecret: 动态注册产品密钥
|
3296
|
+
# @type ProductSecret: String
|
3297
|
+
# @param RegisterLimit: 动态注册设备上限
|
3298
|
+
# @type RegisterLimit: Integer
|
3299
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3300
|
+
# @type RequestId: String
|
3301
|
+
|
3302
|
+
attr_accessor :RegisterType, :ProductSecret, :RegisterLimit, :RequestId
|
3303
|
+
|
3304
|
+
def initialize(registertype=nil, productsecret=nil, registerlimit=nil, requestid=nil)
|
3305
|
+
@RegisterType = registertype
|
3306
|
+
@ProductSecret = productsecret
|
3307
|
+
@RegisterLimit = registerlimit
|
3308
|
+
@RequestId = requestid
|
3309
|
+
end
|
3310
|
+
|
3311
|
+
def deserialize(params)
|
3312
|
+
@RegisterType = params['RegisterType']
|
3313
|
+
@ProductSecret = params['ProductSecret']
|
3314
|
+
@RegisterLimit = params['RegisterLimit']
|
3315
|
+
@RequestId = params['RequestId']
|
3316
|
+
end
|
3317
|
+
end
|
3318
|
+
|
3275
3319
|
# DescribeProduct请求参数结构体
|
3276
3320
|
class DescribeProductRequest < TencentCloud::Common::AbstractModel
|
3277
3321
|
# @param ProductId: 产品id
|
@@ -4288,6 +4332,58 @@ module TencentCloud
|
|
4288
4332
|
end
|
4289
4333
|
end
|
4290
4334
|
|
4335
|
+
# ModifyProductDynamicRegister请求参数结构体
|
4336
|
+
class ModifyProductDynamicRegisterRequest < TencentCloud::Common::AbstractModel
|
4337
|
+
# @param ProductId: 产品ID
|
4338
|
+
# @type ProductId: String
|
4339
|
+
# @param RegisterType: 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
|
4340
|
+
# @type RegisterType: Integer
|
4341
|
+
# @param RegisterLimit: 动态注册设备上限
|
4342
|
+
# @type RegisterLimit: Integer
|
4343
|
+
|
4344
|
+
attr_accessor :ProductId, :RegisterType, :RegisterLimit
|
4345
|
+
|
4346
|
+
def initialize(productid=nil, registertype=nil, registerlimit=nil)
|
4347
|
+
@ProductId = productid
|
4348
|
+
@RegisterType = registertype
|
4349
|
+
@RegisterLimit = registerlimit
|
4350
|
+
end
|
4351
|
+
|
4352
|
+
def deserialize(params)
|
4353
|
+
@ProductId = params['ProductId']
|
4354
|
+
@RegisterType = params['RegisterType']
|
4355
|
+
@RegisterLimit = params['RegisterLimit']
|
4356
|
+
end
|
4357
|
+
end
|
4358
|
+
|
4359
|
+
# ModifyProductDynamicRegister返回参数结构体
|
4360
|
+
class ModifyProductDynamicRegisterResponse < TencentCloud::Common::AbstractModel
|
4361
|
+
# @param RegisterType: 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
|
4362
|
+
# @type RegisterType: Integer
|
4363
|
+
# @param ProductSecret: 动态注册产品密钥
|
4364
|
+
# @type ProductSecret: String
|
4365
|
+
# @param RegisterLimit: 动态注册设备上限
|
4366
|
+
# @type RegisterLimit: Integer
|
4367
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4368
|
+
# @type RequestId: String
|
4369
|
+
|
4370
|
+
attr_accessor :RegisterType, :ProductSecret, :RegisterLimit, :RequestId
|
4371
|
+
|
4372
|
+
def initialize(registertype=nil, productsecret=nil, registerlimit=nil, requestid=nil)
|
4373
|
+
@RegisterType = registertype
|
4374
|
+
@ProductSecret = productsecret
|
4375
|
+
@RegisterLimit = registerlimit
|
4376
|
+
@RequestId = requestid
|
4377
|
+
end
|
4378
|
+
|
4379
|
+
def deserialize(params)
|
4380
|
+
@RegisterType = params['RegisterType']
|
4381
|
+
@ProductSecret = params['ProductSecret']
|
4382
|
+
@RegisterLimit = params['RegisterLimit']
|
4383
|
+
@RequestId = params['RequestId']
|
4384
|
+
end
|
4385
|
+
end
|
4386
|
+
|
4291
4387
|
# ModifyProduct请求参数结构体
|
4292
4388
|
class ModifyProductRequest < TencentCloud::Common::AbstractModel
|
4293
4389
|
# @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: 1.0.
|
4
|
+
version: 1.0.206
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|