tencentcloud-sdk-tdmq 3.0.687 → 3.0.688
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 +64 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fe13ce1930b13eba1bd9310d3bff6952ffde96e
|
4
|
+
data.tar.gz: 1d7af48725e3b65856af5b7a2a910459d46cacf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c67c938b2472dcab523a3a56fc4e4de273020c2ceda3fb4daa4c8988046122bd216b969ad39c4c58deb52cf513392d66317ad13257e61a057ed6e545c7a6159
|
7
|
+
data.tar.gz: 47e11e2518fb4fd218b11f11a74ebab5b0c1786691854e1f020e4772477944bb73bb76be68cbf39e8ce90f41e1c871cfdea90f82434211dc2fbac177acb0edcc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.688
|
data/lib/v20200217/client.rb
CHANGED
@@ -1925,6 +1925,30 @@ module TencentCloud
|
|
1925
1925
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1926
1926
|
end
|
1927
1927
|
|
1928
|
+
# 用于获取RocketMQ消费组订阅关系数据
|
1929
|
+
|
1930
|
+
# @param request: Request instance for DescribeRocketMQSubscriptions.
|
1931
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsRequest`
|
1932
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsResponse`
|
1933
|
+
def DescribeRocketMQSubscriptions(request)
|
1934
|
+
body = send_request('DescribeRocketMQSubscriptions', request.serialize)
|
1935
|
+
response = JSON.parse(body)
|
1936
|
+
if response['Response'].key?('Error') == false
|
1937
|
+
model = DescribeRocketMQSubscriptionsResponse.new
|
1938
|
+
model.deserialize(response['Response'])
|
1939
|
+
model
|
1940
|
+
else
|
1941
|
+
code = response['Response']['Error']['Code']
|
1942
|
+
message = response['Response']['Error']['Message']
|
1943
|
+
reqid = response['Response']['RequestId']
|
1944
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1945
|
+
end
|
1946
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1947
|
+
raise e
|
1948
|
+
rescue StandardError => e
|
1949
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1950
|
+
end
|
1951
|
+
|
1928
1952
|
# rocketmq 消息查询
|
1929
1953
|
|
1930
1954
|
# @param request: Request instance for DescribeRocketMQTopicMsgs.
|
data/lib/v20200217/models.rb
CHANGED
@@ -5728,6 +5728,70 @@ module TencentCloud
|
|
5728
5728
|
end
|
5729
5729
|
end
|
5730
5730
|
|
5731
|
+
# DescribeRocketMQSubscriptions请求参数结构体
|
5732
|
+
class DescribeRocketMQSubscriptionsRequest < TencentCloud::Common::AbstractModel
|
5733
|
+
# @param ClusterId: 集群ID
|
5734
|
+
# @type ClusterId: String
|
5735
|
+
# @param Namespace: 命名空间名称
|
5736
|
+
# @type Namespace: String
|
5737
|
+
# @param Group: 消费组名称
|
5738
|
+
# @type Group: String
|
5739
|
+
# @param Offset: 查询起始位置
|
5740
|
+
# @type Offset: Integer
|
5741
|
+
# @param Limit: 查询限制条数
|
5742
|
+
# @type Limit: Integer
|
5743
|
+
|
5744
|
+
attr_accessor :ClusterId, :Namespace, :Group, :Offset, :Limit
|
5745
|
+
|
5746
|
+
def initialize(clusterid=nil, namespace=nil, group=nil, offset=nil, limit=nil)
|
5747
|
+
@ClusterId = clusterid
|
5748
|
+
@Namespace = namespace
|
5749
|
+
@Group = group
|
5750
|
+
@Offset = offset
|
5751
|
+
@Limit = limit
|
5752
|
+
end
|
5753
|
+
|
5754
|
+
def deserialize(params)
|
5755
|
+
@ClusterId = params['ClusterId']
|
5756
|
+
@Namespace = params['Namespace']
|
5757
|
+
@Group = params['Group']
|
5758
|
+
@Offset = params['Offset']
|
5759
|
+
@Limit = params['Limit']
|
5760
|
+
end
|
5761
|
+
end
|
5762
|
+
|
5763
|
+
# DescribeRocketMQSubscriptions返回参数结构体
|
5764
|
+
class DescribeRocketMQSubscriptionsResponse < TencentCloud::Common::AbstractModel
|
5765
|
+
# @param TotalCount: 总条数
|
5766
|
+
# @type TotalCount: Integer
|
5767
|
+
# @param Subscriptions: 订阅关系列表
|
5768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5769
|
+
# @type Subscriptions: Array
|
5770
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5771
|
+
# @type RequestId: String
|
5772
|
+
|
5773
|
+
attr_accessor :TotalCount, :Subscriptions, :RequestId
|
5774
|
+
|
5775
|
+
def initialize(totalcount=nil, subscriptions=nil, requestid=nil)
|
5776
|
+
@TotalCount = totalcount
|
5777
|
+
@Subscriptions = subscriptions
|
5778
|
+
@RequestId = requestid
|
5779
|
+
end
|
5780
|
+
|
5781
|
+
def deserialize(params)
|
5782
|
+
@TotalCount = params['TotalCount']
|
5783
|
+
unless params['Subscriptions'].nil?
|
5784
|
+
@Subscriptions = []
|
5785
|
+
params['Subscriptions'].each do |i|
|
5786
|
+
rocketmqsubscription_tmp = RocketMQSubscription.new
|
5787
|
+
rocketmqsubscription_tmp.deserialize(i)
|
5788
|
+
@Subscriptions << rocketmqsubscription_tmp
|
5789
|
+
end
|
5790
|
+
end
|
5791
|
+
@RequestId = params['RequestId']
|
5792
|
+
end
|
5793
|
+
end
|
5794
|
+
|
5731
5795
|
# DescribeRocketMQTopicMsgs请求参数结构体
|
5732
5796
|
class DescribeRocketMQTopicMsgsRequest < TencentCloud::Common::AbstractModel
|
5733
5797
|
# @param ClusterId: 集群 ID
|