tencentcloud-sdk-tdmq 3.0.687 → 3.0.689
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 +78 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3db538661cd61c5f3142715a3add70094dab9aab
|
4
|
+
data.tar.gz: cae606422a81b99d6d81475d250db9facccf85bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10eecbc5c4162c8c5a74f03b0d71bdb56fc676ca88896e97d129f4e2adbd58384e645a3ce21e71e37226c07db4049db2304e350c557d21315472ce394a38fc1b
|
7
|
+
data.tar.gz: 61a95fad2df57e296e22beadaa7920b1a0fb25f54c723bdd041e0ce79e3c78b2e5cee2f9734df285663d2a672cae3a3dd1189c0f8354c8b61101db2678b16371
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.689
|
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
|
@@ -5761,8 +5825,8 @@ module TencentCloud
|
|
5761
5825
|
|
5762
5826
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
5763
5827
|
extend Gem::Deprecate
|
5764
|
-
deprecate :QueryDlqMsg, :none, 2023,
|
5765
|
-
deprecate :QueryDlqMsg=, :none, 2023,
|
5828
|
+
deprecate :QueryDlqMsg, :none, 2023, 11
|
5829
|
+
deprecate :QueryDlqMsg=, :none, 2023, 11
|
5766
5830
|
|
5767
5831
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, starttime=nil, endtime=nil, msgid=nil, msgkey=nil, offset=nil, limit=nil, taskrequestid=nil, querydlqmsg=nil, numoflatestmsg=nil, tag=nil, querydeadlettermessage=nil)
|
5768
5832
|
@ClusterId = clusterid
|
@@ -8264,10 +8328,16 @@ module TencentCloud
|
|
8264
8328
|
# @type ExceptionInformation: String
|
8265
8329
|
# @param ClusterStatus: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
8266
8330
|
# @type ClusterStatus: Integer
|
8331
|
+
# @param AutoRenewFlag: 自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费), 1表示自动续费,2表示明确不自动续费(用户设置)
|
8332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8333
|
+
# @type AutoRenewFlag: Integer
|
8334
|
+
# @param MirrorQueuePolicyFlag: 是否开启镜像队列策略。1表示开启,0表示没开启。
|
8335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8336
|
+
# @type MirrorQueuePolicyFlag: Integer
|
8267
8337
|
|
8268
|
-
attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :Vpcs, :ZoneIds, :VirtualHostNumber, :QueueNumber, :MessagePublishRate, :MessageStackNumber, :ExpireTime, :ChannelNumber, :ConnectionNumber, :ConsumerNumber, :ExchangeNumber, :ExceptionInformation, :ClusterStatus
|
8338
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :Vpcs, :ZoneIds, :VirtualHostNumber, :QueueNumber, :MessagePublishRate, :MessageStackNumber, :ExpireTime, :ChannelNumber, :ConnectionNumber, :ConsumerNumber, :ExchangeNumber, :ExceptionInformation, :ClusterStatus, :AutoRenewFlag, :MirrorQueuePolicyFlag
|
8269
8339
|
|
8270
|
-
def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, vpcs=nil, zoneids=nil, virtualhostnumber=nil, queuenumber=nil, messagepublishrate=nil, messagestacknumber=nil, expiretime=nil, channelnumber=nil, connectionnumber=nil, consumernumber=nil, exchangenumber=nil, exceptioninformation=nil, clusterstatus=nil)
|
8340
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, vpcs=nil, zoneids=nil, virtualhostnumber=nil, queuenumber=nil, messagepublishrate=nil, messagestacknumber=nil, expiretime=nil, channelnumber=nil, connectionnumber=nil, consumernumber=nil, exchangenumber=nil, exceptioninformation=nil, clusterstatus=nil, autorenewflag=nil, mirrorqueuepolicyflag=nil)
|
8271
8341
|
@ClusterId = clusterid
|
8272
8342
|
@ClusterName = clustername
|
8273
8343
|
@Region = region
|
@@ -8286,6 +8356,8 @@ module TencentCloud
|
|
8286
8356
|
@ExchangeNumber = exchangenumber
|
8287
8357
|
@ExceptionInformation = exceptioninformation
|
8288
8358
|
@ClusterStatus = clusterstatus
|
8359
|
+
@AutoRenewFlag = autorenewflag
|
8360
|
+
@MirrorQueuePolicyFlag = mirrorqueuepolicyflag
|
8289
8361
|
end
|
8290
8362
|
|
8291
8363
|
def deserialize(params)
|
@@ -8314,6 +8386,8 @@ module TencentCloud
|
|
8314
8386
|
@ExchangeNumber = params['ExchangeNumber']
|
8315
8387
|
@ExceptionInformation = params['ExceptionInformation']
|
8316
8388
|
@ClusterStatus = params['ClusterStatus']
|
8389
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
8390
|
+
@MirrorQueuePolicyFlag = params['MirrorQueuePolicyFlag']
|
8317
8391
|
end
|
8318
8392
|
end
|
8319
8393
|
|
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.689
|
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-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|