tencentcloud-sdk-tdmq 3.0.727 → 3.0.729

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: 8d0142edd5afde71f2b0237ff0b3508dba1c30ce
4
- data.tar.gz: a539b3929dbbea0e39c1a5c3131ce68a49f79e9a
3
+ metadata.gz: daa2ddebb3996a2e943ea41fc5b970c8e3975b5d
4
+ data.tar.gz: 2319c1e9e417f888adaf6e310c634bc9c9576979
5
5
  SHA512:
6
- metadata.gz: ad6f4e4238c6b4f00cad2a3f394006eee019f9ff2ed5115278a56e5f02c1d2a607b6b273f60492707de6eed185b2ef9bd8391b651e6cd43545abe34e04f4ce28
7
- data.tar.gz: 559835ede0651813c7fd078ed07148f6c5f118f5263493c0446c9d4d1f128b884578e09aba5710cf0216e60cdca0ac3985f4300ce1d4c68f573bc32353bf87e4
6
+ metadata.gz: 467ae2421f7aba487c871599f7857a7eb6c67a3c99ccf2eb53df8b9d335ef099cc35455e5f9acdeae2f44766ecdd02445df0469ddcef63eec51201d36267801d
7
+ data.tar.gz: 031a52738c7919f316c4941aafc317e46d0a3552c594811b8d4c629134811e2a8f1c7966720394f75bba4c87c2add903d9d2ec6e987684a4a19958489efc1353
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.727
1
+ 3.0.729
@@ -1783,6 +1783,30 @@ module TencentCloud
1783
1783
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1784
1784
  end
1785
1785
 
1786
+ # 获取在线消费端详情
1787
+
1788
+ # @param request: Request instance for DescribeRocketMQConsumerConnectionDetail.
1789
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailRequest`
1790
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailResponse`
1791
+ def DescribeRocketMQConsumerConnectionDetail(request)
1792
+ body = send_request('DescribeRocketMQConsumerConnectionDetail', request.serialize)
1793
+ response = JSON.parse(body)
1794
+ if response['Response'].key?('Error') == false
1795
+ model = DescribeRocketMQConsumerConnectionDetailResponse.new
1796
+ model.deserialize(response['Response'])
1797
+ model
1798
+ else
1799
+ code = response['Response']['Error']['Code']
1800
+ message = response['Response']['Error']['Message']
1801
+ reqid = response['Response']['RequestId']
1802
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1803
+ end
1804
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1805
+ raise e
1806
+ rescue StandardError => e
1807
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1808
+ end
1809
+
1786
1810
  # 获取指定消费组下当前客户端的连接情况
1787
1811
 
1788
1812
  # @param request: Request instance for DescribeRocketMQConsumerConnections.
@@ -5270,6 +5270,77 @@ module TencentCloud
5270
5270
  end
5271
5271
  end
5272
5272
 
5273
+ # DescribeRocketMQConsumerConnectionDetail请求参数结构体
5274
+ class DescribeRocketMQConsumerConnectionDetailRequest < TencentCloud::Common::AbstractModel
5275
+ # @param ClusterId: 集群ID
5276
+ # @type ClusterId: String
5277
+ # @param NamespaceId: 命名空间名称
5278
+ # @type NamespaceId: String
5279
+ # @param GroupId: 消费组名称
5280
+ # @type GroupId: String
5281
+ # @param ClientId: 消费端实例ID
5282
+ # @type ClientId: String
5283
+ # @param Offset: 偏移量
5284
+ # @type Offset: Integer
5285
+ # @param Limit: 限制数目
5286
+ # @type Limit: Integer
5287
+ # @param FilterType: 按主题类型过滤查询结果,可选择Normal, GlobalOrder, PartitionedOrder, Retry, Transaction, DeadLetter
5288
+ # @type FilterType: Array
5289
+
5290
+ attr_accessor :ClusterId, :NamespaceId, :GroupId, :ClientId, :Offset, :Limit, :FilterType
5291
+
5292
+ def initialize(clusterid=nil, namespaceid=nil, groupid=nil, clientid=nil, offset=nil, limit=nil, filtertype=nil)
5293
+ @ClusterId = clusterid
5294
+ @NamespaceId = namespaceid
5295
+ @GroupId = groupid
5296
+ @ClientId = clientid
5297
+ @Offset = offset
5298
+ @Limit = limit
5299
+ @FilterType = filtertype
5300
+ end
5301
+
5302
+ def deserialize(params)
5303
+ @ClusterId = params['ClusterId']
5304
+ @NamespaceId = params['NamespaceId']
5305
+ @GroupId = params['GroupId']
5306
+ @ClientId = params['ClientId']
5307
+ @Offset = params['Offset']
5308
+ @Limit = params['Limit']
5309
+ @FilterType = params['FilterType']
5310
+ end
5311
+ end
5312
+
5313
+ # DescribeRocketMQConsumerConnectionDetail返回参数结构体
5314
+ class DescribeRocketMQConsumerConnectionDetailResponse < TencentCloud::Common::AbstractModel
5315
+ # @param TotalCount: 总条数
5316
+ # @type TotalCount: Integer
5317
+ # @param Details: 消费端主题信息列表
5318
+ # @type Details: Array
5319
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5320
+ # @type RequestId: String
5321
+
5322
+ attr_accessor :TotalCount, :Details, :RequestId
5323
+
5324
+ def initialize(totalcount=nil, details=nil, requestid=nil)
5325
+ @TotalCount = totalcount
5326
+ @Details = details
5327
+ @RequestId = requestid
5328
+ end
5329
+
5330
+ def deserialize(params)
5331
+ @TotalCount = params['TotalCount']
5332
+ unless params['Details'].nil?
5333
+ @Details = []
5334
+ params['Details'].each do |i|
5335
+ rocketmqconsumertopic_tmp = RocketMQConsumerTopic.new
5336
+ rocketmqconsumertopic_tmp.deserialize(i)
5337
+ @Details << rocketmqconsumertopic_tmp
5338
+ end
5339
+ end
5340
+ @RequestId = params['RequestId']
5341
+ end
5342
+ end
5343
+
5273
5344
  # DescribeRocketMQConsumerConnections请求参数结构体
5274
5345
  class DescribeRocketMQConsumerConnectionsRequest < TencentCloud::Common::AbstractModel
5275
5346
  # @param ClusterId: 集群ID
@@ -9951,6 +10022,43 @@ module TencentCloud
9951
10022
  end
9952
10023
  end
9953
10024
 
10025
+ # 消费者详情中的主题信息
10026
+ class RocketMQConsumerTopic < TencentCloud::Common::AbstractModel
10027
+ # @param Topic: 主题名称
10028
+ # @type Topic: String
10029
+ # @param Type: 主题类型,Default表示普通,GlobalOrder表示全局顺序,PartitionedOrder表示局部顺序,Transaction表示事务,Retry表示重试,DeadLetter表示死信
10030
+ # @type Type: String
10031
+ # @param PartitionNum: 分区数
10032
+ # @type PartitionNum: Integer
10033
+ # @param Accumulative: 消息堆积数
10034
+ # @type Accumulative: Integer
10035
+ # @param LastConsumptionTime: 最后消费时间,以毫秒为单位
10036
+ # @type LastConsumptionTime: Integer
10037
+ # @param SubRule: 订阅规则
10038
+ # 注意:此字段可能返回 null,表示取不到有效值。
10039
+ # @type SubRule: String
10040
+
10041
+ attr_accessor :Topic, :Type, :PartitionNum, :Accumulative, :LastConsumptionTime, :SubRule
10042
+
10043
+ def initialize(topic=nil, type=nil, partitionnum=nil, accumulative=nil, lastconsumptiontime=nil, subrule=nil)
10044
+ @Topic = topic
10045
+ @Type = type
10046
+ @PartitionNum = partitionnum
10047
+ @Accumulative = accumulative
10048
+ @LastConsumptionTime = lastconsumptiontime
10049
+ @SubRule = subrule
10050
+ end
10051
+
10052
+ def deserialize(params)
10053
+ @Topic = params['Topic']
10054
+ @Type = params['Type']
10055
+ @PartitionNum = params['PartitionNum']
10056
+ @Accumulative = params['Accumulative']
10057
+ @LastConsumptionTime = params['LastConsumptionTime']
10058
+ @SubRule = params['SubRule']
10059
+ end
10060
+ end
10061
+
9954
10062
  # RocketMQ消费组信息
9955
10063
  class RocketMQGroup < TencentCloud::Common::AbstractModel
9956
10064
  # @param Name: 消费组名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.727
4
+ version: 3.0.729
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-12-14 00:00:00.000000000 Z
11
+ date: 2023-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common