tencentcloud-sdk-tdmq 3.0.692 → 3.0.694
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 +205 -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: d8c315552e47cbbb67e6dfa1cca02ad0c178e754
|
4
|
+
data.tar.gz: 415c7b260dfad250b3f2f79d204c76d5278aea7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 197973b23e5242e9b5d7042f07bbc98910612f1eec4751063d135b583c10ac27a7dd40e180c97d80f2291771e8cd6118db359cd26adfcaba68d5db913c3d2c4d
|
7
|
+
data.tar.gz: 4b5acd8446864496d686a112ccba6fa7683876d9a9feb10d6e8d0a415d821ed6b1ab47d1d1486d79157c690884e517f50aa60e708dc7fd433c9cfe6b41d28cb8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.694
|
data/lib/v20200217/client.rb
CHANGED
@@ -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.
|
data/lib/v20200217/models.rb
CHANGED
@@ -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: 物理集群名
|
@@ -8027,6 +8176,42 @@ module TencentCloud
|
|
8027
8176
|
end
|
8028
8177
|
end
|
8029
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
|
+
|
8030
8215
|
# rabbitmq Prometheus信息
|
8031
8216
|
class PrometheusEndpointInfo < TencentCloud::Common::AbstractModel
|
8032
8217
|
# @param PrometheusEndpointStatus: Prometheus开关的状态。
|
@@ -10603,6 +10788,26 @@ module TencentCloud
|
|
10603
10788
|
end
|
10604
10789
|
end
|
10605
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
|
+
|
10606
10811
|
# SetRocketMQPublicAccessPoint请求参数结构体
|
10607
10812
|
class SetRocketMQPublicAccessPointRequest < TencentCloud::Common::AbstractModel
|
10608
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.
|
4
|
+
version: 3.0.694
|
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-
|
11
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|