tencentcloud-sdk-tdmq 3.0.976 → 3.0.977

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a888d9a0c6a4b960856a6af44810acb97632ff3
4
- data.tar.gz: a3274dbe1acbd56282f35836aa8e5fa2407ecac6
3
+ metadata.gz: d2331b8175cb7703f2fdee5be983c44b9886d750
4
+ data.tar.gz: 360946d1a43696931dba55dfabbe019cdb44c035
5
5
  SHA512:
6
- metadata.gz: 4d29f0c67056f6471fabb64cf9f8c2de7ec098bdefd516256140a9e5a8200ca73351069a8eebd3ff5e068600db37e24c5474a13beaa7ad0109e1d845ae28a513
7
- data.tar.gz: a8f5d07bdd3b8909f7354615b66115cb9cd2ad58d1197dcdae3daf3a32993091ef026aa055618fa6c948e80cac922c9a566284ca04434ea58c3c423e46624ea3
6
+ metadata.gz: 00f75ba1757cbfe1861986218c72e8a992fd43da90b229f936ffef282ea81e858400581de066fd3e0c2610a4bc5cb92f2ae9555f508d586767103b19640693b9
7
+ data.tar.gz: dfc31e880a629da022cd63b4c30873c186991bfdccb045607cc1f4b65f8a613bf515e177cec420e818d9f77914c89c468a95265438b3501e97d9ecc1927982ae
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.976
1
+ 3.0.977
@@ -2673,6 +2673,30 @@ module TencentCloud
2673
2673
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2674
2674
  end
2675
2675
 
2676
+ # 获取环境下主题列表
2677
+
2678
+ # @param request: Request instance for GetTopicList.
2679
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::GetTopicListRequest`
2680
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::GetTopicListResponse`
2681
+ def GetTopicList(request)
2682
+ body = send_request('GetTopicList', request.serialize)
2683
+ response = JSON.parse(body)
2684
+ if response['Response'].key?('Error') == false
2685
+ model = GetTopicListResponse.new
2686
+ model.deserialize(response['Response'])
2687
+ model
2688
+ else
2689
+ code = response['Response']['Error']['Code']
2690
+ message = response['Response']['Error']['Message']
2691
+ reqid = response['Response']['RequestId']
2692
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2693
+ end
2694
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2695
+ raise e
2696
+ rescue StandardError => e
2697
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2698
+ end
2699
+
2676
2700
  # 输入迁移任务id和要导入的Group,导入后台
2677
2701
 
2678
2702
  # @param request: Request instance for ImportRocketMQConsumerGroups.
@@ -6397,8 +6397,8 @@ module TencentCloud
6397
6397
 
6398
6398
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
6399
6399
  extend Gem::Deprecate
6400
- deprecate :QueryDlqMsg, :none, 2024, 12
6401
- deprecate :QueryDlqMsg=, :none, 2024, 12
6400
+ deprecate :QueryDlqMsg, :none, 2025, 1
6401
+ deprecate :QueryDlqMsg=, :none, 2025, 1
6402
6402
 
6403
6403
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
6404
6404
  @ClusterId = clusterid
@@ -6503,8 +6503,8 @@ module TencentCloud
6503
6503
 
6504
6504
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
6505
6505
  extend Gem::Deprecate
6506
- deprecate :QueryDLQMsg, :none, 2024, 12
6507
- deprecate :QueryDLQMsg=, :none, 2024, 12
6506
+ deprecate :QueryDLQMsg, :none, 2025, 1
6507
+ deprecate :QueryDLQMsg=, :none, 2025, 1
6508
6508
 
6509
6509
  def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
6510
6510
  @ClusterId = clusterid
@@ -7282,8 +7282,8 @@ module TencentCloud
7282
7282
 
7283
7283
  attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
7284
7284
  extend Gem::Deprecate
7285
- deprecate :QueryDlqMsg, :none, 2024, 12
7286
- deprecate :QueryDlqMsg=, :none, 2024, 12
7285
+ deprecate :QueryDlqMsg, :none, 2025, 1
7286
+ deprecate :QueryDlqMsg=, :none, 2025, 1
7287
7287
 
7288
7288
  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)
7289
7289
  @ClusterId = clusterid
@@ -8255,6 +8255,65 @@ module TencentCloud
8255
8255
  end
8256
8256
  end
8257
8257
 
