tencentcloud-sdk-tdmq 1.0.232 → 1.0.233

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: 45e34693fb82cb15c4aea8692c6ce779f0ddba46
4
- data.tar.gz: 57aedca8c44a429f84a343bffd5ca7a663de7a5d
3
+ metadata.gz: 815d4420633918149775a6719bfada276f760af4
4
+ data.tar.gz: 4d242011912bb94965b81b99067af24b30d1e2e6
5
5
  SHA512:
6
- metadata.gz: d2b1b0f79dfdee5f2d83621f95bd175271556740f68e279eee661dc1cb95f1c1e349abea543ff65480f53ea9ca356ed54e19b0d04948a606046d3e1b8c983890
7
- data.tar.gz: 66f95335202c122e4c06e38d9766180869b9394396fcaf25d05160b7a4fc421c7ef947e304433bf9688bcdebe4c25afebaa314ba974fec05ebad5c4173f97cc5
6
+ metadata.gz: 5181a4b624c1e26c05d2944316d6eb607a9ad30d3e6247fca10a2e5f219bf87a3e86e9abe46f7874a4e6af89aa9e320768e7cf032e55f5ca540aeaac734a44ce
7
+ data.tar.gz: 21193d2af93eed9295b98610446119cf5438cdcdf22c97f72720172a19a4f1c789512c4a9d1f8955a78ff3d8e8de382aeccee4669c9704efc3647ba662cab3fc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.232
1
+ 1.0.233
@@ -1517,30 +1517,6 @@ module TencentCloud
1517
1517
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
1518
  end
1519
1519
 
1520
- # 获取生产者列表,仅显示在线的生产者
1521
-
1522
- # @param request: Request instance for DescribeProducers.
1523
- # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeProducersRequest`
1524
- # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeProducersResponse`
1525
- def DescribeProducers(request)
1526
- body = send_request('DescribeProducers', request.serialize)
1527
- response = JSON.parse(body)
1528
- if response['Response'].key?('Error') == false
1529
- model = DescribeProducersResponse.new
1530
- model.deserialize(response['Response'])
1531
- model
1532
- else
1533
- code = response['Response']['Error']['Code']
1534
- message = response['Response']['Error']['Message']
1535
- reqid = response['Response']['RequestId']
1536
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1537
- end
1538
- rescue TencentCloud::Common::TencentCloudSDKException => e
1539
- raise e
1540
- rescue StandardError => e
1541
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
- end
1543
-
1544
1520
  # 获取消息生产概览信息
1545
1521
 
1546
1522
  # @param request: Request instance for DescribePublisherSummary.
@@ -1059,53 +1059,6 @@ module TencentCloud
1059
1059
  end
1060
1060
  end
1061
1061
 
1062
- # 生产者连接实例
1063
- class Connection < TencentCloud::Common::AbstractModel
1064
- # @param Address: 生产者地址。
1065
- # 注意:此字段可能返回 null,表示取不到有效值。
1066
- # @type Address: String
1067
- # @param Partitions: 主题分区。
1068
- # 注意:此字段可能返回 null,表示取不到有效值。
1069
- # @type Partitions: Integer
1070
- # @param ClientVersion: 生产者版本。
1071
- # 注意:此字段可能返回 null,表示取不到有效值。
1072
- # @type ClientVersion: String
1073
- # @param ProducerName: 生产者名称。
1074
- # 注意:此字段可能返回 null,表示取不到有效值。
1075
- # @type ProducerName: String
1076
- # @param ProducerId: 生产者ID。
1077
- # 注意:此字段可能返回 null,表示取不到有效值。
1078
- # @type ProducerId: String
1079
- # @param AverageMsgSize: 消息平均大小(byte)。
1080
- # 注意:此字段可能返回 null,表示取不到有效值。
1081
- # @type AverageMsgSize: String
1082
- # @param MsgThroughputIn: 生成速率(byte/秒)。
1083
- # 注意:此字段可能返回 null,表示取不到有效值。
1084
- # @type MsgThroughputIn: String
1085
-
1086
- attr_accessor :Address, :Partitions, :ClientVersion, :ProducerName, :ProducerId, :AverageMsgSize, :MsgThroughputIn
1087
-
1088
- def initialize(address=nil, partitions=nil, clientversion=nil, producername=nil, producerid=nil, averagemsgsize=nil, msgthroughputin=nil)
1089
- @Address = address
1090
- @Partitions = partitions
1091
- @ClientVersion = clientversion
1092
- @ProducerName = producername
1093
- @ProducerId = producerid
1094
- @AverageMsgSize = averagemsgsize
1095
- @MsgThroughputIn = msgthroughputin
1096
- end
1097
-
1098
- def deserialize(params)
1099
- @Address = params['Address']
1100
- @Partitions = params['Partitions']
1101
- @ClientVersion = params['ClientVersion']
1102
- @ProducerName = params['ProducerName']
1103
- @ProducerId = params['ProducerId']
1104
- @AverageMsgSize = params['AverageMsgSize']
1105
- @MsgThroughputIn = params['MsgThroughputIn']
1106
- end
1107
- end
1108
-
1109
1062
  # 消费者
1110
1063
  class Consumer < TencentCloud::Common::AbstractModel
1111
1064
  # @param ConnectedSince: 消费者开始连接的时间。
@@ -4322,73 +4275,6 @@ module TencentCloud
4322
4275
  end
4323
4276
  end
4324
4277
 
4325
- # DescribeProducers请求参数结构体
4326
- class DescribeProducersRequest < TencentCloud::Common::AbstractModel
4327
- # @param EnvironmentId: 环境(命名空间)名称。
4328
- # @type EnvironmentId: String
4329
- # @param TopicName: 主题名。
4330
- # @type TopicName: String
4331
- # @param Offset: 起始下标,不填默认为0。
4332
- # @type Offset: Integer
4333
- # @param Limit: 返回数量,不填则默认为10,最大值为20。
4334
- # @type Limit: Integer
4335
- # @param ProducerName: 生产者名称,模糊匹配。
4336
- # @type ProducerName: String
4337
- # @param ClusterId: Pulsar 集群的ID
4338
- # @type ClusterId: String
4339
-
4340
- attr_accessor :EnvironmentId, :TopicName, :Offset, :Limit, :ProducerName, :ClusterId
4341
-
4342
- def initialize(environmentid=nil, topicname=nil, offset=nil, limit=nil, producername=nil, clusterid=nil)
4343
- @EnvironmentId = environmentid
4344
- @TopicName = topicname
4345
- @Offset = offset
4346
- @Limit = limit
4347
- @ProducerName = producername
4348
- @ClusterId = clusterid
4349
- end
4350
-
4351
- def deserialize(params)
4352
- @EnvironmentId = params['EnvironmentId']
4353
- @TopicName = params['TopicName']
4354
- @Offset = params['Offset']
4355
- @Limit = params['Limit']
4356
- @ProducerName = params['ProducerName']
4357
- @ClusterId = params['ClusterId']
4358
- end
4359
- end
4360
-
4361
- # DescribeProducers返回参数结构体
4362
- class DescribeProducersResponse < TencentCloud::Common::AbstractModel
4363
- # @param ProducerSets: 生产者集合数组。
4364
- # @type ProducerSets: Array
4365
- # @param TotalCount: 记录总数。
4366
- # @type TotalCount: Integer
4367
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4368
- # @type RequestId: String
4369
-
4370
- attr_accessor :ProducerSets, :TotalCount, :RequestId
4371
-
4372
- def initialize(producersets=nil, totalcount=nil, requestid=nil)
4373
- @ProducerSets = producersets
4374
- @TotalCount = totalcount
4375
- @RequestId = requestid
4376
- end
4377
-
4378
- def deserialize(params)
4379
- unless params['ProducerSets'].nil?
4380
- @ProducerSets = []
4381
- params['ProducerSets'].each do |i|
4382
- producer_tmp = Producer.new
4383
- producer_tmp.deserialize(i)
4384
- @ProducerSets << producer_tmp
4385
- end
4386
- end
4387
- @TotalCount = params['TotalCount']
4388
- @RequestId = params['RequestId']
4389
- end
4390
- end
4391
-
4392
4278
  # DescribePublisherSummary请求参数结构体
4393
4279
  class DescribePublisherSummaryRequest < TencentCloud::Common::AbstractModel
4394
4280
  # @param ClusterId: 集群ID
@@ -6243,43 +6129,6 @@ module TencentCloud
6243
6129
  end
6244
6130
  end
6245
6131
 
6246
- # 生产者
6247
- class Producer < TencentCloud::Common::AbstractModel
6248
- # @param EnvironmentId: 环境(命名空间)名称。
6249
- # @type EnvironmentId: String
6250
- # @param TopicName: 主题名称。
6251
- # @type TopicName: String
6252
- # @param CountConnect: 连接数。
6253
- # 注意:此字段可能返回 null,表示取不到有效值。
6254
- # @type CountConnect: Integer
6255
- # @param ConnectionSets: 连接集合。
6256
- # 注意:此字段可能返回 null,表示取不到有效值。
6257
- # @type ConnectionSets: Array
6258
-
6259
- attr_accessor :EnvironmentId, :TopicName, :CountConnect, :ConnectionSets
6260
-
6261
- def initialize(environmentid=nil, topicname=nil, countconnect=nil, connectionsets=nil)
6262
- @EnvironmentId = environmentid
6263
- @TopicName = topicname
6264
- @CountConnect = countconnect
6265
- @ConnectionSets = connectionsets
6266
- end
6267
-
6268
- def deserialize(params)
6269
- @EnvironmentId = params['EnvironmentId']
6270
- @TopicName = params['TopicName']
6271
- @CountConnect = params['CountConnect']
6272
- unless params['ConnectionSets'].nil?
6273
- @ConnectionSets = []
6274
- params['ConnectionSets'].each do |i|
6275
- connection_tmp = Connection.new
6276
- connection_tmp.deserialize(i)
6277
- @ConnectionSets << connection_tmp
6278
- end
6279
- end
6280
- end
6281
- end
6282
-
6283
6132
  # PublishCmqMsg请求参数结构体
6284
6133
  class PublishCmqMsgRequest < TencentCloud::Common::AbstractModel
6285
6134
  # @param TopicName: 主题名
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: 1.0.232
4
+ version: 1.0.233
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-28 00:00:00.000000000 Z
11
+ date: 2021-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common