tencentcloud-sdk-trocket 3.0.966 → 3.0.967

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: 5d9c0f31cf0081412e290f273a51e737ae932916
4
- data.tar.gz: 576bd8f6a67834fdec1e9d188663a6415a40ce18
3
+ metadata.gz: b8f2a4feb7935493a2c875777e6875fd5220d68d
4
+ data.tar.gz: ee4dac5e58bc4e34422e93d5efa107a7664d5ecf
5
5
  SHA512:
6
- metadata.gz: 2f08581397b5b87624666e5fefd61328ab7d3ab1623c521955d95dd28927ee8459f3cc0c864aaba7f6c88e631dc641500689ecb69f8635b9d11d9e59791274cd
7
- data.tar.gz: 1591845d48cc9a3a0e13a446dc8cd8cf780e45174ea8320931cf994398108877d27bf625725ff6293dffc0b4afaea71cb1d20f614faac2bb1d00dd1523eea2ec
6
+ metadata.gz: 39d3430dda7a54a28983f8c2f9a93f3c7e1aace2d93d4934d300ce1053f0d4164d93ac1f0d58368395bcf101b04b8f55112f7d842d71e596211b97af58ee583b
7
+ data.tar.gz: 1fdd177c3ca43ac10fc4bcd2ad1d923d01cfc55b906779babea08dda337ba961d95d4e93640b77d0cd16618c7041e2c9ef085b60f007651c4364243bffd844b1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.966
1
+ 3.0.967
@@ -870,6 +870,30 @@ module TencentCloud
870
870
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
871
871
  end
872
872
 
873
+ # 根据消息 ID 查询消息轨迹。
874
+
875
+ # @param request: Request instance for DescribeMessageTrace.
876
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMessageTraceRequest`
877
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMessageTraceResponse`
878
+ def DescribeMessageTrace(request)
879
+ body = send_request('DescribeMessageTrace', request.serialize)
880
+ response = JSON.parse(body)
881
+ if response['Response'].key?('Error') == false
882
+ model = DescribeMessageTraceResponse.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
+
873
897
  # 查询产品售卖规格,针对 RocketMQ 5.x 集群。
874
898
 
875
899
  # @param request: Request instance for DescribeProductSKUs.
@@ -2233,6 +2233,70 @@ module TencentCloud
2233
2233
  end
2234
2234
  end
2235
2235
 
2236
+ # DescribeMessageTrace请求参数结构体
2237
+ class DescribeMessageTraceRequest < TencentCloud::Common::AbstractModel
2238
+ # @param InstanceId: 集群ID
2239
+ # @type InstanceId: String
2240
+ # @param Topic: 主题名称
2241
+ # @type Topic: String
2242
+ # @param MsgId: 消息ID
2243
+ # @type MsgId: String
2244
+ # @param QueryDeadLetterMessage: 是否是死信消息
2245
+ # @type QueryDeadLetterMessage: Boolean
2246
+ # @param QueryDelayMessage: 是否是延时消息
2247
+ # @type QueryDelayMessage: Boolean
2248
+
2249
+ attr_accessor :InstanceId, :Topic, :MsgId, :QueryDeadLetterMessage, :QueryDelayMessage
2250
+
2251
+ def initialize(instanceid=nil, topic=nil, msgid=nil, querydeadlettermessage=nil, querydelaymessage=nil)
2252
+ @InstanceId = instanceid
2253
+ @Topic = topic
2254
+ @MsgId = msgid
2255
+ @QueryDeadLetterMessage = querydeadlettermessage
2256
+ @QueryDelayMessage = querydelaymessage
2257
+ end
2258
+
2259
+ def deserialize(params)
2260
+ @InstanceId = params['InstanceId']
2261
+ @Topic = params['Topic']
2262
+ @MsgId = params['MsgId']
2263
+ @QueryDeadLetterMessage = params['QueryDeadLetterMessage']
2264
+ @QueryDelayMessage = params['QueryDelayMessage']
2265
+ end
2266
+ end
2267
+
2268
+ # DescribeMessageTrace返回参数结构体
2269
+ class DescribeMessageTraceResponse < TencentCloud::Common::AbstractModel
2270
+ # @param ShowTopicName: 展示Topic名
2271
+ # @type ShowTopicName: String
2272
+ # @param Data: 轨迹详情
2273
+ # 注意:此字段可能返回 null,表示取不到有效值。
2274
+ # @type Data: Array
2275
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2276
+ # @type RequestId: String
2277
+
2278
+ attr_accessor :ShowTopicName, :Data, :RequestId
2279
+
2280
+ def initialize(showtopicname=nil, data=nil, requestid=nil)
2281
+ @ShowTopicName = showtopicname
2282
+ @Data = data
2283
+ @RequestId = requestid
2284
+ end
2285
+
2286
+ def deserialize(params)
2287
+ @ShowTopicName = params['ShowTopicName']
2288
+ unless params['Data'].nil?
2289
+ @Data = []
2290
+ params['Data'].each do |i|
2291
+ messagetraceitem_tmp = MessageTraceItem.new
2292
+ messagetraceitem_tmp.deserialize(i)
2293
+ @Data << messagetraceitem_tmp
2294
+ end
2295
+ end
2296
+ @RequestId = params['RequestId']
2297
+ end
2298
+ end
2299
+
2236
2300
  # DescribeProductSKUs请求参数结构体
2237
2301
  class DescribeProductSKUsRequest < TencentCloud::Common::AbstractModel
2238
2302
 
@@ -3350,6 +3414,28 @@ module TencentCloud
3350
3414
  end
3351
3415
  end
3352
3416
 
3417
+ # 消息轨迹
3418
+ class MessageTraceItem < TencentCloud::Common::AbstractModel
3419
+ # @param Stage: 步骤
3420
+ # 注意:此字段可能返回 null,表示取不到有效值。
3421
+ # @type Stage: String
3422
+ # @param Data: 轨迹详情
3423
+ # 注意:此字段可能返回 null,表示取不到有效值。
3424
+ # @type Data: String
3425
+
3426
+ attr_accessor :Stage, :Data
3427
+
3428
+ def initialize(stage=nil, data=nil)
3429
+ @Stage = stage
3430
+ @Data = data
3431
+ end
3432
+
3433
+ def deserialize(params)
3434
+ @Stage = params['Stage']
3435
+ @Data = params['Data']
3436
+ end
3437
+ end
3438
+
3353
3439
  # ModifyConsumerGroup请求参数结构体
3354
3440
  class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
3355
3441
  # @param InstanceId: 集群ID
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.966
4
+ version: 3.0.967
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-23 00:00:00.000000000 Z
11
+ date: 2024-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common