tencentcloud-sdk-ckafka 3.0.567 → 3.0.568

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: f63e547f24510715d4de14582bfb9834feeba593
4
- data.tar.gz: f5e2fe464fbf17f9f0cd0f2efb98ddaf57307c3c
3
+ metadata.gz: 0eb74080db6c98b9e94d49284a9a2b200f2e6c19
4
+ data.tar.gz: bce3f421634a939b6323aee298485c8cdee21b95
5
5
  SHA512:
6
- metadata.gz: b2e4068cc1d37f6985e97bad282ac05fc80d943a11d8961dee6b35041cc19c1c8b18e564451b57d26fe7edf179ddfe6cebd2fb1aa53a803df367b6c637642cc6
7
- data.tar.gz: 1f8fd3470d59bc3dd72985e4369522daea0ff4984c25e1c62d6b78934ab110ed00f4fae30b587c165fa697354bde2abe2dc1940f288839b3a862fa5a1dc0276d
6
+ metadata.gz: 3c9dbce5bd0896aea5881a697e531e8d565a7f003f98e0e19dc87f687a2678da3fd17b6042e7a2c743e5e1aef9dc1dce9b60c8e008ac258189bb08a1c1fcc0f6
7
+ data.tar.gz: 342d606133b3eb9aff26195eeda519ea0a6887f18ebe0980c881f4e9f233fcef186173e6b9d019a0e3f41fc8bc3c950904bc7126e787bce01ca7e3e38f919fb0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.567
1
+ 3.0.568
@@ -1398,6 +1398,30 @@ module TencentCloud
1398
1398
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1399
1399
  end
1400
1400
 
1401
+ # 获取Topic流量排行,消费者流量排行
1402
+
1403
+ # @param request: Request instance for DescribeTopicFlowRanking.
1404
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeTopicFlowRankingRequest`
1405
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeTopicFlowRankingResponse`
1406
+ def DescribeTopicFlowRanking(request)
1407
+ body = send_request('DescribeTopicFlowRanking', request.serialize)
1408
+ response = JSON.parse(body)
1409
+ if response['Response'].key?('Error') == false
1410
+ model = DescribeTopicFlowRankingResponse.new
1411
+ model.deserialize(response['Response'])
1412
+ model
1413
+ else
1414
+ code = response['Response']['Error']['Code']
1415
+ message = response['Response']['Error']['Message']
1416
+ reqid = response['Response']['RequestId']
1417
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1418
+ end
1419
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1420
+ raise e
1421
+ rescue StandardError => e
1422
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1423
+ end
1424
+
1401
1425
  # 查询topic 生产端连接信息
1402
1426
 
1403
1427
  # @param request: Request instance for DescribeTopicProduceConnection.
@@ -1235,6 +1235,26 @@ module TencentCloud
1235
1235
  end
1236
1236
  end
1237
1237
 
1238
+ # 消费者组消费速度排行
1239
+ class ConsumerGroupSpeed < TencentCloud::Common::AbstractModel
1240
+ # @param ConsumerGroupName: 消费者组名称
1241
+ # @type ConsumerGroupName: String
1242
+ # @param Speed: 消费速度 Count/Minute
1243
+ # @type Speed: Integer
1244
+
1245
+ attr_accessor :ConsumerGroupName, :Speed
1246
+
1247
+ def initialize(consumergroupname=nil, speed=nil)
1248
+ @ConsumerGroupName = consumergroupname
1249
+ @Speed = speed
1250
+ end
1251
+
1252
+ def deserialize(params)
1253
+ @ConsumerGroupName = params['ConsumerGroupName']
1254
+ @Speed = params['Speed']
1255
+ end
1256
+ end
1257
+
1238
1258
  # 消费组主题对象
1239
1259
  class ConsumerGroupTopic < TencentCloud::Common::AbstractModel
1240
1260
  # @param TopicId: 主题ID
@@ -5219,6 +5239,57 @@ module TencentCloud
5219
5239
  end
5220
5240
  end
5221
5241
 
