tencentcloud-sdk-tdmq 3.0.747 → 3.0.748

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: affc753d537866e05c5f13aa932692c92e1826fa
4
- data.tar.gz: 7acef37cfc6e60e2d9e13f3a1fcece94d0606849
3
+ metadata.gz: b00f0d3ec842333630df577b93f3ddab6a86b7af
4
+ data.tar.gz: c3f2a93e9456398f083250aa74fbe6db35e48fdf
5
5
  SHA512:
6
- metadata.gz: 3075d4161409eed92a0b31187421514823fe29b6ce60bd0e688fa11e8ac5149a50855232f5c3be126ee861f55a29bd00fdc2262e5d4cc791d74aa04747572d35
7
- data.tar.gz: 210fbe55899e854d192697ef6ecf55c4c9c587ea8001ca3172e4607123bf6956e11ea05346b62996d126eb730b022e02c872c74cff473be96e40539ab23d1592
6
+ metadata.gz: c59720a26a4c0ae78945f699e5ce929728682f861191a26854c015655878b036e8ea9a020ef01ac7f3bbb2bf1afd52a7c2acba878ba5ffcb1683a04b4787a1c3
7
+ data.tar.gz: 6e86c25ad4cdd56615907c97fca2a0f2c0c5610ad5b74e3500f45fed81221ef2d1de7bdc9cc1eb3969144da054abaf2011b9c7e41970c3efe09686f8143672f7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.747
1
+ 3.0.748
@@ -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.
@@ -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, 2023, 12
6312
- deprecate :QueryDlqMsg=, :none, 2023, 12
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.747
4
+ version: 3.0.748
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 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common