tencentcloud-sdk-tdmq 1.0.256 → 1.0.260

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200217/models.rb +83 -18
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58fd42257dae1a12459562e8518c90db65daf95a
4
- data.tar.gz: 0adf34255b17fd1914b37cbe2b7437903bf91f7d
3
+ metadata.gz: bed4934a476bb98ace0ec1c149352e84ab8d3d68
4
+ data.tar.gz: de59ad6c229c281b729ae5a72ff1b6c675addd4e
5
5
  SHA512:
6
- metadata.gz: 12ce7de63cb266df3b41fb837632644a058d2fc6e2a300a7f67cf65dedf6009fb0f30da7c2475894991757971d8e1d00868bf695262ace813e6337bb1ae8976e
7
- data.tar.gz: 47b631d824c29773ab7c8583d53371d3a3b2a8156b4c04458693c90fca6024d44bca76f314f3ec879159e307f9c528e9dc48010754448989a199fb9eb806668e
6
+ metadata.gz: 2620e06255e56b80f40307ef44a71b938c717b63f0b1d672acd29e9dd99c1406536e8cbdf244ec2f931d7fde3308e67ce1ee60d125e5a32542b082ff37d218a6
7
+ data.tar.gz: 6bd62961421f82ee002dfff89a2bbbc34a81e11789151f917b48bd33c0c6cac363b4fe14b79193d223dd345fabb01f6048e2d66194a8954001e3d7008d3aed5c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.256
1
+ 1.0.260
@@ -583,10 +583,15 @@ module TencentCloud
583
583
  # @param Tags: 标签
584
584
  # 注意:此字段可能返回 null,表示取不到有效值。
585
585
  # @type Tags: Array
586
+ # @param PayMode: 计费模式:
587
+ # 0: 按量计费
588
+ # 1: 包年包月
589
+ # 注意:此字段可能返回 null,表示取不到有效值。
590
+ # @type PayMode: Integer
586
591
 
587
- attr_accessor :ClusterId, :ClusterName, :Remark, :EndPointNum, :CreateTime, :Healthy, :HealthyInfo, :Status, :MaxNamespaceNum, :MaxTopicNum, :MaxQps, :MessageRetentionTime, :MaxStorageCapacity, :Version, :PublicEndPoint, :VpcEndPoint, :NamespaceNum, :UsedStorageBudget, :MaxPublishRateInMessages, :MaxDispatchRateInMessages, :MaxPublishRateInBytes, :MaxDispatchRateInBytes, :TopicNum, :MaxMessageDelayInSeconds, :PublicAccessEnabled, :Tags
592
+ attr_accessor :ClusterId, :ClusterName, :Remark, :EndPointNum, :CreateTime, :Healthy, :HealthyInfo, :Status, :MaxNamespaceNum, :MaxTopicNum, :MaxQps, :MessageRetentionTime, :MaxStorageCapacity, :Version, :PublicEndPoint, :VpcEndPoint, :NamespaceNum, :UsedStorageBudget, :MaxPublishRateInMessages, :MaxDispatchRateInMessages, :MaxPublishRateInBytes, :MaxDispatchRateInBytes, :TopicNum, :MaxMessageDelayInSeconds, :PublicAccessEnabled, :Tags, :PayMode
588
593
 
589
- def initialize(clusterid=nil, clustername=nil, remark=nil, endpointnum=nil, createtime=nil, healthy=nil, healthyinfo=nil, status=nil, maxnamespacenum=nil, maxtopicnum=nil, maxqps=nil, messageretentiontime=nil, maxstoragecapacity=nil, version=nil, publicendpoint=nil, vpcendpoint=nil, namespacenum=nil, usedstoragebudget=nil, maxpublishrateinmessages=nil, maxdispatchrateinmessages=nil, maxpublishrateinbytes=nil, maxdispatchrateinbytes=nil, topicnum=nil, maxmessagedelayinseconds=nil, publicaccessenabled=nil, tags=nil)
594
+ def initialize(clusterid=nil, clustername=nil, remark=nil, endpointnum=nil, createtime=nil, healthy=nil, healthyinfo=nil, status=nil, maxnamespacenum=nil, maxtopicnum=nil, maxqps=nil, messageretentiontime=nil, maxstoragecapacity=nil, version=nil, publicendpoint=nil, vpcendpoint=nil, namespacenum=nil, usedstoragebudget=nil, maxpublishrateinmessages=nil, maxdispatchrateinmessages=nil, maxpublishrateinbytes=nil, maxdispatchrateinbytes=nil, topicnum=nil, maxmessagedelayinseconds=nil, publicaccessenabled=nil, tags=nil, paymode=nil)
590
595
  @ClusterId = clusterid
591
596
  @ClusterName = clustername
592
597
  @Remark = remark
@@ -613,6 +618,7 @@ module TencentCloud
613
618
  @MaxMessageDelayInSeconds = maxmessagedelayinseconds
614
619
  @PublicAccessEnabled = publicaccessenabled
615
620
  @Tags = tags
621
+ @PayMode = paymode
616
622
  end
617
623
 
618
624
  def deserialize(params)
@@ -649,6 +655,7 @@ module TencentCloud
649
655
  @Tags << tag_tmp
650
656
  end
651
657
  end
658
+ @PayMode = params['PayMode']
652
659
  end
653
660
  end
654
661
 
@@ -1088,14 +1095,18 @@ module TencentCloud
1088
1095
  # @param ClientVersion: 消费者版本。
1089
1096
  # 注意:此字段可能返回 null,表示取不到有效值。
1090
1097
  # @type ClientVersion: String
1098
+ # @param Partition: 消费者连接的主题分区号
1099
+ # 注意:此字段可能返回 null,表示取不到有效值。
1100
+ # @type Partition: Integer
1091
1101
 
1092
- attr_accessor :ConnectedSince, :ConsumerAddr, :ConsumerName, :ClientVersion
1102
+ attr_accessor :ConnectedSince, :ConsumerAddr, :ConsumerName, :ClientVersion, :Partition
1093
1103
 
1094
- def initialize(connectedsince=nil, consumeraddr=nil, consumername=nil, clientversion=nil)
1104
+ def initialize(connectedsince=nil, consumeraddr=nil, consumername=nil, clientversion=nil, partition=nil)
1095
1105
  @ConnectedSince = connectedsince
1096
1106
  @ConsumerAddr = consumeraddr
1097
1107
  @ConsumerName = consumername
1098
1108
  @ClientVersion = clientversion
1109
+ @Partition = partition
1099
1110
  end
1100
1111
 
1101
1112
  def deserialize(params)
@@ -1103,6 +1114,7 @@ module TencentCloud
1103
1114
  @ConsumerAddr = params['ConsumerAddr']
1104
1115
  @ConsumerName = params['ConsumerName']
1105
1116
  @ClientVersion = params['ClientVersion']
1117
+ @Partition = params['Partition']
1106
1118
  end
1107
1119
  end
1108
1120
 
@@ -1485,10 +1497,12 @@ module TencentCloud
1485
1497
  # @type MaxTimeToLive: Integer
1486
1498
  # @param Trace: 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启
1487
1499
  # @type Trace: Boolean
1500
+ # @param Tags: 标签数组
1501
+ # @type Tags: Array
1488
1502
 
1489
- attr_accessor :QueueName, :MaxMsgHeapNum, :PollingWaitSeconds, :VisibilityTimeout, :MaxMsgSize, :MsgRetentionSeconds, :RewindSeconds, :Transaction, :FirstQueryInterval, :MaxQueryCount, :DeadLetterQueueName, :Policy, :MaxReceiveCount, :MaxTimeToLive, :Trace
1503
+ attr_accessor :QueueName, :MaxMsgHeapNum, :PollingWaitSeconds, :VisibilityTimeout, :MaxMsgSize, :MsgRetentionSeconds, :RewindSeconds, :Transaction, :FirstQueryInterval, :MaxQueryCount, :DeadLetterQueueName, :Policy, :MaxReceiveCount, :MaxTimeToLive, :Trace, :Tags
1490
1504
 
1491
- def initialize(queuename=nil, maxmsgheapnum=nil, pollingwaitseconds=nil, visibilitytimeout=nil, maxmsgsize=nil, msgretentionseconds=nil, rewindseconds=nil, transaction=nil, firstqueryinterval=nil, maxquerycount=nil, deadletterqueuename=nil, policy=nil, maxreceivecount=nil, maxtimetolive=nil, trace=nil)
1505
+ def initialize(queuename=nil, maxmsgheapnum=nil, pollingwaitseconds=nil, visibilitytimeout=nil, maxmsgsize=nil, msgretentionseconds=nil, rewindseconds=nil, transaction=nil, firstqueryinterval=nil, maxquerycount=nil, deadletterqueuename=nil, policy=nil, maxreceivecount=nil, maxtimetolive=nil, trace=nil, tags=nil)
1492
1506
  @QueueName = queuename
1493
1507
  @MaxMsgHeapNum = maxmsgheapnum
1494
1508
  @PollingWaitSeconds = pollingwaitseconds
@@ -1504,6 +1518,7 @@ module TencentCloud
1504
1518
  @MaxReceiveCount = maxreceivecount
1505
1519
  @MaxTimeToLive = maxtimetolive
1506
1520
  @Trace = trace
1521
+ @Tags = tags
1507
1522
  end
1508
1523
 
1509
1524
  def deserialize(params)
@@ -1522,6 +1537,14 @@ module TencentCloud
1522
1537
  @MaxReceiveCount = params['MaxReceiveCount']
1523
1538
  @MaxTimeToLive = params['MaxTimeToLive']
1524
1539
  @Trace = params['Trace']
1540
+ unless params['Tags'].nil?
1541
+ @Tags = []
1542
+ params['Tags'].each do |i|
1543
+ tag_tmp = Tag.new
1544
+ tag_tmp.deserialize(i)
1545
+ @Tags << tag_tmp
1546
+ end
1547
+ end
1525
1548
  end
1526
1549
  end
1527
1550
 
@@ -1621,15 +1644,18 @@ module TencentCloud
1621
1644
  # @type MsgRetentionSeconds: Integer
1622
1645
  # @param Trace: 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。
1623
1646
  # @type Trace: Boolean
1647
+ # @param Tags: 标签数组
1648
+ # @type Tags: Array
1624
1649
 
1625
- attr_accessor :TopicName, :MaxMsgSize, :FilterType, :MsgRetentionSeconds, :Trace
1650
+ attr_accessor :TopicName, :MaxMsgSize, :FilterType, :MsgRetentionSeconds, :Trace, :Tags
1626
1651
 
1627
- def initialize(topicname=nil, maxmsgsize=nil, filtertype=nil, msgretentionseconds=nil, trace=nil)
1652
+ def initialize(topicname=nil, maxmsgsize=nil, filtertype=nil, msgretentionseconds=nil, trace=nil, tags=nil)
1628
1653
  @TopicName = topicname
1629
1654
  @MaxMsgSize = maxmsgsize
1630
1655
  @FilterType = filtertype
1631
1656
  @MsgRetentionSeconds = msgretentionseconds
1632
1657
  @Trace = trace
1658
+ @Tags = tags
1633
1659
  end
1634
1660
 
1635
1661
  def deserialize(params)
@@ -1638,6 +1664,14 @@ module TencentCloud
1638
1664
  @FilterType = params['FilterType']
1639
1665
  @MsgRetentionSeconds = params['MsgRetentionSeconds']
1640
1666
  @Trace = params['Trace']
1667
+ unless params['Tags'].nil?
1668
+ @Tags = []
1669
+ params['Tags'].each do |i|
1670
+ tag_tmp = Tag.new
1671
+ tag_tmp.deserialize(i)
1672
+ @Tags << tag_tmp
1673
+ end
1674
+ end
1641
1675
  end
1642
1676
  end
1643
1677
 
@@ -2090,35 +2124,43 @@ module TencentCloud
2090
2124
  # @type TopicName: String
2091
2125
  # @param Partitions: 0:非分区topic,无分区;非0:具体分区topic的分区数,最大不允许超过128。
2092
2126
  # @type Partitions: Integer
2127
+ # @param Remark: 备注,128字符以内。
2128
+ # @type Remark: String
2093
2129
  # @param TopicType: 0: 普通消息;
2094
2130
  # 1 :全局顺序消息;
2095
2131
  # 2 :局部顺序消息;
2096
2132
  # 3 :重试队列;
2097
2133
  # 4 :死信队列。
2098
2134
  # @type TopicType: Integer
2099
- # @param Remark: 备注,128字符以内。
2100
- # @type Remark: String
2101
2135
  # @param ClusterId: Pulsar 集群的ID
2102
2136
  # @type ClusterId: String
2137
+ # @param PulsarTopicType: Pulsar 主题类型
2138
+ # 0: 非持久非分区
2139
+ # 1: 非持久分区
2140
+ # 2: 持久非分区
2141
+ # 3: 持久分区
2142
+ # @type PulsarTopicType: Integer
2103
2143
 
2104
- attr_accessor :EnvironmentId, :TopicName, :Partitions, :TopicType, :Remark, :ClusterId
2144
+ attr_accessor :EnvironmentId, :TopicName, :Partitions, :Remark, :TopicType, :ClusterId, :PulsarTopicType
2105
2145
 
2106
- def initialize(environmentid=nil, topicname=nil, partitions=nil, topictype=nil, remark=nil, clusterid=nil)
2146
+ def initialize(environmentid=nil, topicname=nil, partitions=nil, remark=nil, topictype=nil, clusterid=nil, pulsartopictype=nil)
2107
2147
  @EnvironmentId = environmentid
2108
2148
  @TopicName = topicname
2109
2149
  @Partitions = partitions
2110
- @TopicType = topictype
2111
2150
  @Remark = remark
2151
+ @TopicType = topictype
2112
2152
  @ClusterId = clusterid
2153
+ @PulsarTopicType = pulsartopictype
2113
2154
  end
2114
2155
 
2115
2156
  def deserialize(params)
2116
2157
  @EnvironmentId = params['EnvironmentId']
2117
2158
  @TopicName = params['TopicName']
2118
2159
  @Partitions = params['Partitions']
2119
- @TopicType = params['TopicType']
2120
2160
  @Remark = params['Remark']
2161
+ @TopicType = params['TopicType']
2121
2162
  @ClusterId = params['ClusterId']
2163
+ @PulsarTopicType = params['PulsarTopicType']
2122
2164
  end
2123
2165
  end
2124
2166
 
@@ -7032,10 +7074,19 @@ module TencentCloud
7032
7074
  # @param UpdateTime: 最近修改时间。
7033
7075
  # 注意:此字段可能返回 null,表示取不到有效值。
7034
7076
  # @type UpdateTime: String
7077
+ # @param SubType: 订阅类型,Exclusive,Shared,Failover, Key_Shared,空或NULL表示未知,
7078
+ # 注意:此字段可能返回 null,表示取不到有效值。
7079
+ # @type SubType: String
7080
+ # @param BlockedSubscriptionOnUnackedMsgs: 是否由于未 ack 数到达上限而被 block
7081
+ # 注意:此字段可能返回 null,表示取不到有效值。
7082
+ # @type BlockedSubscriptionOnUnackedMsgs: Boolean
7083
+ # @param MaxUnackedMsgNum: 未 ack 消息数上限
7084
+ # 注意:此字段可能返回 null,表示取不到有效值。
7085
+ # @type MaxUnackedMsgNum: Integer
7035
7086
 
7036
- attr_accessor :TopicName, :EnvironmentId, :ConnectedSince, :ConsumerAddr, :ConsumerCount, :ConsumerName, :MsgBacklog, :MsgRateExpired, :MsgRateOut, :MsgThroughputOut, :SubscriptionName, :ConsumerSets, :IsOnline, :ConsumersScheduleSets, :Remark, :CreateTime, :UpdateTime
7087
+ attr_accessor :TopicName, :EnvironmentId, :ConnectedSince, :ConsumerAddr, :ConsumerCount, :ConsumerName, :MsgBacklog, :MsgRateExpired, :MsgRateOut, :MsgThroughputOut, :SubscriptionName, :ConsumerSets, :IsOnline, :ConsumersScheduleSets, :Remark, :CreateTime, :UpdateTime, :SubType, :BlockedSubscriptionOnUnackedMsgs, :MaxUnackedMsgNum
7037
7088
 
7038
- def initialize(topicname=nil, environmentid=nil, connectedsince=nil, consumeraddr=nil, consumercount=nil, consumername=nil, msgbacklog=nil, msgrateexpired=nil, msgrateout=nil, msgthroughputout=nil, subscriptionname=nil, consumersets=nil, isonline=nil, consumersschedulesets=nil, remark=nil, createtime=nil, updatetime=nil)
7089
+ def initialize(topicname=nil, environmentid=nil, connectedsince=nil, consumeraddr=nil, consumercount=nil, consumername=nil, msgbacklog=nil, msgrateexpired=nil, msgrateout=nil, msgthroughputout=nil, subscriptionname=nil, consumersets=nil, isonline=nil, consumersschedulesets=nil, remark=nil, createtime=nil, updatetime=nil, subtype=nil, blockedsubscriptiononunackedmsgs=nil, maxunackedmsgnum=nil)
7039
7090
  @TopicName = topicname
7040
7091
  @EnvironmentId = environmentid
7041
7092
  @ConnectedSince = connectedsince
@@ -7053,6 +7104,9 @@ module TencentCloud
7053
7104
  @Remark = remark
7054
7105
  @CreateTime = createtime
7055
7106
  @UpdateTime = updatetime
7107
+ @SubType = subtype
7108
+ @BlockedSubscriptionOnUnackedMsgs = blockedsubscriptiononunackedmsgs
7109
+ @MaxUnackedMsgNum = maxunackedmsgnum
7056
7110
  end
7057
7111
 
7058
7112
  def deserialize(params)
@@ -7087,6 +7141,9 @@ module TencentCloud
7087
7141
  @Remark = params['Remark']
7088
7142
  @CreateTime = params['CreateTime']
7089
7143
  @UpdateTime = params['UpdateTime']
7144
+ @SubType = params['SubType']
7145
+ @BlockedSubscriptionOnUnackedMsgs = params['BlockedSubscriptionOnUnackedMsgs']
7146
+ @MaxUnackedMsgNum = params['MaxUnackedMsgNum']
7090
7147
  end
7091
7148
  end
7092
7149
 
@@ -7205,10 +7262,16 @@ module TencentCloud
7205
7262
  # @param ConsumerLimit: 消费者上限。
7206
7263
  # 注意:此字段可能返回 null,表示取不到有效值。
7207
7264
  # @type ConsumerLimit: String
7265
+ # @param PulsarTopicType: 0: 非持久非分区
7266
+ # 1: 非持久分区
7267
+ # 2: 持久非分区
7268
+ # 3: 持久分区
7269
+ # 注意:此字段可能返回 null,表示取不到有效值。
7270
+ # @type PulsarTopicType: Integer
7208
7271
 
7209
- attr_accessor :AverageMsgSize, :ConsumerCount, :LastConfirmedEntry, :LastLedgerCreatedTimestamp, :MsgRateIn, :MsgRateOut, :MsgThroughputIn, :MsgThroughputOut, :NumberOfEntries, :Partitions, :ProducerCount, :TotalSize, :SubTopicSets, :TopicType, :EnvironmentId, :TopicName, :Remark, :CreateTime, :UpdateTime, :ProducerLimit, :ConsumerLimit
7272
+ attr_accessor :AverageMsgSize, :ConsumerCount, :LastConfirmedEntry, :LastLedgerCreatedTimestamp, :MsgRateIn, :MsgRateOut, :MsgThroughputIn, :MsgThroughputOut, :NumberOfEntries, :Partitions, :ProducerCount, :TotalSize, :SubTopicSets, :TopicType, :EnvironmentId, :TopicName, :Remark, :CreateTime, :UpdateTime, :ProducerLimit, :ConsumerLimit, :PulsarTopicType
7210
7273
 
7211
- def initialize(averagemsgsize=nil, consumercount=nil, lastconfirmedentry=nil, lastledgercreatedtimestamp=nil, msgratein=nil, msgrateout=nil, msgthroughputin=nil, msgthroughputout=nil, numberofentries=nil, partitions=nil, producercount=nil, totalsize=nil, subtopicsets=nil, topictype=nil, environmentid=nil, topicname=nil, remark=nil, createtime=nil, updatetime=nil, producerlimit=nil, consumerlimit=nil)
7274
+ def initialize(averagemsgsize=nil, consumercount=nil, lastconfirmedentry=nil, lastledgercreatedtimestamp=nil, msgratein=nil, msgrateout=nil, msgthroughputin=nil, msgthroughputout=nil, numberofentries=nil, partitions=nil, producercount=nil, totalsize=nil, subtopicsets=nil, topictype=nil, environmentid=nil, topicname=nil, remark=nil, createtime=nil, updatetime=nil, producerlimit=nil, consumerlimit=nil, pulsartopictype=nil)
7212
7275
  @AverageMsgSize = averagemsgsize
7213
7276
  @ConsumerCount = consumercount
7214
7277
  @LastConfirmedEntry = lastconfirmedentry
@@ -7230,6 +7293,7 @@ module TencentCloud
7230
7293
  @UpdateTime = updatetime
7231
7294
  @ProducerLimit = producerlimit
7232
7295
  @ConsumerLimit = consumerlimit
7296
+ @PulsarTopicType = pulsartopictype
7233
7297
  end
7234
7298
 
7235
7299
  def deserialize(params)
@@ -7261,6 +7325,7 @@ module TencentCloud
7261
7325
  @UpdateTime = params['UpdateTime']
7262
7326
  @ProducerLimit = params['ProducerLimit']
7263
7327
  @ConsumerLimit = params['ConsumerLimit']
7328
+ @PulsarTopicType = params['PulsarTopicType']
7264
7329
  end
7265
7330
  end
7266
7331
 
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.256
4
+ version: 1.0.260
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-15 00:00:00.000000000 Z
11
+ date: 2022-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common