tencentcloud-sdk-tdmq 3.0.679 → 3.0.681
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +111 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 329a4c7cb4319c09a7871e6eee671462e0f7670a
|
4
|
+
data.tar.gz: 85933c540f17389342d71f9d463bd0673f89ac09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5317366923d26965b0d304aa02e12f932960342bd95a83abfe378b99f1825defc6f26ca96b7bddfe863ac6f31bb455226251a898a2eccfe9d63a0144e444d884
|
7
|
+
data.tar.gz: 929e353b1ba2c8ff2a52015fa9a6f2409196aa78f88f361894e33481a2174c7962a1f29a8c912e2b43dc512b78316240639e7107efc499e5eae43360d5e84f5b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.681
|
data/lib/v20200217/client.rb
CHANGED
@@ -1613,6 +1613,30 @@ module TencentCloud
|
|
1613
1613
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1614
1614
|
end
|
1615
1615
|
|
1616
|
+
# 获取指定消费组下当前客户端的连接情况
|
1617
|
+
|
1618
|
+
# @param request: Request instance for DescribeRocketMQConsumerConnections.
|
1619
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionsRequest`
|
1620
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionsResponse`
|
1621
|
+
def DescribeRocketMQConsumerConnections(request)
|
1622
|
+
body = send_request('DescribeRocketMQConsumerConnections', request.serialize)
|
1623
|
+
response = JSON.parse(body)
|
1624
|
+
if response['Response'].key?('Error') == false
|
1625
|
+
model = DescribeRocketMQConsumerConnectionsResponse.new
|
1626
|
+
model.deserialize(response['Response'])
|
1627
|
+
model
|
1628
|
+
else
|
1629
|
+
code = response['Response']['Error']['Code']
|
1630
|
+
message = response['Response']['Error']['Message']
|
1631
|
+
reqid = response['Response']['RequestId']
|
1632
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1633
|
+
end
|
1634
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1635
|
+
raise e
|
1636
|
+
rescue StandardError => e
|
1637
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1638
|
+
end
|
1639
|
+
|
1616
1640
|
# 获取RocketMQ消费组列表
|
1617
1641
|
|
1618
1642
|
# @param request: Request instance for DescribeRocketMQGroups.
|
data/lib/v20200217/models.rb
CHANGED
@@ -4595,6 +4595,85 @@ module TencentCloud
|
|
4595
4595
|
end
|
4596
4596
|
end
|
4597
4597
|
|
4598
|
+
# DescribeRocketMQConsumerConnections请求参数结构体
|
4599
|
+
class DescribeRocketMQConsumerConnectionsRequest < TencentCloud::Common::AbstractModel
|
4600
|
+
# @param ClusterId: 集群ID
|
4601
|
+
# @type ClusterId: String
|
4602
|
+
# @param NamespaceId: 命名空间名称
|
4603
|
+
# @type NamespaceId: String
|
4604
|
+
# @param GroupId: 消费组ID
|
4605
|
+
# @type GroupId: String
|
4606
|
+
# @param Offset: 偏移量
|
4607
|
+
# @type Offset: Integer
|
4608
|
+
# @param Limit: 限制数目
|
4609
|
+
# @type Limit: Integer
|
4610
|
+
# @param SortedBy: 对查询结果排序,此为排序字段,目前支持Accumulative(消息堆积量)
|
4611
|
+
# @type SortedBy: String
|
4612
|
+
# @param SortOrder: 查询结果排序规则,ASC为升序,DESC为降序
|
4613
|
+
# @type SortOrder: String
|
4614
|
+
|
4615
|
+
attr_accessor :ClusterId, :NamespaceId, :GroupId, :Offset, :Limit, :SortedBy, :SortOrder
|
4616
|
+
|
4617
|
+
def initialize(clusterid=nil, namespaceid=nil, groupid=nil, offset=nil, limit=nil, sortedby=nil, sortorder=nil)
|
4618
|
+
@ClusterId = clusterid
|
4619
|
+
@NamespaceId = namespaceid
|
4620
|
+
@GroupId = groupid
|
4621
|
+
@Offset = offset
|
4622
|
+
@Limit = limit
|
4623
|
+
@SortedBy = sortedby
|
4624
|
+
@SortOrder = sortorder
|
4625
|
+
end
|
4626
|
+
|
4627
|
+
def deserialize(params)
|
4628
|
+
@ClusterId = params['ClusterId']
|
4629
|
+
@NamespaceId = params['NamespaceId']
|
4630
|
+
@GroupId = params['GroupId']
|
4631
|
+
@Offset = params['Offset']
|
4632
|
+
@Limit = params['Limit']
|
4633
|
+
@SortedBy = params['SortedBy']
|
4634
|
+
@SortOrder = params['SortOrder']
|
4635
|
+
end
|
4636
|
+
end
|
4637
|
+
|
4638
|
+
# DescribeRocketMQConsumerConnections返回参数结构体
|
4639
|
+
class DescribeRocketMQConsumerConnectionsResponse < TencentCloud::Common::AbstractModel
|
4640
|
+
# @param TotalCount: 总数目
|
4641
|
+
# @type TotalCount: Integer
|
4642
|
+
# @param Connections: 在线消费者信息
|
4643
|
+
# @type Connections: Array
|
4644
|
+
# @param GroupDetail: 订阅组信息
|
4645
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4646
|
+
# @type GroupDetail: :class:`Tencentcloud::Tdmq.v20200217.models.RocketMQGroup`
|
4647
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4648
|
+
# @type RequestId: String
|
4649
|
+
|
4650
|
+
attr_accessor :TotalCount, :Connections, :GroupDetail, :RequestId
|
4651
|
+
|
4652
|
+
def initialize(totalcount=nil, connections=nil, groupdetail=nil, requestid=nil)
|
4653
|
+
@TotalCount = totalcount
|
4654
|
+
@Connections = connections
|
4655
|
+
@GroupDetail = groupdetail
|
4656
|
+
@RequestId = requestid
|
4657
|
+
end
|
4658
|
+
|
4659
|
+
def deserialize(params)
|
4660
|
+
@TotalCount = params['TotalCount']
|
4661
|
+
unless params['Connections'].nil?
|
4662
|
+
@Connections = []
|
4663
|
+
params['Connections'].each do |i|
|
4664
|
+
rocketmqconsumerconnection_tmp = RocketMQConsumerConnection.new
|
4665
|
+
rocketmqconsumerconnection_tmp.deserialize(i)
|
4666
|
+
@Connections << rocketmqconsumerconnection_tmp
|
4667
|
+
end
|
4668
|
+
end
|
4669
|
+
unless params['GroupDetail'].nil?
|
4670
|
+
@GroupDetail = RocketMQGroup.new
|
4671
|
+
@GroupDetail.deserialize(params['GroupDetail'])
|
4672
|
+
end
|
4673
|
+
@RequestId = params['RequestId']
|
4674
|
+
end
|
4675
|
+
end
|
4676
|
+
|
4598
4677
|
# DescribeRocketMQGroups请求参数结构体
|
4599
4678
|
class DescribeRocketMQGroupsRequest < TencentCloud::Common::AbstractModel
|
4600
4679
|
# @param ClusterId: 集群ID
|
@@ -8819,6 +8898,38 @@ module TencentCloud
|
|
8819
8898
|
end
|
8820
8899
|
end
|
8821
8900
|
|
8901
|
+
# 在线消费者情况
|
8902
|
+
class RocketMQConsumerConnection < TencentCloud::Common::AbstractModel
|
8903
|
+
# @param ClientId: 消费者实例ID
|
8904
|
+
# @type ClientId: String
|
8905
|
+
# @param ClientAddr: 消费者实例的地址和端口
|
8906
|
+
# @type ClientAddr: String
|
8907
|
+
# @param Language: 消费者应用的语言版本
|
8908
|
+
# @type Language: String
|
8909
|
+
# @param Accumulative: 消息堆积量
|
8910
|
+
# @type Accumulative: Integer
|
8911
|
+
# @param Version: 消费端版本
|
8912
|
+
# @type Version: String
|
8913
|
+
|
8914
|
+
attr_accessor :ClientId, :ClientAddr, :Language, :Accumulative, :Version
|
8915
|
+
|
8916
|
+
def initialize(clientid=nil, clientaddr=nil, language=nil, accumulative=nil, version=nil)
|
8917
|
+
@ClientId = clientid
|
8918
|
+
@ClientAddr = clientaddr
|
8919
|
+
@Language = language
|
8920
|
+
@Accumulative = accumulative
|
8921
|
+
@Version = version
|
8922
|
+
end
|
8923
|
+
|
8924
|
+
def deserialize(params)
|
8925
|
+
@ClientId = params['ClientId']
|
8926
|
+
@ClientAddr = params['ClientAddr']
|
8927
|
+
@Language = params['Language']
|
8928
|
+
@Accumulative = params['Accumulative']
|
8929
|
+
@Version = params['Version']
|
8930
|
+
end
|
8931
|
+
end
|
8932
|
+
|
8822
8933
|
# RocketMQ消费组信息
|
8823
8934
|
class RocketMQGroup < TencentCloud::Common::AbstractModel
|
8824
8935
|
# @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.
|
4
|
+
version: 3.0.681
|
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-10-
|
11
|
+
date: 2023-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20200217/models.rb
|
37
|
-
- lib/v20200217/client.rb
|
38
36
|
- lib/tencentcloud-sdk-tdmq.rb
|
37
|
+
- lib/v20200217/client.rb
|
38
|
+
- lib/v20200217/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|