tencentcloud-sdk-tdmq 3.0.670 → 3.0.672

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 +128 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2a39391c0d5882655ec19f42eb500ece06e84d4
4
- data.tar.gz: 3bb0320c117c3f9b78e5f0d567ccfad397c0b971
3
+ metadata.gz: 44d12eb136d32b1f4056b49758a9a6fdce150bf7
4
+ data.tar.gz: f4b50b90c8408c827a795ee7a818cce26d27b3b6
5
5
  SHA512:
6
- metadata.gz: e2d14530989d16072cb328e804820f8305f0fd88a53ff3e16baee56eb7a5384226b91700ac7468b15d20ff2eb252d2eab77ccb493b89f0e8a5369ffadd1014c7
7
- data.tar.gz: 69a6c59bb6a35e31d6ea7dd9b4f360fbda93832778ab262138193d866973365b8d617f539be056554d53855e03fb611d64e6a3c46876c9c926513c13d67b7ec2
6
+ metadata.gz: 81f9684c6defe69ba38589af553599234f541b8d433f551f7924e9d0b190a2e8ac2a5167d24cdb3252b73ccf96611f4e6b8782e1ccaba94ffbda9920d6475e39
7
+ data.tar.gz: ef203c2cafbdafff1aa2d785b01a607b2829873fb622925f0562bec74d072282d47dd93c0872132648ae945155a1a82a1c6a7fd51d64fcd882087ea3639a3f79
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.670
1
+ 3.0.672
@@ -5035,10 +5035,17 @@ module TencentCloud
5035
5035
  # @type QueryDlqMsg: Boolean
5036
5036
  # @param NumOfLatestMsg: 查询最近N条消息 最大不超过1024,默认-1为其他查询条件
5037
5037
  # @type NumOfLatestMsg: Integer
5038
+ # @param Tag: TAG表达式
5039
+ # @type Tag: String
5040
+ # @param QueryDeadLetterMessage: 死信查询时该值为true,只对Rocketmq有效
5041
+ # @type QueryDeadLetterMessage: Boolean
5038
5042
 
5039
- attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg
5043
+ attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
5044
+ extend Gem::Deprecate
5045
+ deprecate :QueryDlqMsg, :none, 2023, 10
5046
+ deprecate :QueryDlqMsg=, :none, 2023, 10
5040
5047
 
5041
- 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)
5048
+ 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)
5042
5049
  @ClusterId = clusterid
5043
5050
  @EnvironmentId = environmentid
5044
5051
  @TopicName = topicname
@@ -5051,6 +5058,8 @@ module TencentCloud
5051
5058
  @TaskRequestId = taskrequestid
5052
5059
  @QueryDlqMsg = querydlqmsg
5053
5060
  @NumOfLatestMsg = numoflatestmsg
5061
+ @Tag = tag
5062
+ @QueryDeadLetterMessage = querydeadlettermessage
5054
5063
  end
5055
5064
 
5056
5065
  def deserialize(params)
@@ -5066,6 +5075,8 @@ module TencentCloud
5066
5075
  @TaskRequestId = params['TaskRequestId']
5067
5076
  @QueryDlqMsg = params['QueryDlqMsg']
5068
5077
  @NumOfLatestMsg = params['NumOfLatestMsg']
5078
+ @Tag = params['Tag']
5079
+ @QueryDeadLetterMessage = params['QueryDeadLetterMessage']
5069
5080
  end
5070
5081
  end
5071
5082
 
@@ -8542,6 +8553,97 @@ module TencentCloud
8542
8553
  end
8543
8554
  end
8544
8555
 
8556
+ # RocketMQ消费组订阅信息
8557
+ class RocketMQSubscription < TencentCloud::Common::AbstractModel
8558
+ # @param Topic: 主题名称
8559
+ # @type Topic: String
8560
+ # @param Type: 主题类型:
8561
+ # Normal 普通,
8562
+ # GlobalOrder 全局顺序,
8563
+ # PartitionedOrder 局部顺序,
8564
+ # Transaction 事务消息,
8565
+ # DelayScheduled 延时消息,
8566
+ # Retry 重试,
8567
+ # DeadLetter 死信
8568
+ # 注意:此字段可能返回 null,表示取不到有效值。
8569
+ # @type Type: String
8570
+ # @param PartitionNum: 分区数
8571
+ # 注意:此字段可能返回 null,表示取不到有效值。
8572
+ # @type PartitionNum: Integer
8573
+ # @param ExpressionType: 过滤模式,TAG,SQL
8574
+ # 注意:此字段可能返回 null,表示取不到有效值。
8575
+ # @type ExpressionType: String
8576
+ # @param SubString: 过滤表达式
8577
+ # 注意:此字段可能返回 null,表示取不到有效值。
8578
+ # @type SubString: String
8579
+ # @param Status: 订阅状态:
8580
+ # 0,订阅关系一致
8581
+ # 1,订阅关系不一致
8582
+ # 2,未知
8583
+ # 注意:此字段可能返回 null,表示取不到有效值。
8584
+ # @type Status: Integer
8585
+ # @param ConsumerLag: 消费堆积数量
8586
+ # 注意:此字段可能返回 null,表示取不到有效值。
8587
+ # @type ConsumerLag: Integer
8588
+ # @param ClusterId: 实例ID
8589
+ # 注意:此字段可能返回 null,表示取不到有效值。
8590
+ # @type ClusterId: String
8591
+ # @param ConsumerGroup: 消费组名称
8592
+ # 注意:此字段可能返回 null,表示取不到有效值。
8593
+ # @type ConsumerGroup: String
8594
+ # @param IsOnline: 是否在线
8595
+ # 注意:此字段可能返回 null,表示取不到有效值。
8596
+ # @type IsOnline: Boolean
8597
+ # @param ConsumeType: 消费类型
8598
+ # 注意:此字段可能返回 null,表示取不到有效值。
8599
+ # @type ConsumeType: Integer
8600
+ # @param Consistency: 订阅一致性
8601
+ # 注意:此字段可能返回 null,表示取不到有效值。
8602
+ # @type Consistency: Integer
8603
+ # @param LastUpdateTime: 最后消费进度更新时间,秒为单位
8604
+ # 注意:此字段可能返回 null,表示取不到有效值。
8605
+ # @type LastUpdateTime: Integer
8606
+ # @param MaxRetryTimes: 最大重试次数
8607
+ # 注意:此字段可能返回 null,表示取不到有效值。
8608
+ # @type MaxRetryTimes: Integer
8609
+
8610
+ attr_accessor :Topic, :Type, :PartitionNum, :ExpressionType, :SubString, :Status, :ConsumerLag, :ClusterId, :ConsumerGroup, :IsOnline, :ConsumeType, :Consistency, :LastUpdateTime, :MaxRetryTimes
8611
+
8612
+ 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)
8613
+ @Topic = topic
8614
+ @Type = type
8615
+ @PartitionNum = partitionnum
8616
+ @ExpressionType = expressiontype
8617
+ @SubString = substring
8618
+ @Status = status
8619
+ @ConsumerLag = consumerlag
8620
+ @ClusterId = clusterid
8621
+ @ConsumerGroup = consumergroup
8622
+ @IsOnline = isonline
8623
+ @ConsumeType = consumetype
8624
+ @Consistency = consistency
8625
+ @LastUpdateTime = lastupdatetime
8626
+ @MaxRetryTimes = maxretrytimes
8627
+ end
8628
+
8629
+ def deserialize(params)
8630
+ @Topic = params['Topic']
8631
+ @Type = params['Type']
8632
+ @PartitionNum = params['PartitionNum']
8633
+ @ExpressionType = params['ExpressionType']
8634
+ @SubString = params['SubString']
8635
+ @Status = params['Status']
8636
+ @ConsumerLag = params['ConsumerLag']
8637
+ @ClusterId = params['ClusterId']
8638
+ @ConsumerGroup = params['ConsumerGroup']
8639
+ @IsOnline = params['IsOnline']
8640
+ @ConsumeType = params['ConsumeType']
8641
+ @Consistency = params['Consistency']
8642
+ @LastUpdateTime = params['LastUpdateTime']
8643
+ @MaxRetryTimes = params['MaxRetryTimes']
8644
+ end
8645
+ end
8646
+
8545
8647
  # RocketMQ主题信息
8546
8648
  class RocketMQTopic < TencentCloud::Common::AbstractModel
8547
8649
  # @param Name: 主题名称
@@ -8559,10 +8661,19 @@ module TencentCloud
8559
8661
  # @type CreateTime: Integer
8560
8662
  # @param UpdateTime: 创建时间,以毫秒为单位
8561
8663
  # @type UpdateTime: Integer
8664
+ # @param LastUpdateTime: 最后写入时间,单位为秒
8665
+ # 注意:此字段可能返回 null,表示取不到有效值。
8666
+ # @type LastUpdateTime: Integer
8667
+ # @param SubscriptionCount: 订阅数量
8668
+ # 注意:此字段可能返回 null,表示取不到有效值。
8669
+ # @type SubscriptionCount: Integer
8670
+ # @param SubscriptionData: 订阅关系列表
8671
+ # 注意:此字段可能返回 null,表示取不到有效值。
8672
+ # @type SubscriptionData: Array
8562
8673
 
8563
- attr_accessor :Name, :Type, :GroupNum, :Remark, :PartitionNum, :CreateTime, :UpdateTime
8674
+ attr_accessor :Name, :Type, :GroupNum, :Remark, :PartitionNum, :CreateTime, :UpdateTime, :LastUpdateTime, :SubscriptionCount, :SubscriptionData
8564
8675
 
8565
- def initialize(name=nil, type=nil, groupnum=nil, remark=nil, partitionnum=nil, createtime=nil, updatetime=nil)
8676
+ def initialize(name=nil, type=nil, groupnum=nil, remark=nil, partitionnum=nil, createtime=nil, updatetime=nil, lastupdatetime=nil, subscriptioncount=nil, subscriptiondata=nil)
8566
8677
  @Name = name
8567
8678
  @Type = type
8568
8679
  @GroupNum = groupnum
@@ -8570,6 +8681,9 @@ module TencentCloud
8570
8681
  @PartitionNum = partitionnum
8571
8682
  @CreateTime = createtime
8572
8683
  @UpdateTime = updatetime
8684
+ @LastUpdateTime = lastupdatetime
8685
+ @SubscriptionCount = subscriptioncount
8686
+ @SubscriptionData = subscriptiondata
8573
8687
  end
8574
8688
 
8575
8689
  def deserialize(params)
@@ -8580,6 +8694,16 @@ module TencentCloud
8580
8694
  @PartitionNum = params['PartitionNum']
8581
8695
  @CreateTime = params['CreateTime']
8582
8696
  @UpdateTime = params['UpdateTime']
8697
+ @LastUpdateTime = params['LastUpdateTime']
8698
+ @SubscriptionCount = params['SubscriptionCount']
8699
+ unless params['SubscriptionData'].nil?
8700
+ @SubscriptionData = []
8701
+ params['SubscriptionData'].each do |i|
8702
+ rocketmqsubscription_tmp = RocketMQSubscription.new
8703
+ rocketmqsubscription_tmp.deserialize(i)
8704
+ @SubscriptionData << rocketmqsubscription_tmp
8705
+ end
8706
+ end
8583
8707
  end
8584
8708
  end
8585
8709
 
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.670
4
+ version: 3.0.672
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-09-28 00:00:00.000000000 Z
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common