tencentcloud-sdk-trocket 3.0.968 → 3.0.969
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/v20230308/client.rb +72 -0
- data/lib/v20230308/models.rb +321 -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: ab56979b26f2bf30fc811f29a66952f3b979fe56
|
4
|
+
data.tar.gz: c6221980b00ba916517b02b3f355f49474181617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef84fb56cd310b2778fe4339e7b4e9e0a0fa867bd042c4a81e6005c9a65f89a723025d32cae6b4e332d8ab0971c3eb158aab81637cffffe15402c46c43fb320a
|
7
|
+
data.tar.gz: 14eda43129c71ba7a5c11538ecc21683678de6926120269d253478689fe68d0e8bafe80f815c84aa806112fcc2e32e787296b858c1123561f830edfb994984e2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.969
|
data/lib/v20230308/client.rb
CHANGED
@@ -870,6 +870,54 @@ module TencentCloud
|
|
870
870
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
871
871
|
end
|
872
872
|
|
873
|
+
# 查询消息详情
|
874
|
+
|
875
|
+
# @param request: Request instance for DescribeMessage.
|
876
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMessageRequest`
|
877
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMessageResponse`
|
878
|
+
def DescribeMessage(request)
|
879
|
+
body = send_request('DescribeMessage', request.serialize)
|
880
|
+
response = JSON.parse(body)
|
881
|
+
if response['Response'].key?('Error') == false
|
882
|
+
model = DescribeMessageResponse.new
|
883
|
+
model.deserialize(response['Response'])
|
884
|
+
model
|
885
|
+
else
|
886
|
+
code = response['Response']['Error']['Code']
|
887
|
+
message = response['Response']['Error']['Message']
|
888
|
+
reqid = response['Response']['RequestId']
|
889
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
890
|
+
end
|
891
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
892
|
+
raise e
|
893
|
+
rescue StandardError => e
|
894
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
895
|
+
end
|
896
|
+
|
897
|
+
# 查询消息列表。如果查询死信消息,请设置ConsumerGroup参数。
|
898
|
+
|
899
|
+
# @param request: Request instance for DescribeMessageList.
|
900
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMessageListRequest`
|
901
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMessageListResponse`
|
902
|
+
def DescribeMessageList(request)
|
903
|
+
body = send_request('DescribeMessageList', request.serialize)
|
904
|
+
response = JSON.parse(body)
|
905
|
+
if response['Response'].key?('Error') == false
|
906
|
+
model = DescribeMessageListResponse.new
|
907
|
+
model.deserialize(response['Response'])
|
908
|
+
model
|
909
|
+
else
|
910
|
+
code = response['Response']['Error']['Code']
|
911
|
+
message = response['Response']['Error']['Message']
|
912
|
+
reqid = response['Response']['RequestId']
|
913
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
914
|
+
end
|
915
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
916
|
+
raise e
|
917
|
+
rescue StandardError => e
|
918
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
919
|
+
end
|
920
|
+
|
873
921
|
# 根据消息 ID 查询消息轨迹。
|
874
922
|
|
875
923
|
# @param request: Request instance for DescribeMessageTrace.
|
@@ -1262,6 +1310,30 @@ module TencentCloud
|
|
1262
1310
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1263
1311
|
end
|
1264
1312
|
|
1313
|
+
# 重新发送死信消息
|
1314
|
+
|
1315
|
+
# @param request: Request instance for ResendDeadLetterMessage.
|
1316
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::ResendDeadLetterMessageRequest`
|
1317
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::ResendDeadLetterMessageResponse`
|
1318
|
+
def ResendDeadLetterMessage(request)
|
1319
|
+
body = send_request('ResendDeadLetterMessage', request.serialize)
|
1320
|
+
response = JSON.parse(body)
|
1321
|
+
if response['Response'].key?('Error') == false
|
1322
|
+
model = ResendDeadLetterMessageResponse.new
|
1323
|
+
model.deserialize(response['Response'])
|
1324
|
+
model
|
1325
|
+
else
|
1326
|
+
code = response['Response']['Error']['Code']
|
1327
|
+
message = response['Response']['Error']['Message']
|
1328
|
+
reqid = response['Response']['RequestId']
|
1329
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1330
|
+
end
|
1331
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1332
|
+
raise e
|
1333
|
+
rescue StandardError => e
|
1334
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1335
|
+
end
|
1336
|
+
|
1265
1337
|
|
1266
1338
|
end
|
1267
1339
|
end
|
data/lib/v20230308/models.rb
CHANGED
@@ -2233,6 +2233,206 @@ module TencentCloud
|
|
2233
2233
|
end
|
2234
2234
|
end
|
2235
2235
|
|
2236
|
+
# DescribeMessageList请求参数结构体
|
2237
|
+
class DescribeMessageListRequest < TencentCloud::Common::AbstractModel
|
2238
|
+
# @param InstanceId: 集群ID
|
2239
|
+
# @type InstanceId: String
|
2240
|
+
# @param Topic: 主题名称
|
2241
|
+
# @type Topic: String
|
2242
|
+
# @param StartTime: 开始时间
|
2243
|
+
# @type StartTime: Integer
|
2244
|
+
# @param EndTime: 结束时间
|
2245
|
+
# @type EndTime: Integer
|
2246
|
+
# @param TaskRequestId: 一次查询标识
|
2247
|
+
# @type TaskRequestId: String
|
2248
|
+
# @param Offset: 查询起始位置
|
2249
|
+
# @type Offset: Integer
|
2250
|
+
# @param Limit: 查询结果限制数量
|
2251
|
+
# @type Limit: Integer
|
2252
|
+
# @param ConsumerGroup: 消费组名称
|
2253
|
+
# @type ConsumerGroup: String
|
2254
|
+
# @param MsgId: 消息 ID
|
2255
|
+
# @type MsgId: String
|
2256
|
+
# @param MsgKey: 消息 Key
|
2257
|
+
# @type MsgKey: String
|
2258
|
+
# @param RecentMessageNum: 查询最近N条消息 最大不超过1024,默认-1为其他查询条件
|
2259
|
+
# @type RecentMessageNum: Integer
|
2260
|
+
# @param QueryDeadLetterMessage: 是否查询死信消息
|
2261
|
+
# @type QueryDeadLetterMessage: Boolean
|
2262
|
+
# @param Tag: 消息 Tag
|
2263
|
+
# @type Tag: String
|
2264
|
+
|
2265
|
+
attr_accessor :InstanceId, :Topic, :StartTime, :EndTime, :TaskRequestId, :Offset, :Limit, :ConsumerGroup, :MsgId, :MsgKey, :RecentMessageNum, :QueryDeadLetterMessage, :Tag
|
2266
|
+
|
2267
|
+
def initialize(instanceid=nil, topic=nil, starttime=nil, endtime=nil, taskrequestid=nil, offset=nil, limit=nil, consumergroup=nil, msgid=nil, msgkey=nil, recentmessagenum=nil, querydeadlettermessage=nil, tag=nil)
|
2268
|
+
@InstanceId = instanceid
|
2269
|
+
@Topic = topic
|
2270
|
+
@StartTime = starttime
|
2271
|
+
@EndTime = endtime
|
2272
|
+
@TaskRequestId = taskrequestid
|
2273
|
+
@Offset = offset
|
2274
|
+
@Limit = limit
|
2275
|
+
@ConsumerGroup = consumergroup
|
2276
|
+
@MsgId = msgid
|
2277
|
+
@MsgKey = msgkey
|
2278
|
+
@RecentMessageNum = recentmessagenum
|
2279
|
+
@QueryDeadLetterMessage = querydeadlettermessage
|
2280
|
+
@Tag = tag
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
def deserialize(params)
|
2284
|
+
@InstanceId = params['InstanceId']
|
2285
|
+
@Topic = params['Topic']
|
2286
|
+
@StartTime = params['StartTime']
|
2287
|
+
@EndTime = params['EndTime']
|
2288
|
+
@TaskRequestId = params['TaskRequestId']
|
2289
|
+
@Offset = params['Offset']
|
2290
|
+
@Limit = params['Limit']
|
2291
|
+
@ConsumerGroup = params['ConsumerGroup']
|
2292
|
+
@MsgId = params['MsgId']
|
2293
|
+
@MsgKey = params['MsgKey']
|
2294
|
+
@RecentMessageNum = params['RecentMessageNum']
|
2295
|
+
@QueryDeadLetterMessage = params['QueryDeadLetterMessage']
|
2296
|
+
@Tag = params['Tag']
|
2297
|
+
end
|
2298
|
+
end
|
2299
|
+
|
2300
|
+
# DescribeMessageList返回参数结构体
|
2301
|
+
class DescribeMessageListResponse < TencentCloud::Common::AbstractModel
|
2302
|
+
# @param TotalCount: 查询总数
|
2303
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2304
|
+
# @type TotalCount: Integer
|
2305
|
+
# @param Data: 消息记录列表
|
2306
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2307
|
+
# @type Data: Array
|
2308
|
+
# @param TaskRequestId: 一次查询ID
|
2309
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2310
|
+
# @type TaskRequestId: String
|
2311
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2312
|
+
# @type RequestId: String
|
2313
|
+
|
2314
|
+
attr_accessor :TotalCount, :Data, :TaskRequestId, :RequestId
|
2315
|
+
|
2316
|
+
def initialize(totalcount=nil, data=nil, taskrequestid=nil, requestid=nil)
|
2317
|
+
@TotalCount = totalcount
|
2318
|
+
@Data = data
|
2319
|
+
@TaskRequestId = taskrequestid
|
2320
|
+
@RequestId = requestid
|
2321
|
+
end
|
2322
|
+
|
2323
|
+
def deserialize(params)
|
2324
|
+
@TotalCount = params['TotalCount']
|
2325
|
+
unless params['Data'].nil?
|
2326
|
+
@Data = []
|
2327
|
+
params['Data'].each do |i|
|
2328
|
+
messageitem_tmp = MessageItem.new
|
2329
|
+
messageitem_tmp.deserialize(i)
|
2330
|
+
@Data << messageitem_tmp
|
2331
|
+
end
|
2332
|
+
end
|
2333
|
+
@TaskRequestId = params['TaskRequestId']
|
2334
|
+
@RequestId = params['RequestId']
|
2335
|
+
end
|
2336
|
+
end
|
2337
|
+
|
2338
|
+
# DescribeMessage请求参数结构体
|
2339
|
+
class DescribeMessageRequest < TencentCloud::Common::AbstractModel
|
2340
|
+
# @param InstanceId: 集群ID
|
2341
|
+
# @type InstanceId: String
|
2342
|
+
# @param Topic: 主题名称
|
2343
|
+
# @type Topic: String
|
2344
|
+
# @param MsgId: 消息ID
|
2345
|
+
# @type MsgId: String
|
2346
|
+
# @param Offset: 查询起始位置
|
2347
|
+
# @type Offset: Integer
|
2348
|
+
# @param Limit: 查询结果限制数量
|
2349
|
+
# @type Limit: Integer
|
2350
|
+
# @param QueryDeadLetterMessage: 是否是死信消息
|
2351
|
+
# @type QueryDeadLetterMessage: Boolean
|
2352
|
+
# @param QueryDelayMessage: 是否是延时消息
|
2353
|
+
# @type QueryDelayMessage: Boolean
|
2354
|
+
|
2355
|
+
attr_accessor :InstanceId, :Topic, :MsgId, :Offset, :Limit, :QueryDeadLetterMessage, :QueryDelayMessage
|
2356
|
+
|
2357
|
+
def initialize(instanceid=nil, topic=nil, msgid=nil, offset=nil, limit=nil, querydeadlettermessage=nil, querydelaymessage=nil)
|
2358
|
+
@InstanceId = instanceid
|
2359
|
+
@Topic = topic
|
2360
|
+
@MsgId = msgid
|
2361
|
+
@Offset = offset
|
2362
|
+
@Limit = limit
|
2363
|
+
@QueryDeadLetterMessage = querydeadlettermessage
|
2364
|
+
@QueryDelayMessage = querydelaymessage
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
def deserialize(params)
|
2368
|
+
@InstanceId = params['InstanceId']
|
2369
|
+
@Topic = params['Topic']
|
2370
|
+
@MsgId = params['MsgId']
|
2371
|
+
@Offset = params['Offset']
|
2372
|
+
@Limit = params['Limit']
|
2373
|
+
@QueryDeadLetterMessage = params['QueryDeadLetterMessage']
|
2374
|
+
@QueryDelayMessage = params['QueryDelayMessage']
|
2375
|
+
end
|
2376
|
+
end
|
2377
|
+
|
2378
|
+
# DescribeMessage返回参数结构体
|
2379
|
+
class DescribeMessageResponse < TencentCloud::Common::AbstractModel
|
2380
|
+
# @param Body: 消息体
|
2381
|
+
# @type Body: String
|
2382
|
+
# @param Properties: 详情参数
|
2383
|
+
# @type Properties: String
|
2384
|
+
# @param ProduceTime: 生产时间
|
2385
|
+
# @type ProduceTime: String
|
2386
|
+
# @param MessageId: 消息ID
|
2387
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2388
|
+
# @type MessageId: String
|
2389
|
+
# @param ProducerAddr: 生产者地址
|
2390
|
+
# @type ProducerAddr: String
|
2391
|
+
# @param MessageTracks: 消息消费情况列表
|
2392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2393
|
+
# @type MessageTracks: Array
|
2394
|
+
# @param ShowTopicName: Topic
|
2395
|
+
# @type ShowTopicName: String
|
2396
|
+
# @param MessageTracksCount: 消息消费情况列表总条数
|
2397
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2398
|
+
# @type MessageTracksCount: Integer
|
2399
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2400
|
+
# @type RequestId: String
|
2401
|
+
|
2402
|
+
attr_accessor :Body, :Properties, :ProduceTime, :MessageId, :ProducerAddr, :MessageTracks, :ShowTopicName, :MessageTracksCount, :RequestId
|
2403
|
+
|
2404
|
+
def initialize(body=nil, properties=nil, producetime=nil, messageid=nil, produceraddr=nil, messagetracks=nil, showtopicname=nil, messagetrackscount=nil, requestid=nil)
|
2405
|
+
@Body = body
|
2406
|
+
@Properties = properties
|
2407
|
+
@ProduceTime = producetime
|
2408
|
+
@MessageId = messageid
|
2409
|
+
@ProducerAddr = produceraddr
|
2410
|
+
@MessageTracks = messagetracks
|
2411
|
+
@ShowTopicName = showtopicname
|
2412
|
+
@MessageTracksCount = messagetrackscount
|
2413
|
+
@RequestId = requestid
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
def deserialize(params)
|
2417
|
+
@Body = params['Body']
|
2418
|
+
@Properties = params['Properties']
|
2419
|
+
@ProduceTime = params['ProduceTime']
|
2420
|
+
@MessageId = params['MessageId']
|
2421
|
+
@ProducerAddr = params['ProducerAddr']
|
2422
|
+
unless params['MessageTracks'].nil?
|
2423
|
+
@MessageTracks = []
|
2424
|
+
params['MessageTracks'].each do |i|
|
2425
|
+
messagetrackitem_tmp = MessageTrackItem.new
|
2426
|
+
messagetrackitem_tmp.deserialize(i)
|
2427
|
+
@MessageTracks << messagetrackitem_tmp
|
2428
|
+
end
|
2429
|
+
end
|
2430
|
+
@ShowTopicName = params['ShowTopicName']
|
2431
|
+
@MessageTracksCount = params['MessageTracksCount']
|
2432
|
+
@RequestId = params['RequestId']
|
2433
|
+
end
|
2434
|
+
end
|
2435
|
+
|
2236
2436
|
# DescribeMessageTrace请求参数结构体
|
2237
2437
|
class DescribeMessageTraceRequest < TencentCloud::Common::AbstractModel
|
2238
2438
|
# @param InstanceId: 集群ID
|
@@ -3414,6 +3614,53 @@ module TencentCloud
|
|
3414
3614
|
end
|
3415
3615
|
end
|
3416
3616
|
|
3617
|
+
# 消息记录
|
3618
|
+
class MessageItem < TencentCloud::Common::AbstractModel
|
3619
|
+
# @param MsgId: 消息ID
|
3620
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3621
|
+
# @type MsgId: String
|
3622
|
+
# @param Tags: 消息tag
|
3623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3624
|
+
# @type Tags: String
|
3625
|
+
# @param Keys: 消息key
|
3626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3627
|
+
# @type Keys: String
|
3628
|
+
# @param ProducerAddr: 客户端地址
|
3629
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3630
|
+
# @type ProducerAddr: String
|
3631
|
+
# @param ProduceTime: 消息发送时间
|
3632
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3633
|
+
# @type ProduceTime: String
|
3634
|
+
# @param DeadLetterResendTimes: 死信重发次数
|
3635
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3636
|
+
# @type DeadLetterResendTimes: Integer
|
3637
|
+
# @param DeadLetterResendSuccessTimes: 死信重发成功次数
|
3638
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3639
|
+
# @type DeadLetterResendSuccessTimes: Integer
|
3640
|
+
|
3641
|
+
attr_accessor :MsgId, :Tags, :Keys, :ProducerAddr, :ProduceTime, :DeadLetterResendTimes, :DeadLetterResendSuccessTimes
|
3642
|
+
|
3643
|
+
def initialize(msgid=nil, tags=nil, keys=nil, produceraddr=nil, producetime=nil, deadletterresendtimes=nil, deadletterresendsuccesstimes=nil)
|
3644
|
+
@MsgId = msgid
|
3645
|
+
@Tags = tags
|
3646
|
+
@Keys = keys
|
3647
|
+
@ProducerAddr = produceraddr
|
3648
|
+
@ProduceTime = producetime
|
3649
|
+
@DeadLetterResendTimes = deadletterresendtimes
|
3650
|
+
@DeadLetterResendSuccessTimes = deadletterresendsuccesstimes
|
3651
|
+
end
|
3652
|
+
|
3653
|
+
def deserialize(params)
|
3654
|
+
@MsgId = params['MsgId']
|
3655
|
+
@Tags = params['Tags']
|
3656
|
+
@Keys = params['Keys']
|
3657
|
+
@ProducerAddr = params['ProducerAddr']
|
3658
|
+
@ProduceTime = params['ProduceTime']
|
3659
|
+
@DeadLetterResendTimes = params['DeadLetterResendTimes']
|
3660
|
+
@DeadLetterResendSuccessTimes = params['DeadLetterResendSuccessTimes']
|
3661
|
+
end
|
3662
|
+
end
|
3663
|
+
|
3417
3664
|
# 消息轨迹
|
3418
3665
|
class MessageTraceItem < TencentCloud::Common::AbstractModel
|
3419
3666
|
# @param Stage: 步骤
|
@@ -3436,6 +3683,35 @@ module TencentCloud
|
|
3436
3683
|
end
|
3437
3684
|
end
|
3438
3685
|
|
3686
|
+
# MessageTrack
|
3687
|
+
class MessageTrackItem < TencentCloud::Common::AbstractModel
|
3688
|
+
# @param ConsumerGroup: 消费组名称
|
3689
|
+
# @type ConsumerGroup: String
|
3690
|
+
# @param ConsumeStatus: 消费状态, CONSUMED: 已消费 CONSUMED_BUT_FILTERED: 已过滤 NOT_CONSUME: 未消费 ENTER_RETRY: 进入重试队列 ENTER_DLQ: 进入死信队列 UNKNOWN: 查询不到消费状态
|
3691
|
+
# @type ConsumeStatus: String
|
3692
|
+
# @param TrackType: track类型
|
3693
|
+
# @type TrackType: String
|
3694
|
+
# @param ExceptionDesc: 异常信息
|
3695
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3696
|
+
# @type ExceptionDesc: String
|
3697
|
+
|
3698
|
+
attr_accessor :ConsumerGroup, :ConsumeStatus, :TrackType, :ExceptionDesc
|
3699
|
+
|
3700
|
+
def initialize(consumergroup=nil, consumestatus=nil, tracktype=nil, exceptiondesc=nil)
|
3701
|
+
@ConsumerGroup = consumergroup
|
3702
|
+
@ConsumeStatus = consumestatus
|
3703
|
+
@TrackType = tracktype
|
3704
|
+
@ExceptionDesc = exceptiondesc
|
3705
|
+
end
|
3706
|
+
|
3707
|
+
def deserialize(params)
|
3708
|
+
@ConsumerGroup = params['ConsumerGroup']
|
3709
|
+
@ConsumeStatus = params['ConsumeStatus']
|
3710
|
+
@TrackType = params['TrackType']
|
3711
|
+
@ExceptionDesc = params['ExceptionDesc']
|
3712
|
+
end
|
3713
|
+
end
|
3714
|
+
|
3439
3715
|
# ModifyConsumerGroup请求参数结构体
|
3440
3716
|
class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
3441
3717
|
# @param InstanceId: 集群ID
|
@@ -4027,6 +4303,51 @@ module TencentCloud
|
|
4027
4303
|
end
|
4028
4304
|
end
|
4029
4305
|
|
4306
|
+
# ResendDeadLetterMessage请求参数结构体
|
4307
|
+
class ResendDeadLetterMessageRequest < TencentCloud::Common::AbstractModel
|
4308
|
+
# @param InstanceId: 集群ID
|
4309
|
+
# @type InstanceId: String
|
4310
|
+
# @param MessageIds: 死信消息ID列表
|
4311
|
+
# @type MessageIds: Array
|
4312
|
+
# @param ConsumerGroup: 消费组名称
|
4313
|
+
# @type ConsumerGroup: String
|
4314
|
+
|
4315
|
+
attr_accessor :InstanceId, :MessageIds, :ConsumerGroup
|
4316
|
+
|
4317
|
+
def initialize(instanceid=nil, messageids=nil, consumergroup=nil)
|
4318
|
+
@InstanceId = instanceid
|
4319
|
+
@MessageIds = messageids
|
4320
|
+
@ConsumerGroup = consumergroup
|
4321
|
+
end
|
4322
|
+
|
4323
|
+
def deserialize(params)
|
4324
|
+
@InstanceId = params['InstanceId']
|
4325
|
+
@MessageIds = params['MessageIds']
|
4326
|
+
@ConsumerGroup = params['ConsumerGroup']
|
4327
|
+
end
|
4328
|
+
end
|
4329
|
+
|
4330
|
+
# ResendDeadLetterMessage返回参数结构体
|
4331
|
+
class ResendDeadLetterMessageResponse < TencentCloud::Common::AbstractModel
|
4332
|
+
# @param ResendResult: 重发消息结果
|
4333
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4334
|
+
# @type ResendResult: Boolean
|
4335
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4336
|
+
# @type RequestId: String
|
4337
|
+
|
4338
|
+
attr_accessor :ResendResult, :RequestId
|
4339
|
+
|
4340
|
+
def initialize(resendresult=nil, requestid=nil)
|
4341
|
+
@ResendResult = resendresult
|
4342
|
+
@RequestId = requestid
|
4343
|
+
end
|
4344
|
+
|
4345
|
+
def deserialize(params)
|
4346
|
+
@ResendResult = params['ResendResult']
|
4347
|
+
@RequestId = params['RequestId']
|
4348
|
+
end
|
4349
|
+
end
|
4350
|
+
|
4030
4351
|
# 角色信息
|
4031
4352
|
class RoleItem < TencentCloud::Common::AbstractModel
|
4032
4353
|
# @param RoleName: 角色名称
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.969
|
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-12-
|
11
|
+
date: 2024-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|