tencentcloud-sdk-mna 3.0.770 → 3.0.772

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210119/models.rb +80 -19
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4eab886828260fd378e3d3ecf38d3102f4e1358
4
- data.tar.gz: 55676e4c57d8291873c3ba2b2deffbc8e4650247
3
+ metadata.gz: 187d25027f94a3781b52d7c9eaa378ca31adb5ff
4
+ data.tar.gz: 91128d65460b180ef36d9fe929a55e3d3990699f
5
5
  SHA512:
6
- metadata.gz: 2bc2e4a0847ef71ea35e3b018a03f0eb347a46abf45e39a7645baab648f32fa4b722a5009dcdabfd0c9e6b575a1c7decbb80e5478c8c0558a71031196e027374
7
- data.tar.gz: dbcf4641e7715c0c98af9066749a8cff309dff9b1c3da41f2bf8aad6f3c558b3b95e691a613c3038881eb72eb0208663037fabb2464f56f737f94c5f32b3873a
6
+ metadata.gz: 4f52609b2902e6f5eb783aa082a79f5e489896efb6efc243c9ac2554e7f504378c3cd8102f9ab2a94fab97cf887f5a975beaeae9b60ada5d1d8bfd9157729de2
7
+ data.tar.gz: 715e1078c9184e6366226f335632373b576a5eb4736d78bf4c112d07b0dab72294cdf066b29d9ffd5db2aaa5c92ca22755eb9e618624c8e57669434679563704
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.770
1
+ 3.0.772
@@ -32,15 +32,18 @@ module TencentCloud
32
32
  # @type Description: String
33
33
  # @param DataKey: 设备密钥
34
34
  # @type DataKey: String
35
+ # @param AccessScope: 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。不填默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
36
+ # @type AccessScope: Integer
35
37
 
36
- attr_accessor :Vendor, :SN, :DeviceName, :Description, :DataKey
38
+ attr_accessor :Vendor, :SN, :DeviceName, :Description, :DataKey, :AccessScope
37
39
 
38
- def initialize(vendor=nil, sn=nil, devicename=nil, description=nil, datakey=nil)
40
+ def initialize(vendor=nil, sn=nil, devicename=nil, description=nil, datakey=nil, accessscope=nil)
39
41
  @Vendor = vendor
40
42
  @SN = sn
41
43
  @DeviceName = devicename
42
44
  @Description = description
43
45
  @DataKey = datakey
46
+ @AccessScope = accessscope
44
47
  end
45
48
 
46
49
  def deserialize(params)
@@ -49,6 +52,7 @@ module TencentCloud
49
52
  @DeviceName = params['DeviceName']
50
53
  @Description = params['Description']
51
54
  @DataKey = params['DataKey']
55
+ @AccessScope = params['AccessScope']
52
56
  end
53
57
  end
54
58
 
@@ -113,14 +117,21 @@ module TencentCloud
113
117
  # @type DataKey: String
114
118
  # @param Encrypted: 是否设置预置密钥
115
119
  # @type Encrypted: Boolean
120
+ # @param AccessScope: 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。不填默认公有云网关。
121
+ # 具体含义:
122
+ # 公有云网关:即该设备只能接入公有云网关(就近接入)
123
+ # 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入)
124
+ # 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
125
+ # @type AccessScope: Integer
116
126
 
117
- attr_accessor :DeviceName, :Remark, :DataKey, :Encrypted
127
+ attr_accessor :DeviceName, :Remark, :DataKey, :Encrypted, :AccessScope
118
128
 
119
- def initialize(devicename=nil, remark=nil, datakey=nil, encrypted=nil)
129
+ def initialize(devicename=nil, remark=nil, datakey=nil, encrypted=nil, accessscope=nil)
120
130
  @DeviceName = devicename
121
131
  @Remark = remark
122
132
  @DataKey = datakey
123
133
  @Encrypted = encrypted
134
+ @AccessScope = accessscope
124
135
  end
125
136
 
126
137
  def deserialize(params)
@@ -128,6 +139,7 @@ module TencentCloud
128
139
  @Remark = params['Remark']
129
140
  @DataKey = params['DataKey']
130
141
  @Encrypted = params['Encrypted']
142
+ @AccessScope = params['AccessScope']
131
143
  end
132
144
  end
133
145
 
@@ -554,15 +566,18 @@ module TencentCloud
554
566
  # @type LastTime: String
555
567
  # @param Remark: 设备的备注
556
568
  # @type Remark: String
569
+ # @param AccessScope: 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
570
+ # @type AccessScope: Integer
557
571
 
558
- attr_accessor :DeviceId, :DeviceName, :CreateTime, :LastTime, :Remark
572
+ attr_accessor :DeviceId, :DeviceName, :CreateTime, :LastTime, :Remark, :AccessScope
559
573
 
560
- def initialize(deviceid=nil, devicename=nil, createtime=nil, lasttime=nil, remark=nil)
574
+ def initialize(deviceid=nil, devicename=nil, createtime=nil, lasttime=nil, remark=nil, accessscope=nil)
561
575
  @DeviceId = deviceid
562
576
  @DeviceName = devicename
563
577
  @CreateTime = createtime
564
578
  @LastTime = lasttime
565
579
  @Remark = remark
580
+ @AccessScope = accessscope
566
581
  end
567
582
 
568
583
  def deserialize(params)
@@ -571,6 +586,7 @@ module TencentCloud
571
586
  @CreateTime = params['CreateTime']
572
587
  @LastTime = params['LastTime']
573
588
  @Remark = params['Remark']
589
+ @AccessScope = params['AccessScope']
574
590
  end
575
591
  end
576
592
 
@@ -879,6 +895,9 @@ module TencentCloud
879
895
  # @type PackageType: String
880
896
  # @param Status: 流量包状态,0:未生效,1:有效期内,2:已过期
881
897
  # @type Status: Integer
898
+ # @param CreateTime: 购买时间,Unix时间戳格式,单位:秒
899
+ # 注意:此字段可能返回 null,表示取不到有效值。
900
+ # @type CreateTime: Integer
882
901
  # @param ActiveTime: 生效时间,Unix时间戳格式,单位:秒
883
902
  # @type ActiveTime: Integer
884
903
  # @param ExpireTime: 过期时间,Unix时间戳格式,单位:秒
@@ -891,20 +910,24 @@ module TencentCloud
891
910
  # @type CapacityRemain: Integer
892
911
  # @param RenewFlag: 自动续费标识。true代表自动续费,false代表不自动续费
893
912
  # @type RenewFlag: Boolean
913
+ # @param ModifyStatus: 资源包变更状态,0:未发生变配;1:变配中;2:已变配或已续费
914
+ # @type ModifyStatus: Integer
894
915
 
895
- attr_accessor :ResourceId, :AppId, :PackageType, :Status, :ActiveTime, :ExpireTime, :DeviceList, :CapacitySize, :CapacityRemain, :RenewFlag
916
+ attr_accessor :ResourceId, :AppId, :PackageType, :Status, :CreateTime, :ActiveTime, :ExpireTime, :DeviceList, :CapacitySize, :CapacityRemain, :RenewFlag, :ModifyStatus
896
917
 
897
- def initialize(resourceid=nil, appid=nil, packagetype=nil, status=nil, activetime=nil, expiretime=nil, devicelist=nil, capacitysize=nil, capacityremain=nil, renewflag=nil)
918
+ def initialize(resourceid=nil, appid=nil, packagetype=nil, status=nil, createtime=nil, activetime=nil, expiretime=nil, devicelist=nil, capacitysize=nil, capacityremain=nil, renewflag=nil, modifystatus=nil)
898
919
  @ResourceId = resourceid
899
920
  @AppId = appid
900
921
  @PackageType = packagetype
901
922
  @Status = status
923
+ @CreateTime = createtime
902
924
  @ActiveTime = activetime
903
925
  @ExpireTime = expiretime
904
926
  @DeviceList = devicelist
905
927
  @CapacitySize = capacitysize
906
928
  @CapacityRemain = capacityremain
907
929
  @RenewFlag = renewflag
930
+ @ModifyStatus = modifystatus
908
931
  end
909
932
 
910
933
  def deserialize(params)
@@ -912,12 +935,14 @@ module TencentCloud
912
935
  @AppId = params['AppId']
913
936
  @PackageType = params['PackageType']
914
937
  @Status = params['Status']
938
+ @CreateTime = params['CreateTime']
915
939
  @ActiveTime = params['ActiveTime']
916
940
  @ExpireTime = params['ExpireTime']
917
941
  @DeviceList = params['DeviceList']
918
942
  @CapacitySize = params['CapacitySize']
919
943
  @CapacityRemain = params['CapacityRemain']
920
944
  @RenewFlag = params['RenewFlag']
945
+ @ModifyStatus = params['ModifyStatus']
921
946
  end
922
947
  end
923
948
 
@@ -1144,15 +1169,21 @@ module TencentCloud
1144
1169
  # @type Type: Integer
1145
1170
  # @param TimeGranularity: 时间粒度(1:按小时统计,2:按天统计)
1146
1171
  # @type TimeGranularity: Integer
1172
+ # @param AccessRegion: 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填默认中国大陆
1173
+ # @type AccessRegion: String
1174
+ # @param GatewayType: 网关类型。0:公有云网关;1:自有网关。不传默认为0。
1175
+ # @type GatewayType: Integer
1147
1176
 
1148
- attr_accessor :DeviceId, :BeginTime, :EndTime, :Type, :TimeGranularity
1177
+ attr_accessor :DeviceId, :BeginTime, :EndTime, :Type, :TimeGranularity, :AccessRegion, :GatewayType
1149
1178
 
1150
- def initialize(deviceid=nil, begintime=nil, endtime=nil, type=nil, timegranularity=nil)
1179
+ def initialize(deviceid=nil, begintime=nil, endtime=nil, type=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil)
1151
1180
  @DeviceId = deviceid
1152
1181
  @BeginTime = begintime
1153
1182
  @EndTime = endtime
1154
1183
  @Type = type
1155
1184
  @TimeGranularity = timegranularity
1185
+ @AccessRegion = accessregion
1186
+ @GatewayType = gatewaytype
1156
1187
  end
1157
1188
 
1158
1189
  def deserialize(params)
@@ -1161,6 +1192,8 @@ module TencentCloud
1161
1192
  @EndTime = params['EndTime']
1162
1193
  @Type = params['Type']
1163
1194
  @TimeGranularity = params['TimeGranularity']
1195
+ @AccessRegion = params['AccessRegion']
1196
+ @GatewayType = params['GatewayType']
1164
1197
  end
1165
1198
  end
1166
1199
 
@@ -1274,15 +1307,21 @@ module TencentCloud
1274
1307
  # @type Type: Integer
1275
1308
  # @param TimeGranularity: 统计时间粒度(1:按小时统计,2:按天统计)
1276
1309
  # @type TimeGranularity: Integer
1310
+ # @param AccessRegion: 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填默认中国大陆
1311
+ # @type AccessRegion: String
1312
+ # @param GatewayType: 网关类型。0:公有云网关;1:自有网关。不传默认为0。
1313
+ # @type GatewayType: Integer
1277
1314
 
1278
- attr_accessor :DeviceIds, :BeginTime, :EndTime, :Type, :TimeGranularity
1315
+ attr_accessor :DeviceIds, :BeginTime, :EndTime, :Type, :TimeGranularity, :AccessRegion, :GatewayType
1279
1316
 
1280
- def initialize(deviceids=nil, begintime=nil, endtime=nil, type=nil, timegranularity=nil)
1317
+ def initialize(deviceids=nil, begintime=nil, endtime=nil, type=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil)
1281
1318
  @DeviceIds = deviceids
1282
1319
  @BeginTime = begintime
1283
1320
  @EndTime = endtime
1284
1321
  @Type = type
1285
1322
  @TimeGranularity = timegranularity
1323
+ @AccessRegion = accessregion
1324
+ @GatewayType = gatewaytype
1286
1325
  end
1287
1326
 
1288
1327
  def deserialize(params)
@@ -1291,6 +1330,8 @@ module TencentCloud
1291
1330
  @EndTime = params['EndTime']
1292
1331
  @Type = params['Type']
1293
1332
  @TimeGranularity = params['TimeGranularity']
1333
+ @AccessRegion = params['AccessRegion']
1334
+ @GatewayType = params['GatewayType']
1294
1335
  end
1295
1336
  end
1296
1337
 
@@ -1331,14 +1372,17 @@ module TencentCloud
1331
1372
  # @type EndTime: Integer
1332
1373
  # @param Metrics: 统计指标(上行速率:"TxRate":bit/s,下行速率:"RxRate":bit/s,丢包:"Loss":%,时延:"RTT":ms)
1333
1374
  # @type Metrics: String
1375
+ # @param GatewayType: 网关类型。0:公有云网关;1:自有网关。不传默认为0。
1376
+ # @type GatewayType: Integer
1334
1377
 
1335
- attr_accessor :DeviceId, :BeginTime, :EndTime, :Metrics
1378
+ attr_accessor :DeviceId, :BeginTime, :EndTime, :Metrics, :GatewayType
1336
1379
 
1337
- def initialize(deviceid=nil, begintime=nil, endtime=nil, metrics=nil)
1380
+ def initialize(deviceid=nil, begintime=nil, endtime=nil, metrics=nil, gatewaytype=nil)
1338
1381
  @DeviceId = deviceid
1339
1382
  @BeginTime = begintime
1340
1383
  @EndTime = endtime
1341
1384
  @Metrics = metrics
1385
+ @GatewayType = gatewaytype
1342
1386
  end
1343
1387
 
1344
1388
  def deserialize(params)
@@ -1346,6 +1390,7 @@ module TencentCloud
1346
1390
  @BeginTime = params['BeginTime']
1347
1391
  @EndTime = params['EndTime']
1348
1392
  @Metrics = params['Metrics']
1393
+ @GatewayType = params['GatewayType']
1349
1394
  end
1350
1395
  end
1351
1396
 
@@ -1354,13 +1399,20 @@ module TencentCloud
1354
1399
  # @param MonitorData: 监控数据
1355
1400
  # 注意:此字段可能返回 null,表示取不到有效值。
1356
1401
  # @type MonitorData: Array
1402
+ # @param AccessRegion: 接入区域。取值范围:['MC','AP','EU','AM']
1403
+ # MC=中国大陆
1404
+ # AP=亚太
1405
+ # EU=欧洲
1406
+ # AM=美洲
1407
+ # @type AccessRegion: String
1357
1408
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1358
1409
  # @type RequestId: String
1359
1410
 
1360
- attr_accessor :MonitorData, :RequestId
1411
+ attr_accessor :MonitorData, :AccessRegion, :RequestId
1361
1412
 
1362
- def initialize(monitordata=nil, requestid=nil)
1413
+ def initialize(monitordata=nil, accessregion=nil, requestid=nil)
1363
1414
  @MonitorData = monitordata
1415
+ @AccessRegion = accessregion
1364
1416
  @RequestId = requestid
1365
1417
  end
1366
1418
 
@@ -1373,6 +1425,7 @@ module TencentCloud
1373
1425
  @MonitorData << monitordata_tmp
1374
1426
  end
1375
1427
  end
1428
+ @AccessRegion = params['AccessRegion']
1376
1429
  @RequestId = params['RequestId']
1377
1430
  end
1378
1431
  end
@@ -1410,7 +1463,7 @@ module TencentCloud
1410
1463
 
1411
1464
  # GetStatisticData请求参数结构体
1412
1465
  class GetStatisticDataRequest < TencentCloud::Common::AbstractModel
1413
- # @param DeviceId: 设备ID
1466
+ # @param DeviceId: 设备ID。若不指定设备,可传"-1"
1414
1467
  # @type DeviceId: String
1415
1468
  # @param BeginTime: 统计开始时间,单位:s
1416
1469
  # @type BeginTime: Integer
@@ -1420,14 +1473,20 @@ module TencentCloud
1420
1473
  # 1:按小时统计
1421
1474
  # 2:按天统计
1422
1475
  # @type TimeGranularity: Integer
1476
+ # @param AccessRegion: 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填默认中国大陆
1477
+ # @type AccessRegion: String
1478
+ # @param GatewayType: 网关类型。0:公有云网关;1:自有网关。不传默认为0。
1479
+ # @type GatewayType: Integer
1423
1480
 
1424
- attr_accessor :DeviceId, :BeginTime, :EndTime, :TimeGranularity
1481
+ attr_accessor :DeviceId, :BeginTime, :EndTime, :TimeGranularity, :AccessRegion, :GatewayType
1425
1482
 
1426
- def initialize(deviceid=nil, begintime=nil, endtime=nil, timegranularity=nil)
1483
+ def initialize(deviceid=nil, begintime=nil, endtime=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil)
1427
1484
  @DeviceId = deviceid
1428
1485
  @BeginTime = begintime
1429
1486
  @EndTime = endtime
1430
1487
  @TimeGranularity = timegranularity
1488
+ @AccessRegion = accessregion
1489
+ @GatewayType = gatewaytype
1431
1490
  end
1432
1491
 
1433
1492
  def deserialize(params)
@@ -1435,6 +1494,8 @@ module TencentCloud
1435
1494
  @BeginTime = params['BeginTime']
1436
1495
  @EndTime = params['EndTime']
1437
1496
  @TimeGranularity = params['TimeGranularity']
1497
+ @AccessRegion = params['AccessRegion']
1498
+ @GatewayType = params['GatewayType']
1438
1499
  end
1439
1500
  end
1440
1501
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mna
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.770
4
+ version: 3.0.772
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-02-27 00:00:00.000000000 Z
11
+ date: 2024-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common