5242
+ # DescribeTopicFlowRanking请求参数结构体
5243
+ class DescribeTopicFlowRankingRequest < TencentCloud::Common::AbstractModel
5244
+ # @param InstanceId: 实例ID
5245
+ # @type InstanceId: String
5246
+ # @param RankingType: 排行类别(PRO-Topic生产流量/CON-Topic消费流量)
5247
+ # @type RankingType: String
5248
+ # @param BeginDate: 排行起始日期
5249
+ # @type BeginDate: String
5250
+ # @param EndDate: 排行结束日期
5251
+ # @type EndDate: String
5252
+
5253
+ attr_accessor :InstanceId, :RankingType, :BeginDate, :EndDate
5254
+
5255
+ def initialize(instanceid=nil, rankingtype=nil, begindate=nil, enddate=nil)
5256
+ @InstanceId = instanceid
5257
+ @RankingType = rankingtype
5258
+ @BeginDate = begindate
5259
+ @EndDate = enddate
5260
+ end
5261
+
5262
+ def deserialize(params)
5263
+ @InstanceId = params['InstanceId']
5264
+ @RankingType = params['RankingType']
5265
+ @BeginDate = params['BeginDate']
5266
+ @EndDate = params['EndDate']
5267
+ end
5268
+ end
5269
+
5270
+ # DescribeTopicFlowRanking返回参数结构体
5271
+ class DescribeTopicFlowRankingResponse < TencentCloud::Common::AbstractModel
5272
+ # @param Result: 流量排行
5273
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.TopicFlowRankingResult`
5274
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5275
+ # @type RequestId: String
5276
+
5277
+ attr_accessor :Result, :RequestId
5278
+
5279
+ def initialize(result=nil, requestid=nil)
5280
+ @Result = result
5281
+ @RequestId = requestid
5282
+ end
5283
+
5284
+ def deserialize(params)
5285
+ unless params['Result'].nil?
5286
+ @Result = TopicFlowRankingResult.new
5287
+ @Result.deserialize(params['Result'])
5288
+ end
5289
+ @RequestId = params['RequestId']
5290
+ end
5291
+ end
5292
+
5222
5293
  # DescribeTopicProduceConnection请求参数结构体
5223
5294
  class DescribeTopicProduceConnectionRequest < TencentCloud::Common::AbstractModel
5224
5295
  # @param InstanceId: 实例id
@@ -10297,6 +10368,88 @@ module TencentCloud
10297
10368
  end
10298
10369
  end
10299
10370
 
10371
+ # topic 流量排行
10372
+ class TopicFlowRanking < TencentCloud::Common::AbstractModel
10373
+ # @param TopicId: 主题Id
10374
+ # @type TopicId: String
10375
+ # @param TopicName: 主题名称
10376
+ # @type TopicName: String
10377
+ # @param PartitionNum: 分区数
10378
+ # @type PartitionNum: Integer
10379
+ # @param ReplicaNum: 副本数
10380
+ # @type ReplicaNum: Integer
10381
+ # @param TopicTraffic: Topic 流量
10382
+ # @type TopicTraffic: String
10383
+ # @param MessageHeap: Topic 消息堆积
10384
+ # @type MessageHeap: Integer
10385
+
10386
+ attr_accessor :TopicId, :TopicName, :PartitionNum, :ReplicaNum, :TopicTraffic, :MessageHeap
10387
+
10388
+ def initialize(topicid=nil, topicname=nil, partitionnum=nil, replicanum=nil, topictraffic=nil, messageheap=nil)
10389
+ @TopicId = topicid
10390
+ @TopicName = topicname
10391
+ @PartitionNum = partitionnum
10392
+ @ReplicaNum = replicanum
10393
+ @TopicTraffic = topictraffic
10394
+ @MessageHeap = messageheap
10395
+ end
10396
+
10397
+ def deserialize(params)
10398
+ @TopicId = params['TopicId']
10399
+ @TopicName = params['TopicName']
10400
+ @PartitionNum = params['PartitionNum']
10401
+ @ReplicaNum = params['ReplicaNum']
10402
+ @TopicTraffic = params['TopicTraffic']
10403
+ @MessageHeap = params['MessageHeap']
10404
+ end
10405
+ end
10406
+
10407
+ # topic 生产消息数据,消费者数据
10408
+ class TopicFlowRankingResult < TencentCloud::Common::AbstractModel
10409
+ # @param TopicFlow: Topic 流量数组
10410
+ # @type TopicFlow: Array
10411
+ # @param ConsumeSpeed: 消费者组消费速度排行速度
10412
+ # @type ConsumeSpeed: Array
10413
+ # @param TopicMessageHeap: Topic 消息堆积/占用磁盘排行
10414
+ # 注意:此字段可能返回 null,表示取不到有效值。
10415
+ # @type TopicMessageHeap: Array
10416
+
10417
+ attr_accessor :TopicFlow, :ConsumeSpeed, :TopicMessageHeap
10418
+
10419
+ def initialize(topicflow=nil, consumespeed=nil, topicmessageheap=nil)
10420
+ @TopicFlow = topicflow
10421
+ @ConsumeSpeed = consumespeed
10422
+ @TopicMessageHeap = topicmessageheap
10423
+ end
10424
+
10425
+ def deserialize(params)
10426
+ unless params['TopicFlow'].nil?
10427
+ @TopicFlow = []
10428
+ params['TopicFlow'].each do |i|
10429
+ topicflowranking_tmp = TopicFlowRanking.new
10430
+ topicflowranking_tmp.deserialize(i)
10431
+ @TopicFlow << topicflowranking_tmp
10432
+ end
10433
+ end
10434
+ unless params['ConsumeSpeed'].nil?
10435
+ @ConsumeSpeed = []
10436
+ params['ConsumeSpeed'].each do |i|
10437
+ consumergroupspeed_tmp = ConsumerGroupSpeed.new
10438
+ consumergroupspeed_tmp.deserialize(i)
10439
+ @ConsumeSpeed << consumergroupspeed_tmp
10440
+ end
10441
+ end
10442
+ unless params['TopicMessageHeap'].nil?
10443
+ @TopicMessageHeap = []
10444
+ params['TopicMessageHeap'].each do |i|
10445
+ topicmessageheapranking_tmp = TopicMessageHeapRanking.new
10446
+ topicmessageheapranking_tmp.deserialize(i)
10447
+ @TopicMessageHeap << topicmessageheapranking_tmp
10448
+ end
10449
+ end
10450
+ end
10451
+ end
10452
+
10300
10453
  # topic副本及详细信息
10301
10454
  class TopicInSyncReplicaInfo < TencentCloud::Common::AbstractModel
10302
10455
  # @param Partition: 分区名称
@@ -10372,6 +10525,48 @@ module TencentCloud
10372
10525
  end
10373
10526
  end
10374
10527
 
10528
+ # topic消息堆积、占用磁盘排行
10529
+ class TopicMessageHeapRanking < TencentCloud::Common::AbstractModel
10530
+ # @param TopicId: 主题ID
10531
+ # 注意:此字段可能返回 null,表示取不到有效值。
10532
+ # @type TopicId: String
10533
+ # @param TopicName: 主题名称
10534
+ # 注意:此字段可能返回 null,表示取不到有效值。
10535
+ # @type TopicName: String
10536
+ # @param PartitionNum: 分区数
10537
+ # 注意:此字段可能返回 null,表示取不到有效值。
10538
+ # @type PartitionNum: Integer
10539
+ # @param ReplicaNum: 副本数
10540
+ # 注意:此字段可能返回 null,表示取不到有效值。
10541
+ # @type ReplicaNum: Integer
10542
+ # @param TopicTraffic: Topic 流量
10543
+ # 注意:此字段可能返回 null,表示取不到有效值。
10544
+ # @type TopicTraffic: String
10545
+ # @param MessageHeap: topic消息堆积/占用磁盘
10546
+ # 注意:此字段可能返回 null,表示取不到有效值。
10547
+ # @type MessageHeap: Integer
10548
+
10549
+ attr_accessor :TopicId, :TopicName, :PartitionNum, :ReplicaNum, :TopicTraffic, :MessageHeap
10550
+
10551
+ def initialize(topicid=nil, topicname=nil, partitionnum=nil, replicanum=nil, topictraffic=nil, messageheap=nil)
10552
+ @TopicId = topicid
10553
+ @TopicName = topicname
10554
+ @PartitionNum = partitionnum
10555
+ @ReplicaNum = replicanum
10556
+ @TopicTraffic = topictraffic
10557
+ @MessageHeap = messageheap
10558
+ end
10559
+
10560
+ def deserialize(params)
10561
+ @TopicId = params['TopicId']
10562
+ @TopicName = params['TopicName']
10563
+ @PartitionNum = params['PartitionNum']
10564
+ @ReplicaNum = params['ReplicaNum']
10565
+ @TopicTraffic = params['TopicTraffic']
10566
+ @MessageHeap = params['MessageHeap']
10567
+ end
10568
+ end
10569
+
10375
10570
  # Topic配置
10376
10571
  class TopicParam < TencentCloud::Common::AbstractModel
10377
10572
  # @param Resource: 单独售卖Topic的Topic名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.567
4
+ version: 3.0.568
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-11 00:00:00.000000000 Z
11
+ date: 2023-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common