tencentcloud-sdk-trocket 3.0.974 → 3.0.975

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: 2951e934c8c83bc32dd97407e7e919d243b57661
4
- data.tar.gz: a19cc005cdf0d4fc9b581eeb5ad81e6da344fcf6
3
+ metadata.gz: 69c9094723a46bffd3fc6e96d724fe7f08d24353
4
+ data.tar.gz: dde52c63391883428d7bc6c84e52eeebaa7f6ef6
5
5
  SHA512:
6
- metadata.gz: 9142579059913ed1928885e549a5932031d1fefeabe451aa2b1eb20a7cf8eda763b2e8b9eea704430c2e5a6e3816984ff219b59f2f8ac298ab4f70316a3ea916
7
- data.tar.gz: 6cc7e939d3001fdcd99639b9959c33201eb092d9727fc5f677d59ce4cf9c02221b34a0dc11b508ca7df6e099ffbf1037cdc4337e6b75f7a2884a3004fa258670
6
+ metadata.gz: 1104d416bd4b908da23129371138d9c5e86be048648beb458336d533ff4ed85c34d81507e15a43eb87eae5402debe264bc6b25d20f56e6051fe1acd0b36d717e
7
+ data.tar.gz: 11919235f876567530f8967407ed56f24f416f0570a6ac5acd6567c663518b6da23320eb6da4bece3c783dacf2cd0bc5ccaa0ec853cff10c198b1f5d5eb50142
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.974
1
+ 3.0.975
@@ -1069,6 +1069,32 @@ module TencentCloud
1069
1069
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1070
1070
  end
1071
1071
 
1072
+ # 根据消费组获取主题列表,Filter参数使用说明如下:
1073
+
1074
+ # TopicName,主题名称过滤
1075
+
1076
+ # @param request: Request instance for DescribeTopicListByGroup.
1077
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeTopicListByGroupRequest`
1078
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeTopicListByGroupResponse`
1079
+ def DescribeTopicListByGroup(request)
1080
+ body = send_request('DescribeTopicListByGroup', request.serialize)
1081
+ response = JSON.parse(body)
1082
+ if response['Response'].key?('Error') == false
1083
+ model = DescribeTopicListByGroupResponse.new
1084
+ model.deserialize(response['Response'])
1085
+ model
1086
+ else
1087
+ code = response['Response']['Error']['Code']
1088
+ message = response['Response']['Error']['Message']
1089
+ reqid = response['Response']['RequestId']
1090
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1091
+ end
1092
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1093
+ raise e
1094
+ rescue StandardError => e
1095
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1096
+ end
1097
+
1072
1098
  # 导入消费者组列表
1073
1099
 
1074
1100
  # @param request: Request instance for ImportSourceClusterConsumerGroups.
@@ -2715,6 +2715,77 @@ module TencentCloud
2715
2715
  end
2716
2716
  end
2717
2717
 
2718
+ # DescribeTopicListByGroup请求参数结构体
2719
+ class DescribeTopicListByGroupRequest < TencentCloud::Common::AbstractModel
2720
+ # @param InstanceId: 集群ID
2721
+ # @type InstanceId: String
2722
+ # @param Offset: 查询起始位置
2723
+ # @type Offset: Integer
2724
+ # @param Limit: 查询结果限制数量
2725
+ # @type Limit: Integer
2726
+ # @param ConsumerGroup: 消费组名称
2727
+ # @type ConsumerGroup: String
2728
+ # @param Filters: 查询条件列表
2729
+ # @type Filters: Array
2730
+
2731
+ attr_accessor :InstanceId, :Offset, :Limit, :ConsumerGroup, :Filters
2732
+
2733
+ def initialize(instanceid=nil, offset=nil, limit=nil, consumergroup=nil, filters=nil)
2734
+ @InstanceId = instanceid
2735
+ @Offset = offset
2736
+ @Limit = limit
2737
+ @ConsumerGroup = consumergroup
2738
+ @Filters = filters
2739
+ end
2740
+
2741
+ def deserialize(params)
2742
+ @InstanceId = params['InstanceId']
2743
+ @Offset = params['Offset']
2744
+ @Limit = params['Limit']
2745
+ @ConsumerGroup = params['ConsumerGroup']
2746
+ unless params['Filters'].nil?
2747
+ @Filters = []
2748
+ params['Filters'].each do |i|
2749
+ filter_tmp = Filter.new
2750
+ filter_tmp.deserialize(i)
2751
+ @Filters << filter_tmp
2752
+ end
2753
+ end
2754
+ end
2755
+ end
2756
+
2757
+ # DescribeTopicListByGroup返回参数结构体
2758
+ class DescribeTopicListByGroupResponse < TencentCloud::Common::AbstractModel
2759
+ # @param TotalCount: 查询总数
2760
+ # 注意:此字段可能返回 null,表示取不到有效值。
2761
+ # @type TotalCount: Integer
2762
+ # @param Data: 主题列表
2763
+ # @type Data: Array
2764
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2765
+ # @type RequestId: String
2766
+
2767
+ attr_accessor :TotalCount, :Data, :RequestId
2768
+
2769
+ def initialize(totalcount=nil, data=nil, requestid=nil)
2770
+ @TotalCount = totalcount
2771
+ @Data = data
2772
+ @RequestId = requestid
2773
+ end
2774
+
2775
+ def deserialize(params)
2776
+ @TotalCount = params['TotalCount']
2777
+ unless params['Data'].nil?
2778
+ @Data = []
2779
+ params['Data'].each do |i|
2780
+ subscriptiondata_tmp = SubscriptionData.new
2781
+ subscriptiondata_tmp.deserialize(i)
2782
+ @Data << subscriptiondata_tmp
2783
+ end
2784
+ end
2785
+ @RequestId = params['RequestId']
2786
+ end
2787
+ end
2788
+
2718
2789
  # DescribeTopicList请求参数结构体
2719
2790
  class DescribeTopicListRequest < TencentCloud::Common::AbstractModel
2720
2791
  # @param InstanceId: 集群ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.974
4
+ version: 3.0.975
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-02 00:00:00.000000000 Z
11
+ date: 2025-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common