tencentcloud-sdk-tdmq 3.0.747 → 3.0.749
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 +109 -2
- 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: bd38b312bfa0b04e0a9277a0df1976e9bf6babf4
|
4
|
+
data.tar.gz: 0de3fcfff3121d165fa15d272739b64df91a107a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b97803d66155b71e4e07941d4c3bd01039a4c9d3a073a69bcb987a61f00c315fea693450865f27119e36bcaa7f1ee6f001462be8585f2606b6091c8045999743
|
7
|
+
data.tar.gz: 0465153c3580c89296c2ce60444088d00c161142e6bd8c4e4d7b4e95e6d392cbf040b29341052849c104591e653d3a6cf1c488a1d1d461cd94572e1b7031c93a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.749
|
data/lib/v20200217/client.rb
CHANGED
@@ -2287,6 +2287,30 @@ module TencentCloud
|
|
2287
2287
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2288
2288
|
end
|
2289
2289
|
|
2290
|
+
# 导出RocketMQ消息详情
|
2291
|
+
|
2292
|
+
# @param request: Request instance for ExportRocketMQMessageDetail.
|
2293
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ExportRocketMQMessageDetailRequest`
|
2294
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ExportRocketMQMessageDetailResponse`
|
2295
|
+
def ExportRocketMQMessageDetail(request)
|
2296
|
+
body = send_request('ExportRocketMQMessageDetail', request.serialize)
|
2297
|
+
response = JSON.parse(body)
|
2298
|
+
if response['Response'].key?('Error') == false
|
2299
|
+
model = ExportRocketMQMessageDetailResponse.new
|
2300
|
+
model.deserialize(response['Response'])
|
2301
|
+
model
|
2302
|
+
else
|
2303
|
+
code = response['Response']['Error']['Code']
|
2304
|
+
message = response['Response']['Error']['Message']
|
2305
|
+
reqid = response['Response']['RequestId']
|
2306
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2307
|
+
end
|
2308
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2309
|
+
raise e
|
2310
|
+
rescue StandardError => e
|
2311
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2312
|
+
end
|
2313
|
+
|
2290
2314
|
# 输入迁移任务id和要导入的Group,导入后台
|
2291
2315
|
|
2292
2316
|
# @param request: Request instance for ImportRocketMQConsumerGroups.
|
data/lib/v20200217/models.rb
CHANGED
@@ -6308,8 +6308,8 @@ module TencentCloud
|
|
6308
6308
|
|
6309
6309
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
6310
6310
|
extend Gem::Deprecate
|
6311
|
-
deprecate :QueryDlqMsg, :none,
|
6312
|
-
deprecate :QueryDlqMsg=, :none,
|
6311
|
+
deprecate :QueryDlqMsg, :none, 2024, 1
|
6312
|
+
deprecate :QueryDlqMsg=, :none, 2024, 1
|
6313
6313
|
|
6314
6314
|
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)
|
6315
6315
|
@ClusterId = clusterid
|
@@ -7018,6 +7018,113 @@ module TencentCloud
|
|
7018
7018
|
end
|
7019
7019
|
end
|
7020
7020
|
|
7021
|
+
# ExportRocketMQMessageDetail请求参数结构体
|
7022
|
+
class ExportRocketMQMessageDetailRequest < TencentCloud::Common::AbstractModel
|
7023
|
+
# @param ClusterId: 集群id
|
7024
|
+
# @type ClusterId: String
|
7025
|
+
# @param EnvironmentId: 应用命名空间
|
7026
|
+
# @type EnvironmentId: String
|
7027
|
+
# @param TopicName: Topic名称
|
7028
|
+
# 如果是死信消息 isDlqMsg=true
|
7029
|
+
# @type TopicName: String
|
7030
|
+
# @param MsgId: 消息id
|
7031
|
+
# @type MsgId: String
|
7032
|
+
# @param IncludeMsgBody: 是否包含消息体
|
7033
|
+
# @type IncludeMsgBody: Boolean
|
7034
|
+
# @param DeadLetterMsg: 是否死信消息
|
7035
|
+
# @type DeadLetterMsg: Boolean
|
7036
|
+
|
7037
|
+
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :IncludeMsgBody, :DeadLetterMsg
|
7038
|
+
|
7039
|
+
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, includemsgbody=nil, deadlettermsg=nil)
|
7040
|
+
@ClusterId = clusterid
|
7041
|
+
@EnvironmentId = environmentid
|
7042
|
+
@TopicName = topicname
|
7043
|
+
@MsgId = msgid
|
7044
|
+
@IncludeMsgBody = includemsgbody
|
7045
|
+
@DeadLetterMsg = deadlettermsg
|
7046
|
+
end
|
7047
|
+
|
7048
|
+
def deserialize(params)
|
7049
|
+
@ClusterId = params['ClusterId']
|
7050
|
+
@EnvironmentId = params['EnvironmentId']
|
7051
|
+
@TopicName = params['TopicName']
|
7052
|
+
@MsgId = params['MsgId']
|
7053
|
+
@IncludeMsgBody = params['IncludeMsgBody']
|
7054
|
+
@DeadLetterMsg = params['DeadLetterMsg']
|
7055
|
+
end
|
7056
|
+
end
|
7057
|
+
|
7058
|
+
# ExportRocketMQMessageDetail返回参数结构体
|
7059
|
+
class ExportRocketMQMessageDetailResponse < TencentCloud::Common::AbstractModel
|
7060
|
+
# @param MsgId: 消息id
|
7061
|
+
# @type MsgId: String
|
7062
|
+
# @param BornTimestamp: 消息生成时间戳
|
7063
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7064
|
+
# @type BornTimestamp: Integer
|
7065
|
+
# @param StoreTimestamp: 消息存储时间戳
|
7066
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7067
|
+
# @type StoreTimestamp: Integer
|
7068
|
+
# @param BornHost: 消息生产客户端地址
|
7069
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7070
|
+
# @type BornHost: String
|
7071
|
+
# @param MsgTag: 消息Tag
|
7072
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7073
|
+
# @type MsgTag: String
|
7074
|
+
# @param MsgKey: 消息Key
|
7075
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7076
|
+
# @type MsgKey: String
|
7077
|
+
# @param Properties: 消息属性
|
7078
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7079
|
+
# @type Properties: String
|
7080
|
+
# @param ReConsumeTimes: 消息重试次数
|
7081
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7082
|
+
# @type ReConsumeTimes: Integer
|
7083
|
+
# @param MsgBody: Base64编码格式字符串
|
7084
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7085
|
+
# @type MsgBody: String
|
7086
|
+
# @param MsgBodyCRC: 消息内容的CRC32 Code
|
7087
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7088
|
+
# @type MsgBodyCRC: Integer
|
7089
|
+
# @param MsgBodySize: 消息体大小(单位K)
|
7090
|
+
# 当大于2048时不返回消息
|
7091
|
+
# @type MsgBodySize: Integer
|
7092
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7093
|
+
# @type RequestId: String
|
7094
|
+
|
7095
|
+
attr_accessor :MsgId, :BornTimestamp, :StoreTimestamp, :BornHost, :MsgTag, :MsgKey, :Properties, :ReConsumeTimes, :MsgBody, :MsgBodyCRC, :MsgBodySize, :RequestId
|
7096
|
+
|
7097
|
+
def initialize(msgid=nil, borntimestamp=nil, storetimestamp=nil, bornhost=nil, msgtag=nil, msgkey=nil, properties=nil, reconsumetimes=nil, msgbody=nil, msgbodycrc=nil, msgbodysize=nil, requestid=nil)
|
7098
|
+
@MsgId = msgid
|
7099
|
+
@BornTimestamp = borntimestamp
|
7100
|
+
@StoreTimestamp = storetimestamp
|
7101
|
+
@BornHost = bornhost
|
7102
|
+
@MsgTag = msgtag
|
7103
|
+
@MsgKey = msgkey
|
7104
|
+
@Properties = properties
|
7105
|
+
@ReConsumeTimes = reconsumetimes
|
7106
|
+
@MsgBody = msgbody
|
7107
|
+
@MsgBodyCRC = msgbodycrc
|
7108
|
+
@MsgBodySize = msgbodysize
|
7109
|
+
@RequestId = requestid
|
7110
|
+
end
|
7111
|
+
|
7112
|
+
def deserialize(params)
|
7113
|
+
@MsgId = params['MsgId']
|
7114
|
+
@BornTimestamp = params['BornTimestamp']
|
7115
|
+
@StoreTimestamp = params['StoreTimestamp']
|
7116
|
+
@BornHost = params['BornHost']
|
7117
|
+
@MsgTag = params['MsgTag']
|
7118
|
+
@MsgKey = params['MsgKey']
|
7119
|
+
@Properties = params['Properties']
|
7120
|
+
@ReConsumeTimes = params['ReConsumeTimes']
|
7121
|
+
@MsgBody = params['MsgBody']
|
7122
|
+
@MsgBodyCRC = params['MsgBodyCRC']
|
7123
|
+
@MsgBodySize = params['MsgBodySize']
|
7124
|
+
@RequestId = params['RequestId']
|
7125
|
+
end
|
7126
|
+
end
|
7127
|
+
|
7021
7128
|
# 过滤参数
|
7022
7129
|
class Filter < TencentCloud::Common::AbstractModel
|
7023
7130
|
# @param Name: 过滤参数的名字
|
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.749
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|