8258
+ # GetTopicList请求参数结构体
8259
+ class GetTopicListRequest < TencentCloud::Common::AbstractModel
8260
+ # @param EnvironmentId: 环境(命名空间)名称。
8261
+ # @type EnvironmentId: String
8262
+ # @param ClusterId: Pulsar 集群的ID
8263
+ # @type ClusterId: String
8264
+ # @param Offset: 起始下标,不填默认为0。
8265
+ # @type Offset: Integer
8266
+ # @param Limit: 返回数量,不填则默认为10,最大值为20。
8267
+ # @type Limit: Integer
8268
+
8269
+ attr_accessor :EnvironmentId, :ClusterId, :Offset, :Limit
8270
+
8271
+ def initialize(environmentid=nil, clusterid=nil, offset=nil, limit=nil)
8272
+ @EnvironmentId = environmentid
8273
+ @ClusterId = clusterid
8274
+ @Offset = offset
8275
+ @Limit = limit
8276
+ end
8277
+
8278
+ def deserialize(params)
8279
+ @EnvironmentId = params['EnvironmentId']
8280
+ @ClusterId = params['ClusterId']
8281
+ @Offset = params['Offset']
8282
+ @Limit = params['Limit']
8283
+ end
8284
+ end
8285
+
8286
+ # GetTopicList返回参数结构体
8287
+ class GetTopicListResponse < TencentCloud::Common::AbstractModel
8288
+ # @param TotalCount: 主题数量。
8289
+ # @type TotalCount: Integer
8290
+ # @param TopicList: 主题列表
8291
+ # @type TopicList: Array
8292
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8293
+ # @type RequestId: String
8294
+
8295
+ attr_accessor :TotalCount, :TopicList, :RequestId
8296
+
8297
+ def initialize(totalcount=nil, topiclist=nil, requestid=nil)
8298
+ @TotalCount = totalcount
8299
+ @TopicList = topiclist
8300
+ @RequestId = requestid
8301
+ end
8302
+
8303
+ def deserialize(params)
8304
+ @TotalCount = params['TotalCount']
8305
+ unless params['TopicList'].nil?
8306
+ @TopicList = []
8307
+ params['TopicList'].each do |i|
8308
+ topic_simplification_tmp = Topic_Simplification.new
8309
+ topic_simplification_tmp.deserialize(i)
8310
+ @TopicList << topic_simplification_tmp
8311
+ end
8312
+ end
8313
+ @RequestId = params['RequestId']
8314
+ end
8315
+ end
8316
+
8258
8317
  # ImportRocketMQConsumerGroups请求参数结构体
8259
8318
  class ImportRocketMQConsumerGroupsRequest < TencentCloud::Common::AbstractModel
8260
8319
  # @param Groups: 导入topic
@@ -11614,8 +11673,8 @@ module TencentCloud
11614
11673
 
11615
11674
  attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution
11616
11675
  extend Gem::Deprecate
11617
- deprecate :MaxTpsPerNamespace, :none, 2024, 12
11618
- deprecate :MaxTpsPerNamespace=, :none, 2024, 12
11676
+ deprecate :MaxTpsPerNamespace, :none, 2025, 1
11677
+ deprecate :MaxTpsPerNamespace=, :none, 2025, 1
11619
11678
 
11620
11679
  def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, maxretentiontime=nil, maxlatencytime=nil, maxqueuespertopic=nil, topicdistribution=nil)
11621
11680
  @MaxTpsPerNamespace = maxtpspernamespace
@@ -13590,6 +13649,31 @@ module TencentCloud
13590
13649
  end
13591
13650
  end
13592
13651
 
13652
+ # 主题实例
13653
+ class Topic_Simplification < TencentCloud::Common::AbstractModel
13654
+ # @param TopicName: 主题名称。
13655
+ # 注意:此字段可能返回 null,表示取不到有效值。
13656
+ # @type TopicName: String
13657
+ # @param PulsarTopicType: 0: 非持久非分区
13658
+ # 1: 非持久分区
13659
+ # 2: 持久非分区
13660
+ # 3: 持久分区
13661
+ # 注意:此字段可能返回 null,表示取不到有效值。
13662
+ # @type PulsarTopicType: Integer
13663
+
13664
+ attr_accessor :TopicName, :PulsarTopicType
13665
+
13666
+ def initialize(topicname=nil, pulsartopictype=nil)
13667
+ @TopicName = topicname
13668
+ @PulsarTopicType = pulsartopictype
13669
+ end
13670
+
13671
+ def deserialize(params)
13672
+ @TopicName = params['TopicName']
13673
+ @PulsarTopicType = params['PulsarTopicType']
13674
+ end
13675
+ end
13676
+
13593
13677
  # 消息轨迹结果
13594
13678
  class TraceResult < TencentCloud::Common::AbstractModel
13595
13679
  # @param Stage: 阶段
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.976
4
+ version: 3.0.977
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-01-06 00:00:00.000000000 Z
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common