tencentcloud-sdk-tdmq 3.0.1174 → 3.0.1177

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: 0a226ce719c3e7ee1e7272b28aeea9182858ab46
4
- data.tar.gz: 042bdc0dc3ef7d56a2009aed5898d491f558c7e3
3
+ metadata.gz: 4e1ddd19cf325dc4a33ced228f3449ab4dd7e6dc
4
+ data.tar.gz: bccd0b54b9c4b220d172297b0e2a64e11bc4f28a
5
5
  SHA512:
6
- metadata.gz: 3e5fbdede5af7e935955746cc4fcb9e5762dfa127d6b6ea56de075da5873d8b66e82b8fc30462f3c5f2345ee0112ee8da444804b370b8fd8477ba158c342d354
7
- data.tar.gz: 6a3ba03d5a24511738fd8403a2c38dabdbbb8eb1de44c48cb47af44bb79d5d67dad79747d80f54300b26d50dfebdc11a1369ad2cddd0de6565282096fbc7fd31
6
+ metadata.gz: 6f18b84a23d631fd8e7aa1c0428564829df45ae39ac2dc64607d6f82b66bbe51758e33c47e5607e21edda67846e3e53ddf08405f47896b79e145d831a241113c
7
+ data.tar.gz: f92a852db224a0df38fb2077ad8706e950f1b54b8011e20d3051162fb986ea14fcb9b7147f70efbaae0b747331bf7b1a584291f9d07541f0f370d64b7b32ab6a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1174
1
+ 3.0.1177
@@ -509,6 +509,30 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
+ # 创建RocketMQ主题
513
+
514
+ # @param request: Request instance for CreateRocketMQTopicV2.
515
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::CreateRocketMQTopicV2Request`
516
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateRocketMQTopicV2Response`
517
+ def CreateRocketMQTopicV2(request)
518
+ body = send_request('CreateRocketMQTopicV2', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = CreateRocketMQTopicV2Response.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
512
536
  # 创建RocketMQ专享实例
513
537
 
514
538
  # @param request: Request instance for CreateRocketMQVipInstance.
@@ -2215,7 +2239,8 @@ module TencentCloud
2215
2239
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2216
2240
  end
2217
2241
 
2218
- # 从腾讯云可观测平台拉取公网指标监控数据,目前仅支持客户端到 LB 的入带宽和出宽带指标。
2242
+ # 查询公网指标监控数据,目前仅支持客户端到 LB 的入带宽和出宽带指标。
2243
+ # 当前 API 适用集群:4.x 专享集群 和 4.x 通用集群。5.x 集群暂不支持该功能。
2219
2244
 
2220
2245
  # @param request: Request instance for DescribeRocketMQPublicAccessMonitorData.
2221
2246
  # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessMonitorDataRequest`
@@ -2235,6 +2235,69 @@ module TencentCloud
2235
2235
  end
2236
2236
  end
2237
2237
 
2238
+ # CreateRocketMQTopicV2请求参数结构体
2239
+ class CreateRocketMQTopicV2Request < TencentCloud::Common::AbstractModel
2240
+ # @param Topic: 主题名称
2241
+ # @type Topic: String
2242
+ # @param Type: 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder, Transaction, DelayScheduled。Transaction仅在专享版支持。
2243
+ # @type Type: String
2244
+ # @param ClusterId: 集群ID
2245
+ # @type ClusterId: String
2246
+ # @param Namespace: 命名空间
2247
+ # @type Namespace: String
2248
+ # @param Remark: 备注
2249
+ # @type Remark: String
2250
+ # @param PartitionNum: 分区数,全局顺序无效
2251
+ # @type PartitionNum: Integer
2252
+ # @param TagList: 标签列表
2253
+ # @type TagList: Array
2254
+
2255
+ attr_accessor :Topic, :Type, :ClusterId, :Namespace, :Remark, :PartitionNum, :TagList
2256
+
2257
+ def initialize(topic=nil, type=nil, clusterid=nil, namespace=nil, remark=nil, partitionnum=nil, taglist=nil)
2258
+ @Topic = topic
2259
+ @Type = type
2260
+ @ClusterId = clusterid
2261
+ @Namespace = namespace
2262
+ @Remark = remark
2263
+ @PartitionNum = partitionnum
2264
+ @TagList = taglist
2265
+ end
2266
+
2267
+ def deserialize(params)
2268
+ @Topic = params['Topic']
2269
+ @Type = params['Type']
2270
+ @ClusterId = params['ClusterId']
2271
+ @Namespace = params['Namespace']
2272
+ @Remark = params['Remark']
2273
+ @PartitionNum = params['PartitionNum']
2274
+ unless params['TagList'].nil?
2275
+ @TagList = []
2276
+ params['TagList'].each do |i|
2277
+ tag_tmp = Tag.new
2278
+ tag_tmp.deserialize(i)
2279
+ @TagList << tag_tmp
2280
+ end
2281
+ end
2282
+ end
2283
+ end
2284
+
2285
+ # CreateRocketMQTopicV2返回参数结构体
2286
+ class CreateRocketMQTopicV2Response < TencentCloud::Common::AbstractModel
2287
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2288
+ # @type RequestId: String
2289
+
2290
+ attr_accessor :RequestId
2291
+
2292
+ def initialize(requestid=nil)
2293
+ @RequestId = requestid
2294
+ end
2295
+
2296
+ def deserialize(params)
2297
+ @RequestId = params['RequestId']
2298
+ end
2299
+ end
2300
+
2238
2301
  # CreateRocketMQVipInstance请求参数结构体
2239
2302
  class CreateRocketMQVipInstanceRequest < TencentCloud::Common::AbstractModel
2240
2303
  # @param Name: 实例名称
@@ -6401,8 +6464,8 @@ module TencentCloud
6401
6464
 
6402
6465
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
6403
6466
  extend Gem::Deprecate
6404
- deprecate :QueryDlqMsg, :none, 2025, 11
6405
- deprecate :QueryDlqMsg=, :none, 2025, 11
6467
+ deprecate :QueryDlqMsg, :none, 2025, 12
6468
+ deprecate :QueryDlqMsg=, :none, 2025, 12
6406
6469
 
6407
6470
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
6408
6471
  @ClusterId = clusterid
@@ -6507,8 +6570,8 @@ module TencentCloud
6507
6570
 
6508
6571
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
6509
6572
  extend Gem::Deprecate
6510
- deprecate :QueryDLQMsg, :none, 2025, 11
6511
- deprecate :QueryDLQMsg=, :none, 2025, 11
6573
+ deprecate :QueryDLQMsg, :none, 2025, 12
6574
+ deprecate :QueryDLQMsg=, :none, 2025, 12
6512
6575
 
6513
6576
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
6514
6577
  @ClusterId = clusterid
@@ -6700,9 +6763,12 @@ module TencentCloud
6700
6763
 
6701
6764
  # DescribeRocketMQPublicAccessMonitorData请求参数结构体
6702
6765
  class DescribeRocketMQPublicAccessMonitorDataRequest < TencentCloud::Common::AbstractModel
6703
- # @param InstanceId: 专享集群ID
6766
+ # @param InstanceId: 集群 ID
6704
6767
  # @type InstanceId: String
6705
- # @param MetricName: 指标名称,仅支持单指标拉取。目前仅支持:ClientIntraffic; ClientOuttraffic
6768
+ # @param MetricName: 指标名称,仅支持单指标拉取。指标枚举如下:
6769
+
6770
+ # - ClientIntraffic:入流量
6771
+ # - ClientOuttraffic:出流量
6706
6772
  # @type MetricName: String
6707
6773
  # @param StartTime: 起始时间
6708
6774
  # @type StartTime: String
@@ -7224,8 +7290,8 @@ module TencentCloud
7224
7290
 
7225
7291
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
7226
7292
  extend Gem::Deprecate
7227
- deprecate :QueryDlqMsg, :none, 2025, 11
7228
- deprecate :QueryDlqMsg=, :none, 2025, 11
7293
+ deprecate :QueryDlqMsg, :none, 2025, 12
7294
+ deprecate :QueryDlqMsg=, :none, 2025, 12
7229
7295
 
7230
7296
  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)
7231
7297
  @ClusterId = clusterid
@@ -11876,8 +11942,8 @@ module TencentCloud
11876
11942
 
11877
11943
  attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution, :MaxRoleNum, :MaxTpsLimit
11878
11944
  extend Gem::Deprecate
11879
- deprecate :MaxTpsPerNamespace, :none, 2025, 11
11880
- deprecate :MaxTpsPerNamespace=, :none, 2025, 11
11945
+ deprecate :MaxTpsPerNamespace, :none, 2025, 12
11946
+ deprecate :MaxTpsPerNamespace=, :none, 2025, 12
11881
11947
 
11882
11948
  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)
11883
11949
  @MaxTpsPerNamespace = maxtpspernamespace
@@ -12283,10 +12349,10 @@ module TencentCloud
12283
12349
 
12284
12350
  attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled, :GroupType, :RetryMaxTimes, :InstanceId, :Namespace, :SubscribeTopicNum, :TagList
12285
12351
  extend Gem::Deprecate
12286
- deprecate :TPS, :none, 2025, 11
12287
- deprecate :TPS=, :none, 2025, 11
12288
- deprecate :TotalAccumulative, :none, 2025, 11
12289
- deprecate :TotalAccumulative=, :none, 2025, 11
12352
+ deprecate :TPS, :none, 2025, 12
12353
+ deprecate :TPS=, :none, 2025, 12
12354
+ deprecate :TotalAccumulative, :none, 2025, 12
12355
+ deprecate :TotalAccumulative=, :none, 2025, 12
12290
12356
 
12291
12357
  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)
12292
12358
  @Name = name
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.1174
4
+ version: 3.0.1177
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-11-28 00:00:00.000000000 Z
11
+ date: 2025-12-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: