tencentcloud-sdk-iotexplorer 3.0.961 → 3.0.962
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/v20190423/client.rb +48 -0
- data/lib/v20190423/models.rb +112 -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: 170faa112eadc2e8226ff6130a52206980d77a53
|
4
|
+
data.tar.gz: 9c820dab6c300760b9e0a0d25fd64fb1b36a832b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a32abe32bfdcbb2563bd98b708e1c8300afa25fd480b8ff2bc5339d1bc729c84bbb93dd54f6dafd9094d2564cd6324409470b797e04c4bc2ec9c6ec8de8cabc
|
7
|
+
data.tar.gz: a35ca95ca395c6022598d4d16edf18538f5f3d5493269e7b2b439c1865d16aab6407d7141b722cba6466e30ec937146924d520b1eb2998c4e964ec8ea3505279
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.962
|
data/lib/v20190423/client.rb
CHANGED
@@ -343,6 +343,30 @@ module TencentCloud
|
|
343
343
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
344
344
|
end
|
345
345
|
|
346
|
+
# 创建设备通道
|
347
|
+
|
348
|
+
# @param request: Request instance for CreateDeviceChannel.
|
349
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateDeviceChannelRequest`
|
350
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateDeviceChannelResponse`
|
351
|
+
def CreateDeviceChannel(request)
|
352
|
+
body = send_request('CreateDeviceChannel', request.serialize)
|
353
|
+
response = JSON.parse(body)
|
354
|
+
if response['Response'].key?('Error') == false
|
355
|
+
model = CreateDeviceChannelResponse.new
|
356
|
+
model.deserialize(response['Response'])
|
357
|
+
model
|
358
|
+
else
|
359
|
+
code = response['Response']['Error']['Code']
|
360
|
+
message = response['Response']['Error']['Message']
|
361
|
+
reqid = response['Response']['RequestId']
|
362
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
363
|
+
end
|
364
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
365
|
+
raise e
|
366
|
+
rescue StandardError => e
|
367
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
368
|
+
end
|
369
|
+
|
346
370
|
# 创建外部视频 AI 分析任务
|
347
371
|
|
348
372
|
# @param request: Request instance for CreateExternalSourceAIServiceTask.
|
@@ -391,6 +415,30 @@ module TencentCloud
|
|
391
415
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
416
|
end
|
393
417
|
|
418
|
+
# 开通免费云存服务
|
419
|
+
|
420
|
+
# @param request: Request instance for CreateFreeCloudStorage.
|
421
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateFreeCloudStorageRequest`
|
422
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateFreeCloudStorageResponse`
|
423
|
+
def CreateFreeCloudStorage(request)
|
424
|
+
body = send_request('CreateFreeCloudStorage', request.serialize)
|
425
|
+
response = JSON.parse(body)
|
426
|
+
if response['Response'].key?('Error') == false
|
427
|
+
model = CreateFreeCloudStorageResponse.new
|
428
|
+
model.deserialize(response['Response'])
|
429
|
+
model
|
430
|
+
else
|
431
|
+
code = response['Response']['Error']['Code']
|
432
|
+
message = response['Response']['Error']['Message']
|
433
|
+
reqid = response['Response']['RequestId']
|
434
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
435
|
+
end
|
436
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
437
|
+
raise e
|
438
|
+
rescue StandardError => e
|
439
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
440
|
+
end
|
441
|
+
|
394
442
|
# 开通云存服务
|
395
443
|
|
396
444
|
# @param request: Request instance for CreateIotVideoCloudStorage.
|
data/lib/v20190423/models.rb
CHANGED
@@ -1038,6 +1038,46 @@ module TencentCloud
|
|
1038
1038
|
end
|
1039
1039
|
end
|
1040
1040
|
|
1041
|
+
# CreateDeviceChannel请求参数结构体
|
1042
|
+
class CreateDeviceChannelRequest < TencentCloud::Common::AbstractModel
|
1043
|
+
# @param ProductId: 产品ID
|
1044
|
+
# @type ProductId: String
|
1045
|
+
# @param DeviceName: 设备名称
|
1046
|
+
# @type DeviceName: String
|
1047
|
+
# @param ChannelId: 通道ID
|
1048
|
+
# @type ChannelId: Integer
|
1049
|
+
|
1050
|
+
attr_accessor :ProductId, :DeviceName, :ChannelId
|
1051
|
+
|
1052
|
+
def initialize(productid=nil, devicename=nil, channelid=nil)
|
1053
|
+
@ProductId = productid
|
1054
|
+
@DeviceName = devicename
|
1055
|
+
@ChannelId = channelid
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
def deserialize(params)
|
1059
|
+
@ProductId = params['ProductId']
|
1060
|
+
@DeviceName = params['DeviceName']
|
1061
|
+
@ChannelId = params['ChannelId']
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# CreateDeviceChannel返回参数结构体
|
1066
|
+
class CreateDeviceChannelResponse < TencentCloud::Common::AbstractModel
|
1067
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1068
|
+
# @type RequestId: String
|
1069
|
+
|
1070
|
+
attr_accessor :RequestId
|
1071
|
+
|
1072
|
+
def initialize(requestid=nil)
|
1073
|
+
@RequestId = requestid
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
def deserialize(params)
|
1077
|
+
@RequestId = params['RequestId']
|
1078
|
+
end
|
1079
|
+
end
|
1080
|
+
|
1041
1081
|
# CreateDevice请求参数结构体
|
1042
1082
|
class CreateDeviceRequest < TencentCloud::Common::AbstractModel
|
1043
1083
|
# @param ProductId: 产品ID。
|
@@ -1207,6 +1247,78 @@ module TencentCloud
|
|
1207
1247
|
end
|
1208
1248
|
end
|
1209
1249
|
|
1250
|
+
# CreateFreeCloudStorage请求参数结构体
|
1251
|
+
class CreateFreeCloudStorageRequest < TencentCloud::Common::AbstractModel
|
1252
|
+
# @param ProductId: 产品ID
|
1253
|
+
# @type ProductId: String
|
1254
|
+
# @param DeviceName: 设备名称
|
1255
|
+
# @type DeviceName: String
|
1256
|
+
# @param PackageId: 云存套餐ID:
|
1257
|
+
# lye1w3d:低功耗事件3天周套餐。
|
1258
|
+
# ye1w3d:事件3天周套餐
|
1259
|
+
# @type PackageId: String
|
1260
|
+
# @param Override: 如果当前设备已开启云存套餐,Override=1会使用新套餐覆盖原有套餐。不传此参数则默认为0。
|
1261
|
+
# @type Override: Integer
|
1262
|
+
# @param PackageQueue: 套餐列表顺序:PackageQueue=front会立即使用新购买的套餐,新购套餐结束后,列表中下一个未过期的套餐继续生效;PackageQueue=end会等设备当前所有已购买套餐过期后才会生效新购套餐。与Override参数不能同时使用。
|
1263
|
+
# @type PackageQueue: String
|
1264
|
+
# @param OrderId: 订单id
|
1265
|
+
# @type OrderId: String
|
1266
|
+
# @param ChannelId: 通道ID
|
1267
|
+
# @type ChannelId: Integer
|
1268
|
+
# @param StorageRegion: 云存视频存储区域,国内默认为ap-guangzhou。海外默认为东南亚ap-singapore,可选美东na-ashburn、欧洲eu-frankfurt。
|
1269
|
+
# @type StorageRegion: String
|
1270
|
+
|
1271
|
+
attr_accessor :ProductId, :DeviceName, :PackageId, :Override, :PackageQueue, :OrderId, :ChannelId, :StorageRegion
|
1272
|
+
|
1273
|
+
def initialize(productid=nil, devicename=nil, packageid=nil, override=nil, packagequeue=nil, orderid=nil, channelid=nil, storageregion=nil)
|
1274
|
+
@ProductId = productid
|
1275
|
+
@DeviceName = devicename
|
1276
|
+
@PackageId = packageid
|
1277
|
+
@Override = override
|
1278
|
+
@PackageQueue = packagequeue
|
1279
|
+
@OrderId = orderid
|
1280
|
+
@ChannelId = channelid
|
1281
|
+
@StorageRegion = storageregion
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
def deserialize(params)
|
1285
|
+
@ProductId = params['ProductId']
|
1286
|
+
@DeviceName = params['DeviceName']
|
1287
|
+
@PackageId = params['PackageId']
|
1288
|
+
@Override = params['Override']
|
1289
|
+
@PackageQueue = params['PackageQueue']
|
1290
|
+
@OrderId = params['OrderId']
|
1291
|
+
@ChannelId = params['ChannelId']
|
1292
|
+
@StorageRegion = params['StorageRegion']
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
# CreateFreeCloudStorage返回参数结构体
|
1297
|
+
class CreateFreeCloudStorageResponse < TencentCloud::Common::AbstractModel
|
1298
|
+
# @param Price: 订单金额,单位为分
|
1299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1300
|
+
# @type Price: Integer
|
1301
|
+
# @param Amount: 支付金额,单位为分
|
1302
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1303
|
+
# @type Amount: Integer
|
1304
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1305
|
+
# @type RequestId: String
|
1306
|
+
|
1307
|
+
attr_accessor :Price, :Amount, :RequestId
|
1308
|
+
|
1309
|
+
def initialize(price=nil, amount=nil, requestid=nil)
|
1310
|
+
@Price = price
|
1311
|
+
@Amount = amount
|
1312
|
+
@RequestId = requestid
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
def deserialize(params)
|
1316
|
+
@Price = params['Price']
|
1317
|
+
@Amount = params['Amount']
|
1318
|
+
@RequestId = params['RequestId']
|
1319
|
+
end
|
1320
|
+
end
|
1321
|
+
|
1210
1322
|
# CreateIotVideoCloudStorage请求参数结构体
|
1211
1323
|
class CreateIotVideoCloudStorageRequest < TencentCloud::Common::AbstractModel
|
1212
1324
|
# @param ProductId: 产品ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotexplorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.962
|
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-12-
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|