tencentcloud-sdk-tdmq 3.0.569 → 3.0.570
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +118 -0
- 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: 62e594798435fcbd5d55e7a078307dff05438b8a
|
4
|
+
data.tar.gz: b42948294e9fb672da3f4e3d03467fcba0e38f95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e42535e65d8eb84e8c2e131714d1b632885de590844e3a28d9a8a598622985e7ceadb77c54aadef691067d00369c9248b71cf58821244390393b14c74bfb6ab7
|
7
|
+
data.tar.gz: 90aaaf32f2ef8d3512170c4b454abba0cd6ccafe5d452b74f01e349bfe78080889b3606f8de810609045894896280201729d1a88fe5f7eae440f6c37896d3ee9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.570
|
data/lib/v20200217/client.rb
CHANGED
@@ -1861,6 +1861,30 @@ module TencentCloud
|
|
1861
1861
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1862
1862
|
end
|
1863
1863
|
|
1864
|
+
# rocketmq消息详情
|
1865
|
+
|
1866
|
+
# @param request: Request instance for DescribeRocketMQMsg.
|
1867
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQMsgRequest`
|
1868
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQMsgResponse`
|
1869
|
+
def DescribeRocketMQMsg(request)
|
1870
|
+
body = send_request('DescribeRocketMQMsg', request.serialize)
|
1871
|
+
response = JSON.parse(body)
|
1872
|
+
if response['Response'].key?('Error') == false
|
1873
|
+
model = DescribeRocketMQMsgResponse.new
|
1874
|
+
model.deserialize(response['Response'])
|
1875
|
+
model
|
1876
|
+
else
|
1877
|
+
code = response['Response']['Error']['Code']
|
1878
|
+
message = response['Response']['Error']['Message']
|
1879
|
+
reqid = response['Response']['RequestId']
|
1880
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1881
|
+
end
|
1882
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1883
|
+
raise e
|
1884
|
+
rescue StandardError => e
|
1885
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1886
|
+
end
|
1887
|
+
|
1864
1888
|
# 获取RocketMQ命名空间列表
|
1865
1889
|
|
1866
1890
|
# @param request: Request instance for DescribeRocketMQNamespaces.
|
data/lib/v20200217/models.rb
CHANGED
@@ -5292,6 +5292,95 @@ module TencentCloud
|
|
5292
5292
|
end
|
5293
5293
|
end
|
5294
5294
|
|
5295
|
+
# DescribeRocketMQMsg请求参数结构体
|
5296
|
+
class DescribeRocketMQMsgRequest < TencentCloud::Common::AbstractModel
|
5297
|
+
# @param ClusterId: 集群id
|
5298
|
+
# @type ClusterId: String
|
5299
|
+
# @param EnvironmentId: 命名空间
|
5300
|
+
# @type EnvironmentId: String
|
5301
|
+
# @param TopicName: 主题,查询死信时传groupId
|
5302
|
+
# @type TopicName: String
|
5303
|
+
# @param MsgId: 消息id
|
5304
|
+
# @type MsgId: String
|
5305
|
+
# @param PulsarMsgId: pulsar消息id
|
5306
|
+
# @type PulsarMsgId: String
|
5307
|
+
# @param QueryDlqMsg: 查询死信时该值为true,只对Rocketmq有效
|
5308
|
+
# @type QueryDlqMsg: Boolean
|
5309
|
+
|
5310
|
+
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg
|
5311
|
+
|
5312
|
+
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil)
|
5313
|
+
@ClusterId = clusterid
|
5314
|
+
@EnvironmentId = environmentid
|
5315
|
+
@TopicName = topicname
|
5316
|
+
@MsgId = msgid
|
5317
|
+
@PulsarMsgId = pulsarmsgid
|
5318
|
+
@QueryDlqMsg = querydlqmsg
|
5319
|
+
end
|
5320
|
+
|
5321
|
+
def deserialize(params)
|
5322
|
+
@ClusterId = params['ClusterId']
|
5323
|
+
@EnvironmentId = params['EnvironmentId']
|
5324
|
+
@TopicName = params['TopicName']
|
5325
|
+
@MsgId = params['MsgId']
|
5326
|
+
@PulsarMsgId = params['PulsarMsgId']
|
5327
|
+
@QueryDlqMsg = params['QueryDlqMsg']
|
5328
|
+
end
|
5329
|
+
end
|
5330
|
+
|
5331
|
+
# DescribeRocketMQMsg返回参数结构体
|
5332
|
+
class DescribeRocketMQMsgResponse < TencentCloud::Common::AbstractModel
|
5333
|
+
# @param Body: 消息体
|
5334
|
+
# @type Body: String
|
5335
|
+
# @param Properties: 详情参数
|
5336
|
+
# @type Properties: String
|
5337
|
+
# @param ProduceTime: 生产时间
|
5338
|
+
# @type ProduceTime: String
|
5339
|
+
# @param MsgId: 消息id
|
5340
|
+
# @type MsgId: String
|
5341
|
+
# @param ProducerAddr: 生产者地址
|
5342
|
+
# @type ProducerAddr: String
|
5343
|
+
# @param MessageTracks: 消费组消费情况
|
5344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5345
|
+
# @type MessageTracks: Array
|
5346
|
+
# @param ShowTopicName: 详情页展示的topic名称
|
5347
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5348
|
+
# @type ShowTopicName: String
|
5349
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5350
|
+
# @type RequestId: String
|
5351
|
+
|
5352
|
+
attr_accessor :Body, :Properties, :ProduceTime, :MsgId, :ProducerAddr, :MessageTracks, :ShowTopicName, :RequestId
|
5353
|
+
|
5354
|
+
def initialize(body=nil, properties=nil, producetime=nil, msgid=nil, produceraddr=nil, messagetracks=nil, showtopicname=nil, requestid=nil)
|
5355
|
+
@Body = body
|
5356
|
+
@Properties = properties
|
5357
|
+
@ProduceTime = producetime
|
5358
|
+
@MsgId = msgid
|
5359
|
+
@ProducerAddr = produceraddr
|
5360
|
+
@MessageTracks = messagetracks
|
5361
|
+
@ShowTopicName = showtopicname
|
5362
|
+
@RequestId = requestid
|
5363
|
+
end
|
5364
|
+
|
5365
|
+
def deserialize(params)
|
5366
|
+
@Body = params['Body']
|
5367
|
+
@Properties = params['Properties']
|
5368
|
+
@ProduceTime = params['ProduceTime']
|
5369
|
+
@MsgId = params['MsgId']
|
5370
|
+
@ProducerAddr = params['ProducerAddr']
|
5371
|
+
unless params['MessageTracks'].nil?
|
5372
|
+
@MessageTracks = []
|
5373
|
+
params['MessageTracks'].each do |i|
|
5374
|
+
rocketmqmessagetrack_tmp = RocketMQMessageTrack.new
|
5375
|
+
rocketmqmessagetrack_tmp.deserialize(i)
|
5376
|
+
@MessageTracks << rocketmqmessagetrack_tmp
|
5377
|
+
end
|
5378
|
+
end
|
5379
|
+
@ShowTopicName = params['ShowTopicName']
|
5380
|
+
@RequestId = params['RequestId']
|
5381
|
+
end
|
5382
|
+
end
|
5383
|
+
|
5295
5384
|
# DescribeRocketMQNamespaces请求参数结构体
|
5296
5385
|
class DescribeRocketMQNamespacesRequest < TencentCloud::Common::AbstractModel
|
5297
5386
|
# @param ClusterId: 集群ID
|
@@ -8394,6 +8483,35 @@ module TencentCloud
|
|
8394
8483
|
end
|
8395
8484
|
end
|
8396
8485
|
|
8486
|
+
# Rocketmq消息消费track信息
|
8487
|
+
class RocketMQMessageTrack < TencentCloud::Common::AbstractModel
|
8488
|
+
# @param Group: 消费者组
|
8489
|
+
# @type Group: String
|
8490
|
+
# @param ConsumeStatus: 消费状态
|
8491
|
+
# @type ConsumeStatus: String
|
8492
|
+
# @param TrackType: 消息track类型
|
8493
|
+
# @type TrackType: String
|
8494
|
+
# @param ExceptionDesc: 异常信息
|
8495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8496
|
+
# @type ExceptionDesc: String
|
8497
|
+
|
8498
|
+
attr_accessor :Group, :ConsumeStatus, :TrackType, :ExceptionDesc
|
8499
|
+
|
8500
|
+
def initialize(group=nil, consumestatus=nil, tracktype=nil, exceptiondesc=nil)
|
8501
|
+
@Group = group
|
8502
|
+
@ConsumeStatus = consumestatus
|
8503
|
+
@TrackType = tracktype
|
8504
|
+
@ExceptionDesc = exceptiondesc
|
8505
|
+
end
|
8506
|
+
|
8507
|
+
def deserialize(params)
|
8508
|
+
@Group = params['Group']
|
8509
|
+
@ConsumeStatus = params['ConsumeStatus']
|
8510
|
+
@TrackType = params['TrackType']
|
8511
|
+
@ExceptionDesc = params['ExceptionDesc']
|
8512
|
+
end
|
8513
|
+
end
|
8514
|
+
|
8397
8515
|
# RocketMQ命名空间信息
|
8398
8516
|
class RocketMQNamespace < TencentCloud::Common::AbstractModel
|
8399
8517
|
# @param NamespaceId: 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
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.570
|
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-05-
|
11
|
+
date: 2023-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|