tencentcloud-sdk-tdmq 3.0.896 → 3.0.897

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200217/models.rb +64 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34eba327cb47ef263abb1afeaf8de4eeb1b572fa
4
- data.tar.gz: 49d4ee26e93d08a3a6e1947c5209ba7720e59fcd
3
+ metadata.gz: 69e31164abbe6c9677923b22982ce2a304a1bc8f
4
+ data.tar.gz: bb344f3db6490c40a3b5cecdd1b191fdae297290
5
5
  SHA512:
6
- metadata.gz: 6e04bcd18d27ae84cb78f5e27539330a13653ede1d15d0f3855e8f3e8f752b081db379a6bb1b26dfe850319d742be9d2b7acce8652284c86ed07f6d8e666b7d4
7
- data.tar.gz: f3c37afd650fd31231c4e54ef9c7ebbe27ea62c9e6f57e59b02272da6e08dec7a80ab3f5bb861f07079a336829da877970a3e4132e0f4a3f22c5c21a92456cc5
6
+ metadata.gz: b7c9893df5bb3c782f9a6094cbfb3969956356bd24c32f70e2080f838ee71acdd51f06a449685dc62c7f25c3f3bf7275598e74aad26e0d6b9ba5b2df921b59ce
7
+ data.tar.gz: 397b8918abcee0653919c9260d350ca86d837e77f01fce830cf77776d92abadece7e07a34e05fba5807ce7f957faf562f027e323e83f055348826374be2f81d2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.896
1
+ 3.0.897
@@ -280,6 +280,42 @@ module TencentCloud
280
280
  end
281
281
  end
282
282
 
283
+ # 客户端订阅详情,可用于辅助判断哪些客户端订阅关系不一致
284
+ class ClientSubscriptionInfo < TencentCloud::Common::AbstractModel
285
+ # @param ClientId: 客户端ID
286
+ # @type ClientId: String
287
+ # @param ClientAddr: 客户端IP
288
+ # 注意:此字段可能返回 null,表示取不到有效值。
289
+ # @type ClientAddr: String
290
+ # @param Topic: 订阅主题
291
+ # 注意:此字段可能返回 null,表示取不到有效值。
292
+ # @type Topic: String
293
+ # @param SubString: 订阅表达式
294
+ # 注意:此字段可能返回 null,表示取不到有效值。
295
+ # @type SubString: String
296
+ # @param ExpressionType: 订阅方式
297
+ # 注意:此字段可能返回 null,表示取不到有效值。
298
+ # @type ExpressionType: String
299
+
300
+ attr_accessor :ClientId, :ClientAddr, :Topic, :SubString, :ExpressionType
301
+
302
+ def initialize(clientid=nil, clientaddr=nil, topic=nil, substring=nil, expressiontype=nil)
303
+ @ClientId = clientid
304
+ @ClientAddr = clientaddr
305
+ @Topic = topic
306
+ @SubString = substring
307
+ @ExpressionType = expressiontype
308
+ end
309
+
310
+ def deserialize(params)
311
+ @ClientId = params['ClientId']
312
+ @ClientAddr = params['ClientAddr']
313
+ @Topic = params['Topic']
314
+ @SubString = params['SubString']
315
+ @ExpressionType = params['ExpressionType']
316
+ end
317
+ end
318
+
283
319
  # 集群信息集合
284
320
  class Cluster < TencentCloud::Common::AbstractModel
285
321
  # @param ClusterId: 集群Id。
@@ -6158,8 +6194,8 @@ module TencentCloud
6158
6194
 
6159
6195
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
6160
6196
  extend Gem::Deprecate
6161
- deprecate :QueryDlqMsg, :none, 2024, 8
6162
- deprecate :QueryDlqMsg=, :none, 2024, 8
6197
+ deprecate :QueryDlqMsg, :none, 2024, 9
6198
+ deprecate :QueryDlqMsg=, :none, 2024, 9
6163
6199
 
6164
6200
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
6165
6201
  @ClusterId = clusterid
@@ -6264,8 +6300,8 @@ module TencentCloud
6264
6300
 
6265
6301
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
6266
6302
  extend Gem::Deprecate
6267
- deprecate :QueryDLQMsg, :none, 2024, 8
6268
- deprecate :QueryDLQMsg=, :none, 2024, 8
6303
+ deprecate :QueryDLQMsg, :none, 2024, 9
6304
+ deprecate :QueryDLQMsg=, :none, 2024, 9
6269
6305
 
6270
6306
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
6271
6307
  @ClusterId = clusterid
@@ -7087,8 +7123,8 @@ module TencentCloud
7087
7123
 
7088
7124
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
7089
7125
  extend Gem::Deprecate
7090
- deprecate :QueryDlqMsg, :none, 2024, 8
7091
- deprecate :QueryDlqMsg=, :none, 2024, 8
7126
+ deprecate :QueryDlqMsg, :none, 2024, 9
7127
+ deprecate :QueryDlqMsg=, :none, 2024, 9
7092
7128
 
7093
7129
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, starttime=nil, endtime=nil, msgid=nil, msgkey=nil, offset=nil, limit=nil, taskrequestid=nil, querydlqmsg=nil, numoflatestmsg=nil, tag=nil, querydeadlettermessage=nil)
7094
7130
  @ClusterId = clusterid
@@ -9874,16 +9910,21 @@ module TencentCloud
9874
9910
  # @param ScalableTps: 规格外弹性TPS
9875
9911
  # 注意:此字段可能返回 null,表示取不到有效值。
9876
9912
  # @type ScalableTps: Integer
9913
+ # @param MaxPartitions: 32或者128
9914
+ # 当前集群topic的最大分区数
9915
+ # 注意:此字段可能返回 null,表示取不到有效值。
9916
+ # @type MaxPartitions: Integer
9877
9917
 
9878
- attr_accessor :SpecName, :MaxTps, :MaxBandWidth, :MaxNamespaces, :MaxTopics, :ScalableTps
9918
+ attr_accessor :SpecName, :MaxTps, :MaxBandWidth, :MaxNamespaces, :MaxTopics, :ScalableTps, :MaxPartitions
9879
9919
 
9880
- def initialize(specname=nil, maxtps=nil, maxbandwidth=nil, maxnamespaces=nil, maxtopics=nil, scalabletps=nil)
9920
+ def initialize(specname=nil, maxtps=nil, maxbandwidth=nil, maxnamespaces=nil, maxtopics=nil, scalabletps=nil, maxpartitions=nil)
9881
9921
  @SpecName = specname
9882
9922
  @MaxTps = maxtps
9883
9923
  @MaxBandWidth = maxbandwidth
9884
9924
  @MaxNamespaces = maxnamespaces
9885
9925
  @MaxTopics = maxtopics
9886
9926
  @ScalableTps = scalabletps
9927
+ @MaxPartitions = maxpartitions
9887
9928
  end
9888
9929
 
9889
9930
  def deserialize(params)
@@ -9893,6 +9934,7 @@ module TencentCloud
9893
9934
  @MaxNamespaces = params['MaxNamespaces']
9894
9935
  @MaxTopics = params['MaxTopics']
9895
9936
  @ScalableTps = params['ScalableTps']
9937
+ @MaxPartitions = params['MaxPartitions']
9896
9938
  end
9897
9939
  end
9898
9940
 
@@ -11935,10 +11977,13 @@ module TencentCloud
11935
11977
  # @param ClientProtocol: 协议类型
11936
11978
  # 注意:此字段可能返回 null,表示取不到有效值。
11937
11979
  # @type ClientProtocol: String
11980
+ # @param ClientSubscriptionInfos: 客户端订阅详情
11981
+ # 注意:此字段可能返回 null,表示取不到有效值。
11982
+ # @type ClientSubscriptionInfos: Array
11938
11983
 
11939
- attr_accessor :Topic, :Type, :PartitionNum, :ExpressionType, :SubString, :Status, :ConsumerLag, :ClusterId, :ConsumerGroup, :IsOnline, :ConsumeType, :Consistency, :LastUpdateTime, :MaxRetryTimes, :ClientProtocol
11984
+ attr_accessor :Topic, :Type, :PartitionNum, :ExpressionType, :SubString, :Status, :ConsumerLag, :ClusterId, :ConsumerGroup, :IsOnline, :ConsumeType, :Consistency, :LastUpdateTime, :MaxRetryTimes, :ClientProtocol, :ClientSubscriptionInfos
11940
11985
 
11941
- def initialize(topic=nil, type=nil, partitionnum=nil, expressiontype=nil, substring=nil, status=nil, consumerlag=nil, clusterid=nil, consumergroup=nil, isonline=nil, consumetype=nil, consistency=nil, lastupdatetime=nil, maxretrytimes=nil, clientprotocol=nil)
11986
+ def initialize(topic=nil, type=nil, partitionnum=nil, expressiontype=nil, substring=nil, status=nil, consumerlag=nil, clusterid=nil, consumergroup=nil, isonline=nil, consumetype=nil, consistency=nil, lastupdatetime=nil, maxretrytimes=nil, clientprotocol=nil, clientsubscriptioninfos=nil)
11942
11987
  @Topic = topic
11943
11988
  @Type = type
11944
11989
  @PartitionNum = partitionnum
@@ -11954,6 +11999,7 @@ module TencentCloud
11954
11999
  @LastUpdateTime = lastupdatetime
11955
12000
  @MaxRetryTimes = maxretrytimes
11956
12001
  @ClientProtocol = clientprotocol
12002
+ @ClientSubscriptionInfos = clientsubscriptioninfos
11957
12003
  end
11958
12004
 
11959
12005
  def deserialize(params)
@@ -11972,6 +12018,14 @@ module TencentCloud
11972
12018
  @LastUpdateTime = params['LastUpdateTime']
11973
12019
  @MaxRetryTimes = params['MaxRetryTimes']
11974
12020
  @ClientProtocol = params['ClientProtocol']
12021
+ unless params['ClientSubscriptionInfos'].nil?
12022
+ @ClientSubscriptionInfos = []
12023
+ params['ClientSubscriptionInfos'].each do |i|
12024
+ clientsubscriptioninfo_tmp = ClientSubscriptionInfo.new
12025
+ clientsubscriptioninfo_tmp.deserialize(i)
12026
+ @ClientSubscriptionInfos << clientsubscriptioninfo_tmp
12027
+ end
12028
+ end
11975
12029
  end
11976
12030
  end
11977
12031
 
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.896
4
+ version: 3.0.897
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-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common