tencentcloud-sdk-tdmq 3.0.691 → 3.0.693

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: cf345f6e8a6828badfb5d754cea871d8e7912c25
4
- data.tar.gz: 1e59219634bb738935e1186e9012f5080ce4ef69
3
+ metadata.gz: a146b3d7ca0b2fc5a17071d7117f3bac80f83ec5
4
+ data.tar.gz: eeec42db55d8c1f9e475e2844370e40a5f6ce2e0
5
5
  SHA512:
6
- metadata.gz: d076d9df7d941db64bb57aed688640e2b9e255f230b8f7cee6852507e01e13df538808fbf62b9eb1dbc2b0248759d3360d469b62ca9e5756a35e23b94db41e02
7
- data.tar.gz: a564c6652e01091bf46a35ba77675cc955fddbe2298c011b10e956438b809beffe2f0fb8b6d8f31808c08776d895bac2c12118c39d340600566d50e8d809a8a4
6
+ metadata.gz: 42c124e20011f9fbd0184a6e691f2db66310b1b60342e1d30008a4b12e5513117a233a22be2f672ac6ad8a0aee6380ca99110b22deb569c30d9ee70221766bae
7
+ data.tar.gz: d5ed81113e4db28e8393557146dc5d3d6150e5fec897acf2e072575c6d5060180c3c667ec13a0ec12db02da7a47c5dafceeb03da963070c791d54be720bc7312
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.691
1
+ 3.0.693
@@ -1277,6 +1277,30 @@ module TencentCloud
1277
1277
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
1278
  end
1279
1279
 
1280
+ # 查询消息轨迹
1281
+
1282
+ # @param request: Request instance for DescribeMsgTrace.
1283
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeMsgTraceRequest`
1284
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeMsgTraceResponse`
1285
+ def DescribeMsgTrace(request)
1286
+ body = send_request('DescribeMsgTrace', request.serialize)
1287
+ response = JSON.parse(body)
1288
+ if response['Response'].key?('Error') == false
1289
+ model = DescribeMsgTraceResponse.new
1290
+ model.deserialize(response['Response'])
1291
+ model
1292
+ else
1293
+ code = response['Response']['Error']['Code']
1294
+ message = response['Response']['Error']['Message']
1295
+ reqid = response['Response']['RequestId']
1296
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1297
+ end
1298
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1299
+ raise e
1300
+ rescue StandardError => e
1301
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
+ end
1303
+
1280
1304
  # 运营端获取命名空间bundle列表
1281
1305
 
1282
1306
  # @param request: Request instance for DescribeNamespaceBundlesOpt.
@@ -2117,6 +2141,30 @@ module TencentCloud
2117
2141
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2118
2142
  end
2119
2143
 
2144
+ # 消息查询
2145
+
2146
+ # @param request: Request instance for DescribeTopicMsgs.
2147
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeTopicMsgsRequest`
2148
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeTopicMsgsResponse`
2149
+ def DescribeTopicMsgs(request)
2150
+ body = send_request('DescribeTopicMsgs', request.serialize)
2151
+ response = JSON.parse(body)
2152
+ if response['Response'].key?('Error') == false
2153
+ model = DescribeTopicMsgsResponse.new
2154
+ model.deserialize(response['Response'])
2155
+ model
2156
+ else
2157
+ code = response['Response']['Error']['Code']
2158
+ message = response['Response']['Error']['Message']
2159
+ reqid = response['Response']['RequestId']
2160
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2161
+ end
2162
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2163
+ raise e
2164
+ rescue StandardError => e
2165
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2166
+ end
2167
+
2120
2168
  # 获取环境下主题列表
2121
2169
 
2122
2170
  # @param request: Request instance for DescribeTopics.
@@ -919,6 +919,75 @@ module TencentCloud
919
919
  end
920
920
  end
921
921
 
922
+ # 消费日志
923
+ class ConsumerLog < TencentCloud::Common::AbstractModel
924
+ # @param MsgId: 消息ID。
925
+ # @type MsgId: String
926
+ # @param ConsumerGroup: 消费组。
927
+ # @type ConsumerGroup: String
928
+ # @param ConsumerName: 消费组名称。
929
+ # @type ConsumerName: String
930
+ # @param ConsumeTime: 消费时间。
931
+ # @type ConsumeTime: String
932
+ # @param ConsumerAddr: 消费者客户端地址。
933
+ # @type ConsumerAddr: String
934
+ # @param ConsumeUseTime: 消费耗时(毫秒)。
935
+ # @type ConsumeUseTime: Integer
936
+ # @param Status: 消费状态。
937
+ # @type Status: String
938
+
939
+ attr_accessor :MsgId, :ConsumerGroup, :ConsumerName, :ConsumeTime, :ConsumerAddr, :ConsumeUseTime, :Status
940
+
941
+ def initialize(msgid=nil, consumergroup=nil, consumername=nil, consumetime=nil, consumeraddr=nil, consumeusetime=nil, status=nil)
942
+ @MsgId = msgid
943
+ @ConsumerGroup = consumergroup
944
+ @ConsumerName = consumername
945
+ @ConsumeTime = consumetime
946
+ @ConsumerAddr = consumeraddr
947
+ @ConsumeUseTime = consumeusetime
948
+ @Status = status
949
+ end
950
+
951
+ def deserialize(params)
952
+ @MsgId = params['MsgId']
953
+ @ConsumerGroup = params['ConsumerGroup']
954
+ @ConsumerName = params['ConsumerName']
955
+ @ConsumeTime = params['ConsumeTime']
956
+ @ConsumerAddr = params['ConsumerAddr']
957
+ @ConsumeUseTime = params['ConsumeUseTime']
958
+ @Status = params['Status']
959
+ end
960
+ end
961
+
962
+ # 消费信息
963
+ class ConsumerLogs < TencentCloud::Common::AbstractModel
964
+ # @param TotalCount: 记录数。
965
+ # 注意:此字段可能返回 null,表示取不到有效值。
966
+ # @type TotalCount: Integer
967
+ # @param ConsumerLogSets: 消费日志。
968
+ # 注意:此字段可能返回 null,表示取不到有效值。
969
+ # @type ConsumerLogSets: Array
970
+
971
+ attr_accessor :TotalCount, :ConsumerLogSets
972
+
973
+ def initialize(totalcount=nil, consumerlogsets=nil)
974
+ @TotalCount = totalcount
975
+ @ConsumerLogSets = consumerlogsets
976
+ end
977
+
978
+ def deserialize(params)
979
+ @TotalCount = params['TotalCount']
980
+ unless params['ConsumerLogSets'].nil?
981
+ @ConsumerLogSets = []
982
+ params['ConsumerLogSets'].each do |i|
983
+ consumerlog_tmp = ConsumerLog.new
984
+ consumerlog_tmp.deserialize(i)
985
+ @ConsumerLogSets << consumerlog_tmp
986
+ end
987
+ end
988
+ end
989
+ end
990
+
922
991
  # 消费详情
923
992
  class ConsumerStats < TencentCloud::Common::AbstractModel
924
993
  # @param TopicName: 主题名
@@ -3706,6 +3775,86 @@ module TencentCloud
3706
3775
  end
3707
3776
  end
3708
3777
 
3778
+ # DescribeMsgTrace请求参数结构体
3779
+ class DescribeMsgTraceRequest < TencentCloud::Common::AbstractModel
3780
+ # @param EnvironmentId: 环境(命名空间)。
3781
+ # @type EnvironmentId: String
3782
+ # @param MsgId: 消息ID。
3783
+ # @type MsgId: String
3784
+ # @param ProduceTime: 消息生产时间。
3785
+ # @type ProduceTime: String
3786
+ # @param Offset: 起始下标,不填默认为0。
3787
+ # @type Offset: Integer
3788
+ # @param Limit: 返回数量,不填则默认为10,最大值为20。
3789
+ # @type Limit: Integer
3790
+ # @param SubscriptionName: 消费组名称模糊匹配。
3791
+ # @type SubscriptionName: String
3792
+ # @param ClusterId: Pulsar 集群的ID
3793
+ # @type ClusterId: String
3794
+
3795
+ attr_accessor :EnvironmentId, :MsgId, :ProduceTime, :Offset, :Limit, :SubscriptionName, :ClusterId
3796
+
3797
+ def initialize(environmentid=nil, msgid=nil, producetime=nil, offset=nil, limit=nil, subscriptionname=nil, clusterid=nil)
3798
+ @EnvironmentId = environmentid
3799
+ @MsgId = msgid
3800
+ @ProduceTime = producetime
3801
+ @Offset = offset
3802
+ @Limit = limit
3803
+ @SubscriptionName = subscriptionname
3804
+ @ClusterId = clusterid
3805
+ end
3806
+
3807
+ def deserialize(params)
3808
+ @EnvironmentId = params['EnvironmentId']
3809
+ @MsgId = params['MsgId']
3810
+ @ProduceTime = params['ProduceTime']
3811
+ @Offset = params['Offset']
3812
+ @Limit = params['Limit']
3813
+ @SubscriptionName = params['SubscriptionName']
3814
+ @ClusterId = params['ClusterId']
3815
+ end
3816
+ end
3817
+
3818
+ # DescribeMsgTrace返回参数结构体
3819
+ class DescribeMsgTraceResponse < TencentCloud::Common::AbstractModel
3820
+ # @param ProducerLog: 生产信息。
3821
+ # 注意:此字段可能返回 null,表示取不到有效值。
3822
+ # @type ProducerLog: :class:`Tencentcloud::Tdmq.v20200217.models.ProducerLog`
3823
+ # @param ServerLog: 服务方信息。
3824
+ # 注意:此字段可能返回 null,表示取不到有效值。
3825
+ # @type ServerLog: :class:`Tencentcloud::Tdmq.v20200217.models.ServerLog`
3826
+ # @param ConsumerLogs: 消费信息。
3827
+ # 注意:此字段可能返回 null,表示取不到有效值。
3828
+ # @type ConsumerLogs: :class:`Tencentcloud::Tdmq.v20200217.models.ConsumerLogs`
3829
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3830
+ # @type RequestId: String
3831
+
3832
+ attr_accessor :ProducerLog, :ServerLog, :ConsumerLogs, :RequestId
3833
+
3834
+ def initialize(producerlog=nil, serverlog=nil, consumerlogs=nil, requestid=nil)
3835
+ @ProducerLog = producerlog
3836
+ @ServerLog = serverlog
3837
+ @ConsumerLogs = consumerlogs
3838
+ @RequestId = requestid
3839
+ end
3840
+
3841
+ def deserialize(params)
3842
+ unless params['ProducerLog'].nil?
3843
+ @ProducerLog = ProducerLog.new
3844
+ @ProducerLog.deserialize(params['ProducerLog'])
3845
+ end
3846
+ unless params['ServerLog'].nil?
3847
+ @ServerLog = ServerLog.new
3848
+ @ServerLog.deserialize(params['ServerLog'])
3849
+ end
3850
+ unless params['ConsumerLogs'].nil?
3851
+ @ConsumerLogs = ConsumerLogs.new
3852
+ @ConsumerLogs.deserialize(params['ConsumerLogs'])
3853
+ end
3854
+ @RequestId = params['RequestId']
3855
+ end
3856
+ end
3857
+
3709
3858
  # DescribeNamespaceBundlesOpt请求参数结构体
3710
3859
  class DescribeNamespaceBundlesOptRequest < TencentCloud::Common::AbstractModel
3711
3860
  # @param ClusterName: 物理集群名
@@ -6330,6 +6479,81 @@ module TencentCloud
6330
6479
  end
6331
6480
  end
6332
6481
 
6482
+ # DescribeTopicMsgs请求参数结构体
6483
+ class DescribeTopicMsgsRequest < TencentCloud::Common::AbstractModel
6484
+ # @param EnvironmentId: 环境(命名空间)名称。
6485
+ # @type EnvironmentId: String
6486
+ # @param TopicName: 主题名。
6487
+ # @type TopicName: String
6488
+ # @param StartTime: 开始时间。
6489
+ # @type StartTime: String
6490
+ # @param EndTime: 结束时间。
6491
+ # @type EndTime: String
6492
+ # @param Offset: 起始下标,不填默认为0。
6493
+ # @type Offset: Integer
6494
+ # @param Limit: 返回数量,不填则默认为10,最大值为20。
6495
+ # @type Limit: Integer
6496
+ # @param MsgId: 消息ID。
6497
+ # @type MsgId: String
6498
+ # @param ClusterId: Pulsar 集群的ID
6499
+ # @type ClusterId: String
6500
+
6501
+ attr_accessor :EnvironmentId, :TopicName, :StartTime, :EndTime, :Offset, :Limit, :MsgId, :ClusterId
6502
+
6503
+ def initialize(environmentid=nil, topicname=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, msgid=nil, clusterid=nil)
6504
+ @EnvironmentId = environmentid
6505
+ @TopicName = topicname
6506
+ @StartTime = starttime
6507
+ @EndTime = endtime
6508
+ @Offset = offset
6509
+ @Limit = limit
6510
+ @MsgId = msgid
6511
+ @ClusterId = clusterid
6512
+ end
6513
+
6514
+ def deserialize(params)
6515
+ @EnvironmentId = params['EnvironmentId']
6516
+ @TopicName = params['TopicName']
6517
+ @StartTime = params['StartTime']
6518
+ @EndTime = params['EndTime']
6519
+ @Offset = params['Offset']
6520
+ @Limit = params['Limit']
6521
+ @MsgId = params['MsgId']
6522
+ @ClusterId = params['ClusterId']
6523
+ end
6524
+ end
6525
+
6526
+ # DescribeTopicMsgs返回参数结构体
6527
+ class DescribeTopicMsgsResponse < TencentCloud::Common::AbstractModel
6528
+ # @param TotalCount: 总记录数。
6529
+ # @type TotalCount: Integer
6530
+ # @param TopicMsgLogSets: 消息日志列表。
6531
+ # @type TopicMsgLogSets: Array
6532
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6533
+ # @type RequestId: String
6534
+
6535
+ attr_accessor :TotalCount, :TopicMsgLogSets, :RequestId
6536
+
6537
+ def initialize(totalcount=nil, topicmsglogsets=nil, requestid=nil)
6538
+ @TotalCount = totalcount
6539
+ @TopicMsgLogSets = topicmsglogsets
6540
+ @RequestId = requestid
6541
+ end
6542
+
6543
+ def deserialize(params)
6544
+ @TotalCount = params['TotalCount']
6545
+ unless params['TopicMsgLogSets'].nil?
6546
+ @TopicMsgLogSets = []
6547
+ params['TopicMsgLogSets'].each do |i|
6548
+ msglog_tmp = MsgLog.new
6549
+ msglog_tmp.deserialize(i)
6550
+ @TopicMsgLogSets << msglog_tmp
6551
+ end
6552
+ end
6553
+ @RequestId = params['RequestId']
6554
+ end
6555
+ end
6556
+
6333
6557
  # DescribeTopics请求参数结构体
6334
6558
  class DescribeTopicsRequest < TencentCloud::Common::AbstractModel
6335
6559
  # @param EnvironmentId: 环境(命名空间)名称。
@@ -7847,6 +8071,34 @@ module TencentCloud
7847
8071
  end
7848
8072
  end
7849
8073
 
8074
+ # 消息日志
8075
+ class MsgLog < TencentCloud::Common::AbstractModel
8076
+ # @param MsgId: 消息ID。
8077
+ # @type MsgId: String
8078
+ # @param ProducerName: 生产者名称。
8079
+ # @type ProducerName: String
8080
+ # @param ProduceTime: 生产时间。
8081
+ # @type ProduceTime: String
8082
+ # @param ProducerAddr: 生产客户端地址。
8083
+ # @type ProducerAddr: String
8084
+
8085
+ attr_accessor :MsgId, :ProducerName, :ProduceTime, :ProducerAddr
8086
+
8087
+ def initialize(msgid=nil, producername=nil, producetime=nil, produceraddr=nil)
8088
+ @MsgId = msgid
8089
+ @ProducerName = producername
8090
+ @ProduceTime = producetime
8091
+ @ProducerAddr = produceraddr
8092
+ end
8093
+
8094
+ def deserialize(params)
8095
+ @MsgId = params['MsgId']
8096
+ @ProducerName = params['ProducerName']
8097
+ @ProduceTime = params['ProduceTime']
8098
+ @ProducerAddr = params['ProducerAddr']
8099
+ end
8100
+ end
8101
+
7850
8102
  # 分区topic
7851
8103
  class PartitionsTopic < TencentCloud::Common::AbstractModel
7852
8104
  # @param AverageMsgSize: 最后一次间隔内发布消息的平均byte大小。
@@ -7924,6 +8176,42 @@ module TencentCloud
7924
8176
  end
7925
8177
  end
7926
8178
 
8179
+ # 消息生产信息
8180
+ class ProducerLog < TencentCloud::Common::AbstractModel
8181
+ # @param MsgId: 消息ID。
8182
+ # @type MsgId: String
8183
+ # @param ProducerName: 生产者名称。
8184
+ # @type ProducerName: String
8185
+ # @param ProduceTime: 消息生产时间。
8186
+ # @type ProduceTime: String
8187
+ # @param ProducerAddr: 生产者客户端。
8188
+ # @type ProducerAddr: String
8189
+ # @param ProduceUseTime: 生产耗时(秒)。
8190
+ # @type ProduceUseTime: Integer
8191
+ # @param Status: 状态。
8192
+ # @type Status: String
8193
+
8194
+ attr_accessor :MsgId, :ProducerName, :ProduceTime, :ProducerAddr, :ProduceUseTime, :Status
8195
+
8196
+ def initialize(msgid=nil, producername=nil, producetime=nil, produceraddr=nil, produceusetime=nil, status=nil)
8197
+ @MsgId = msgid
8198
+ @ProducerName = producername
8199
+ @ProduceTime = producetime
8200
+ @ProducerAddr = produceraddr
8201
+ @ProduceUseTime = produceusetime
8202
+ @Status = status
8203
+ end
8204
+
8205
+ def deserialize(params)
8206
+ @MsgId = params['MsgId']
8207
+ @ProducerName = params['ProducerName']
8208
+ @ProduceTime = params['ProduceTime']
8209
+ @ProducerAddr = params['ProducerAddr']
8210
+ @ProduceUseTime = params['ProduceUseTime']
8211
+ @Status = params['Status']
8212
+ end
8213
+ end
8214
+
7927
8215
  # rabbitmq Prometheus信息
7928
8216
  class PrometheusEndpointInfo < TencentCloud::Common::AbstractModel
7929
8217
  # @param PrometheusEndpointStatus: Prometheus开关的状态。
@@ -10500,6 +10788,26 @@ module TencentCloud
10500
10788
  end
10501
10789
  end
10502
10790
 
10791
+ # 服务方信息
10792
+ class ServerLog < TencentCloud::Common::AbstractModel
10793
+ # @param SaveTime: 存储时间。
10794
+ # @type SaveTime: String
10795
+ # @param Status: 状态。
10796
+ # @type Status: String
10797
+
10798
+ attr_accessor :SaveTime, :Status
10799
+
10800
+ def initialize(savetime=nil, status=nil)
10801
+ @SaveTime = savetime
10802
+ @Status = status
10803
+ end
10804
+
10805
+ def deserialize(params)
10806
+ @SaveTime = params['SaveTime']
10807
+ @Status = params['Status']
10808
+ end
10809
+ end
10810
+
10503
10811
  # SetRocketMQPublicAccessPoint请求参数结构体
10504
10812
  class SetRocketMQPublicAccessPointRequest < TencentCloud::Common::AbstractModel
10505
10813
  # @param InstanceId: 集群ID,当前只支持专享集群
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.691
4
+ version: 3.0.693
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-11-01 00:00:00.000000000 Z
11
+ date: 2023-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common