tencentcloud-sdk-tdmq 3.0.1127 → 3.0.1128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +126 -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: 3643f4c28b404ade07ef8f85550a130506684e8a
|
4
|
+
data.tar.gz: 0f31535e7d1fcd8827f888a29dcabd88cba54385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff3745af06119bbeb1b036c88d20b7e93494be79cebcb015b263ed4e8f6783234402c181a7ad061d655a8969b18e4cd9a7a8f215728b7e3583d53ad926e1c70c
|
7
|
+
data.tar.gz: fe34103ef96596a5303aeac549235533f37190c950ce365c347fbdf48a7e66faacc534f7a312b76004497304be6279b7bbe60fb3daded5cea2101de7042c3e6e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1128
|
data/lib/v20200217/client.rb
CHANGED
@@ -2191,6 +2191,30 @@ module TencentCloud
|
|
2191
2191
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2192
2192
|
end
|
2193
2193
|
|
2194
|
+
# 查询 RocketMQ 指定主题下的生产者客户端列表。
|
2195
|
+
|
2196
|
+
# @param request: Request instance for DescribeRocketMQProducers.
|
2197
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQProducersRequest`
|
2198
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQProducersResponse`
|
2199
|
+
def DescribeRocketMQProducers(request)
|
2200
|
+
body = send_request('DescribeRocketMQProducers', request.serialize)
|
2201
|
+
response = JSON.parse(body)
|
2202
|
+
if response['Response'].key?('Error') == false
|
2203
|
+
model = DescribeRocketMQProducersResponse.new
|
2204
|
+
model.deserialize(response['Response'])
|
2205
|
+
model
|
2206
|
+
else
|
2207
|
+
code = response['Response']['Error']['Code']
|
2208
|
+
message = response['Response']['Error']['Message']
|
2209
|
+
reqid = response['Response']['RequestId']
|
2210
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2211
|
+
end
|
2212
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2213
|
+
raise e
|
2214
|
+
rescue StandardError => e
|
2215
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2216
|
+
end
|
2217
|
+
|
2194
2218
|
# 从腾讯云可观测平台拉取公网指标监控数据,目前仅支持客户端到 LB 的入带宽和出宽带指标。
|
2195
2219
|
|
2196
2220
|
# @param request: Request instance for DescribeRocketMQPublicAccessMonitorData.
|
data/lib/v20200217/models.rb
CHANGED
@@ -6600,6 +6600,83 @@ module TencentCloud
|
|
6600
6600
|
end
|
6601
6601
|
end
|
6602
6602
|
|
6603
|
+
# DescribeRocketMQProducers请求参数结构体
|
6604
|
+
class DescribeRocketMQProducersRequest < TencentCloud::Common::AbstractModel
|
6605
|
+
# @param ClusterId: 集群ID
|
6606
|
+
# @type ClusterId: String
|
6607
|
+
# @param NamespaceId: 命名空间
|
6608
|
+
# @type NamespaceId: String
|
6609
|
+
# @param Topic: 主题名
|
6610
|
+
# @type Topic: String
|
6611
|
+
# @param Offset: 分页offset
|
6612
|
+
# @type Offset: Integer
|
6613
|
+
# @param Limit: 分页limit
|
6614
|
+
# @type Limit: Integer
|
6615
|
+
# @param Filters: 过滤查询条件列表,支持以下过滤参数:
|
6616
|
+
|
6617
|
+
# - ClientId:生产者客户端ID
|
6618
|
+
# - ClientIp:生产者客户端IP
|
6619
|
+
# @type Filters: Array
|
6620
|
+
|
6621
|
+
attr_accessor :ClusterId, :NamespaceId, :Topic, :Offset, :Limit, :Filters
|
6622
|
+
|
6623
|
+
def initialize(clusterid=nil, namespaceid=nil, topic=nil, offset=nil, limit=nil, filters=nil)
|
6624
|
+
@ClusterId = clusterid
|
6625
|
+
@NamespaceId = namespaceid
|
6626
|
+
@Topic = topic
|
6627
|
+
@Offset = offset
|
6628
|
+
@Limit = limit
|
6629
|
+
@Filters = filters
|
6630
|
+
end
|
6631
|
+
|
6632
|
+
def deserialize(params)
|
6633
|
+
@ClusterId = params['ClusterId']
|
6634
|
+
@NamespaceId = params['NamespaceId']
|
6635
|
+
@Topic = params['Topic']
|
6636
|
+
@Offset = params['Offset']
|
6637
|
+
@Limit = params['Limit']
|
6638
|
+
unless params['Filters'].nil?
|
6639
|
+
@Filters = []
|
6640
|
+
params['Filters'].each do |i|
|
6641
|
+
filter_tmp = Filter.new
|
6642
|
+
filter_tmp.deserialize(i)
|
6643
|
+
@Filters << filter_tmp
|
6644
|
+
end
|
6645
|
+
end
|
6646
|
+
end
|
6647
|
+
end
|
6648
|
+
|
6649
|
+
# DescribeRocketMQProducers返回参数结构体
|
6650
|
+
class DescribeRocketMQProducersResponse < TencentCloud::Common::AbstractModel
|
6651
|
+
# @param Producers: 生产者客户端列表
|
6652
|
+
# @type Producers: Array
|
6653
|
+
# @param TotalCount: 总数
|
6654
|
+
# @type TotalCount: Integer
|
6655
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6656
|
+
# @type RequestId: String
|
6657
|
+
|
6658
|
+
attr_accessor :Producers, :TotalCount, :RequestId
|
6659
|
+
|
6660
|
+
def initialize(producers=nil, totalcount=nil, requestid=nil)
|
6661
|
+
@Producers = producers
|
6662
|
+
@TotalCount = totalcount
|
6663
|
+
@RequestId = requestid
|
6664
|
+
end
|
6665
|
+
|
6666
|
+
def deserialize(params)
|
6667
|
+
unless params['Producers'].nil?
|
6668
|
+
@Producers = []
|
6669
|
+
params['Producers'].each do |i|
|
6670
|
+
producerinfo_tmp = ProducerInfo.new
|
6671
|
+
producerinfo_tmp.deserialize(i)
|
6672
|
+
@Producers << producerinfo_tmp
|
6673
|
+
end
|
6674
|
+
end
|
6675
|
+
@TotalCount = params['TotalCount']
|
6676
|
+
@RequestId = params['RequestId']
|
6677
|
+
end
|
6678
|
+
end
|
6679
|
+
|
6603
6680
|
# DescribeRocketMQPublicAccessMonitorData请求参数结构体
|
6604
6681
|
class DescribeRocketMQPublicAccessMonitorDataRequest < TencentCloud::Common::AbstractModel
|
6605
6682
|
# @param InstanceId: 专享集群ID
|
@@ -9994,6 +10071,55 @@ module TencentCloud
|
|
9994
10071
|
end
|
9995
10072
|
end
|
9996
10073
|
|
10074
|
+
# 生产者客户端详情
|
10075
|
+
class ProducerInfo < TencentCloud::Common::AbstractModel
|
10076
|
+
# @param ClientId: 客户端ID
|
10077
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10078
|
+
# @type ClientId: String
|
10079
|
+
# @param ClientIp: 客户端IP
|
10080
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10081
|
+
# @type ClientIp: String
|
10082
|
+
# @param Language: 客户端语言
|
10083
|
+
# JAVA((byte) 0),
|
10084
|
+
# CPP((byte) 1),
|
10085
|
+
# DOTNET((byte) 2),
|
10086
|
+
# PYTHON((byte) 3),
|
10087
|
+
# DELPHI((byte) 4),
|
10088
|
+
# ERLANG((byte) 5),
|
10089
|
+
# RUBY((byte) 6),
|
10090
|
+
# OTHER((byte) 7),
|
10091
|
+
# HTTP((byte) 8),
|
10092
|
+
# GO((byte) 9),
|
10093
|
+
# PHP((byte) 10),
|
10094
|
+
# OMS((byte) 11);
|
10095
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10096
|
+
# @type Language: String
|
10097
|
+
# @param Version: 客户端版本
|
10098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10099
|
+
# @type Version: String
|
10100
|
+
# @param LastUpdateTimestamp: 最后生产时间
|
10101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10102
|
+
# @type LastUpdateTimestamp: Integer
|
10103
|
+
|
10104
|
+
attr_accessor :ClientId, :ClientIp, :Language, :Version, :LastUpdateTimestamp
|
10105
|
+
|
10106
|
+
def initialize(clientid=nil, clientip=nil, language=nil, version=nil, lastupdatetimestamp=nil)
|
10107
|
+
@ClientId = clientid
|
10108
|
+
@ClientIp = clientip
|
10109
|
+
@Language = language
|
10110
|
+
@Version = version
|
10111
|
+
@LastUpdateTimestamp = lastupdatetimestamp
|
10112
|
+
end
|
10113
|
+
|
10114
|
+
def deserialize(params)
|
10115
|
+
@ClientId = params['ClientId']
|
10116
|
+
@ClientIp = params['ClientIp']
|
10117
|
+
@Language = params['Language']
|
10118
|
+
@Version = params['Version']
|
10119
|
+
@LastUpdateTimestamp = params['LastUpdateTimestamp']
|
10120
|
+
end
|
10121
|
+
end
|
10122
|
+
|
9997
10123
|
# 消息生产信息
|
9998
10124
|
class ProducerLog < TencentCloud::Common::AbstractModel
|
9999
10125
|
# @param MsgId: 消息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.1128
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|