tencentcloud-sdk-iecp 1.0.291 → 1.0.292

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: cb13b68070f6c83513e72ed394639a842b27dd3b
4
- data.tar.gz: d4dd852f7684260259aeeb4d998696d3133087db
3
+ metadata.gz: 49eb334e0bfbd71a1072c3fa9ccd8eee37662467
4
+ data.tar.gz: 5b51cc7cd5dd764ee2199710dbfd967b9878dd94
5
5
  SHA512:
6
- metadata.gz: 1425d2049cb108fbc1dda4c70416fc454f23e2ea1796cb6202a95aac1ad7738b20aa583e131a166044f8493e3fa44fd44b1291db41a02dd66d7bfd4e58eb8a39
7
- data.tar.gz: 5fb05e59f9a7a5039343a5cea1e521849c81af50bdbdeca9dfba0a0a0abb82cf337b6659acbd1e3b68b84847d19f046f7566d108e0a27000b7eb7ad27e14a875
6
+ metadata.gz: b493491bf31f9f64d2bb8a7fe16f326d1dd4c5ae2aef9e90dd0182ac6c6c0a9ae50f9806bdce6abca65fed8d29ff8daa07e3bf3e63b301ef9365b336f24f563c
7
+ data.tar.gz: 350cf98f5535aeb70374be6a05604aeedbd4522ed325ea93e4a6575690a962ae59065074332510514dec822e65d1c4b2cd90d62fc975e6891ed8be074c43cd0c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.291
1
+ 1.0.292
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 建立消息路由
57
+
58
+ # @param request: Request instance for BuildMessageRoute.
59
+ # @type request: :class:`Tencentcloud::iecp::V20210914::BuildMessageRouteRequest`
60
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::BuildMessageRouteResponse`
61
+ def BuildMessageRoute(request)
62
+ body = send_request('BuildMessageRoute', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = BuildMessageRouteResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 创建可视化创建应用模板
57
81
 
58
82
  # @param request: Request instance for CreateApplicationVisualization.
@@ -269,6 +293,78 @@ module TencentCloud
269
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
294
  end
271
295
 
296
+ # 批量绑定设备到单元
297
+
298
+ # @param request: Request instance for CreateEdgeUnitDevices.
299
+ # @type request: :class:`Tencentcloud::iecp::V20210914::CreateEdgeUnitDevicesRequest`
300
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::CreateEdgeUnitDevicesResponse`
301
+ def CreateEdgeUnitDevices(request)
302
+ body = send_request('CreateEdgeUnitDevices', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = CreateEdgeUnitDevicesResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
320
+ # 创建子设备
321
+
322
+ # @param request: Request instance for CreateIotDevice.
323
+ # @type request: :class:`Tencentcloud::iecp::V20210914::CreateIotDeviceRequest`
324
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::CreateIotDeviceResponse`
325
+ def CreateIotDevice(request)
326
+ body = send_request('CreateIotDevice', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = CreateIotDeviceResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
344
+ # 创建消息路由
345
+
346
+ # @param request: Request instance for CreateMessageRoute.
347
+ # @type request: :class:`Tencentcloud::iecp::V20210914::CreateMessageRouteRequest`
348
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::CreateMessageRouteResponse`
349
+ def CreateMessageRoute(request)
350
+ body = send_request('CreateMessageRoute', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = CreateMessageRouteResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
272
368
  # 创建命名空间
273
369
 
274
370
  # @param request: Request instance for CreateNamespace.
@@ -557,6 +653,30 @@ module TencentCloud
557
653
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
558
654
  end
559
655
 
656
+ # 批量解绑单元设备
657
+
658
+ # @param request: Request instance for DeleteEdgeUnitDevices.
659
+ # @type request: :class:`Tencentcloud::iecp::V20210914::DeleteEdgeUnitDevicesRequest`
660
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::DeleteEdgeUnitDevicesResponse`
661
+ def DeleteEdgeUnitDevices(request)
662
+ body = send_request('DeleteEdgeUnitDevices', request.serialize)
663
+ response = JSON.parse(body)
664
+ if response['Response'].key?('Error') == false
665
+ model = DeleteEdgeUnitDevicesResponse.new
666
+ model.deserialize(response['Response'])
667
+ model
668
+ else
669
+ code = response['Response']['Error']['Code']
670
+ message = response['Response']['Error']['Message']
671
+ reqid = response['Response']['RequestId']
672
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
673
+ end
674
+ rescue TencentCloud::Common::TencentCloudSDKException => e
675
+ raise e
676
+ rescue StandardError => e
677
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
+ end
679
+
560
680
  # 删除指定pod
561
681
 
562
682
  # @param request: Request instance for DeleteEdgeUnitPod.
@@ -581,6 +701,30 @@ module TencentCloud
581
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
702
  end
583
703
 
704
+ # 删除设备
705
+
706
+ # @param request: Request instance for DeleteIotDevice.
707
+ # @type request: :class:`Tencentcloud::iecp::V20210914::DeleteIotDeviceRequest`
708
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::DeleteIotDeviceResponse`
709
+ def DeleteIotDevice(request)
710
+ body = send_request('DeleteIotDevice', request.serialize)
711
+ response = JSON.parse(body)
712
+ if response['Response'].key?('Error') == false
713
+ model = DeleteIotDeviceResponse.new
714
+ model.deserialize(response['Response'])
715
+ model
716
+ else
717
+ code = response['Response']['Error']['Code']
718
+ message = response['Response']['Error']['Message']
719
+ reqid = response['Response']['RequestId']
720
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
721
+ end
722
+ rescue TencentCloud::Common::TencentCloudSDKException => e
723
+ raise e
724
+ rescue StandardError => e
725
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
+ end
727
+
584
728
  # 批量删除设备
585
729
 
586
730
  # @param request: Request instance for DeleteIotDeviceBatch.
@@ -605,6 +749,30 @@ module TencentCloud
605
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
750
  end
607
751
 
752
+ # 删除消息路由
753
+
754
+ # @param request: Request instance for DeleteMessageRoute.
755
+ # @type request: :class:`Tencentcloud::iecp::V20210914::DeleteMessageRouteRequest`
756
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::DeleteMessageRouteResponse`
757
+ def DeleteMessageRoute(request)
758
+ body = send_request('DeleteMessageRoute', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = DeleteMessageRouteResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
608
776
  # 删除命名空间
609
777
 
610
778
  # @param request: Request instance for DeleteNamespace.
@@ -1565,6 +1733,78 @@ module TencentCloud
1565
1733
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1566
1734
  end
1567
1735
 
1736
+ # 获取设备信息
1737
+
1738
+ # @param request: Request instance for DescribeIotDevice.
1739
+ # @type request: :class:`Tencentcloud::iecp::V20210914::DescribeIotDeviceRequest`
1740
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::DescribeIotDeviceResponse`
1741
+ def DescribeIotDevice(request)
1742
+ body = send_request('DescribeIotDevice', request.serialize)
1743
+ response = JSON.parse(body)
1744
+ if response['Response'].key?('Error') == false
1745
+ model = DescribeIotDeviceResponse.new
1746
+ model.deserialize(response['Response'])
1747
+ model
1748
+ else
1749
+ code = response['Response']['Error']['Code']
1750
+ message = response['Response']['Error']['Message']
1751
+ reqid = response['Response']['RequestId']
1752
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1753
+ end
1754
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1755
+ raise e
1756
+ rescue StandardError => e
1757
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1758
+ end
1759
+
1760
+ # 获取设备列表信息
1761
+
1762
+ # @param request: Request instance for DescribeIotDevices.
1763
+ # @type request: :class:`Tencentcloud::iecp::V20210914::DescribeIotDevicesRequest`
1764
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::DescribeIotDevicesResponse`
1765
+ def DescribeIotDevices(request)
1766
+ body = send_request('DescribeIotDevices', request.serialize)
1767
+ response = JSON.parse(body)
1768
+ if response['Response'].key?('Error') == false
1769
+ model = DescribeIotDevicesResponse.new
1770
+ model.deserialize(response['Response'])
1771
+ model
1772
+ else
1773
+ code = response['Response']['Error']['Code']
1774
+ message = response['Response']['Error']['Message']
1775
+ reqid = response['Response']['RequestId']
1776
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1777
+ end
1778
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1779
+ raise e
1780
+ rescue StandardError => e
1781
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
+ end
1783
+
1784
+ # 获取消息路由列表
1785
+
1786
+ # @param request: Request instance for DescribeMessageRouteList.
1787
+ # @type request: :class:`Tencentcloud::iecp::V20210914::DescribeMessageRouteListRequest`
1788
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::DescribeMessageRouteListResponse`
1789
+ def DescribeMessageRouteList(request)
1790
+ body = send_request('DescribeMessageRouteList', request.serialize)
1791
+ response = JSON.parse(body)
1792
+ if response['Response'].key?('Error') == false
1793
+ model = DescribeMessageRouteListResponse.new
1794
+ model.deserialize(response['Response'])
1795
+ model
1796
+ else
1797
+ code = response['Response']['Error']['Code']
1798
+ message = response['Response']['Error']['Message']
1799
+ reqid = response['Response']['RequestId']
1800
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1801
+ end
1802
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1803
+ raise e
1804
+ rescue StandardError => e
1805
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1806
+ end
1807
+
1568
1808
  # 查询边缘单元监控数据
1569
1809
 
1570
1810
  # @param request: Request instance for DescribeMonitorMetrics.
@@ -2117,6 +2357,30 @@ module TencentCloud
2117
2357
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2118
2358
  end
2119
2359
 
2360
+ # 修改设备信息
2361
+
2362
+ # @param request: Request instance for ModifyIotDevice.
2363
+ # @type request: :class:`Tencentcloud::iecp::V20210914::ModifyIotDeviceRequest`
2364
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::ModifyIotDeviceResponse`
2365
+ def ModifyIotDevice(request)
2366
+ body = send_request('ModifyIotDevice', request.serialize)
2367
+ response = JSON.parse(body)
2368
+ if response['Response'].key?('Error') == false
2369
+ model = ModifyIotDeviceResponse.new
2370
+ model.deserialize(response['Response'])
2371
+ model
2372
+ else
2373
+ code = response['Response']['Error']['Code']
2374
+ message = response['Response']['Error']['Message']
2375
+ reqid = response['Response']['RequestId']
2376
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2377
+ end
2378
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2379
+ raise e
2380
+ rescue StandardError => e
2381
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2382
+ end
2383
+
2120
2384
  # 修改边缘单元NodeUnit模板
2121
2385
 
2122
2386
  # @param request: Request instance for ModifyNodeUnitTemplate.
@@ -2189,6 +2453,30 @@ module TencentCloud
2189
2453
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2190
2454
  end
2191
2455
 
2456
+ # 开关消息路由
2457
+
2458
+ # @param request: Request instance for SetRouteOnOff.
2459
+ # @type request: :class:`Tencentcloud::iecp::V20210914::SetRouteOnOffRequest`
2460
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::SetRouteOnOffResponse`
2461
+ def SetRouteOnOff(request)
2462
+ body = send_request('SetRouteOnOff', request.serialize)
2463
+ response = JSON.parse(body)
2464
+ if response['Response'].key?('Error') == false
2465
+ model = SetRouteOnOffResponse.new
2466
+ model.deserialize(response['Response'])
2467
+ model
2468
+ else
2469
+ code = response['Response']['Error']['Code']
2470
+ message = response['Response']['Error']['Message']
2471
+ reqid = response['Response']['RequestId']
2472
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2473
+ end
2474
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2475
+ raise e
2476
+ rescue StandardError => e
2477
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2478
+ end
2479
+
2192
2480
 
2193
2481
  end
2194
2482
  end
@@ -277,6 +277,66 @@ module TencentCloud
277
277
  end
278
278
  end
279
279
 
280
+ # BuildMessageRoute请求参数结构体
281
+ class BuildMessageRouteRequest < TencentCloud::Common::AbstractModel
282
+ # @param RouteName: 路由名字
283
+ # @type RouteName: String
284
+ # @param SourceProductID: 源产品id
285
+ # @type SourceProductID: String
286
+ # @param SourceDeviceNameList: 源设备名列表
287
+ # @type SourceDeviceNameList: Array
288
+ # @param TopicFilter: 第一个字符为 "0"或"1","1"表示自定义topic
289
+ # @type TopicFilter: String
290
+ # @param Mode: http或mqtt-broker
291
+ # @type Mode: String
292
+ # @param SourceUnitIDList: 源单元id列表
293
+ # @type SourceUnitIDList: Array
294
+ # @param Descript: 描述
295
+ # @type Descript: String
296
+ # @param TargetOptions: 无
297
+ # @type TargetOptions: String
298
+
299
+ attr_accessor :RouteName, :SourceProductID, :SourceDeviceNameList, :TopicFilter, :Mode, :SourceUnitIDList, :Descript, :TargetOptions
300
+
301
+ def initialize(routename=nil, sourceproductid=nil, sourcedevicenamelist=nil, topicfilter=nil, mode=nil, sourceunitidlist=nil, descript=nil, targetoptions=nil)
302
+ @RouteName = routename
303
+ @SourceProductID = sourceproductid
304
+ @SourceDeviceNameList = sourcedevicenamelist
305
+ @TopicFilter = topicfilter
306
+ @Mode = mode
307
+ @SourceUnitIDList = sourceunitidlist
308
+ @Descript = descript
309
+ @TargetOptions = targetoptions
310
+ end
311
+
312
+ def deserialize(params)
313
+ @RouteName = params['RouteName']
314
+ @SourceProductID = params['SourceProductID']
315
+ @SourceDeviceNameList = params['SourceDeviceNameList']
316
+ @TopicFilter = params['TopicFilter']
317
+ @Mode = params['Mode']
318
+ @SourceUnitIDList = params['SourceUnitIDList']
319
+ @Descript = params['Descript']
320
+ @TargetOptions = params['TargetOptions']
321
+ end
322
+ end
323
+
324
+ # BuildMessageRoute返回参数结构体
325
+ class BuildMessageRouteResponse < TencentCloud::Common::AbstractModel
326
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
327
+ # @type RequestId: String
328
+
329
+ attr_accessor :RequestId
330
+
331
+ def initialize(requestid=nil)
332
+ @RequestId = requestid
333
+ end
334
+
335
+ def deserialize(params)
336
+ @RequestId = params['RequestId']
337
+ end
338
+ end
339
+
280
340
  # ConfigMap基本信息
281
341
  class ConfigMapBasicInfo < TencentCloud::Common::AbstractModel
282
342
  # @param Name: 名称
@@ -1032,6 +1092,130 @@ module TencentCloud
1032
1092
  end
1033
1093
  end
1034
1094
 
1095
+ # CreateEdgeUnitDevices请求参数结构体
1096
+ class CreateEdgeUnitDevicesRequest < TencentCloud::Common::AbstractModel
1097
+ # @param EdgeUnitId: 无
1098
+ # @type EdgeUnitId: Integer
1099
+ # @param ProductId: 无
1100
+ # @type ProductId: String
1101
+ # @param DeviceNames: 无
1102
+ # @type DeviceNames: Array
1103
+
1104
+ attr_accessor :EdgeUnitId, :ProductId, :DeviceNames
1105
+
1106
+ def initialize(edgeunitid=nil, productid=nil, devicenames=nil)
1107
+ @EdgeUnitId = edgeunitid
1108
+ @ProductId = productid
1109
+ @DeviceNames = devicenames
1110
+ end
1111
+
1112
+ def deserialize(params)
1113
+ @EdgeUnitId = params['EdgeUnitId']
1114
+ @ProductId = params['ProductId']
1115
+ @DeviceNames = params['DeviceNames']
1116
+ end
1117
+ end
1118
+
1119
+ # CreateEdgeUnitDevices返回参数结构体
1120
+ class CreateEdgeUnitDevicesResponse < TencentCloud::Common::AbstractModel
1121
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1122
+ # @type RequestId: String
1123
+
1124
+ attr_accessor :RequestId
1125
+
1126
+ def initialize(requestid=nil)
1127
+ @RequestId = requestid
1128
+ end
1129
+
1130
+ def deserialize(params)
1131
+ @RequestId = params['RequestId']
1132
+ end
1133
+ end
1134
+
1135
+ # CreateIotDevice请求参数结构体
1136
+ class CreateIotDeviceRequest < TencentCloud::Common::AbstractModel
1137
+ # @param DeviceName: 设备名称
1138
+ # @type DeviceName: String
1139
+ # @param ProductId: 设备所属的产品id
1140
+ # @type ProductId: String
1141
+ # @param Description: 描述
1142
+ # @type Description: String
1143
+ # @param UnitID: 无
1144
+ # @type UnitID: Integer
1145
+
1146
+ attr_accessor :DeviceName, :ProductId, :Description, :UnitID
1147
+
1148
+ def initialize(devicename=nil, productid=nil, description=nil, unitid=nil)
1149
+ @DeviceName = devicename
1150
+ @ProductId = productid
1151
+ @Description = description
1152
+ @UnitID = unitid
1153
+ end
1154
+
1155
+ def deserialize(params)
1156
+ @DeviceName = params['DeviceName']
1157
+ @ProductId = params['ProductId']
1158
+ @Description = params['Description']
1159
+ @UnitID = params['UnitID']
1160
+ end
1161
+ end
1162
+
1163
+ # CreateIotDevice返回参数结构体
1164
+ class CreateIotDeviceResponse < TencentCloud::Common::AbstractModel
1165
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1166
+ # @type RequestId: String
1167
+
1168
+ attr_accessor :RequestId
1169
+
1170
+ def initialize(requestid=nil)
1171
+ @RequestId = requestid
1172
+ end
1173
+
1174
+ def deserialize(params)
1175
+ @RequestId = params['RequestId']
1176
+ end
1177
+ end
1178
+
1179
+ # CreateMessageRoute请求参数结构体
1180
+ class CreateMessageRouteRequest < TencentCloud::Common::AbstractModel
1181
+ # @param RouteName: 路由名称
1182
+ # @type RouteName: String
1183
+ # @param Descript: 路由备注
1184
+ # @type Descript: String
1185
+
1186
+ attr_accessor :RouteName, :Descript
1187
+
1188
+ def initialize(routename=nil, descript=nil)
1189
+ @RouteName = routename
1190
+ @Descript = descript
1191
+ end
1192
+
1193
+ def deserialize(params)
1194
+ @RouteName = params['RouteName']
1195
+ @Descript = params['Descript']
1196
+ end
1197
+ end
1198
+
1199
+ # CreateMessageRoute返回参数结构体
1200
+ class CreateMessageRouteResponse < TencentCloud::Common::AbstractModel
1201
+ # @param RouteID: 路由id
1202
+ # @type RouteID: Integer
1203
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1204
+ # @type RequestId: String
1205
+
1206
+ attr_accessor :RouteID, :RequestId
1207
+
1208
+ def initialize(routeid=nil, requestid=nil)
1209
+ @RouteID = routeid
1210
+ @RequestId = requestid
1211
+ end
1212
+
1213
+ def deserialize(params)
1214
+ @RouteID = params['RouteID']
1215
+ @RequestId = params['RequestId']
1216
+ end
1217
+ end
1218
+
1035
1219
  # CreateNamespace请求参数结构体
1036
1220
  class CreateNamespaceRequest < TencentCloud::Common::AbstractModel
1037
1221
  # @param EdgeUnitID: 单元ID
@@ -1553,6 +1737,69 @@ module TencentCloud
1553
1737
  end
1554
1738
  end
1555
1739
 
1740
+ # 从单元批量解绑设备
1741
+ class DeleteEdgeUnitDevicesDevice < TencentCloud::Common::AbstractModel
1742
+ # @param ProductId: 无
1743
+ # @type ProductId: String
1744
+ # @param DeviceName: 无
1745
+ # @type DeviceName: String
1746
+
1747
+ attr_accessor :ProductId, :DeviceName
1748
+
1749
+ def initialize(productid=nil, devicename=nil)
1750
+ @ProductId = productid
1751
+ @DeviceName = devicename
1752
+ end
1753
+
1754
+ def deserialize(params)
1755
+ @ProductId = params['ProductId']
1756
+ @DeviceName = params['DeviceName']
1757
+ end
1758
+ end
1759
+
1760
+ # DeleteEdgeUnitDevices请求参数结构体
1761
+ class DeleteEdgeUnitDevicesRequest < TencentCloud::Common::AbstractModel
1762
+ # @param EdgeUnitId: 无
1763
+ # @type EdgeUnitId: Integer
1764
+ # @param Devices: 无
1765
+ # @type Devices: Array
1766
+
1767
+ attr_accessor :EdgeUnitId, :Devices
1768
+
1769
+ def initialize(edgeunitid=nil, devices=nil)
1770
+ @EdgeUnitId = edgeunitid
1771
+ @Devices = devices
1772
+ end
1773
+
1774
+ def deserialize(params)
1775
+ @EdgeUnitId = params['EdgeUnitId']
1776
+ unless params['Devices'].nil?
1777
+ @Devices = []
1778
+ params['Devices'].each do |i|
1779
+ deleteedgeunitdevicesdevice_tmp = DeleteEdgeUnitDevicesDevice.new
1780
+ deleteedgeunitdevicesdevice_tmp.deserialize(i)
1781
+ @Devices << deleteedgeunitdevicesdevice_tmp
1782
+ end
1783
+ end
1784
+ end
1785
+ end
1786
+
1787
+ # DeleteEdgeUnitDevices返回参数结构体
1788
+ class DeleteEdgeUnitDevicesResponse < TencentCloud::Common::AbstractModel
1789
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1790
+ # @type RequestId: String
1791
+
1792
+ attr_accessor :RequestId
1793
+
1794
+ def initialize(requestid=nil)
1795
+ @RequestId = requestid
1796
+ end
1797
+
1798
+ def deserialize(params)
1799
+ @RequestId = params['RequestId']
1800
+ end
1801
+ end
1802
+
1556
1803
  # DeleteEdgeUnitPod请求参数结构体
1557
1804
  class DeleteEdgeUnitPodRequest < TencentCloud::Common::AbstractModel
1558
1805
  # @param ClusterID: 集群ID
@@ -1625,6 +1872,70 @@ module TencentCloud
1625
1872
  end
1626
1873
  end
1627
1874
 
1875
+ # DeleteIotDevice请求参数结构体
1876
+ class DeleteIotDeviceRequest < TencentCloud::Common::AbstractModel
1877
+ # @param DeviceId: 设备id
1878
+ # @type DeviceId: Integer
1879
+
1880
+ attr_accessor :DeviceId
1881
+
1882
+ def initialize(deviceid=nil)
1883
+ @DeviceId = deviceid
1884
+ end
1885
+
1886
+ def deserialize(params)
1887
+ @DeviceId = params['DeviceId']
1888
+ end
1889
+ end
1890
+
1891
+ # DeleteIotDevice返回参数结构体
1892
+ class DeleteIotDeviceResponse < TencentCloud::Common::AbstractModel
1893
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1894
+ # @type RequestId: String
1895
+
1896
+ attr_accessor :RequestId
1897
+
1898
+ def initialize(requestid=nil)
1899
+ @RequestId = requestid
1900
+ end
1901
+
1902
+ def deserialize(params)
1903
+ @RequestId = params['RequestId']
1904
+ end
1905
+ end
1906
+
1907
+ # DeleteMessageRoute请求参数结构体
1908
+ class DeleteMessageRouteRequest < TencentCloud::Common::AbstractModel
1909
+ # @param RouteID: 无
1910
+ # @type RouteID: Integer
1911
+
1912
+ attr_accessor :RouteID
1913
+
1914
+ def initialize(routeid=nil)
1915
+ @RouteID = routeid
1916
+ end
1917
+
1918
+ def deserialize(params)
1919
+ @RouteID = params['RouteID']
1920
+ end
1921
+ end
1922
+
1923
+ # DeleteMessageRoute返回参数结构体
1924
+ class DeleteMessageRouteResponse < TencentCloud::Common::AbstractModel
1925
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1926
+ # @type RequestId: String
1927
+
1928
+ attr_accessor :RequestId
1929
+
1930
+ def initialize(requestid=nil)
1931
+ @RequestId = requestid
1932
+ end
1933
+
1934
+ def deserialize(params)
1935
+ @RequestId = params['RequestId']
1936
+ end
1937
+ end
1938
+
1628
1939
  # DeleteNamespace请求参数结构体
1629
1940
  class DeleteNamespaceRequest < TencentCloud::Common::AbstractModel
1630
1941
  # @param EdgeUnitID: 单元ID
@@ -4090,6 +4401,252 @@ module TencentCloud
4090
4401
  end
4091
4402
  end
4092
4403
 
4404
+ # DescribeIotDevice请求参数结构体
4405
+ class DescribeIotDeviceRequest < TencentCloud::Common::AbstractModel
4406
+ # @param DeviceId: 设备id,传0值表示此参数无效
4407
+ # @type DeviceId: Integer
4408
+ # @param ProductID: 无
4409
+ # @type ProductID: String
4410
+ # @param DeviceName: 无
4411
+ # @type DeviceName: String
4412
+
4413
+ attr_accessor :DeviceId, :ProductID, :DeviceName
4414
+
4415
+ def initialize(deviceid=nil, productid=nil, devicename=nil)
4416
+ @DeviceId = deviceid
4417
+ @ProductID = productid
4418
+ @DeviceName = devicename
4419
+ end
4420
+
4421
+ def deserialize(params)
4422
+ @DeviceId = params['DeviceId']
4423
+ @ProductID = params['ProductID']
4424
+ @DeviceName = params['DeviceName']
4425
+ end
4426
+ end
4427
+
4428
+ # DescribeIotDevice返回参数结构体
4429
+ class DescribeIotDeviceResponse < TencentCloud::Common::AbstractModel
4430
+ # @param Id: 设备id
4431
+ # @type Id: Integer
4432
+ # @param Name: 设备名称
4433
+ # @type Name: String
4434
+ # @param Version: 版本号
4435
+ # @type Version: String
4436
+ # @param Cert: ssl证书
4437
+ # @type Cert: String
4438
+ # @param PrivateKey: ssl私钥
4439
+ # @type PrivateKey: String
4440
+ # @param Psk: psk认证密钥
4441
+ # @type Psk: String
4442
+ # @param Disabled: 设备是否打开
4443
+ # @type Disabled: Boolean
4444
+ # @param LogSetting: 设备日志
4445
+ # @type LogSetting: Integer
4446
+ # @param LogLevel: 设备日志级别
4447
+ # @type LogLevel: Integer
4448
+ # @param UserName: mqtt参数
4449
+ # @type UserName: String
4450
+ # @param Password: mqtt参数
4451
+ # @type Password: String
4452
+ # @param ClientID: mqtt参数
4453
+ # @type ClientID: String
4454
+ # @param PskHex: 16进制的psk格式
4455
+ # @type PskHex: String
4456
+ # @param Description: 描述
4457
+ # @type Description: String
4458
+ # @param Status: 设备在线状态
4459
+ # @type Status: Integer
4460
+ # @param Region: 无
4461
+ # @type Region: String
4462
+ # @param UnitID: 无
4463
+ # @type UnitID: Integer
4464
+ # @param UnitName: 无
4465
+ # @type UnitName: String
4466
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4467
+ # @type RequestId: String
4468
+
4469
+ attr_accessor :Id, :Name, :Version, :Cert, :PrivateKey, :Psk, :Disabled, :LogSetting, :LogLevel, :UserName, :Password, :ClientID, :PskHex, :Description, :Status, :Region, :UnitID, :UnitName, :RequestId
4470
+
4471
+ def initialize(id=nil, name=nil, version=nil, cert=nil, privatekey=nil, psk=nil, disabled=nil, logsetting=nil, loglevel=nil, username=nil, password=nil, clientid=nil, pskhex=nil, description=nil, status=nil, region=nil, unitid=nil, unitname=nil, requestid=nil)
4472
+ @Id = id
4473
+ @Name = name
4474
+ @Version = version
4475
+ @Cert = cert
4476
+ @PrivateKey = privatekey
4477
+ @Psk = psk
4478
+ @Disabled = disabled
4479
+ @LogSetting = logsetting
4480
+ @LogLevel = loglevel
4481
+ @UserName = username
4482
+ @Password = password
4483
+ @ClientID = clientid
4484
+ @PskHex = pskhex
4485
+ @Description = description
4486
+ @Status = status
4487
+ @Region = region
4488
+ @UnitID = unitid
4489
+ @UnitName = unitname
4490
+ @RequestId = requestid
4491
+ end
4492
+
4493
+ def deserialize(params)
4494
+ @Id = params['Id']
4495
+ @Name = params['Name']
4496
+ @Version = params['Version']
4497
+ @Cert = params['Cert']
4498
+ @PrivateKey = params['PrivateKey']
4499
+ @Psk = params['Psk']
4500
+ @Disabled = params['Disabled']
4501
+ @LogSetting = params['LogSetting']
4502
+ @LogLevel = params['LogLevel']
4503
+ @UserName = params['UserName']
4504
+ @Password = params['Password']
4505
+ @ClientID = params['ClientID']
4506
+ @PskHex = params['PskHex']
4507
+ @Description = params['Description']
4508
+ @Status = params['Status']
4509
+ @Region = params['Region']
4510
+ @UnitID = params['UnitID']
4511
+ @UnitName = params['UnitName']
4512
+ @RequestId = params['RequestId']
4513
+ end
4514
+ end
4515
+
4516
+ # DescribeIotDevices请求参数结构体
4517
+ class DescribeIotDevicesRequest < TencentCloud::Common::AbstractModel
4518
+ # @param Offset: 页偏移
4519
+ # @type Offset: Integer
4520
+ # @param Limit: 每页数量
4521
+ # @type Limit: Integer
4522
+ # @param ProductId: 产品id
4523
+ # @type ProductId: String
4524
+ # @param NamePattern: 设备名称模糊查找
4525
+ # @type NamePattern: String
4526
+ # @param Versions: 版本列表
4527
+ # @type Versions: Array
4528
+ # @param Order: ASC 或 DESC
4529
+ # @type Order: String
4530
+
4531
+ attr_accessor :Offset, :Limit, :ProductId, :NamePattern, :Versions, :Order
4532
+
4533
+ def initialize(offset=nil, limit=nil, productid=nil, namepattern=nil, versions=nil, order=nil)
4534
+ @Offset = offset
4535
+ @Limit = limit
4536
+ @ProductId = productid
4537
+ @NamePattern = namepattern
4538
+ @Versions = versions
4539
+ @Order = order
4540
+ end
4541
+
4542
+ def deserialize(params)
4543
+ @Offset = params['Offset']
4544
+ @Limit = params['Limit']
4545
+ @ProductId = params['ProductId']
4546
+ @NamePattern = params['NamePattern']
4547
+ @Versions = params['Versions']
4548
+ @Order = params['Order']
4549
+ end
4550
+ end
4551
+
4552
+ # DescribeIotDevices返回参数结构体
4553
+ class DescribeIotDevicesResponse < TencentCloud::Common::AbstractModel
4554
+ # @param TotalCount: 符合查找条件的总数量
4555
+ # @type TotalCount: Integer
4556
+ # @param DeviceSet: 设备列表
4557
+ # @type DeviceSet: Array
4558
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4559
+ # @type RequestId: String
4560
+
4561
+ attr_accessor :TotalCount, :DeviceSet, :RequestId
4562
+
4563
+ def initialize(totalcount=nil, deviceset=nil, requestid=nil)
4564
+ @TotalCount = totalcount
4565
+ @DeviceSet = deviceset
4566
+ @RequestId = requestid
4567
+ end
4568
+
4569
+ def deserialize(params)
4570
+ @TotalCount = params['TotalCount']
4571
+ unless params['DeviceSet'].nil?
4572
+ @DeviceSet = []
4573
+ params['DeviceSet'].each do |i|
4574
+ iotdevicesinfo_tmp = IotDevicesInfo.new
4575
+ iotdevicesinfo_tmp.deserialize(i)
4576
+ @DeviceSet << iotdevicesinfo_tmp
4577
+ end
4578
+ end
4579
+ @RequestId = params['RequestId']
4580
+ end
4581
+ end
4582
+
4583
+ # DescribeMessageRouteList请求参数结构体
4584
+ class DescribeMessageRouteListRequest < TencentCloud::Common::AbstractModel
4585
+ # @param Limit: 无
4586
+ # @type Limit: Integer
4587
+ # @param Offset: 无
4588
+ # @type Offset: Integer
4589
+ # @param Filter: 无
4590
+ # @type Filter: String
4591
+ # @param StartTime: 无
4592
+ # @type StartTime: String
4593
+ # @param EndTime: 无
4594
+ # @type EndTime: String
4595
+ # @param Order: 无
4596
+ # @type Order: String
4597
+
4598
+ attr_accessor :Limit, :Offset, :Filter, :StartTime, :EndTime, :Order
4599
+
4600
+ def initialize(limit=nil, offset=nil, filter=nil, starttime=nil, endtime=nil, order=nil)
4601
+ @Limit = limit
4602
+ @Offset = offset
4603
+ @Filter = filter
4604
+ @StartTime = starttime
4605
+ @EndTime = endtime
4606
+ @Order = order
4607
+ end
4608
+
4609
+ def deserialize(params)
4610
+ @Limit = params['Limit']
4611
+ @Offset = params['Offset']
4612
+ @Filter = params['Filter']
4613
+ @StartTime = params['StartTime']
4614
+ @EndTime = params['EndTime']
4615
+ @Order = params['Order']
4616
+ end
4617
+ end
4618
+
4619
+ # DescribeMessageRouteList返回参数结构体
4620
+ class DescribeMessageRouteListResponse < TencentCloud::Common::AbstractModel
4621
+ # @param RouteList: 无
4622
+ # @type RouteList: Array
4623
+ # @param TotalCount: 无
4624
+ # @type TotalCount: Integer
4625
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4626
+ # @type RequestId: String
4627
+
4628
+ attr_accessor :RouteList, :TotalCount, :RequestId
4629
+
4630
+ def initialize(routelist=nil, totalcount=nil, requestid=nil)
4631
+ @RouteList = routelist
4632
+ @TotalCount = totalcount
4633
+ @RequestId = requestid
4634
+ end
4635
+
4636
+ def deserialize(params)
4637
+ unless params['RouteList'].nil?
4638
+ @RouteList = []
4639
+ params['RouteList'].each do |i|
4640
+ routeinfo_tmp = RouteInfo.new
4641
+ routeinfo_tmp.deserialize(i)
4642
+ @RouteList << routeinfo_tmp
4643
+ end
4644
+ end
4645
+ @TotalCount = params['TotalCount']
4646
+ @RequestId = params['RequestId']
4647
+ end
4648
+ end
4649
+
4093
4650
  # DescribeMonitorMetrics请求参数结构体
4094
4651
  class DescribeMonitorMetricsRequest < TencentCloud::Common::AbstractModel
4095
4652
  # @param EdgeUnitId: IECP边缘单元ID
@@ -5768,6 +6325,66 @@ module TencentCloud
5768
6325
  end
5769
6326
  end
5770
6327
 
6328
+ # 子设备列表信息
6329
+ class IotDevicesInfo < TencentCloud::Common::AbstractModel
6330
+ # @param Id: 设备id
6331
+ # @type Id: Integer
6332
+ # @param Name: 设备名称
6333
+ # @type Name: String
6334
+ # @param Status: 设备状态
6335
+ # @type Status: Integer
6336
+ # @param Disabled: 设备打开状态
6337
+ # @type Disabled: Boolean
6338
+ # @param Description: 描述
6339
+ # @type Description: String
6340
+ # @param CreateTime: 设备创建时间
6341
+ # @type CreateTime: String
6342
+ # @param LastOnlineTime: 最后在线时间
6343
+ # @type LastOnlineTime: String
6344
+ # @param IsBound: 设备是否绑定到节点
6345
+ # @type IsBound: Boolean
6346
+ # @param Version: 设备版本
6347
+ # @type Version: String
6348
+ # @param Region: 无
6349
+ # @type Region: String
6350
+ # @param UnitID: 无
6351
+ # @type UnitID: Integer
6352
+ # @param UnitName: 无
6353
+ # @type UnitName: String
6354
+
6355
+ attr_accessor :Id, :Name, :Status, :Disabled, :Description, :CreateTime, :LastOnlineTime, :IsBound, :Version, :Region, :UnitID, :UnitName
6356
+
6357
+ def initialize(id=nil, name=nil, status=nil, disabled=nil, description=nil, createtime=nil, lastonlinetime=nil, isbound=nil, version=nil, region=nil, unitid=nil, unitname=nil)
6358
+ @Id = id
6359
+ @Name = name
6360
+ @Status = status
6361
+ @Disabled = disabled
6362
+ @Description = description
6363
+ @CreateTime = createtime
6364
+ @LastOnlineTime = lastonlinetime
6365
+ @IsBound = isbound
6366
+ @Version = version
6367
+ @Region = region
6368
+ @UnitID = unitid
6369
+ @UnitName = unitname
6370
+ end
6371
+
6372
+ def deserialize(params)
6373
+ @Id = params['Id']
6374
+ @Name = params['Name']
6375
+ @Status = params['Status']
6376
+ @Disabled = params['Disabled']
6377
+ @Description = params['Description']
6378
+ @CreateTime = params['CreateTime']
6379
+ @LastOnlineTime = params['LastOnlineTime']
6380
+ @IsBound = params['IsBound']
6381
+ @Version = params['Version']
6382
+ @Region = params['Region']
6383
+ @UnitID = params['UnitID']
6384
+ @UnitName = params['UnitName']
6385
+ end
6386
+ end
6387
+
5771
6388
  # Job配置
5772
6389
  class Job < TencentCloud::Common::AbstractModel
5773
6390
  # @param Parallelism: 并发数
@@ -6511,6 +7128,54 @@ module TencentCloud
6511
7128
  end
6512
7129
  end
6513
7130
 
7131
+ # ModifyIotDevice请求参数结构体
7132
+ class ModifyIotDeviceRequest < TencentCloud::Common::AbstractModel
7133
+ # @param DeviceId: 设备id
7134
+ # @type DeviceId: Integer
7135
+ # @param Description: 描述
7136
+ # @type Description: String
7137
+ # @param Disabled: 设备是否开启
7138
+ # @type Disabled: Boolean
7139
+ # @param LogSetting: 日志设置
7140
+ # @type LogSetting: Integer
7141
+ # @param LogLevel: 日志级别
7142
+ # @type LogLevel: Integer
7143
+
7144
+ attr_accessor :DeviceId, :Description, :Disabled, :LogSetting, :LogLevel
7145
+
7146
+ def initialize(deviceid=nil, description=nil, disabled=nil, logsetting=nil, loglevel=nil)
7147
+ @DeviceId = deviceid
7148
+ @Description = description
7149
+ @Disabled = disabled
7150
+ @LogSetting = logsetting
7151
+ @LogLevel = loglevel
7152
+ end
7153
+
7154
+ def deserialize(params)
7155
+ @DeviceId = params['DeviceId']
7156
+ @Description = params['Description']
7157
+ @Disabled = params['Disabled']
7158
+ @LogSetting = params['LogSetting']
7159
+ @LogLevel = params['LogLevel']
7160
+ end
7161
+ end
7162
+
7163
+ # ModifyIotDevice返回参数结构体
7164
+ class ModifyIotDeviceResponse < TencentCloud::Common::AbstractModel
7165
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7166
+ # @type RequestId: String
7167
+
7168
+ attr_accessor :RequestId
7169
+
7170
+ def initialize(requestid=nil)
7171
+ @RequestId = requestid
7172
+ end
7173
+
7174
+ def deserialize(params)
7175
+ @RequestId = params['RequestId']
7176
+ end
7177
+ end
7178
+
6514
7179
  # ModifyNodeUnitTemplate请求参数结构体
6515
7180
  class ModifyNodeUnitTemplateRequest < TencentCloud::Common::AbstractModel
6516
7181
  # @param EdgeUnitId: IECP边缘单元ID
@@ -7196,6 +7861,82 @@ module TencentCloud
7196
7861
  end
7197
7862
  end
7198
7863
 
7864
+ # 消息路由
7865
+ class RouteInfo < TencentCloud::Common::AbstractModel
7866
+ # @param RouteID: 无
7867
+ # @type RouteID: Integer
7868
+ # @param RouteName: 无
7869
+ # @type RouteName: String
7870
+ # @param SourceProductID: 无
7871
+ # @type SourceProductID: String
7872
+ # @param TopicFilter: 无
7873
+ # @type TopicFilter: String
7874
+ # @param Mode: 无
7875
+ # @type Mode: String
7876
+ # @param TargetOptions: 无
7877
+ # @type TargetOptions: String
7878
+ # @param CreateTime: 无
7879
+ # @type CreateTime: String
7880
+ # @param Descript: 无
7881
+ # @type Descript: String
7882
+ # @param Healthy: 无
7883
+ # @type Healthy: String
7884
+ # @param Status: 无
7885
+ # @type Status: String
7886
+ # @param MessageCount: 无
7887
+ # @type MessageCount: Integer
7888
+ # @param MessageLastTime: 无
7889
+ # @type MessageLastTime: String
7890
+ # @param SourceProductName: 无
7891
+ # @type SourceProductName: String
7892
+ # @param SourceUnitIDList: 无
7893
+ # @type SourceUnitIDList: Array
7894
+ # @param SourceUnitNameList: 无
7895
+ # @type SourceUnitNameList: Array
7896
+ # @param SourceDeviceNameList: 无
7897
+ # @type SourceDeviceNameList: Array
7898
+
7899
+ attr_accessor :RouteID, :RouteName, :SourceProductID, :TopicFilter, :Mode, :TargetOptions, :CreateTime, :Descript, :Healthy, :Status, :MessageCount, :MessageLastTime, :SourceProductName, :SourceUnitIDList, :SourceUnitNameList, :SourceDeviceNameList
7900
+
7901
+ def initialize(routeid=nil, routename=nil, sourceproductid=nil, topicfilter=nil, mode=nil, targetoptions=nil, createtime=nil, descript=nil, healthy=nil, status=nil, messagecount=nil, messagelasttime=nil, sourceproductname=nil, sourceunitidlist=nil, sourceunitnamelist=nil, sourcedevicenamelist=nil)
7902
+ @RouteID = routeid
7903
+ @RouteName = routename
7904
+ @SourceProductID = sourceproductid
7905
+ @TopicFilter = topicfilter
7906
+ @Mode = mode
7907
+ @TargetOptions = targetoptions
7908
+ @CreateTime = createtime
7909
+ @Descript = descript
7910
+ @Healthy = healthy
7911
+ @Status = status
7912
+ @MessageCount = messagecount
7913
+ @MessageLastTime = messagelasttime
7914
+ @SourceProductName = sourceproductname
7915
+ @SourceUnitIDList = sourceunitidlist
7916
+ @SourceUnitNameList = sourceunitnamelist
7917
+ @SourceDeviceNameList = sourcedevicenamelist
7918
+ end
7919
+
7920
+ def deserialize(params)
7921
+ @RouteID = params['RouteID']
7922
+ @RouteName = params['RouteName']
7923
+ @SourceProductID = params['SourceProductID']
7924
+ @TopicFilter = params['TopicFilter']
7925
+ @Mode = params['Mode']
7926
+ @TargetOptions = params['TargetOptions']
7927
+ @CreateTime = params['CreateTime']
7928
+ @Descript = params['Descript']
7929
+ @Healthy = params['Healthy']
7930
+ @Status = params['Status']
7931
+ @MessageCount = params['MessageCount']
7932
+ @MessageLastTime = params['MessageLastTime']
7933
+ @SourceProductName = params['SourceProductName']
7934
+ @SourceUnitIDList = params['SourceUnitIDList']
7935
+ @SourceUnitNameList = params['SourceUnitNameList']
7936
+ @SourceDeviceNameList = params['SourceDeviceNameList']
7937
+ end
7938
+ end
7939
+
7199
7940
  # Secret信息
7200
7941
  class SecretItem < TencentCloud::Common::AbstractModel
7201
7942
  # @param Name: Secret名
@@ -7327,6 +8068,42 @@ module TencentCloud
7327
8068
  end
7328
8069
  end
7329
8070
 
8071
+ # SetRouteOnOff请求参数结构体
8072
+ class SetRouteOnOffRequest < TencentCloud::Common::AbstractModel
8073
+ # @param RouteID: 无
8074
+ # @type RouteID: Integer
8075
+ # @param Status: on 或 off
8076
+ # @type Status: String
8077
+
8078
+ attr_accessor :RouteID, :Status
8079
+
8080
+ def initialize(routeid=nil, status=nil)
8081
+ @RouteID = routeid
8082
+ @Status = status
8083
+ end
8084
+
8085
+ def deserialize(params)
8086
+ @RouteID = params['RouteID']
8087
+ @Status = params['Status']
8088
+ end
8089
+ end
8090
+
8091
+ # SetRouteOnOff返回参数结构体
8092
+ class SetRouteOnOffResponse < TencentCloud::Common::AbstractModel
8093
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8094
+ # @type RequestId: String
8095
+
8096
+ attr_accessor :RequestId
8097
+
8098
+ def initialize(requestid=nil)
8099
+ @RequestId = requestid
8100
+ end
8101
+
8102
+ def deserialize(params)
8103
+ @RequestId = params['RequestId']
8104
+ end
8105
+ end
8106
+
7330
8107
  # 查询结果排序条件
7331
8108
  class Sort < TencentCloud::Common::AbstractModel
7332
8109
  # @param Field: 排序字段
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iecp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.291
4
+ version: 1.0.292
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-04-07 00:00:00.000000000 Z
11
+ date: 2022-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common