tencentcloud-sdk-tdmq 3.0.686 → 3.0.688

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: 4352b6da4955eb5a06acf52f1e492260fd25fd63
4
- data.tar.gz: 10714430428b8a5fb6c489f03fccd4d74088c648
3
+ metadata.gz: 4fe13ce1930b13eba1bd9310d3bff6952ffde96e
4
+ data.tar.gz: 1d7af48725e3b65856af5b7a2a910459d46cacf8
5
5
  SHA512:
6
- metadata.gz: e5cbdea953fd50a516b95cf66890e7365ec560d3997e4aa74148f74842b2ce5c246f565a080559aa45c3765fb4397c473977637651f762fcaaa58559dd87083d
7
- data.tar.gz: 57895c2dd4ce131352b3aa20d9a837960559d9f5b5fc5b6d509b4afc1c94eb50070831869d1e809f5a32590a7bd050595c672dc8ce8b0ec17757a2ad8165e820
6
+ metadata.gz: 6c67c938b2472dcab523a3a56fc4e4de273020c2ceda3fb4daa4c8988046122bd216b969ad39c4c58deb52cf513392d66317ad13257e61a057ed6e545c7a6159
7
+ data.tar.gz: 47e11e2518fb4fd218b11f11a74ebab5b0c1786691854e1f020e4772477944bb73bb76be68cbf39e8ce90f41e1c871cfdea90f82434211dc2fbac177acb0edcc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.686
1
+ 3.0.688
@@ -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.
@@ -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
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.686
4
+ version: 3.0.688
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-27 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common