tencentcloud-sdk-cls 3.0.1137 → 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: ea60aa86bf9aba5849709b0446bc0d8e8f5e5303
4
- data.tar.gz: 879edfc174745f83e1dd813ac5e49aba47698ec6
3
+ metadata.gz: b0603a8ddd1738686661b68951699fed5e3a7514
4
+ data.tar.gz: 1051efc5f69a769c6e237655a720256779da7b5e
5
5
  SHA512:
6
- metadata.gz: 2ba3c5fd76888270f61a045061852b99a0e6bbc1299573d56412c62e4abe78544898be9241a033757c415c73bcf199bc083f73430e072171ff8c66f35f420f68
7
- data.tar.gz: 25b8f3832af9b1cbac10af27b1a8d577298368e4b095634058b3f755e70f5385dc9eb4c2482450d6aa1235173fe520c41066a5ec985d25c3e1ff98864895ff2a
6
+ metadata.gz: 372af22f6b1c28cd7ba16771e8364ccf756994a6e187c527c595bd1b1d7d2d0bbdfecf5748a53316f741fd36668046d2dd25de7c26e3f4a315f0c1449039ecb1
7
+ data.tar.gz: f8f5684f784f312cf5d2319cd3c04b568e8019e5667a495e71e367f9a1e17e841bc124c011f535ca22b4368ca75686253e2579d2b1874d2536779a4bf4782e3b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1137
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.
@@ -149,7 +149,7 @@ module TencentCloud
149
149
  # @type TriggerCount: Integer
150
150
  # @param AlarmPeriod: 告警重复的周期。单位是min。取值范围是0~1440。
151
151
  # @type AlarmPeriod: Integer
152
- # @param AlarmNoticeIds: 关联的告警通知模板列表。
152
+ # @param AlarmNoticeIds: 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥
153
153
  # @type AlarmNoticeIds: Array
154
154
  # @param Status: 开启状态。
155
155
  # @type Status: Boolean
@@ -181,10 +181,12 @@ module TencentCloud
181
181
  # @param MultiConditions: 多触发条件。与
182
182
  # Condition互斥。
183
183
  # @type MultiConditions: Array
184
+ # @param MonitorNotice: 云监控通知渠道相关信息,和AlarmNoticeIds互斥
185
+ # @type MonitorNotice: :class:`Tencentcloud::Cls.v20201016.models.MonitorNotice`
184
186
 
185
- attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :AlarmLevel, :Classifications, :MultiConditions
187
+ attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :AlarmLevel, :Classifications, :MultiConditions, :MonitorNotice
186
188
 
187
- def initialize(name=nil, alarmtargets=nil, monitortime=nil, condition=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, status=nil, alarmid=nil, createtime=nil, updatetime=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, tags=nil, monitorobjecttype=nil, alarmlevel=nil, classifications=nil, multiconditions=nil)
189
+ def initialize(name=nil, alarmtargets=nil, monitortime=nil, condition=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, status=nil, alarmid=nil, createtime=nil, updatetime=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, tags=nil, monitorobjecttype=nil, alarmlevel=nil, classifications=nil, multiconditions=nil, monitornotice=nil)
188
190
  @Name = name
189
191
  @AlarmTargets = alarmtargets
190
192
  @MonitorTime = monitortime
@@ -206,6 +208,7 @@ module TencentCloud
206
208
  @AlarmLevel = alarmlevel
207
209
  @Classifications = classifications
208
210
  @MultiConditions = multiconditions
211
+ @MonitorNotice = monitornotice
209
212
  end
210
213
 
211
214
  def deserialize(params)
@@ -271,6 +274,10 @@ module TencentCloud
271
274
  @MultiConditions << multicondition_tmp
272
275
  end
273
276
  end
277
+ unless params['MonitorNotice'].nil?
278
+ @MonitorNotice = MonitorNotice.new
279
+ @MonitorNotice.deserialize(params['MonitorNotice'])
280
+ end
274
281
  end
275
282
  end
276
283
 
@@ -607,10 +614,12 @@ module TencentCloud
607
614
  # @param MonitorObjectType: 监控对象类型。
608
615
  # 0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
609
616
  # @type MonitorObjectType: Integer
617
+ # @param SendType: 通知渠道类型,0默认代表cls内部通知渠道,1代表云监控通知渠道
618
+ # @type SendType: Integer
610
619
 
611
- attr_accessor :RecordId, :AlarmId, :AlarmName, :TopicId, :TopicName, :Region, :Trigger, :TriggerCount, :AlarmPeriod, :Notices, :Duration, :Status, :CreateTime, :GroupTriggerCondition, :AlarmLevel, :MonitorObjectType
620
+ attr_accessor :RecordId, :AlarmId, :AlarmName, :TopicId, :TopicName, :Region, :Trigger, :TriggerCount, :AlarmPeriod, :Notices, :Duration, :Status, :CreateTime, :GroupTriggerCondition, :AlarmLevel, :MonitorObjectType, :SendType
612
621
 
613
- def initialize(recordid=nil, alarmid=nil, alarmname=nil, topicid=nil, topicname=nil, region=nil, trigger=nil, triggercount=nil, alarmperiod=nil, notices=nil, duration=nil, status=nil, createtime=nil, grouptriggercondition=nil, alarmlevel=nil, monitorobjecttype=nil)
622
+ def initialize(recordid=nil, alarmid=nil, alarmname=nil, topicid=nil, topicname=nil, region=nil, trigger=nil, triggercount=nil, alarmperiod=nil, notices=nil, duration=nil, status=nil, createtime=nil, grouptriggercondition=nil, alarmlevel=nil, monitorobjecttype=nil, sendtype=nil)
614
623
  @RecordId = recordid
615
624
  @AlarmId = alarmid
616
625
  @AlarmName = alarmname
@@ -627,6 +636,7 @@ module TencentCloud
627
636
  @GroupTriggerCondition = grouptriggercondition
628
637
  @AlarmLevel = alarmlevel
629
638
  @MonitorObjectType = monitorobjecttype
639
+ @SendType = sendtype
630
640
  end
631
641
 
632
642
  def deserialize(params)
@@ -660,6 +670,7 @@ module TencentCloud
660
670
  end
661
671
  @AlarmLevel = params['AlarmLevel']
662
672
  @MonitorObjectType = params['MonitorObjectType']
673
+ @SendType = params['SendType']
663
674
  end
664
675
  end
665
676
 
@@ -1636,6 +1647,41 @@ module TencentCloud
1636
1647
  end
1637
1648
  end
1638
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
+
1639
1685
  # 自建k8s-容器文件路径信息
1640
1686
  class ContainerFileInfo < TencentCloud::Common::AbstractModel
1641
1687
  # @param Namespace: namespace可以多个,用分隔号分割,例如A,B
@@ -2046,7 +2092,7 @@ module TencentCloud
2046
2092
  # @type TriggerCount: Integer
2047
2093
  # @param AlarmPeriod: 告警重复的周期,单位是分钟。取值范围是0~1440。
2048
2094
  # @type AlarmPeriod: Integer
2049
- # @param AlarmNoticeIds: 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表
2095
+ # @param AlarmNoticeIds: 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥
2050
2096
  # @type AlarmNoticeIds: Array
2051
2097
  # @param Condition: 告警发送通知的触发条件
2052
2098
  # 注意:
@@ -3243,7 +3289,11 @@ module TencentCloud
3243
3289
  # @type LogsetName: String
3244
3290
  # @param Tags: 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对
3245
3291
  # @type Tags: Array
3246
- # @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
+ # - 如果指定该字段,需保证全地域唯一
3247
3297
  # @type LogsetId: String
3248
3298
 
3249
3299
  attr_accessor :LogsetName, :Tags, :LogsetId
@@ -3675,9 +3725,10 @@ module TencentCloud
3675
3725
  # 非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
3676
3726
  # 仅在StorageType为 hot 时生效。
3677
3727
  # @type HotPeriod: Integer
3678
- # @param TopicId: 主题自定义ID,格式为:用户自定义部分-APPID。未填写该参数时将自动生成ID。
3728
+ # @param TopicId: 主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
3679
3729
  # - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
3680
- # - APPID可在https://console.cloud.tencent.com/developer页面查询
3730
+ # - 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。
3731
+ # - 如果指定该字段,需保证全地域唯一
3681
3732
  # @type TopicId: String
3682
3733
  # @param IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
3683
3734
  # 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
@@ -6282,6 +6333,151 @@ module TencentCloud
6282
6333
  end
6283
6334
  end
6284
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
+
6285
6481
  # DescribeKafkaConsumer请求参数结构体
6286
6482
  class DescribeKafkaConsumerRequest < TencentCloud::Common::AbstractModel
6287
6483
  # @param FromTopicId: 日志主题Id。
@@ -7972,6 +8168,30 @@ module TencentCloud
7972
8168
  end
7973
8169
  end
7974
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
+
7975
8195
  # 分组触发条件
7976
8196
  class GroupTriggerConditionInfo < TencentCloud::Common::AbstractModel
7977
8197
  # @param Key: 分组触发字段名称
@@ -9079,7 +9299,7 @@ module TencentCloud
9079
9299
  # @type TriggerCount: Integer
9080
9300
  # @param AlarmPeriod: 告警重复的周期。单位是分钟。取值范围是0~1440。
9081
9301
  # @type AlarmPeriod: Integer
9082
- # @param AlarmNoticeIds: 关联的告警通知渠道列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取告警通知渠道列表
9302
+ # @param AlarmNoticeIds: 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥
9083
9303
  # @type AlarmNoticeIds: Array
9084
9304
  # @param AlarmTargets: 监控对象列表。
9085
9305
  # @type AlarmTargets: Array
@@ -9947,6 +10167,37 @@ module TencentCloud
9947
10167
  end
9948
10168
  end
9949
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
+
9950
10201
  # ModifyKafkaConsumer请求参数结构体
9951
10202
  class ModifyKafkaConsumerRequest < TencentCloud::Common::AbstractModel
9952
10203
  # @param FromTopicId: 日志主题Id。
@@ -10621,6 +10872,54 @@ module TencentCloud
10621
10872
  end
10622
10873
  end
10623
10874
 
10875
+ # 提供多个Notice信息
10876
+ class MonitorNotice < TencentCloud::Common::AbstractModel
10877
+ # @param Notices: 以数组的形式提供MonitorNoticeRule
10878
+ # @type Notices: Array
10879
+
10880
+ attr_accessor :Notices
10881
+
10882
+ def initialize(notices=nil)
10883
+ @Notices = notices
10884
+ end
10885
+
10886
+ def deserialize(params)
10887
+ unless params['Notices'].nil?
10888
+ @Notices = []
10889
+ params['Notices'].each do |i|
10890
+ monitornoticerule_tmp = MonitorNoticeRule.new
10891
+ monitornoticerule_tmp.deserialize(i)
10892
+ @Notices << monitornoticerule_tmp
10893
+ end
10894
+ end
10895
+ end
10896
+ end
10897
+
10898
+ # 云监控通知渠道组信息
10899
+ class MonitorNoticeRule < TencentCloud::Common::AbstractModel
10900
+ # @param NoticeId: 云监控通知模版ID
10901
+ # @type NoticeId: String
10902
+ # @param ContentTmplId: 云监控内容模版ID,不传默认内容模版
10903
+ # 注意:此字段可能返回 null,表示取不到有效值。
10904
+ # @type ContentTmplId: String
10905
+ # @param AlarmLevels: 告警级别,0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)
10906
+ # @type AlarmLevels: Array
10907
+
10908
+ attr_accessor :NoticeId, :ContentTmplId, :AlarmLevels
10909
+
10910
+ def initialize(noticeid=nil, contenttmplid=nil, alarmlevels=nil)
10911
+ @NoticeId = noticeid
10912
+ @ContentTmplId = contenttmplid
10913
+ @AlarmLevels = alarmlevels
10914
+ end
10915
+
10916
+ def deserialize(params)
10917
+ @NoticeId = params['NoticeId']
10918
+ @ContentTmplId = params['ContentTmplId']
10919
+ @AlarmLevels = params['AlarmLevels']
10920
+ end
10921
+ end
10922
+
10624
10923
  # 告警策略中监控任务的执行时间点
10625
10924
  class MonitorTime < TencentCloud::Common::AbstractModel
10626
10925
  # @param Type: 执行周期, 可选值:`Period`、`Fixed`、`Cron`。
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.1137
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-07 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: