tencentcloud-sdk-trocket 3.0.806 → 3.0.807

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: 983a607e44ba40588c38142bfcac1295d7249cd9
4
- data.tar.gz: 76167b857c39d81178e4b00537d2d1687d28bf2e
3
+ metadata.gz: ca9c177d2ffb5c6b348bf4ec623fe643e471349d
4
+ data.tar.gz: 519105b7455f5936a53a202220336b7f3264eb70
5
5
  SHA512:
6
- metadata.gz: dc8f4226150a55a3b809e890077a0eae4980408e66620bf8b6498beedd947ba4f379f68e4fb9485aa625242345717b42b329303368dc0dbf6945a8d1bed79c60
7
- data.tar.gz: 62671a36fa27be549e1d394627a4ec01665b03d3e5e9ea140ad29b19032cd665c655ac1333f2239a9e2705b425fcc5d1da5a54a245381f4e4e19f4e33d138e10
6
+ metadata.gz: bae1d5801be3794dae626622e3de22d69c0340f97d5c11d0b5cf675a1a7512a50f205f4618fe5b466fa3b706a22c5e292af809993615214775037a55f532402d
7
+ data.tar.gz: f848b81c367dcf92c3e679416f21b21a35b6facf77ef8174415e4faea4813ea2ee8b30294be1d1c86e475c671caaff23a54d8fc82aca54ece2779fa0a4fd7421
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.806
1
+ 3.0.807
@@ -293,7 +293,7 @@ module TencentCloud
293
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
294
  end
295
295
 
296
- # 删除实例
296
+ # 删除MQTT实例
297
297
 
298
298
  # @param request: Request instance for DeleteMQTTInstance.
299
299
  # @type request: :class:`Tencentcloud::trocket::V20230308::DeleteMQTTInstanceRequest`
@@ -317,7 +317,7 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
- # 删除主题
320
+ # 删除MQTT主题
321
321
 
322
322
  # @param request: Request instance for DeleteMQTTTopic.
323
323
  # @type request: :class:`Tencentcloud::trocket::V20230308::DeleteMQTTTopicRequest`
@@ -716,7 +716,7 @@ module TencentCloud
716
716
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
717
717
  end
718
718
 
719
- # 非对外接口,获取产品售卖规格
719
+ # 获取产品售卖规格
720
720
 
721
721
  # @param request: Request instance for DescribeMQTTProductSKUList.
722
722
  # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMQTTProductSKUListRequest`
@@ -992,7 +992,7 @@ module TencentCloud
992
992
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
993
993
  end
994
994
 
995
- # MQTT实例创建公网接入点
995
+ # 更新MQTT实例公网接入点
996
996
 
997
997
  # @param request: Request instance for ModifyMQTTInsPublicEndpoint.
998
998
  # @type request: :class:`Tencentcloud::trocket::V20230308::ModifyMQTTInsPublicEndpointRequest`
@@ -1368,12 +1368,18 @@ module TencentCloud
1368
1368
  # @type DisconnectTime: Integer
1369
1369
  # @param MQTTClientSubscriptions: 客户端的订阅列表
1370
1370
  # @type MQTTClientSubscriptions: Array
1371
+ # @param Inbound: 服务端到客户端的流量统计
1372
+ # @type Inbound: :class:`Tencentcloud::Trocket.v20230308.models.StatisticsReport`
1373
+ # @param OutBound: 客户端到服务端的流量统计
1374
+ # @type OutBound: :class:`Tencentcloud::Trocket.v20230308.models.StatisticsReport`
1375
+ # @param CleanSession: cleansession标志
1376
+ # @type CleanSession: Boolean
1371
1377
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1372
1378
  # @type RequestId: String
1373
1379
 
1374
- attr_accessor :ClientId, :ClientAddress, :ProtocolVersion, :Keepalive, :ConnectionStatus, :CreateTime, :ConnectTime, :DisconnectTime, :MQTTClientSubscriptions, :RequestId
1380
+ attr_accessor :ClientId, :ClientAddress, :ProtocolVersion, :Keepalive, :ConnectionStatus, :CreateTime, :ConnectTime, :DisconnectTime, :MQTTClientSubscriptions, :Inbound, :OutBound, :CleanSession, :RequestId
1375
1381
 
1376
- def initialize(clientid=nil, clientaddress=nil, protocolversion=nil, keepalive=nil, connectionstatus=nil, createtime=nil, connecttime=nil, disconnecttime=nil, mqttclientsubscriptions=nil, requestid=nil)
1382
+ def initialize(clientid=nil, clientaddress=nil, protocolversion=nil, keepalive=nil, connectionstatus=nil, createtime=nil, connecttime=nil, disconnecttime=nil, mqttclientsubscriptions=nil, inbound=nil, outbound=nil, cleansession=nil, requestid=nil)
1377
1383
  @ClientId = clientid
1378
1384
  @ClientAddress = clientaddress
1379
1385
  @ProtocolVersion = protocolversion
@@ -1383,6 +1389,9 @@ module TencentCloud
1383
1389
  @ConnectTime = connecttime
1384
1390
  @DisconnectTime = disconnecttime
1385
1391
  @MQTTClientSubscriptions = mqttclientsubscriptions
1392
+ @Inbound = inbound
1393
+ @OutBound = outbound
1394
+ @CleanSession = cleansession
1386
1395
  @RequestId = requestid
1387
1396
  end
1388
1397
 
@@ -1403,6 +1412,15 @@ module TencentCloud
1403
1412
  @MQTTClientSubscriptions << mqttclientsubscription_tmp
1404
1413
  end
1405
1414
  end
1415
+ unless params['Inbound'].nil?
1416
+ @Inbound = StatisticsReport.new
1417
+ @Inbound.deserialize(params['Inbound'])
1418
+ end
1419
+ unless params['OutBound'].nil?
1420
+ @OutBound = StatisticsReport.new
1421
+ @OutBound.deserialize(params['OutBound'])
1422
+ end
1423
+ @CleanSession = params['CleanSession']
1406
1424
  @RequestId = params['RequestId']
1407
1425
  end
1408
1426
  end
@@ -1433,16 +1451,24 @@ module TencentCloud
1433
1451
  # @type Bandwidth: Integer
1434
1452
  # @param Rules: 公网访问规则
1435
1453
  # @type Rules: Array
1454
+ # @param Status: 公网状态:
1455
+ # NORMAL-正常
1456
+ # CLOSING-关闭中
1457
+ # MODIFYING-修改中
1458
+ # CREATING-开启中
1459
+ # CLOSE-关闭
1460
+ # @type Status: String
1436
1461
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1437
1462
  # @type RequestId: String
1438
1463
 
1439
- attr_accessor :Endpoints, :InstanceId, :Bandwidth, :Rules, :RequestId
1464
+ attr_accessor :Endpoints, :InstanceId, :Bandwidth, :Rules, :Status, :RequestId
1440
1465
 
1441
- def initialize(endpoints=nil, instanceid=nil, bandwidth=nil, rules=nil, requestid=nil)
1466
+ def initialize(endpoints=nil, instanceid=nil, bandwidth=nil, rules=nil, status=nil, requestid=nil)
1442
1467
  @Endpoints = endpoints
1443
1468
  @InstanceId = instanceid
1444
1469
  @Bandwidth = bandwidth
1445
1470
  @Rules = rules
1471
+ @Status = status
1446
1472
  @RequestId = requestid
1447
1473
  end
1448
1474
 
@@ -1465,6 +1491,7 @@ module TencentCloud
1465
1491
  @Rules << publicaccessrule_tmp
1466
1492
  end
1467
1493
  end
1494
+ @Status = params['Status']
1468
1495
  @RequestId = params['RequestId']
1469
1496
  end
1470
1497
  end
@@ -2672,16 +2699,20 @@ module TencentCloud
2672
2699
  # @param Port: 端口
2673
2700
  # 注意:此字段可能返回 null,表示取不到有效值。
2674
2701
  # @type Port: Integer
2702
+ # @param Ip: 接入点ip
2703
+ # 注意:此字段可能返回 null,表示取不到有效值。
2704
+ # @type Ip: String
2675
2705
 
2676
- attr_accessor :Type, :Url, :VpcId, :SubnetId, :Host, :Port
2706
+ attr_accessor :Type, :Url, :VpcId, :SubnetId, :Host, :Port, :Ip
2677
2707
 
2678
- def initialize(type=nil, url=nil, vpcid=nil, subnetid=nil, host=nil, port=nil)
2708
+ def initialize(type=nil, url=nil, vpcid=nil, subnetid=nil, host=nil, port=nil, ip=nil)
2679
2709
  @Type = type
2680
2710
  @Url = url
2681
2711
  @VpcId = vpcid
2682
2712
  @SubnetId = subnetid
2683
2713
  @Host = host
2684
2714
  @Port = port
2715
+ @Ip = ip
2685
2716
  end
2686
2717
 
2687
2718
  def deserialize(params)
@@ -2691,6 +2722,7 @@ module TencentCloud
2691
2722
  @SubnetId = params['SubnetId']
2692
2723
  @Host = params['Host']
2693
2724
  @Port = params['Port']
2725
+ @Ip = params['Ip']
2694
2726
  end
2695
2727
  end
2696
2728
 
@@ -3385,6 +3417,33 @@ module TencentCloud
3385
3417
  end
3386
3418
  end
3387
3419
 
3420
+ # MQTT客户端监控
3421
+ class PacketStatistics < TencentCloud::Common::AbstractModel
3422
+ # @param MessageType: 类型
3423
+ # 注意:此字段可能返回 null,表示取不到有效值。
3424
+ # @type MessageType: String
3425
+ # @param Qos: 服务质量
3426
+ # 注意:此字段可能返回 null,表示取不到有效值。
3427
+ # @type Qos: Integer
3428
+ # @param Count: 指标值
3429
+ # 注意:此字段可能返回 null,表示取不到有效值。
3430
+ # @type Count: Integer
3431
+
3432
+ attr_accessor :MessageType, :Qos, :Count
3433
+
3434
+ def initialize(messagetype=nil, qos=nil, count=nil)
3435
+ @MessageType = messagetype
3436
+ @Qos = qos
3437
+ @Count = count
3438
+ end
3439
+
3440
+ def deserialize(params)
3441
+ @MessageType = params['MessageType']
3442
+ @Qos = params['Qos']
3443
+ @Count = params['Count']
3444
+ end
3445
+ end
3446
+
3388
3447
  # 公网访问安全规则
3389
3448
  class PublicAccessRule < TencentCloud::Common::AbstractModel
3390
3449
  # @param IpRule: ip网段信息
@@ -3561,6 +3620,35 @@ module TencentCloud
3561
3620
  end
3562
3621
  end
3563
3622
 
3623
+ # MQTT客户端数据流量统计
3624
+ class StatisticsReport < TencentCloud::Common::AbstractModel
3625
+ # @param Bytes: 字节数
3626
+ # 注意:此字段可能返回 null,表示取不到有效值。
3627
+ # @type Bytes: Integer
3628
+ # @param Items: 监控指标
3629
+ # 注意:此字段可能返回 null,表示取不到有效值。
3630
+ # @type Items: Array
3631
+
3632
+ attr_accessor :Bytes, :Items
3633
+
3634
+ def initialize(bytes=nil, items=nil)
3635
+ @Bytes = bytes
3636
+ @Items = items
3637
+ end
3638
+
3639
+ def deserialize(params)
3640
+ @Bytes = params['Bytes']
3641
+ unless params['Items'].nil?
3642
+ @Items = []
3643
+ params['Items'].each do |i|
3644
+ packetstatistics_tmp = PacketStatistics.new
3645
+ packetstatistics_tmp.deserialize(i)
3646
+ @Items << packetstatistics_tmp
3647
+ end
3648
+ end
3649
+ end
3650
+ end
3651
+
3564
3652
  # 主题与消费组的订阅关系数据
3565
3653
  class SubscriptionData < TencentCloud::Common::AbstractModel
3566
3654
  # @param InstanceId: 实例ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.806
4
+ version: 3.0.807
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-04-18 00:00:00.000000000 Z
11
+ date: 2024-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common