tencentcloud-sdk-iotexplorer 3.0.961 → 3.0.963
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 +76 -0
- data/lib/v20190423/models.rb +187 -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: ac369942da2e192b0f49ca58916ba5c4fb2a8fe7
|
4
|
+
data.tar.gz: f440d4295f07fd26eb84ceec937f5c1726b19990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67c55327b687ae393d3acb554a0339d9e979e24882b3bcfff027e1244b8a9e41300e8daf1a9265c93beef692d4143eddfe7b949deaa746c12bd141c69470ec78
|
7
|
+
data.tar.gz: 3c483645c7210ac81da549085b606d1660e58f71691d3383decd48c2c17607cee4bd5a1b5310146e1135981b94fb1361dde94c551f2e256be5ca128a4e2dc4bb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.963
|
data/lib/v20190423/client.rb
CHANGED
@@ -319,6 +319,30 @@ module TencentCloud
|
|
319
319
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
320
320
|
end
|
321
321
|
|
322
|
+
# 创建设备云存 AI 分析任务
|
323
|
+
|
324
|
+
# @param request: Request instance for CreateCloudStorageAIServiceTask.
|
325
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceTaskRequest`
|
326
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceTaskResponse`
|
327
|
+
def CreateCloudStorageAIServiceTask(request)
|
328
|
+
body = send_request('CreateCloudStorageAIServiceTask', request.serialize)
|
329
|
+
response = JSON.parse(body)
|
330
|
+
if response['Response'].key?('Error') == false
|
331
|
+
model = CreateCloudStorageAIServiceTaskResponse.new
|
332
|
+
model.deserialize(response['Response'])
|
333
|
+
model
|
334
|
+
else
|
335
|
+
code = response['Response']['Error']['Code']
|
336
|
+
message = response['Response']['Error']['Message']
|
337
|
+
reqid = response['Response']['RequestId']
|
338
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
339
|
+
end
|
340
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
341
|
+
raise e
|
342
|
+
rescue StandardError => e
|
343
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
344
|
+
end
|
345
|
+
|
322
346
|
# 创建设备
|
323
347
|
|
324
348
|
# @param request: Request instance for CreateDevice.
|
@@ -343,6 +367,30 @@ module TencentCloud
|
|
343
367
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
344
368
|
end
|
345
369
|
|
370
|
+
# 创建设备通道
|
371
|
+
|
372
|
+
# @param request: Request instance for CreateDeviceChannel.
|
373
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateDeviceChannelRequest`
|
374
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateDeviceChannelResponse`
|
375
|
+
def CreateDeviceChannel(request)
|
376
|
+
body = send_request('CreateDeviceChannel', request.serialize)
|
377
|
+
response = JSON.parse(body)
|
378
|
+
if response['Response'].key?('Error') == false
|
379
|
+
model = CreateDeviceChannelResponse.new
|
380
|
+
model.deserialize(response['Response'])
|
381
|
+
model
|
382
|
+
else
|
383
|
+
code = response['Response']['Error']['Code']
|
384
|
+
message = response['Response']['Error']['Message']
|
385
|
+
reqid = response['Response']['RequestId']
|
386
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
387
|
+
end
|
388
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
389
|
+
raise e
|
390
|
+
rescue StandardError => e
|
391
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
|
+
end
|
393
|
+
|
346
394
|
# 创建外部视频 AI 分析任务
|
347
395
|
|
348
396
|
# @param request: Request instance for CreateExternalSourceAIServiceTask.
|
@@ -391,6 +439,30 @@ module TencentCloud
|
|
391
439
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
440
|
end
|
393
441
|
|
442
|
+
# 开通免费云存服务
|
443
|
+
|
444
|
+
# @param request: Request instance for CreateFreeCloudStorage.
|
445
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateFreeCloudStorageRequest`
|
446
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateFreeCloudStorageResponse`
|
447
|
+
def CreateFreeCloudStorage(request)
|
448
|
+
body = send_request('CreateFreeCloudStorage', request.serialize)
|
449
|
+
response = JSON.parse(body)
|
450
|
+
if response['Response'].key?('Error') == false
|
451
|
+
model = CreateFreeCloudStorageResponse.new
|
452
|
+
model.deserialize(response['Response'])
|
453
|
+
model
|
454
|
+
else
|
455
|
+
code = response['Response']['Error']['Code']
|
456
|
+
message = response['Response']['Error']['Message']
|
457
|
+
reqid = response['Response']['RequestId']
|
458
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
459
|
+
end
|
460
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
461
|
+
raise e
|
462
|
+
rescue StandardError => e
|
463
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
464
|
+
end
|
465
|
+
|
394
466
|
# 开通云存服务
|
395
467
|
|
396
468
|
# @param request: Request instance for CreateIotVideoCloudStorage.
|
@@ -3081,6 +3153,8 @@ module TencentCloud
|
|
3081
3153
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3082
3154
|
end
|
3083
3155
|
|
3156
|
+
# 发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
|
3157
|
+
|
3084
3158
|
# 发布广播消息
|
3085
3159
|
|
3086
3160
|
# @param request: Request instance for PublishBroadcastMessage.
|
@@ -3153,6 +3227,8 @@ module TencentCloud
|
|
3153
3227
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3154
3228
|
end
|
3155
3229
|
|
3230
|
+
# 发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
|
3231
|
+
|
3156
3232
|
# 下发RRPC消息
|
3157
3233
|
|
3158
3234
|
# @param request: Request instance for PublishRRPCMessage.
|
data/lib/v20190423/models.rb
CHANGED
@@ -1038,6 +1038,121 @@ module TencentCloud
|
|
1038
1038
|
end
|
1039
1039
|
end
|
1040
1040
|
|
1041
|
+
# CreateCloudStorageAIServiceTask请求参数结构体
|
1042
|
+
class CreateCloudStorageAIServiceTaskRequest < TencentCloud::Common::AbstractModel
|
1043
|
+
# @param ProductId: 产品 ID
|
1044
|
+
# @type ProductId: String
|
1045
|
+
# @param DeviceName: 设备名称
|
1046
|
+
# @type DeviceName: String
|
1047
|
+
# @param ServiceType: 云存 AI 服务类型。可选值:
|
1048
|
+
# - `RealtimeObjectDetect`:目标检测
|
1049
|
+
# - `Highlight`:视频浓缩
|
1050
|
+
# - `VideoToText`:视频语义理解
|
1051
|
+
# @type ServiceType: String
|
1052
|
+
# @param StartTime: 待分析云存的起始时间
|
1053
|
+
# @type StartTime: Integer
|
1054
|
+
# @param EndTime: 待分析云存的结束时间
|
1055
|
+
# @type EndTime: Integer
|
1056
|
+
# @param ChannelId: 通道 ID
|
1057
|
+
# @type ChannelId: Integer
|
1058
|
+
# @param Config: 视频分析配置参数
|
1059
|
+
# @type Config: String
|
1060
|
+
# @param ROI: 视频分析识别区域
|
1061
|
+
# @type ROI: String
|
1062
|
+
# @param VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
|
1063
|
+
# @type VideoURLs: Array
|
1064
|
+
# @param CustomId: 自定义任务 ID
|
1065
|
+
# @type CustomId: String
|
1066
|
+
|
1067
|
+
attr_accessor :ProductId, :DeviceName, :ServiceType, :StartTime, :EndTime, :ChannelId, :Config, :ROI, :VideoURLs, :CustomId
|
1068
|
+
|
1069
|
+
def initialize(productid=nil, devicename=nil, servicetype=nil, starttime=nil, endtime=nil, channelid=nil, config=nil, roi=nil, videourls=nil, customid=nil)
|
1070
|
+
@ProductId = productid
|
1071
|
+
@DeviceName = devicename
|
1072
|
+
@ServiceType = servicetype
|
1073
|
+
@StartTime = starttime
|
1074
|
+
@EndTime = endtime
|
1075
|
+
@ChannelId = channelid
|
1076
|
+
@Config = config
|
1077
|
+
@ROI = roi
|
1078
|
+
@VideoURLs = videourls
|
1079
|
+
@CustomId = customid
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
def deserialize(params)
|
1083
|
+
@ProductId = params['ProductId']
|
1084
|
+
@DeviceName = params['DeviceName']
|
1085
|
+
@ServiceType = params['ServiceType']
|
1086
|
+
@StartTime = params['StartTime']
|
1087
|
+
@EndTime = params['EndTime']
|
1088
|
+
@ChannelId = params['ChannelId']
|
1089
|
+
@Config = params['Config']
|
1090
|
+
@ROI = params['ROI']
|
1091
|
+
@VideoURLs = params['VideoURLs']
|
1092
|
+
@CustomId = params['CustomId']
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# CreateCloudStorageAIServiceTask返回参数结构体
|
1097
|
+
class CreateCloudStorageAIServiceTaskResponse < TencentCloud::Common::AbstractModel
|
1098
|
+
# @param TaskId: 任务 ID
|
1099
|
+
# @type TaskId: String
|
1100
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1101
|
+
# @type RequestId: String
|
1102
|
+
|
1103
|
+
attr_accessor :TaskId, :RequestId
|
1104
|
+
|
1105
|
+
def initialize(taskid=nil, requestid=nil)
|
1106
|
+
@TaskId = taskid
|
1107
|
+
@RequestId = requestid
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
def deserialize(params)
|
1111
|
+
@TaskId = params['TaskId']
|
1112
|
+
@RequestId = params['RequestId']
|
1113
|
+
end
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
# CreateDeviceChannel请求参数结构体
|
1117
|
+
class CreateDeviceChannelRequest < TencentCloud::Common::AbstractModel
|
1118
|
+
# @param ProductId: 产品ID
|
1119
|
+
# @type ProductId: String
|
1120
|
+
# @param DeviceName: 设备名称
|
1121
|
+
# @type DeviceName: String
|
1122
|
+
# @param ChannelId: 通道ID
|
1123
|
+
# @type ChannelId: Integer
|
1124
|
+
|
1125
|
+
attr_accessor :ProductId, :DeviceName, :ChannelId
|
1126
|
+
|
1127
|
+
def initialize(productid=nil, devicename=nil, channelid=nil)
|
1128
|
+
@ProductId = productid
|
1129
|
+
@DeviceName = devicename
|
1130
|
+
@ChannelId = channelid
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
def deserialize(params)
|
1134
|
+
@ProductId = params['ProductId']
|
1135
|
+
@DeviceName = params['DeviceName']
|
1136
|
+
@ChannelId = params['ChannelId']
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
# CreateDeviceChannel返回参数结构体
|
1141
|
+
class CreateDeviceChannelResponse < TencentCloud::Common::AbstractModel
|
1142
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1143
|
+
# @type RequestId: String
|
1144
|
+
|
1145
|
+
attr_accessor :RequestId
|
1146
|
+
|
1147
|
+
def initialize(requestid=nil)
|
1148
|
+
@RequestId = requestid
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
def deserialize(params)
|
1152
|
+
@RequestId = params['RequestId']
|
1153
|
+
end
|
1154
|
+
end
|
1155
|
+
|
1041
1156
|
# CreateDevice请求参数结构体
|
1042
1157
|
class CreateDeviceRequest < TencentCloud::Common::AbstractModel
|
1043
1158
|
# @param ProductId: 产品ID。
|
@@ -1207,6 +1322,78 @@ module TencentCloud
|
|
1207
1322
|
end
|
1208
1323
|
end
|
1209
1324
|
|
1325
|
+
# CreateFreeCloudStorage请求参数结构体
|
1326
|
+
class CreateFreeCloudStorageRequest < TencentCloud::Common::AbstractModel
|
1327
|
+
# @param ProductId: 产品ID
|
1328
|
+
# @type ProductId: String
|
1329
|
+
# @param DeviceName: 设备名称
|
1330
|
+
# @type DeviceName: String
|
1331
|
+
# @param PackageId: 云存套餐ID:
|
1332
|
+
# lye1w3d:低功耗事件3天周套餐。
|
1333
|
+
# ye1w3d:事件3天周套餐
|
1334
|
+
# @type PackageId: String
|
1335
|
+
# @param Override: 如果当前设备已开启云存套餐,Override=1会使用新套餐覆盖原有套餐。不传此参数则默认为0。
|
1336
|
+
# @type Override: Integer
|
1337
|
+
# @param PackageQueue: 套餐列表顺序:PackageQueue=front会立即使用新购买的套餐,新购套餐结束后,列表中下一个未过期的套餐继续生效;PackageQueue=end会等设备当前所有已购买套餐过期后才会生效新购套餐。与Override参数不能同时使用。
|
1338
|
+
# @type PackageQueue: String
|
1339
|
+
# @param OrderId: 订单id
|
1340
|
+
# @type OrderId: String
|
1341
|
+
# @param ChannelId: 通道ID
|
1342
|
+
# @type ChannelId: Integer
|
1343
|
+
# @param StorageRegion: 云存视频存储区域,国内默认为ap-guangzhou。海外默认为东南亚ap-singapore,可选美东na-ashburn、欧洲eu-frankfurt。
|
1344
|
+
# @type StorageRegion: String
|
1345
|
+
|
1346
|
+
attr_accessor :ProductId, :DeviceName, :PackageId, :Override, :PackageQueue, :OrderId, :ChannelId, :StorageRegion
|
1347
|
+
|
1348
|
+
def initialize(productid=nil, devicename=nil, packageid=nil, override=nil, packagequeue=nil, orderid=nil, channelid=nil, storageregion=nil)
|
1349
|
+
@ProductId = productid
|
1350
|
+
@DeviceName = devicename
|
1351
|
+
@PackageId = packageid
|
1352
|
+
@Override = override
|
1353
|
+
@PackageQueue = packagequeue
|
1354
|
+
@OrderId = orderid
|
1355
|
+
@ChannelId = channelid
|
1356
|
+
@StorageRegion = storageregion
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
def deserialize(params)
|
1360
|
+
@ProductId = params['ProductId']
|
1361
|
+
@DeviceName = params['DeviceName']
|
1362
|
+
@PackageId = params['PackageId']
|
1363
|
+
@Override = params['Override']
|
1364
|
+
@PackageQueue = params['PackageQueue']
|
1365
|
+
@OrderId = params['OrderId']
|
1366
|
+
@ChannelId = params['ChannelId']
|
1367
|
+
@StorageRegion = params['StorageRegion']
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
# CreateFreeCloudStorage返回参数结构体
|
1372
|
+
class CreateFreeCloudStorageResponse < TencentCloud::Common::AbstractModel
|
1373
|
+
# @param Price: 订单金额,单位为分
|
1374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1375
|
+
# @type Price: Integer
|
1376
|
+
# @param Amount: 支付金额,单位为分
|
1377
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1378
|
+
# @type Amount: Integer
|
1379
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1380
|
+
# @type RequestId: String
|
1381
|
+
|
1382
|
+
attr_accessor :Price, :Amount, :RequestId
|
1383
|
+
|
1384
|
+
def initialize(price=nil, amount=nil, requestid=nil)
|
1385
|
+
@Price = price
|
1386
|
+
@Amount = amount
|
1387
|
+
@RequestId = requestid
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
def deserialize(params)
|
1391
|
+
@Price = params['Price']
|
1392
|
+
@Amount = params['Amount']
|
1393
|
+
@RequestId = params['RequestId']
|
1394
|
+
end
|
1395
|
+
end
|
1396
|
+
|
1210
1397
|
# CreateIotVideoCloudStorage请求参数结构体
|
1211
1398
|
class CreateIotVideoCloudStorageRequest < TencentCloud::Common::AbstractModel
|
1212
1399
|
# @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.963
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|