tencentcloud-sdk-python-cls 3.0.1459__tar.gz → 3.0.1467__tar.gz

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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud/cls/v20201016/cls_client.py +69 -0
  5. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud/cls/v20201016/models.py +580 -18
  6. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cls-3.0.1467/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cls-3.0.1459/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud/cls/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud/cls/v20201016/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cls-3.0.1459 → tencentcloud-sdk-python-cls-3.0.1467}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1459
3
+ Version: 3.0.1467
4
4
  Summary: Tencent Cloud Cls SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cls',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1459,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1467,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cls SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1459'
17
+ __version__ = '3.0.1467'
@@ -1574,6 +1574,52 @@ class ClsClient(AbstractClient):
1574
1574
  raise TencentCloudSDKException(type(e).__name__, str(e))
1575
1575
 
1576
1576
 
1577
+ def DescribeKafkaConsumerGroupDetail(self, request):
1578
+ r"""获取Kafka协议消费组详情
1579
+
1580
+ :param request: Request instance for DescribeKafkaConsumerGroupDetail.
1581
+ :type request: :class:`tencentcloud.cls.v20201016.models.DescribeKafkaConsumerGroupDetailRequest`
1582
+ :rtype: :class:`tencentcloud.cls.v20201016.models.DescribeKafkaConsumerGroupDetailResponse`
1583
+
1584
+ """
1585
+ try:
1586
+ params = request._serialize()
1587
+ headers = request.headers
1588
+ body = self.call("DescribeKafkaConsumerGroupDetail", params, headers=headers)
1589
+ response = json.loads(body)
1590
+ model = models.DescribeKafkaConsumerGroupDetailResponse()
1591
+ model._deserialize(response["Response"])
1592
+ return model
1593
+ except Exception as e:
1594
+ if isinstance(e, TencentCloudSDKException):
1595
+ raise
1596
+ else:
1597
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1598
+
1599
+
1600
+ def DescribeKafkaConsumerGroupList(self, request):
1601
+ r"""获取Kafka协议消费组信息列表
1602
+
1603
+ :param request: Request instance for DescribeKafkaConsumerGroupList.
1604
+ :type request: :class:`tencentcloud.cls.v20201016.models.DescribeKafkaConsumerGroupListRequest`
1605
+ :rtype: :class:`tencentcloud.cls.v20201016.models.DescribeKafkaConsumerGroupListResponse`
1606
+
1607
+ """
1608
+ try:
1609
+ params = request._serialize()
1610
+ headers = request.headers
1611
+ body = self.call("DescribeKafkaConsumerGroupList", params, headers=headers)
1612
+ response = json.loads(body)
1613
+ model = models.DescribeKafkaConsumerGroupListResponse()
1614
+ model._deserialize(response["Response"])
1615
+ return model
1616
+ except Exception as e:
1617
+ if isinstance(e, TencentCloudSDKException):
1618
+ raise
1619
+ else:
1620
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1621
+
1622
+
1577
1623
  def DescribeKafkaRecharges(self, request):
1578
1624
  r"""本接口用于获取Kafka数据订阅任务
1579
1625
 
@@ -2242,6 +2288,29 @@ class ClsClient(AbstractClient):
2242
2288
  raise TencentCloudSDKException(type(e).__name__, str(e))
2243
2289
 
2244
2290
 
2291
+ def ModifyKafkaConsumerGroupOffset(self, request):
2292
+ r"""修改Kafka协议消费组点位
2293
+
2294
+ :param request: Request instance for ModifyKafkaConsumerGroupOffset.
2295
+ :type request: :class:`tencentcloud.cls.v20201016.models.ModifyKafkaConsumerGroupOffsetRequest`
2296
+ :rtype: :class:`tencentcloud.cls.v20201016.models.ModifyKafkaConsumerGroupOffsetResponse`
2297
+
2298
+ """
2299
+ try:
2300
+ params = request._serialize()
2301
+ headers = request.headers
2302
+ body = self.call("ModifyKafkaConsumerGroupOffset", params, headers=headers)
2303
+ response = json.loads(body)
2304
+ model = models.ModifyKafkaConsumerGroupOffsetResponse()
2305
+ model._deserialize(response["Response"])
2306
+ return model
2307
+ except Exception as e:
2308
+ if isinstance(e, TencentCloudSDKException):
2309
+ raise
2310
+ else:
2311
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2312
+
2313
+
2245
2314
  def ModifyKafkaRecharge(self, request):
2246
2315
  r"""本接口用于修改Kafka数据订阅任务
2247
2316
 
@@ -4327,6 +4327,96 @@ JsonType为1:转义。示例:
4327
4327
 
4328
4328
 
4329
4329
 
4330
+ class ConsumerGroup(AbstractModel):
4331
+ r"""kafka协议消费组信息
4332
+
4333
+ """
4334
+
4335
+ def __init__(self):
4336
+ r"""
4337
+ :param _Group: 消费组名称
4338
+ :type Group: str
4339
+ :param _State: 状态。
4340
+
4341
+ - Empty:组内没有成员,但存在已提交的偏移量。所有消费者都离开但保留了偏移量
4342
+ - Dead:组内没有成员,且没有已提交的偏移量。组被删除或长时间无活动
4343
+ - Stable:组内成员正常消费,分区分配平衡。正常运行状态
4344
+ - PreparingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
4345
+ - CompletingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
4346
+
4347
+ :type State: str
4348
+ :param _ProtocolName: 分区分配策略均衡算法名称。
4349
+
4350
+ - 常见均衡算法如下:
4351
+ - range:按分区范围分配
4352
+ - roundrobin:轮询式分配
4353
+ - sticky:粘性分配(避免不必要的重平衡)
4354
+ :type ProtocolName: str
4355
+ """
4356
+ self._Group = None
4357
+ self._State = None
4358
+ self._ProtocolName = None
4359
+
4360
+ @property
4361
+ def Group(self):
4362
+ r"""消费组名称
4363
+ :rtype: str
4364
+ """
4365
+ return self._Group
4366
+
4367
+ @Group.setter
4368
+ def Group(self, Group):
4369
+ self._Group = Group
4370
+
4371
+ @property
4372
+ def State(self):
4373
+ r"""状态。
4374
+
4375
+ - Empty:组内没有成员,但存在已提交的偏移量。所有消费者都离开但保留了偏移量
4376
+ - Dead:组内没有成员,且没有已提交的偏移量。组被删除或长时间无活动
4377
+ - Stable:组内成员正常消费,分区分配平衡。正常运行状态
4378
+ - PreparingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
4379
+ - CompletingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
4380
+
4381
+ :rtype: str
4382
+ """
4383
+ return self._State
4384
+
4385
+ @State.setter
4386
+ def State(self, State):
4387
+ self._State = State
4388
+
4389
+ @property
4390
+ def ProtocolName(self):
4391
+ r"""分区分配策略均衡算法名称。
4392
+
4393
+ - 常见均衡算法如下:
4394
+ - range:按分区范围分配
4395
+ - roundrobin:轮询式分配
4396
+ - sticky:粘性分配(避免不必要的重平衡)
4397
+ :rtype: str
4398
+ """
4399
+ return self._ProtocolName
4400
+
4401
+ @ProtocolName.setter
4402
+ def ProtocolName(self, ProtocolName):
4403
+ self._ProtocolName = ProtocolName
4404
+
4405
+
4406
+ def _deserialize(self, params):
4407
+ self._Group = params.get("Group")
4408
+ self._State = params.get("State")
4409
+ self._ProtocolName = params.get("ProtocolName")
4410
+ memeber_set = set(params.keys())
4411
+ for name, value in vars(self).items():
4412
+ property_name = name[1:]
4413
+ if property_name in memeber_set:
4414
+ memeber_set.remove(property_name)
4415
+ if len(memeber_set) > 0:
4416
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4417
+
4418
+
4419
+
4330
4420
  class ContainerFileInfo(AbstractModel):
4331
4421
  r"""自建k8s-容器文件路径信息
4332
4422
 
@@ -8542,7 +8632,11 @@ class CreateLogsetRequest(AbstractModel):
8542
8632
  :type LogsetName: str
8543
8633
  :param _Tags: 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对
8544
8634
  :type Tags: list of Tag
8545
- :param _LogsetId: 日志集ID,格式为:用户自定义部分-用户appid,用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符,尾部需要使用-拼接用户appid
8635
+ :param _LogsetId: 日志集ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
8636
+
8637
+ - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符。
8638
+ - 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。
8639
+ - 如果指定该字段,需保证全地域唯一
8546
8640
  :type LogsetId: str
8547
8641
  """
8548
8642
  self._LogsetName = None
@@ -8575,7 +8669,11 @@ class CreateLogsetRequest(AbstractModel):
8575
8669
 
8576
8670
  @property
8577
8671
  def LogsetId(self):
8578
- r"""日志集ID,格式为:用户自定义部分-用户appid,用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符,尾部需要使用-拼接用户appid
8672
+ r"""日志集ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
8673
+
8674
+ - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符。
8675
+ - 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。
8676
+ - 如果指定该字段,需保证全地域唯一
8579
8677
  :rtype: str
8580
8678
  """
8581
8679
  return self._LogsetId
@@ -9624,9 +9722,10 @@ class CreateTopicRequest(AbstractModel):
9624
9722
  非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
9625
9723
  仅在StorageType为 hot 时生效。
9626
9724
  :type HotPeriod: int
9627
- :param _TopicId: 主题自定义ID,格式为:用户自定义部分-APPID。未填写该参数时将自动生成ID。
9725
+ :param _TopicId: 主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
9628
9726
  - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
9629
- - APPID可在https://console.cloud.tencent.com/developer页面查询
9727
+ - 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。
9728
+ - 如果指定该字段,需保证全地域唯一
9630
9729
  :type TopicId: str
9631
9730
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
9632
9731
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
@@ -9770,9 +9869,10 @@ class CreateTopicRequest(AbstractModel):
9770
9869
 
9771
9870
  @property
9772
9871
  def TopicId(self):
9773
- r"""主题自定义ID,格式为:用户自定义部分-APPID。未填写该参数时将自动生成ID。
9872
+ r"""主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
9774
9873
  - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
9775
- - APPID可在https://console.cloud.tencent.com/developer页面查询
9874
+ - 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。
9875
+ - 如果指定该字段,需保证全地域唯一
9776
9876
  :rtype: str
9777
9877
  """
9778
9878
  return self._TopicId
@@ -15624,6 +15724,353 @@ class DescribeIndexResponse(AbstractModel):
15624
15724
  self._RequestId = params.get("RequestId")
15625
15725
 
15626
15726
 
15727
+ class DescribeKafkaConsumerGroupDetailRequest(AbstractModel):
15728
+ r"""DescribeKafkaConsumerGroupDetail请求参数结构体
15729
+
15730
+ """
15731
+
15732
+ def __init__(self):
15733
+ r"""
15734
+ :param _TopicId: 日志主题id。
15735
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
15736
+ :type TopicId: str
15737
+ :param _Group: 消费组名称
15738
+ :type Group: str
15739
+ """
15740
+ self._TopicId = None
15741
+ self._Group = None
15742
+
15743
+ @property
15744
+ def TopicId(self):
15745
+ r"""日志主题id。
15746
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
15747
+ :rtype: str
15748
+ """
15749
+ return self._TopicId
15750
+
15751
+ @TopicId.setter
15752
+ def TopicId(self, TopicId):
15753
+ self._TopicId = TopicId
15754
+
15755
+ @property
15756
+ def Group(self):
15757
+ r"""消费组名称
15758
+ :rtype: str
15759
+ """
15760
+ return self._Group
15761
+
15762
+ @Group.setter
15763
+ def Group(self, Group):
15764
+ self._Group = Group
15765
+
15766
+
15767
+ def _deserialize(self, params):
15768
+ self._TopicId = params.get("TopicId")
15769
+ self._Group = params.get("Group")
15770
+ memeber_set = set(params.keys())
15771
+ for name, value in vars(self).items():
15772
+ property_name = name[1:]
15773
+ if property_name in memeber_set:
15774
+ memeber_set.remove(property_name)
15775
+ if len(memeber_set) > 0:
15776
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15777
+
15778
+
15779
+
15780
+ class DescribeKafkaConsumerGroupDetailResponse(AbstractModel):
15781
+ r"""DescribeKafkaConsumerGroupDetail返回参数结构体
15782
+
15783
+ """
15784
+
15785
+ def __init__(self):
15786
+ r"""
15787
+ :param _LogsetId: 日志集id
15788
+ :type LogsetId: str
15789
+ :param _Group: 消费组名称
15790
+ :type Group: str
15791
+ :param _PartitionInfos: 消费组信息列表
15792
+ :type PartitionInfos: list of GroupPartitionInfo
15793
+ :param _State: Empty:组内没有成员,但存在已提交的偏移量。所有消费者都离开但保留了偏移量
15794
+ Dead:组内没有成员,且没有已提交的偏移量。组被删除或长时间无活动
15795
+ Stable:组内成员正常消费,分区分配平衡。正常运行状态
15796
+ PreparingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
15797
+ CompletingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
15798
+ :type State: str
15799
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15800
+ :type RequestId: str
15801
+ """
15802
+ self._LogsetId = None
15803
+ self._Group = None
15804
+ self._PartitionInfos = None
15805
+ self._State = None
15806
+ self._RequestId = None
15807
+
15808
+ @property
15809
+ def LogsetId(self):
15810
+ r"""日志集id
15811
+ :rtype: str
15812
+ """
15813
+ return self._LogsetId
15814
+
15815
+ @LogsetId.setter
15816
+ def LogsetId(self, LogsetId):
15817
+ self._LogsetId = LogsetId
15818
+
15819
+ @property
15820
+ def Group(self):
15821
+ r"""消费组名称
15822
+ :rtype: str
15823
+ """
15824
+ return self._Group
15825
+
15826
+ @Group.setter
15827
+ def Group(self, Group):
15828
+ self._Group = Group
15829
+
15830
+ @property
15831
+ def PartitionInfos(self):
15832
+ r"""消费组信息列表
15833
+ :rtype: list of GroupPartitionInfo
15834
+ """
15835
+ return self._PartitionInfos
15836
+
15837
+ @PartitionInfos.setter
15838
+ def PartitionInfos(self, PartitionInfos):
15839
+ self._PartitionInfos = PartitionInfos
15840
+
15841
+ @property
15842
+ def State(self):
15843
+ r"""Empty:组内没有成员,但存在已提交的偏移量。所有消费者都离开但保留了偏移量
15844
+ Dead:组内没有成员,且没有已提交的偏移量。组被删除或长时间无活动
15845
+ Stable:组内成员正常消费,分区分配平衡。正常运行状态
15846
+ PreparingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
15847
+ CompletingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开
15848
+ :rtype: str
15849
+ """
15850
+ return self._State
15851
+
15852
+ @State.setter
15853
+ def State(self, State):
15854
+ self._State = State
15855
+
15856
+ @property
15857
+ def RequestId(self):
15858
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15859
+ :rtype: str
15860
+ """
15861
+ return self._RequestId
15862
+
15863
+ @RequestId.setter
15864
+ def RequestId(self, RequestId):
15865
+ self._RequestId = RequestId
15866
+
15867
+
15868
+ def _deserialize(self, params):
15869
+ self._LogsetId = params.get("LogsetId")
15870
+ self._Group = params.get("Group")
15871
+ if params.get("PartitionInfos") is not None:
15872
+ self._PartitionInfos = []
15873
+ for item in params.get("PartitionInfos"):
15874
+ obj = GroupPartitionInfo()
15875
+ obj._deserialize(item)
15876
+ self._PartitionInfos.append(obj)
15877
+ self._State = params.get("State")
15878
+ self._RequestId = params.get("RequestId")
15879
+
15880
+
15881
+ class DescribeKafkaConsumerGroupListRequest(AbstractModel):
15882
+ r"""DescribeKafkaConsumerGroupList请求参数结构体
15883
+
15884
+ """
15885
+
15886
+ def __init__(self):
15887
+ r"""
15888
+ :param _TopicId: 日志主题id。
15889
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
15890
+ :type TopicId: str
15891
+ :param _Filters: - group
15892
+ 按照【消费组名称】进行过滤。
15893
+ 类型:String
15894
+ 必选:否
15895
+ 示例:消费组1
15896
+
15897
+ 每次请求的Filters的上限为10,Filter.Values的上限为10。
15898
+ :type Filters: list of Filter
15899
+ :param _Offset: 分页的偏移量,默认值为0。
15900
+ :type Offset: int
15901
+ :param _Limit: 分页单页限制数目,默认值为20,最大值100。
15902
+ :type Limit: int
15903
+ """
15904
+ self._TopicId = None
15905
+ self._Filters = None
15906
+ self._Offset = None
15907
+ self._Limit = None
15908
+
15909
+ @property
15910
+ def TopicId(self):
15911
+ r"""日志主题id。
15912
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
15913
+ :rtype: str
15914
+ """
15915
+ return self._TopicId
15916
+
15917
+ @TopicId.setter
15918
+ def TopicId(self, TopicId):
15919
+ self._TopicId = TopicId
15920
+
15921
+ @property
15922
+ def Filters(self):
15923
+ r"""- group
15924
+ 按照【消费组名称】进行过滤。
15925
+ 类型:String
15926
+ 必选:否
15927
+ 示例:消费组1
15928
+
15929
+ 每次请求的Filters的上限为10,Filter.Values的上限为10。
15930
+ :rtype: list of Filter
15931
+ """
15932
+ return self._Filters
15933
+
15934
+ @Filters.setter
15935
+ def Filters(self, Filters):
15936
+ self._Filters = Filters
15937
+
15938
+ @property
15939
+ def Offset(self):
15940
+ r"""分页的偏移量,默认值为0。
15941
+ :rtype: int
15942
+ """
15943
+ return self._Offset
15944
+
15945
+ @Offset.setter
15946
+ def Offset(self, Offset):
15947
+ self._Offset = Offset
15948
+
15949
+ @property
15950
+ def Limit(self):
15951
+ r"""分页单页限制数目,默认值为20,最大值100。
15952
+ :rtype: int
15953
+ """
15954
+ return self._Limit
15955
+
15956
+ @Limit.setter
15957
+ def Limit(self, Limit):
15958
+ self._Limit = Limit
15959
+
15960
+
15961
+ def _deserialize(self, params):
15962
+ self._TopicId = params.get("TopicId")
15963
+ if params.get("Filters") is not None:
15964
+ self._Filters = []
15965
+ for item in params.get("Filters"):
15966
+ obj = Filter()
15967
+ obj._deserialize(item)
15968
+ self._Filters.append(obj)
15969
+ self._Offset = params.get("Offset")
15970
+ self._Limit = params.get("Limit")
15971
+ memeber_set = set(params.keys())
15972
+ for name, value in vars(self).items():
15973
+ property_name = name[1:]
15974
+ if property_name in memeber_set:
15975
+ memeber_set.remove(property_name)
15976
+ if len(memeber_set) > 0:
15977
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15978
+
15979
+
15980
+
15981
+ class DescribeKafkaConsumerGroupListResponse(AbstractModel):
15982
+ r"""DescribeKafkaConsumerGroupList返回参数结构体
15983
+
15984
+ """
15985
+
15986
+ def __init__(self):
15987
+ r"""
15988
+ :param _TopicName: 日志主题名称
15989
+ :type TopicName: str
15990
+ :param _LogsetId: 日志集id
15991
+ :type LogsetId: str
15992
+ :param _Total: 总个数
15993
+ :type Total: int
15994
+ :param _Groups: 消费组信息列表
15995
+ :type Groups: list of ConsumerGroup
15996
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15997
+ :type RequestId: str
15998
+ """
15999
+ self._TopicName = None
16000
+ self._LogsetId = None
16001
+ self._Total = None
16002
+ self._Groups = None
16003
+ self._RequestId = None
16004
+
16005
+ @property
16006
+ def TopicName(self):
16007
+ r"""日志主题名称
16008
+ :rtype: str
16009
+ """
16010
+ return self._TopicName
16011
+
16012
+ @TopicName.setter
16013
+ def TopicName(self, TopicName):
16014
+ self._TopicName = TopicName
16015
+
16016
+ @property
16017
+ def LogsetId(self):
16018
+ r"""日志集id
16019
+ :rtype: str
16020
+ """
16021
+ return self._LogsetId
16022
+
16023
+ @LogsetId.setter
16024
+ def LogsetId(self, LogsetId):
16025
+ self._LogsetId = LogsetId
16026
+
16027
+ @property
16028
+ def Total(self):
16029
+ r"""总个数
16030
+ :rtype: int
16031
+ """
16032
+ return self._Total
16033
+
16034
+ @Total.setter
16035
+ def Total(self, Total):
16036
+ self._Total = Total
16037
+
16038
+ @property
16039
+ def Groups(self):
16040
+ r"""消费组信息列表
16041
+ :rtype: list of ConsumerGroup
16042
+ """
16043
+ return self._Groups
16044
+
16045
+ @Groups.setter
16046
+ def Groups(self, Groups):
16047
+ self._Groups = Groups
16048
+
16049
+ @property
16050
+ def RequestId(self):
16051
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16052
+ :rtype: str
16053
+ """
16054
+ return self._RequestId
16055
+
16056
+ @RequestId.setter
16057
+ def RequestId(self, RequestId):
16058
+ self._RequestId = RequestId
16059
+
16060
+
16061
+ def _deserialize(self, params):
16062
+ self._TopicName = params.get("TopicName")
16063
+ self._LogsetId = params.get("LogsetId")
16064
+ self._Total = params.get("Total")
16065
+ if params.get("Groups") is not None:
16066
+ self._Groups = []
16067
+ for item in params.get("Groups"):
16068
+ obj = ConsumerGroup()
16069
+ obj._deserialize(item)
16070
+ self._Groups.append(obj)
16071
+ self._RequestId = params.get("RequestId")
16072
+
16073
+
15627
16074
  class DescribeKafkaConsumerRequest(AbstractModel):
15628
16075
  r"""DescribeKafkaConsumer请求参数结构体
15629
16076
 
@@ -19722,6 +20169,72 @@ class GetAlarmLogResponse(AbstractModel):
19722
20169
  self._RequestId = params.get("RequestId")
19723
20170
 
19724
20171
 
20172
+ class GroupPartitionInfo(AbstractModel):
20173
+ r"""kafka协议消费组区分信息
20174
+
20175
+ """
20176
+
20177
+ def __init__(self):
20178
+ r"""
20179
+ :param _PartitionId: 分区id
20180
+ :type PartitionId: int
20181
+ :param _CommitTimestamp: 分区最新数据时间戳,单位:s
20182
+ :type CommitTimestamp: int
20183
+ :param _Consumer: 消费者
20184
+ :type Consumer: str
20185
+ """
20186
+ self._PartitionId = None
20187
+ self._CommitTimestamp = None
20188
+ self._Consumer = None
20189
+
20190
+ @property
20191
+ def PartitionId(self):
20192
+ r"""分区id
20193
+ :rtype: int
20194
+ """
20195
+ return self._PartitionId
20196
+
20197
+ @PartitionId.setter
20198
+ def PartitionId(self, PartitionId):
20199
+ self._PartitionId = PartitionId
20200
+
20201
+ @property
20202
+ def CommitTimestamp(self):
20203
+ r"""分区最新数据时间戳,单位:s
20204
+ :rtype: int
20205
+ """
20206
+ return self._CommitTimestamp
20207
+
20208
+ @CommitTimestamp.setter
20209
+ def CommitTimestamp(self, CommitTimestamp):
20210
+ self._CommitTimestamp = CommitTimestamp
20211
+
20212
+ @property
20213
+ def Consumer(self):
20214
+ r"""消费者
20215
+ :rtype: str
20216
+ """
20217
+ return self._Consumer
20218
+
20219
+ @Consumer.setter
20220
+ def Consumer(self, Consumer):
20221
+ self._Consumer = Consumer
20222
+
20223
+
20224
+ def _deserialize(self, params):
20225
+ self._PartitionId = params.get("PartitionId")
20226
+ self._CommitTimestamp = params.get("CommitTimestamp")
20227
+ self._Consumer = params.get("Consumer")
20228
+ memeber_set = set(params.keys())
20229
+ for name, value in vars(self).items():
20230
+ property_name = name[1:]
20231
+ if property_name in memeber_set:
20232
+ memeber_set.remove(property_name)
20233
+ if len(memeber_set) > 0:
20234
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20235
+
20236
+
20237
+
19725
20238
  class GroupTriggerConditionInfo(AbstractModel):
19726
20239
  r"""分组触发条件
19727
20240
 
@@ -24855,6 +25368,55 @@ class ModifyIndexResponse(AbstractModel):
24855
25368
  self._RequestId = params.get("RequestId")
24856
25369
 
24857
25370
 
25371
+ class ModifyKafkaConsumerGroupOffsetRequest(AbstractModel):
25372
+ r"""ModifyKafkaConsumerGroupOffset请求参数结构体
25373
+
25374
+ """
25375
+
25376
+
25377
+ class ModifyKafkaConsumerGroupOffsetResponse(AbstractModel):
25378
+ r"""ModifyKafkaConsumerGroupOffset返回参数结构体
25379
+
25380
+ """
25381
+
25382
+ def __init__(self):
25383
+ r"""
25384
+ :param _Code: 状态码。0:成功,-1:失败
25385
+ :type Code: int
25386
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25387
+ :type RequestId: str
25388
+ """
25389
+ self._Code = None
25390
+ self._RequestId = None
25391
+
25392
+ @property
25393
+ def Code(self):
25394
+ r"""状态码。0:成功,-1:失败
25395
+ :rtype: int
25396
+ """
25397
+ return self._Code
25398
+
25399
+ @Code.setter
25400
+ def Code(self, Code):
25401
+ self._Code = Code
25402
+
25403
+ @property
25404
+ def RequestId(self):
25405
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25406
+ :rtype: str
25407
+ """
25408
+ return self._RequestId
25409
+
25410
+ @RequestId.setter
25411
+ def RequestId(self, RequestId):
25412
+ self._RequestId = RequestId
25413
+
25414
+
25415
+ def _deserialize(self, params):
25416
+ self._Code = params.get("Code")
25417
+ self._RequestId = params.get("RequestId")
25418
+
25419
+
24858
25420
  class ModifyKafkaConsumerRequest(AbstractModel):
24859
25421
  r"""ModifyKafkaConsumer请求参数结构体
24860
25422
 
@@ -25535,7 +26097,7 @@ class ModifyNoticeContentRequest(AbstractModel):
25535
26097
 
25536
26098
  def __init__(self):
25537
26099
  r"""
25538
- :param _NoticeContentId: 通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模版ID
26100
+ :param _NoticeContentId: 通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模板ID
25539
26101
  :type NoticeContentId: str
25540
26102
  :param _Name: 通知内容模板名称。
25541
26103
  :type Name: str
@@ -25553,7 +26115,7 @@ class ModifyNoticeContentRequest(AbstractModel):
25553
26115
 
25554
26116
  @property
25555
26117
  def NoticeContentId(self):
25556
- r"""通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模版ID
26118
+ r"""通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模板ID
25557
26119
  :rtype: str
25558
26120
  """
25559
26121
  return self._NoticeContentId
@@ -26627,9 +27189,9 @@ class MonitorNoticeRule(AbstractModel):
26627
27189
 
26628
27190
  def __init__(self):
26629
27191
  r"""
26630
- :param _NoticeId: 云监控通知模版ID
27192
+ :param _NoticeId: 腾讯云可观测平台通知模板 ID
26631
27193
  :type NoticeId: str
26632
- :param _ContentTmplId: 云监控内容模版ID,不传默认内容模版
27194
+ :param _ContentTmplId: 腾讯云可观测平台内容模板ID,不传默认内容模板
26633
27195
  注意:此字段可能返回 null,表示取不到有效值。
26634
27196
  :type ContentTmplId: str
26635
27197
  :param _AlarmLevels: 告警级别,0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)
@@ -26641,7 +27203,7 @@ class MonitorNoticeRule(AbstractModel):
26641
27203
 
26642
27204
  @property
26643
27205
  def NoticeId(self):
26644
- r"""云监控通知模版ID
27206
+ r"""腾讯云可观测平台通知模板 ID
26645
27207
  :rtype: str
26646
27208
  """
26647
27209
  return self._NoticeId
@@ -26652,7 +27214,7 @@ class MonitorNoticeRule(AbstractModel):
26652
27214
 
26653
27215
  @property
26654
27216
  def ContentTmplId(self):
26655
- r"""云监控内容模版ID,不传默认内容模版
27217
+ r"""腾讯云可观测平台内容模板ID,不传默认内容模板
26656
27218
  注意:此字段可能返回 null,表示取不到有效值。
26657
27219
  :rtype: str
26658
27220
  """
@@ -29542,12 +30104,12 @@ class SearchCosRechargeInfoResponse(AbstractModel):
29542
30104
  - 0:成功
29543
30105
  - 10000:参数错误,请确认参数
29544
30106
  - 10001:授权失败,请确认授权
29545
- - 10002:获取文件列表失败,请稍后再试。若无法解决,请联系智能客服或提交工单
30107
+ - 10002:获取文件列表失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。
29546
30108
  - 10003:桶内无相应前缀文件,请使用正确的桶、文件前缀和压缩方式
29547
- - 10004:文件下载失败,请稍后再试。若无法解决,请联系智能客服或提交工单
30109
+ - 10004:文件下载失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。
29548
30110
  - 10005:文件解压缩失败,请选择正确的压缩方式然后再试
29549
30111
  - 10006:读取文件内容失败,请确认文件可读
29550
- - 10007:文件预览失败,请稍后再试。若无法解决,请联系智能客服或提交工单
30112
+ - 10007:文件预览失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。
29551
30113
  :type Status: int
29552
30114
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29553
30115
  :type RequestId: str
@@ -29609,12 +30171,12 @@ class SearchCosRechargeInfoResponse(AbstractModel):
29609
30171
  - 0:成功
29610
30172
  - 10000:参数错误,请确认参数
29611
30173
  - 10001:授权失败,请确认授权
29612
- - 10002:获取文件列表失败,请稍后再试。若无法解决,请联系智能客服或提交工单
30174
+ - 10002:获取文件列表失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。
29613
30175
  - 10003:桶内无相应前缀文件,请使用正确的桶、文件前缀和压缩方式
29614
- - 10004:文件下载失败,请稍后再试。若无法解决,请联系智能客服或提交工单
30176
+ - 10004:文件下载失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。
29615
30177
  - 10005:文件解压缩失败,请选择正确的压缩方式然后再试
29616
30178
  - 10006:读取文件内容失败,请确认文件可读
29617
- - 10007:文件预览失败,请稍后再试。若无法解决,请联系智能客服或提交工单
30179
+ - 10007:文件预览失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。
29618
30180
  :rtype: int
29619
30181
  """
29620
30182
  return self._Status
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1459
3
+ Version: 3.0.1467
4
4
  Summary: Tencent Cloud Cls SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1467
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1459