tencentcloud-sdk-tdmq 3.0.689 → 3.0.691

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: 3db538661cd61c5f3142715a3add70094dab9aab
4
- data.tar.gz: cae606422a81b99d6d81475d250db9facccf85bd
3
+ metadata.gz: cf345f6e8a6828badfb5d754cea871d8e7912c25
4
+ data.tar.gz: 1e59219634bb738935e1186e9012f5080ce4ef69
5
5
  SHA512:
6
- metadata.gz: 10eecbc5c4162c8c5a74f03b0d71bdb56fc676ca88896e97d129f4e2adbd58384e645a3ce21e71e37226c07db4049db2304e350c557d21315472ce394a38fc1b
7
- data.tar.gz: 61a95fad2df57e296e22beadaa7920b1a0fb25f54c723bdd041e0ce79e3c78b2e5cee2f9734df285663d2a672cae3a3dd1189c0f8354c8b61101db2678b16371
6
+ metadata.gz: d076d9df7d941db64bb57aed688640e2b9e255f230b8f7cee6852507e01e13df538808fbf62b9eb1dbc2b0248759d3360d469b62ca9e5756a35e23b94db41e02
7
+ data.tar.gz: a564c6652e01091bf46a35ba77675cc955fddbe2298c011b10e956438b809beffe2f0fb8b6d8f31808c08776d895bac2c12118c39d340600566d50e8d809a8a4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.689
1
+ 3.0.691
@@ -1661,6 +1661,30 @@ module TencentCloud
1661
1661
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1662
1662
  end
1663
1663
 
1664
+ # 获取消费详情列表
1665
+
1666
+ # @param request: Request instance for DescribeRocketMQConsumeStats.
1667
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumeStatsRequest`
1668
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumeStatsResponse`
1669
+ def DescribeRocketMQConsumeStats(request)
1670
+ body = send_request('DescribeRocketMQConsumeStats', request.serialize)
1671
+ response = JSON.parse(body)
1672
+ if response['Response'].key?('Error') == false
1673
+ model = DescribeRocketMQConsumeStatsResponse.new
1674
+ model.deserialize(response['Response'])
1675
+ model
1676
+ else
1677
+ code = response['Response']['Error']['Code']
1678
+ message = response['Response']['Error']['Message']
1679
+ reqid = response['Response']['RequestId']
1680
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1681
+ end
1682
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1683
+ raise e
1684
+ rescue StandardError => e
1685
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1686
+ end
1687
+
1664
1688
  # 获取指定消费组下当前客户端的连接情况
1665
1689
 
1666
1690
  # @param request: Request instance for DescribeRocketMQConsumerConnections.
@@ -2907,6 +2931,30 @@ module TencentCloud
2907
2931
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2908
2932
  end
2909
2933
 
2934
+ # Rocketmq消费验证
2935
+
2936
+ # @param request: Request instance for VerifyRocketMQConsume.
2937
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::VerifyRocketMQConsumeRequest`
2938
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::VerifyRocketMQConsumeResponse`
2939
+ def VerifyRocketMQConsume(request)
2940
+ body = send_request('VerifyRocketMQConsume', request.serialize)
2941
+ response = JSON.parse(body)
2942
+ if response['Response'].key?('Error') == false
2943
+ model = VerifyRocketMQConsumeResponse.new
2944
+ model.deserialize(response['Response'])
2945
+ model
2946
+ else
2947
+ code = response['Response']['Error']['Code']
2948
+ message = response['Response']['Error']['Message']
2949
+ reqid = response['Response']['RequestId']
2950
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2951
+ end
2952
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2953
+ raise e
2954
+ rescue StandardError => e
2955
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2956
+ end
2957
+
2910
2958
 
2911
2959
  end
2912
2960
  end
@@ -919,6 +919,58 @@ module TencentCloud
919
919
  end
920
920
  end
921
921
 
922
+ # 消费详情
923
+ class ConsumerStats < TencentCloud::Common::AbstractModel
924
+ # @param TopicName: 主题名
925
+ # 注意:此字段可能返回 null,表示取不到有效值。
926
+ # @type TopicName: String
927
+ # @param BrokerName: 所属Broker
928
+ # 注意:此字段可能返回 null,表示取不到有效值。
929
+ # @type BrokerName: String
930
+ # @param QueueId: 队列编号
931
+ # 注意:此字段可能返回 null,表示取不到有效值。
932
+ # @type QueueId: Integer
933
+ # @param ConsumerClientId: 消费者ID
934
+ # 注意:此字段可能返回 null,表示取不到有效值。
935
+ # @type ConsumerClientId: String
936
+ # @param ConsumerOffset: 消费位点
937
+ # 注意:此字段可能返回 null,表示取不到有效值。
938
+ # @type ConsumerOffset: Integer
939
+ # @param BrokerOffset: 服务端位点
940
+ # 注意:此字段可能返回 null,表示取不到有效值。
941
+ # @type BrokerOffset: Integer
942
+ # @param DiffTotal: 消息堆积条数
943
+ # 注意:此字段可能返回 null,表示取不到有效值。
944
+ # @type DiffTotal: Integer
945
+ # @param LastTimestamp: 最近消费时间
946
+ # 注意:此字段可能返回 null,表示取不到有效值。
947
+ # @type LastTimestamp: Integer
948
+
949
+ attr_accessor :TopicName, :BrokerName, :QueueId, :ConsumerClientId, :ConsumerOffset, :BrokerOffset, :DiffTotal, :LastTimestamp
950
+
951
+ def initialize(topicname=nil, brokername=nil, queueid=nil, consumerclientid=nil, consumeroffset=nil, brokeroffset=nil, difftotal=nil, lasttimestamp=nil)
952
+ @TopicName = topicname
953
+ @BrokerName = brokername
954
+ @QueueId = queueid
955
+ @ConsumerClientId = consumerclientid
956
+ @ConsumerOffset = consumeroffset
957
+ @BrokerOffset = brokeroffset
958
+ @DiffTotal = difftotal
959
+ @LastTimestamp = lasttimestamp
960
+ end
961
+
962
+ def deserialize(params)
963
+ @TopicName = params['TopicName']
964
+ @BrokerName = params['BrokerName']
965
+ @QueueId = params['QueueId']
966
+ @ConsumerClientId = params['ConsumerClientId']
967
+ @ConsumerOffset = params['ConsumerOffset']
968
+ @BrokerOffset = params['BrokerOffset']
969
+ @DiffTotal = params['DiffTotal']
970
+ @LastTimestamp = params['LastTimestamp']
971
+ end
972
+ end
973
+
922
974
  # 消费进度详情
923
975
  class ConsumersSchedule < TencentCloud::Common::AbstractModel
924
976
  # @param Partitions: 当前分区id。
@@ -4836,6 +4888,57 @@ module TencentCloud
4836
4888
  end
4837
4889
  end
4838
4890
 
4891
+ # DescribeRocketMQConsumeStats请求参数结构体
4892
+ class DescribeRocketMQConsumeStatsRequest < TencentCloud::Common::AbstractModel
4893
+ # @param ClusterId: 实例ID
4894
+ # @type ClusterId: String
4895
+ # @param NamespaceId: 命名空间
4896
+ # @type NamespaceId: String
4897
+ # @param ConsumerGroup: 消费组
4898
+ # @type ConsumerGroup: String
4899
+
4900
+ attr_accessor :ClusterId, :NamespaceId, :ConsumerGroup
4901
+
4902
+ def initialize(clusterid=nil, namespaceid=nil, consumergroup=nil)
4903
+ @ClusterId = clusterid
4904
+ @NamespaceId = namespaceid
4905
+ @ConsumerGroup = consumergroup
4906
+ end
4907
+
4908
+ def deserialize(params)
4909
+ @ClusterId = params['ClusterId']
4910
+ @NamespaceId = params['NamespaceId']
4911
+ @ConsumerGroup = params['ConsumerGroup']
4912
+ end
4913
+ end
4914
+
4915
+ # DescribeRocketMQConsumeStats返回参数结构体
4916
+ class DescribeRocketMQConsumeStatsResponse < TencentCloud::Common::AbstractModel
4917
+ # @param ConsumerStatsList: 消费详情列表
4918
+ # @type ConsumerStatsList: Array
4919
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4920
+ # @type RequestId: String
4921
+
4922
+ attr_accessor :ConsumerStatsList, :RequestId
4923
+
4924
+ def initialize(consumerstatslist=nil, requestid=nil)
4925
+ @ConsumerStatsList = consumerstatslist
4926
+ @RequestId = requestid
4927
+ end
4928
+
4929
+ def deserialize(params)
4930
+ unless params['ConsumerStatsList'].nil?
4931
+ @ConsumerStatsList = []
4932
+ params['ConsumerStatsList'].each do |i|
4933
+ consumerstats_tmp = ConsumerStats.new
4934
+ consumerstats_tmp.deserialize(i)
4935
+ @ConsumerStatsList << consumerstats_tmp
4936
+ end
4937
+ end
4938
+ @RequestId = params['RequestId']
4939
+ end
4940
+ end
4941
+
4839
4942
  # DescribeRocketMQConsumerConnections请求参数结构体
4840
4943
  class DescribeRocketMQConsumerConnectionsRequest < TencentCloud::Common::AbstractModel
4841
4944
  # @param ClusterId: 集群ID
@@ -10856,6 +10959,58 @@ module TencentCloud
10856
10959
  end
10857
10960
  end
10858
10961
 
10962
+ # VerifyRocketMQConsume请求参数结构体
10963
+ class VerifyRocketMQConsumeRequest < TencentCloud::Common::AbstractModel
10964
+ # @param ClusterId: 集群id
10965
+ # @type ClusterId: String
10966
+ # @param NamespaceId: 命名空间
10967
+ # @type NamespaceId: String
10968
+ # @param GroupId: 消费组ID
10969
+ # @type GroupId: String
10970
+ # @param MsgId: 消息id
10971
+ # @type MsgId: String
10972
+ # @param ClientId: 客户端ID
10973
+ # @type ClientId: String
10974
+ # @param TopicName: topic名称
10975
+ # @type TopicName: String
10976
+
10977
+ attr_accessor :ClusterId, :NamespaceId, :GroupId, :MsgId, :ClientId, :TopicName
10978
+
10979
+ def initialize(clusterid=nil, namespaceid=nil, groupid=nil, msgid=nil, clientid=nil, topicname=nil)
10980
+ @ClusterId = clusterid
10981
+ @NamespaceId = namespaceid
10982
+ @GroupId = groupid
10983
+ @MsgId = msgid
10984
+ @ClientId = clientid
10985
+ @TopicName = topicname
10986
+ end
10987
+
10988
+ def deserialize(params)
10989
+ @ClusterId = params['ClusterId']
10990
+ @NamespaceId = params['NamespaceId']
10991
+ @GroupId = params['GroupId']
10992
+ @MsgId = params['MsgId']
10993
+ @ClientId = params['ClientId']
10994
+ @TopicName = params['TopicName']
10995
+ end
10996
+ end
10997
+
10998
+ # VerifyRocketMQConsume返回参数结构体
10999
+ class VerifyRocketMQConsumeResponse < TencentCloud::Common::AbstractModel
11000
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11001
+ # @type RequestId: String
11002
+
11003
+ attr_accessor :RequestId
11004
+
11005
+ def initialize(requestid=nil)
11006
+ @RequestId = requestid
11007
+ end
11008
+
11009
+ def deserialize(params)
11010
+ @RequestId = params['RequestId']
11011
+ end
11012
+ end
11013
+
10859
11014
  # vhost使用配额信息
10860
11015
  class VirtualHostQuota < TencentCloud::Common::AbstractModel
10861
11016
  # @param MaxVirtualHost: 允许创建最大vhost数
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.689
4
+ version: 3.0.691
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-31 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-tdmq.rb
37
- - lib/v20200217/client.rb
38
37
  - lib/v20200217/models.rb
38
+ - lib/v20200217/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: