tencentcloud-sdk-cls 3.0.1139 → 3.0.1140

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: c3e011c88e860939b903fb7062c80b7f7c902147
4
- data.tar.gz: 41ca5acc054d21a09c2cef6aba2adee1fdca7c84
3
+ metadata.gz: b0603a8ddd1738686661b68951699fed5e3a7514
4
+ data.tar.gz: 1051efc5f69a769c6e237655a720256779da7b5e
5
5
  SHA512:
6
- metadata.gz: 4595d283725c6bd4c597438a9c4ffe6dd5e76040b26c9346b3b76e505779f7c189d7968bc71e84e615b518a37b325997c44e4a3d4ca48eae0433449800b693b3
7
- data.tar.gz: 688b4127be92d5fd17ddeecd0514695d98375946462ff99dd3f6064ecf6aed1a28f26c8a926edaec9f4bec66cde730282a4f93bb443db26ba0e29c9344524ed4
6
+ metadata.gz: 372af22f6b1c28cd7ba16771e8364ccf756994a6e187c527c595bd1b1d7d2d0bbdfecf5748a53316f741fd36668046d2dd25de7c26e3f4a315f0c1449039ecb1
7
+ data.tar.gz: f8f5684f784f312cf5d2319cd3c04b568e8019e5667a495e71e367f9a1e17e841bc124c011f535ca22b4368ca75686253e2579d2b1874d2536779a4bf4782e3b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1139
1
+ 3.0.1140
@@ -1644,6 +1644,54 @@ module TencentCloud
1644
1644
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1645
1645
  end
1646
1646
 
1647
+ # 获取Kafka协议消费组详情
1648
+
1649
+ # @param request: Request instance for DescribeKafkaConsumerGroupDetail.
1650
+ # @type request: :class:`Tencentcloud::cls::V20201016::DescribeKafkaConsumerGroupDetailRequest`
1651
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DescribeKafkaConsumerGroupDetailResponse`
1652
+ def DescribeKafkaConsumerGroupDetail(request)
1653
+ body = send_request('DescribeKafkaConsumerGroupDetail', request.serialize)
1654
+ response = JSON.parse(body)
1655
+ if response['Response'].key?('Error') == false
1656
+ model = DescribeKafkaConsumerGroupDetailResponse.new
1657
+ model.deserialize(response['Response'])
1658
+ model
1659
+ else
1660
+ code = response['Response']['Error']['Code']
1661
+ message = response['Response']['Error']['Message']
1662
+ reqid = response['Response']['RequestId']
1663
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1664
+ end
1665
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1666
+ raise e
1667
+ rescue StandardError => e
1668
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1669
+ end
1670
+
1671
+ # 获取Kafka协议消费组信息列表
1672
+
1673
+ # @param request: Request instance for DescribeKafkaConsumerGroupList.
1674
+ # @type request: :class:`Tencentcloud::cls::V20201016::DescribeKafkaConsumerGroupListRequest`
1675
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DescribeKafkaConsumerGroupListResponse`
1676
+ def DescribeKafkaConsumerGroupList(request)
1677
+ body = send_request('DescribeKafkaConsumerGroupList', request.serialize)
1678
+ response = JSON.parse(body)
1679
+ if response['Response'].key?('Error') == false
1680
+ model = DescribeKafkaConsumerGroupListResponse.new
1681
+ model.deserialize(response['Response'])
1682
+ model
1683
+ else
1684
+ code = response['Response']['Error']['Code']
1685
+ message = response['Response']['Error']['Message']
1686
+ reqid = response['Response']['RequestId']
1687
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1688
+ end
1689
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1690
+ raise e
1691
+ rescue StandardError => e
1692
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1693
+ end
1694
+
1647
1695
  # 本接口用于获取Kafka数据订阅任务
1648
1696
 
1649
1697
  # @param request: Request instance for DescribeKafkaRecharges.
@@ -2341,6 +2389,30 @@ module TencentCloud
2341
2389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2342
2390
  end
2343
2391
 
2392
+ # 修改Kafka协议消费组点位
2393
+
2394
+ # @param request: Request instance for ModifyKafkaConsumerGroupOffset.
2395
+ # @type request: :class:`Tencentcloud::cls::V20201016::ModifyKafkaConsumerGroupOffsetRequest`
2396
+ # @rtype: :class:`Tencentcloud::cls::V20201016::ModifyKafkaConsumerGroupOffsetResponse`
2397
+ def ModifyKafkaConsumerGroupOffset(request)
2398
+ body = send_request('ModifyKafkaConsumerGroupOffset', request.serialize)
2399
+ response = JSON.parse(body)
2400
+ if response['Response'].key?('Error') == false
2401
+ model = ModifyKafkaConsumerGroupOffsetResponse.new
2402
+ model.deserialize(response['Response'])
2403
+ model
2404
+ else
2405
+ code = response['Response']['Error']['Code']
2406
+ message = response['Response']['Error']['Message']
2407
+ reqid = response['Response']['RequestId']
2408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2409
+ end
2410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2411
+ raise e
2412
+ rescue StandardError => e
2413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2414
+ end
2415
+
2344
2416
  # 本接口用于修改Kafka数据订阅任务
2345
2417
 
2346
2418
  # @param request: Request instance for ModifyKafkaRecharge.
@@ -1647,6 +1647,41 @@ module TencentCloud
1647
1647
  end
1648
1648
  end
1649
1649
 
1650
+ # kafka协议消费组信息
1651
+ class ConsumerGroup < TencentCloud::Common::AbstractModel
1652
+ # @param Group: 消费组名称
1653
+ # @type Group: String
1654
+ # @param State: 状态。
1655
+
1656
+ # - Empty:组内没有成员,但存在已提交的偏移量。所有消费者都离开但保留了偏移量
1657
+ # - Dead:组内没有成员,且没有已提交的偏移量。组被删除或长时间无活动
1658
+ # - Stable:组内成员正常消费,分区分配平衡。正常运行状态
1659
+ # - PreparingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
1660
+ # - CompletingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
1661
+ # @type State: String
1662
+ # @param ProtocolName: 分区分配策略均衡算法名称。
1663
+
1664
+ # - 常见均衡算法如下:
1665
+ # - range:按分区范围分配
1666
+ # - roundrobin:轮询式分配
1667
+ # - sticky:粘性分配(避免不必要的重平衡)
1668
+ # @type ProtocolName: String
1669
+
1670
+ attr_accessor :Group, :State, :ProtocolName
1671
+
1672
+ def initialize(group=nil, state=nil, protocolname=nil)
1673
+ @Group = group
1674
+ @State = state
1675
+ @ProtocolName = protocolname
1676
+ end
1677
+
1678
+ def deserialize(params)
1679
+ @Group = params['Group']
1680
+ @State = params['State']
1681
+ @ProtocolName = params['ProtocolName']
1682
+ end
1683
+ end
1684
+
1650
1685
  # 自建k8s-容器文件路径信息
1651
1686
  class ContainerFileInfo < TencentCloud::Common::AbstractModel
1652
1687
  # @param Namespace: namespace可以多个,用分隔号分割,例如A,B
@@ -3254,7 +3289,11 @@ module TencentCloud
3254
3289
  # @type LogsetName: String
3255
3290
  # @param Tags: 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对
3256
3291
  # @type Tags: Array
3257
- # @param LogsetId: 日志集ID,格式为:用户自定义部分-用户appid,用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符,尾部需要使用-拼接用户appid
3292
+ # @param LogsetId: 日志集ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
3293
+
3294
+ # - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符。
3295
+ # - 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。
3296
+ # - 如果指定该字段,需保证全地域唯一
3258
3297
  # @type LogsetId: String
3259
3298
 
3260
3299
  attr_accessor :LogsetName, :Tags, :LogsetId
@@ -3686,9 +3725,10 @@ module TencentCloud
3686
3725
  # 非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
3687
3726
  # 仅在StorageType为 hot 时生效。
3688
3727
  # @type HotPeriod: Integer
3689
- # @param TopicId: 主题自定义ID,格式为:用户自定义部分-APPID。未填写该参数时将自动生成ID。
3728
+ # @param TopicId: 主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
3690
3729
  # - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
3691
- # - APPID可在https://console.cloud.tencent.com/developer页面查询
3730
+ # - 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。
3731
+ # - 如果指定该字段,需保证全地域唯一
3692
3732
  # @type TopicId: String
3693
3733
  # @param IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
3694
3734
  # 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
@@ -6293,6 +6333,151 @@ module TencentCloud
6293
6333
  end
6294
6334
  end
6295
6335
 
6336
+ # DescribeKafkaConsumerGroupDetail请求参数结构体
6337
+ class DescribeKafkaConsumerGroupDetailRequest < TencentCloud::Common::AbstractModel
6338
+ # @param TopicId: 日志主题id。
6339
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
6340
+ # @type TopicId: String
6341
+ # @param Group: 消费组名称
6342
+ # @type Group: String
6343
+
6344
+ attr_accessor :TopicId, :Group
6345
+
6346
+ def initialize(topicid=nil, group=nil)
6347
+ @TopicId = topicid
6348
+ @Group = group
6349
+ end
6350
+
6351
+ def deserialize(params)
6352
+ @TopicId = params['TopicId']
6353
+ @Group = params['Group']
6354
+ end
6355
+ end
6356
+
6357
+ # DescribeKafkaConsumerGroupDetail返回参数结构体
6358
+ class DescribeKafkaConsumerGroupDetailResponse < TencentCloud::Common::AbstractModel
6359
+ # @param LogsetId: 日志集id
6360
+ # @type LogsetId: String
6361
+ # @param Group: 消费组名称
6362
+ # @type Group: String
6363
+ # @param PartitionInfos: 消费组信息列表
6364
+ # @type PartitionInfos: Array
6365
+ # @param State: Empty:组内没有成员,但存在已提交的偏移量。所有消费者都离开但保留了偏移量
6366
+ # Dead:组内没有成员,且没有已提交的偏移量。组被删除或长时间无活动
6367
+ # Stable:组内成员正常消费,分区分配平衡。正常运行状态
6368
+ # PreparingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
6369
+ # CompletingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
6370
+ # @type State: String
6371
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6372
+ # @type RequestId: String
6373
+
6374
+ attr_accessor :LogsetId, :Group, :PartitionInfos, :State, :RequestId
6375
+
6376
+ def initialize(logsetid=nil, group=nil, partitioninfos=nil, state=nil, requestid=nil)
6377
+ @LogsetId = logsetid
6378
+ @Group = group
6379
+ @PartitionInfos = partitioninfos
6380
+ @State = state
6381
+ @RequestId = requestid
6382
+ end
6383
+
6384
+ def deserialize(params)
6385
+ @LogsetId = params['LogsetId']
6386
+ @Group = params['Group']
6387
+ unless params['PartitionInfos'].nil?
6388
+ @PartitionInfos = []
6389
+ params['PartitionInfos'].each do |i|
6390
+ grouppartitioninfo_tmp = GroupPartitionInfo.new
6391
+ grouppartitioninfo_tmp.deserialize(i)
6392
+ @PartitionInfos << grouppartitioninfo_tmp
6393
+ end
6394
+ end
6395
+ @State = params['State']
6396
+ @RequestId = params['RequestId']
6397
+ end
6398
+ end
6399
+
6400
+ # DescribeKafkaConsumerGroupList请求参数结构体
6401
+ class DescribeKafkaConsumerGroupListRequest < TencentCloud::Common::AbstractModel
6402
+ # @param TopicId: 日志主题id。
6403
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
6404
+ # @type TopicId: String
6405
+ # @param Filters: - group
6406
+ # 按照【消费组名称】进行过滤。
6407
+ # 类型:String
6408
+ # 必选:否
6409
+ # 示例:消费组1
6410
+
6411
+ # 每次请求的Filters的上限为10,Filter.Values的上限为10。
6412
+ # @type Filters: Array
6413
+ # @param Offset: 分页的偏移量,默认值为0。
6414
+ # @type Offset: Integer
6415
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
6416
+ # @type Limit: Integer
6417
+
6418
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
6419
+
6420
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
6421
+ @TopicId = topicid
6422
+ @Filters = filters
6423
+ @Offset = offset
6424
+ @Limit = limit
6425
+ end
6426
+
6427
+ def deserialize(params)
6428
+ @TopicId = params['TopicId']
6429
+ unless params['Filters'].nil?
6430
+ @Filters = []
6431
+ params['Filters'].each do |i|
6432
+ filter_tmp = Filter.new
6433
+ filter_tmp.deserialize(i)
6434
+ @Filters << filter_tmp
6435
+ end
6436
+ end
6437
+ @Offset = params['Offset']
6438
+ @Limit = params['Limit']
6439
+ end
6440
+ end
6441
+
6442
+ # DescribeKafkaConsumerGroupList返回参数结构体
6443
+ class DescribeKafkaConsumerGroupListResponse < TencentCloud::Common::AbstractModel
6444
+ # @param TopicName: 日志主题名称
6445
+ # @type TopicName: String
6446
+ # @param LogsetId: 日志集id
6447
+ # @type LogsetId: String
6448
+ # @param Total: 总个数
6449
+ # @type Total: Integer
6450
+ # @param Groups: 消费组信息列表
6451
+ # @type Groups: Array
6452
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6453
+ # @type RequestId: String
6454
+
6455
+ attr_accessor :TopicName, :LogsetId, :Total, :Groups, :RequestId
6456
+
6457
+ def initialize(topicname=nil, logsetid=nil, total=nil, groups=nil, requestid=nil)
6458
+ @TopicName = topicname
6459
+ @LogsetId = logsetid
6460
+ @Total = total
6461
+ @Groups = groups
6462
+ @RequestId = requestid
6463
+ end
6464
+
6465
+ def deserialize(params)
6466
+ @TopicName = params['TopicName']
6467
+ @LogsetId = params['LogsetId']
6468
+ @Total = params['Total']
6469
+ unless params['Groups'].nil?
6470
+ @Groups = []
6471
+ params['Groups'].each do |i|
6472
+ consumergroup_tmp = ConsumerGroup.new
6473
+ consumergroup_tmp.deserialize(i)
6474
+ @Groups << consumergroup_tmp
6475
+ end
6476
+ end
6477
+ @RequestId = params['RequestId']
6478
+ end
6479
+ end
6480
+
6296
6481
  # DescribeKafkaConsumer请求参数结构体
6297
6482
  class DescribeKafkaConsumerRequest < TencentCloud::Common::AbstractModel
6298
6483
  # @param FromTopicId: 日志主题Id。
@@ -7983,6 +8168,30 @@ module TencentCloud
7983
8168
  end
7984
8169
  end
7985
8170
 
8171
+ # kafka协议消费组区分信息
8172
+ class GroupPartitionInfo < TencentCloud::Common::AbstractModel
8173
+ # @param PartitionId: 分区id
8174
+ # @type PartitionId: Integer
8175
+ # @param CommitTimestamp: 分区最新数据时间戳,单位:s
8176
+ # @type CommitTimestamp: Integer
8177
+ # @param Consumer: 消费者
8178
+ # @type Consumer: String
8179
+
8180
+ attr_accessor :PartitionId, :CommitTimestamp, :Consumer
8181
+
8182
+ def initialize(partitionid=nil, committimestamp=nil, consumer=nil)
8183
+ @PartitionId = partitionid
8184
+ @CommitTimestamp = committimestamp
8185
+ @Consumer = consumer
8186
+ end
8187
+
8188
+ def deserialize(params)
8189
+ @PartitionId = params['PartitionId']
8190
+ @CommitTimestamp = params['CommitTimestamp']
8191
+ @Consumer = params['Consumer']
8192
+ end
8193
+ end
8194
+
7986
8195
  # 分组触发条件
7987
8196
  class GroupTriggerConditionInfo < TencentCloud::Common::AbstractModel
7988
8197
  # @param Key: 分组触发字段名称
@@ -9958,6 +10167,37 @@ module TencentCloud
9958
10167
  end
9959
10168
  end
9960
10169
 
10170
+ # ModifyKafkaConsumerGroupOffset请求参数结构体
10171
+ class ModifyKafkaConsumerGroupOffsetRequest < TencentCloud::Common::AbstractModel
10172
+
10173
+
10174
+ def initialize()
10175
+ end
10176
+
10177
+ def deserialize(params)
10178
+ end
10179
+ end
10180
+
10181
+ # ModifyKafkaConsumerGroupOffset返回参数结构体
10182
+ class ModifyKafkaConsumerGroupOffsetResponse < TencentCloud::Common::AbstractModel
10183
+ # @param Code: 状态码。0:成功,-1:失败
10184
+ # @type Code: Integer
10185
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10186
+ # @type RequestId: String
10187
+
10188
+ attr_accessor :Code, :RequestId
10189
+
10190
+ def initialize(code=nil, requestid=nil)
10191
+ @Code = code
10192
+ @RequestId = requestid
10193
+ end
10194
+
10195
+ def deserialize(params)
10196
+ @Code = params['Code']
10197
+ @RequestId = params['RequestId']
10198
+ end
10199
+ end
10200
+
9961
10201
  # ModifyKafkaConsumer请求参数结构体
9962
10202
  class ModifyKafkaConsumerRequest < TencentCloud::Common::AbstractModel
9963
10203
  # @param FromTopicId: 日志主题Id。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1139
4
+ version: 3.0.1140
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-09-10 00:00:00.000000000 Z
11
+ date: 2025-09-15 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-cls.rb
37
- - lib/v20201016/models.rb
38
37
  - lib/v20201016/client.rb
38
+ - lib/v20201016/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: