tencentcloud-sdk-tdmq 3.0.1180 → 3.0.1195

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdbb56c5ed85d9cfb52a4b4006a7720cbfaf451f
4
- data.tar.gz: 1b071911909e9f002806a9f9682ff233db776d3a
3
+ metadata.gz: 6761e3c00fae2760602dfff3ec7a48b69719c428
4
+ data.tar.gz: 8078573d730e179c9bc50249356b5a68e06badf7
5
5
  SHA512:
6
- metadata.gz: 56263d080b937415720a72937d1b83eb72e61a47bcf4616f1afc25e761fc35a9fb4a9bef18c86aa0299efeda277836c9b4f7131375732259922364092eb23567
7
- data.tar.gz: 4d6949e2e1db28d282de063544ad6e7592802ceeffa30361b1a1b4a78b1ad9cb07190f490977217a5ced5bcdea00156312ecdf549c7524fe4bfa62e497d840f6
6
+ metadata.gz: 18c3f8b045ea457faff8bb2adc314af10dc39699fcc41aafc3a01104b0980ba2dd54d33e5732c51e7ca104ed97bd184e2cfe7cb2d3c7db36f326a8dcf20bcd89
7
+ data.tar.gz: 7193411f44f2d193bbfceaddf171eef22b51ffa2fa5ab5a59dc4a8c011a7594a18e9c3deea8102782ec308ddd5bea1e30eaf0e81445786b9ef9b9c88142095df
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1180
1
+ 3.0.1195
@@ -2116,6 +2116,31 @@ module TencentCloud
2116
2116
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2117
2117
  end
2118
2118
 
2119
+ # 查询通用集群售卖规格。
2120
+ # 当前 API 适用集群:4.x 通用集群。查询 5.x 集群的售卖规格接口文档见 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676)。
2121
+
2122
+ # @param request: Request instance for DescribeRocketMQGeneralSKUs.
2123
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQGeneralSKUsRequest`
2124
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQGeneralSKUsResponse`
2125
+ def DescribeRocketMQGeneralSKUs(request)
2126
+ body = send_request('DescribeRocketMQGeneralSKUs', request.serialize)
2127
+ response = JSON.parse(body)
2128
+ if response['Response'].key?('Error') == false
2129
+ model = DescribeRocketMQGeneralSKUsResponse.new
2130
+ model.deserialize(response['Response'])
2131
+ model
2132
+ else
2133
+ code = response['Response']['Error']['Code']
2134
+ message = response['Response']['Error']['Message']
2135
+ reqid = response['Response']['RequestId']
2136
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2137
+ end
2138
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2139
+ raise e
2140
+ rescue StandardError => e
2141
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2142
+ end
2143
+
2119
2144
  # 查询 RocketMQ 消费组列表。
2120
2145
  # 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。查询 5.x 集群的消费组列表接口文档见 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535)。
2121
2146
 
@@ -6338,6 +6338,44 @@ module TencentCloud
6338
6338
  end
6339
6339
  end
6340
6340
 
6341
+ # DescribeRocketMQGeneralSKUs请求参数结构体
6342
+ class DescribeRocketMQGeneralSKUsRequest < TencentCloud::Common::AbstractModel
6343
+
6344
+
6345
+ def initialize()
6346
+ end
6347
+
6348
+ def deserialize(params)
6349
+ end
6350
+ end
6351
+
6352
+ # DescribeRocketMQGeneralSKUs返回参数结构体
6353
+ class DescribeRocketMQGeneralSKUsResponse < TencentCloud::Common::AbstractModel
6354
+ # @param Skus: 商品配置信息
6355
+ # @type Skus: Array
6356
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6357
+ # @type RequestId: String
6358
+
6359
+ attr_accessor :Skus, :RequestId
6360
+
6361
+ def initialize(skus=nil, requestid=nil)
6362
+ @Skus = skus
6363
+ @RequestId = requestid
6364
+ end
6365
+
6366
+ def deserialize(params)
6367
+ unless params['Skus'].nil?
6368
+ @Skus = []
6369
+ params['Skus'].each do |i|
6370
+ generalsku_tmp = GeneralSKU.new
6371
+ generalsku_tmp.deserialize(i)
6372
+ @Skus << generalsku_tmp
6373
+ end
6374
+ end
6375
+ @RequestId = params['RequestId']
6376
+ end
6377
+ end
6378
+
6341
6379
  # DescribeRocketMQGroups请求参数结构体
6342
6380
  class DescribeRocketMQGroupsRequest < TencentCloud::Common::AbstractModel
6343
6381
  # @param ClusterId: 集群ID
@@ -6346,7 +6384,7 @@ module TencentCloud
6346
6384
  # @type NamespaceId: String
6347
6385
  # @param Offset: 偏移量
6348
6386
  # @type Offset: Integer
6349
- # @param Limit: 限制条数
6387
+ # @param Limit: 单次查询最大条数。取值范围:[0~100],默认值为20
6350
6388
  # @type Limit: Integer
6351
6389
  # @param FilterTopic: 主题名称,输入此参数可查询该主题下所有的订阅组
6352
6390
  # @type FilterTopic: String
@@ -6523,8 +6561,8 @@ module TencentCloud
6523
6561
 
6524
6562
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
6525
6563
  extend Gem::Deprecate
6526
- deprecate :QueryDlqMsg, :none, 2025, 12
6527
- deprecate :QueryDlqMsg=, :none, 2025, 12
6564
+ deprecate :QueryDlqMsg, :none, 2026, 1
6565
+ deprecate :QueryDlqMsg=, :none, 2026, 1
6528
6566
 
6529
6567
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
6530
6568
  @ClusterId = clusterid
@@ -6629,8 +6667,8 @@ module TencentCloud
6629
6667
 
6630
6668
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
6631
6669
  extend Gem::Deprecate
6632
- deprecate :QueryDLQMsg, :none, 2025, 12
6633
- deprecate :QueryDLQMsg=, :none, 2025, 12
6670
+ deprecate :QueryDLQMsg, :none, 2026, 1
6671
+ deprecate :QueryDLQMsg=, :none, 2026, 1
6634
6672
 
6635
6673
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
6636
6674
  @ClusterId = clusterid
@@ -7349,8 +7387,8 @@ module TencentCloud
7349
7387
 
7350
7388
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
7351
7389
  extend Gem::Deprecate
7352
- deprecate :QueryDlqMsg, :none, 2025, 12
7353
- deprecate :QueryDlqMsg=, :none, 2025, 12
7390
+ deprecate :QueryDlqMsg, :none, 2026, 1
7391
+ deprecate :QueryDlqMsg=, :none, 2026, 1
7354
7392
 
7355
7393
  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)
7356
7394
  @ClusterId = clusterid
@@ -8507,6 +8545,53 @@ module TencentCloud
8507
8545
  end
8508
8546
  end
8509
8547
 
8548
+ # 通用集群售卖信息
8549
+ class GeneralSKU < TencentCloud::Common::AbstractModel
8550
+ # @param SkuCode: 规格标识
8551
+ # @type SkuCode: String
8552
+ # @param OnSale: 是否可售卖
8553
+ # @type OnSale: Boolean
8554
+ # @param TpsLimit: TPS上限
8555
+ # @type TpsLimit: Integer
8556
+ # @param TopicNumLimit: 主题数免费额度
8557
+ # @type TopicNumLimit: Integer
8558
+ # @param TopicNumUpperLimit: 主题数上限
8559
+ # @type TopicNumUpperLimit: Integer
8560
+ # @param PriceTags: 计费项信息
8561
+ # @type PriceTags: Array
8562
+ # @param NodeCount: 存储节点个数
8563
+ # @type NodeCount: Integer
8564
+
8565
+ attr_accessor :SkuCode, :OnSale, :TpsLimit, :TopicNumLimit, :TopicNumUpperLimit, :PriceTags, :NodeCount
8566
+
8567
+ def initialize(skucode=nil, onsale=nil, tpslimit=nil, topicnumlimit=nil, topicnumupperlimit=nil, pricetags=nil, nodecount=nil)
8568
+ @SkuCode = skucode
8569
+ @OnSale = onsale
8570
+ @TpsLimit = tpslimit
8571
+ @TopicNumLimit = topicnumlimit
8572
+ @TopicNumUpperLimit = topicnumupperlimit
8573
+ @PriceTags = pricetags
8574
+ @NodeCount = nodecount
8575
+ end
8576
+
8577
+ def deserialize(params)
8578
+ @SkuCode = params['SkuCode']
8579
+ @OnSale = params['OnSale']
8580
+ @TpsLimit = params['TpsLimit']
8581
+ @TopicNumLimit = params['TopicNumLimit']
8582
+ @TopicNumUpperLimit = params['TopicNumUpperLimit']
8583
+ unless params['PriceTags'].nil?
8584
+ @PriceTags = []
8585
+ params['PriceTags'].each do |i|
8586
+ pricetag_tmp = PriceTag.new
8587
+ pricetag_tmp.deserialize(i)
8588
+ @PriceTags << pricetag_tmp
8589
+ end
8590
+ end
8591
+ @NodeCount = params['NodeCount']
8592
+ end
8593
+ end
8594
+
8510
8595
  # GetTopicList请求参数结构体
8511
8596
  class GetTopicListRequest < TencentCloud::Common::AbstractModel
8512
8597
  # @param EnvironmentId: 环境(命名空间)名称。
@@ -10140,6 +10225,37 @@ module TencentCloud
10140
10225
  end
10141
10226
  end
10142
10227
 
10228
+ # 价格标签信息,一个完整的价格标签包含计价类别和计费项标签。
10229
+ class PriceTag < TencentCloud::Common::AbstractModel
10230
+ # @param Name: 计价名称。枚举值如下:
10231
+
10232
+ # - tps:TPS基础价
10233
+ # - stepTps:TPS步长
10234
+ # @type Name: String
10235
+ # @param Category: 计价类别
10236
+ # @type Category: String
10237
+ # @param Code: 计费项标签
10238
+ # @type Code: String
10239
+ # @param Step: 计费项对应的步长数
10240
+ # @type Step: Integer
10241
+
10242
+ attr_accessor :Name, :Category, :Code, :Step
10243
+
10244
+ def initialize(name=nil, category=nil, code=nil, step=nil)
10245
+ @Name = name
10246
+ @Category = category
10247
+ @Code = code
10248
+ @Step = step
10249
+ end
10250
+
10251
+ def deserialize(params)
10252
+ @Name = params['Name']
10253
+ @Category = params['Category']
10254
+ @Code = params['Code']
10255
+ @Step = params['Step']
10256
+ end
10257
+ end
10258
+
10143
10259
  # 生产者客户端详情
10144
10260
  class ProducerInfo < TencentCloud::Common::AbstractModel
10145
10261
  # @param ClientId: 客户端ID
@@ -12040,8 +12156,8 @@ module TencentCloud
12040
12156
 
12041
12157
  attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution, :MaxRoleNum, :MaxTpsLimit
12042
12158
  extend Gem::Deprecate
12043
- deprecate :MaxTpsPerNamespace, :none, 2025, 12
12044
- deprecate :MaxTpsPerNamespace=, :none, 2025, 12
12159
+ deprecate :MaxTpsPerNamespace, :none, 2026, 1
12160
+ deprecate :MaxTpsPerNamespace=, :none, 2026, 1
12045
12161
 
12046
12162
  def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, maxretentiontime=nil, maxlatencytime=nil, maxqueuespertopic=nil, topicdistribution=nil, maxrolenum=nil, maxtpslimit=nil)
12047
12163
  @MaxTpsPerNamespace = maxtpspernamespace
@@ -12447,10 +12563,10 @@ module TencentCloud
12447
12563
 
12448
12564
  attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled, :GroupType, :RetryMaxTimes, :InstanceId, :Namespace, :SubscribeTopicNum, :TagList
12449
12565
  extend Gem::Deprecate
12450
- deprecate :TPS, :none, 2025, 12
12451
- deprecate :TPS=, :none, 2025, 12
12452
- deprecate :TotalAccumulative, :none, 2025, 12
12453
- deprecate :TotalAccumulative=, :none, 2025, 12
12566
+ deprecate :TPS, :none, 2026, 1
12567
+ deprecate :TPS=, :none, 2026, 1
12568
+ deprecate :TotalAccumulative, :none, 2026, 1
12569
+ deprecate :TotalAccumulative=, :none, 2026, 1
12454
12570
 
12455
12571
  def initialize(name=nil, consumernum=nil, tps=nil, totalaccumulative=nil, consumptionmode=nil, readenabled=nil, retrypartitionnum=nil, createtime=nil, updatetime=nil, clientprotocol=nil, remark=nil, consumertype=nil, broadcastenabled=nil, grouptype=nil, retrymaxtimes=nil, instanceid=nil, namespace=nil, subscribetopicnum=nil, taglist=nil)
12456
12572
  @Name = name
@@ -12663,14 +12779,20 @@ module TencentCloud
12663
12779
  # @param ExceptionDesc: 异常信息
12664
12780
  # 注意:此字段可能返回 null,表示取不到有效值。
12665
12781
  # @type ExceptionDesc: String
12782
+ # @param ConsumeStatusSource: 消费状态来源,枚举值如下:
12783
+
12784
+ # - DIFF_OFFSET:通过服务端offset计算
12785
+ # - TRACE_REPORT:通过上报的轨迹判断
12786
+ # @type ConsumeStatusSource: String
12666
12787
 
12667
- attr_accessor :Group, :ConsumeStatus, :TrackType, :ExceptionDesc
12788
+ attr_accessor :Group, :ConsumeStatus, :TrackType, :ExceptionDesc, :ConsumeStatusSource
12668
12789
 
12669
- def initialize(group=nil, consumestatus=nil, tracktype=nil, exceptiondesc=nil)
12790
+ def initialize(group=nil, consumestatus=nil, tracktype=nil, exceptiondesc=nil, consumestatussource=nil)
12670
12791
  @Group = group
12671
12792
  @ConsumeStatus = consumestatus
12672
12793
  @TrackType = tracktype
12673
12794
  @ExceptionDesc = exceptiondesc
12795
+ @ConsumeStatusSource = consumestatussource
12674
12796
  end
12675
12797
 
12676
12798
  def deserialize(params)
@@ -12678,6 +12800,7 @@ module TencentCloud
12678
12800
  @ConsumeStatus = params['ConsumeStatus']
12679
12801
  @TrackType = params['TrackType']
12680
12802
  @ExceptionDesc = params['ExceptionDesc']
12803
+ @ConsumeStatusSource = params['ConsumeStatusSource']
12681
12804
  end
12682
12805
  end
12683
12806
 
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.1180
4
+ version: 3.0.1195
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-12-09 00:00:00.000000000 Z
11
+ date: 2026-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-tdmq.rb
37
- - lib/v20200217/models.rb
38
37
  - lib/v20200217/client.rb
38
+ - lib/v20200217/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: