tencentcloud-sdk-trocket 3.0.973 → 3.0.975
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20230308/client.rb +26 -0
- data/lib/v20230308/models.rb +71 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69c9094723a46bffd3fc6e96d724fe7f08d24353
|
4
|
+
data.tar.gz: dde52c63391883428d7bc6c84e52eeebaa7f6ef6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1104d416bd4b908da23129371138d9c5e86be048648beb458336d533ff4ed85c34d81507e15a43eb87eae5402debe264bc6b25d20f56e6051fe1acd0b36d717e
|
7
|
+
data.tar.gz: 11919235f876567530f8967407ed56f24f416f0570a6ac5acd6567c663518b6da23320eb6da4bece3c783dacf2cd0bc5ccaa0ec853cff10c198b1f5d5eb50142
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.975
|
data/lib/v20230308/client.rb
CHANGED
@@ -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.
|
data/lib/v20230308/models.rb
CHANGED
@@ -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.
|
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:
|
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
|