tencentcloud-sdk-tdmq 3.0.1174 → 3.0.1176

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: d2e679ad957cc3620fa132db4c9f25d969ef8b94
4
+ data.tar.gz: b18e6fe8ddc6131112bea43b7fa6d735f92e6d04
5
5
  SHA512:
6
- metadata.gz: 3e5fbdede5af7e935955746cc4fcb9e5762dfa127d6b6ea56de075da5873d8b66e82b8fc30462f3c5f2345ee0112ee8da444804b370b8fd8477ba158c342d354
7
- data.tar.gz: 6a3ba03d5a24511738fd8403a2c38dabdbbb8eb1de44c48cb47af44bb79d5d67dad79747d80f54300b26d50dfebdc11a1369ad2cddd0de6565282096fbc7fd31
6
+ metadata.gz: 6bff480e1830ef6338d3f693f85fba16d11c8b1b375b9cfdb50607810638f5a9a93623e9dc86c5d2216ab44332cdcadb7069efdc337b82201550811320cda537
7
+ data.tar.gz: 1bb7b6afc62f6097a2fb7f5f63511440d53d44f5c88e315a75b17de4ee6c75ce6221f4a18aab21f5550cce1710450da8dede421aa2418a05d94a3794408a8493
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1174
1
+ 3.0.1176
@@ -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.
@@ -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
@@ -7224,8 +7287,8 @@ module TencentCloud
7224
7287
 
7225
7288
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
7226
7289
  extend Gem::Deprecate
7227
- deprecate :QueryDlqMsg, :none, 2025, 11
7228
- deprecate :QueryDlqMsg=, :none, 2025, 11
7290
+ deprecate :QueryDlqMsg, :none, 2025, 12
7291
+ deprecate :QueryDlqMsg=, :none, 2025, 12
7229
7292
 
7230
7293
  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
7294
  @ClusterId = clusterid
@@ -11876,8 +11939,8 @@ module TencentCloud
11876
11939
 
11877
11940
  attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution, :MaxRoleNum, :MaxTpsLimit
11878
11941
  extend Gem::Deprecate
11879
- deprecate :MaxTpsPerNamespace, :none, 2025, 11
11880
- deprecate :MaxTpsPerNamespace=, :none, 2025, 11
11942
+ deprecate :MaxTpsPerNamespace, :none, 2025, 12
11943
+ deprecate :MaxTpsPerNamespace=, :none, 2025, 12
11881
11944
 
11882
11945
  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
11946
  @MaxTpsPerNamespace = maxtpspernamespace
@@ -12283,10 +12346,10 @@ module TencentCloud
12283
12346
 
12284
12347
  attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled, :GroupType, :RetryMaxTimes, :InstanceId, :Namespace, :SubscribeTopicNum, :TagList
12285
12348
  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
12349
+ deprecate :TPS, :none, 2025, 12
12350
+ deprecate :TPS=, :none, 2025, 12
12351
+ deprecate :TotalAccumulative, :none, 2025, 12
12352
+ deprecate :TotalAccumulative=, :none, 2025, 12
12290
12353
 
12291
12354
  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
12355
  @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.1176
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-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common