tencentcloud-sdk-python-cls 3.1.79__tar.gz → 3.1.82__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.
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud/cls/v20201016/cls_client.py +1 -2
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud/cls/v20201016/cls_client_async.py +1 -2
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud/cls/v20201016/models.py +114 -36
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.82/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.79/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.79 → tencentcloud_sdk_python_cls-3.1.82}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.82
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.82,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -4044,8 +4044,7 @@ class ClsClient(AbstractClient):
|
|
|
4044
4044
|
def SearchLog(self, request):
|
|
4045
4045
|
r"""本接口用于检索分析日志,使用该接口时请注意如下事项:
|
|
4046
4046
|
1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
|
|
4047
|
-
2.
|
|
4048
|
-
3. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
|
|
4047
|
+
2. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
|
|
4049
4048
|
|
|
4050
4049
|
:param request: Request instance for SearchLog.
|
|
4051
4050
|
:type request: :class:`tencentcloud.cls.v20201016.models.SearchLogRequest`
|
|
@@ -3183,8 +3183,7 @@ class ClsClient(AbstractClient):
|
|
|
3183
3183
|
"""
|
|
3184
3184
|
本接口用于检索分析日志,使用该接口时请注意如下事项:
|
|
3185
3185
|
1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
|
|
3186
|
-
2.
|
|
3187
|
-
3. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
|
|
3186
|
+
2. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
|
|
3188
3187
|
"""
|
|
3189
3188
|
|
|
3190
3189
|
kwargs = {}
|
|
@@ -23210,18 +23210,14 @@ class DescribeKafkaConsumerRequest(AbstractModel):
|
|
|
23210
23210
|
|
|
23211
23211
|
def __init__(self):
|
|
23212
23212
|
r"""
|
|
23213
|
-
:param _FromTopicId:
|
|
23214
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
23215
|
-
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
23213
|
+
:param _FromTopicId: <p>日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
|
|
23216
23214
|
:type FromTopicId: str
|
|
23217
23215
|
"""
|
|
23218
23216
|
self._FromTopicId = None
|
|
23219
23217
|
|
|
23220
23218
|
@property
|
|
23221
23219
|
def FromTopicId(self):
|
|
23222
|
-
r"""
|
|
23223
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
23224
|
-
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
23220
|
+
r"""<p>日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
|
|
23225
23221
|
:rtype: str
|
|
23226
23222
|
"""
|
|
23227
23223
|
return self._FromTopicId
|
|
@@ -23250,14 +23246,18 @@ class DescribeKafkaConsumerResponse(AbstractModel):
|
|
|
23250
23246
|
|
|
23251
23247
|
def __init__(self):
|
|
23252
23248
|
r"""
|
|
23253
|
-
:param _Status: Kafka
|
|
23249
|
+
:param _Status: <p>Kafka协议消费是否打开</p>
|
|
23254
23250
|
:type Status: bool
|
|
23255
|
-
:param _TopicID: KafkaConsumer 消费时使用的Topic
|
|
23251
|
+
:param _TopicID: <p>KafkaConsumer 消费时使用的Topic参数</p>
|
|
23256
23252
|
:type TopicID: str
|
|
23257
|
-
:param _Compression:
|
|
23253
|
+
:param _Compression: <p>压缩方式[0:NONE;2:SNAPPY;3:LZ4]</p>
|
|
23258
23254
|
:type Compression: int
|
|
23259
|
-
:param _ConsumerContent: kafka
|
|
23255
|
+
:param _ConsumerContent: <p>kafka协议消费数据格式</p>
|
|
23260
23256
|
:type ConsumerContent: :class:`tencentcloud.cls.v20201016.models.KafkaConsumerContent`
|
|
23257
|
+
:param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
23258
|
+
:type HasServicesLog: int
|
|
23259
|
+
:param _ScopeType: <p>消费范围类型,0:最新,1:历史+最新</p>
|
|
23260
|
+
:type ScopeType: int
|
|
23261
23261
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23262
23262
|
:type RequestId: str
|
|
23263
23263
|
"""
|
|
@@ -23265,11 +23265,13 @@ class DescribeKafkaConsumerResponse(AbstractModel):
|
|
|
23265
23265
|
self._TopicID = None
|
|
23266
23266
|
self._Compression = None
|
|
23267
23267
|
self._ConsumerContent = None
|
|
23268
|
+
self._HasServicesLog = None
|
|
23269
|
+
self._ScopeType = None
|
|
23268
23270
|
self._RequestId = None
|
|
23269
23271
|
|
|
23270
23272
|
@property
|
|
23271
23273
|
def Status(self):
|
|
23272
|
-
r"""Kafka
|
|
23274
|
+
r"""<p>Kafka协议消费是否打开</p>
|
|
23273
23275
|
:rtype: bool
|
|
23274
23276
|
"""
|
|
23275
23277
|
return self._Status
|
|
@@ -23280,7 +23282,7 @@ class DescribeKafkaConsumerResponse(AbstractModel):
|
|
|
23280
23282
|
|
|
23281
23283
|
@property
|
|
23282
23284
|
def TopicID(self):
|
|
23283
|
-
r"""KafkaConsumer 消费时使用的Topic
|
|
23285
|
+
r"""<p>KafkaConsumer 消费时使用的Topic参数</p>
|
|
23284
23286
|
:rtype: str
|
|
23285
23287
|
"""
|
|
23286
23288
|
return self._TopicID
|
|
@@ -23291,7 +23293,7 @@ class DescribeKafkaConsumerResponse(AbstractModel):
|
|
|
23291
23293
|
|
|
23292
23294
|
@property
|
|
23293
23295
|
def Compression(self):
|
|
23294
|
-
r"""
|
|
23296
|
+
r"""<p>压缩方式[0:NONE;2:SNAPPY;3:LZ4]</p>
|
|
23295
23297
|
:rtype: int
|
|
23296
23298
|
"""
|
|
23297
23299
|
return self._Compression
|
|
@@ -23302,7 +23304,7 @@ class DescribeKafkaConsumerResponse(AbstractModel):
|
|
|
23302
23304
|
|
|
23303
23305
|
@property
|
|
23304
23306
|
def ConsumerContent(self):
|
|
23305
|
-
r"""kafka
|
|
23307
|
+
r"""<p>kafka协议消费数据格式</p>
|
|
23306
23308
|
:rtype: :class:`tencentcloud.cls.v20201016.models.KafkaConsumerContent`
|
|
23307
23309
|
"""
|
|
23308
23310
|
return self._ConsumerContent
|
|
@@ -23311,6 +23313,28 @@ class DescribeKafkaConsumerResponse(AbstractModel):
|
|
|
23311
23313
|
def ConsumerContent(self, ConsumerContent):
|
|
23312
23314
|
self._ConsumerContent = ConsumerContent
|
|
23313
23315
|
|
|
23316
|
+
@property
|
|
23317
|
+
def HasServicesLog(self):
|
|
23318
|
+
r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
23319
|
+
:rtype: int
|
|
23320
|
+
"""
|
|
23321
|
+
return self._HasServicesLog
|
|
23322
|
+
|
|
23323
|
+
@HasServicesLog.setter
|
|
23324
|
+
def HasServicesLog(self, HasServicesLog):
|
|
23325
|
+
self._HasServicesLog = HasServicesLog
|
|
23326
|
+
|
|
23327
|
+
@property
|
|
23328
|
+
def ScopeType(self):
|
|
23329
|
+
r"""<p>消费范围类型,0:最新,1:历史+最新</p>
|
|
23330
|
+
:rtype: int
|
|
23331
|
+
"""
|
|
23332
|
+
return self._ScopeType
|
|
23333
|
+
|
|
23334
|
+
@ScopeType.setter
|
|
23335
|
+
def ScopeType(self, ScopeType):
|
|
23336
|
+
self._ScopeType = ScopeType
|
|
23337
|
+
|
|
23314
23338
|
@property
|
|
23315
23339
|
def RequestId(self):
|
|
23316
23340
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -23330,6 +23354,8 @@ class DescribeKafkaConsumerResponse(AbstractModel):
|
|
|
23330
23354
|
if params.get("ConsumerContent") is not None:
|
|
23331
23355
|
self._ConsumerContent = KafkaConsumerContent()
|
|
23332
23356
|
self._ConsumerContent._deserialize(params.get("ConsumerContent"))
|
|
23357
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
23358
|
+
self._ScopeType = params.get("ScopeType")
|
|
23333
23359
|
self._RequestId = params.get("RequestId")
|
|
23334
23360
|
|
|
23335
23361
|
|
|
@@ -38565,24 +38591,26 @@ class ModifyKafkaConsumerRequest(AbstractModel):
|
|
|
38565
38591
|
|
|
38566
38592
|
def __init__(self):
|
|
38567
38593
|
r"""
|
|
38568
|
-
:param _FromTopicId:
|
|
38569
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
38570
|
-
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
38594
|
+
:param _FromTopicId: <p>日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
|
|
38571
38595
|
:type FromTopicId: str
|
|
38572
|
-
:param _Compression:
|
|
38596
|
+
:param _Compression: <p>压缩方式。0:不压缩;2:使用Snappy压缩;3:使用LZ4压缩</p>
|
|
38573
38597
|
:type Compression: int
|
|
38574
|
-
:param _ConsumerContent: kafka
|
|
38598
|
+
:param _ConsumerContent: <p>kafka协议消费数据格式</p>
|
|
38575
38599
|
:type ConsumerContent: :class:`tencentcloud.cls.v20201016.models.KafkaConsumerContent`
|
|
38600
|
+
:param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
38601
|
+
:type HasServicesLog: int
|
|
38602
|
+
:param _ScopeType: <p>消费范围类型,0:最新,1:历史+最新</p>
|
|
38603
|
+
:type ScopeType: int
|
|
38576
38604
|
"""
|
|
38577
38605
|
self._FromTopicId = None
|
|
38578
38606
|
self._Compression = None
|
|
38579
38607
|
self._ConsumerContent = None
|
|
38608
|
+
self._HasServicesLog = None
|
|
38609
|
+
self._ScopeType = None
|
|
38580
38610
|
|
|
38581
38611
|
@property
|
|
38582
38612
|
def FromTopicId(self):
|
|
38583
|
-
r"""
|
|
38584
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
38585
|
-
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
38613
|
+
r"""<p>日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
|
|
38586
38614
|
:rtype: str
|
|
38587
38615
|
"""
|
|
38588
38616
|
return self._FromTopicId
|
|
@@ -38593,7 +38621,7 @@ class ModifyKafkaConsumerRequest(AbstractModel):
|
|
|
38593
38621
|
|
|
38594
38622
|
@property
|
|
38595
38623
|
def Compression(self):
|
|
38596
|
-
r"""
|
|
38624
|
+
r"""<p>压缩方式。0:不压缩;2:使用Snappy压缩;3:使用LZ4压缩</p>
|
|
38597
38625
|
:rtype: int
|
|
38598
38626
|
"""
|
|
38599
38627
|
return self._Compression
|
|
@@ -38604,7 +38632,7 @@ class ModifyKafkaConsumerRequest(AbstractModel):
|
|
|
38604
38632
|
|
|
38605
38633
|
@property
|
|
38606
38634
|
def ConsumerContent(self):
|
|
38607
|
-
r"""kafka
|
|
38635
|
+
r"""<p>kafka协议消费数据格式</p>
|
|
38608
38636
|
:rtype: :class:`tencentcloud.cls.v20201016.models.KafkaConsumerContent`
|
|
38609
38637
|
"""
|
|
38610
38638
|
return self._ConsumerContent
|
|
@@ -38613,6 +38641,28 @@ class ModifyKafkaConsumerRequest(AbstractModel):
|
|
|
38613
38641
|
def ConsumerContent(self, ConsumerContent):
|
|
38614
38642
|
self._ConsumerContent = ConsumerContent
|
|
38615
38643
|
|
|
38644
|
+
@property
|
|
38645
|
+
def HasServicesLog(self):
|
|
38646
|
+
r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
38647
|
+
:rtype: int
|
|
38648
|
+
"""
|
|
38649
|
+
return self._HasServicesLog
|
|
38650
|
+
|
|
38651
|
+
@HasServicesLog.setter
|
|
38652
|
+
def HasServicesLog(self, HasServicesLog):
|
|
38653
|
+
self._HasServicesLog = HasServicesLog
|
|
38654
|
+
|
|
38655
|
+
@property
|
|
38656
|
+
def ScopeType(self):
|
|
38657
|
+
r"""<p>消费范围类型,0:最新,1:历史+最新</p>
|
|
38658
|
+
:rtype: int
|
|
38659
|
+
"""
|
|
38660
|
+
return self._ScopeType
|
|
38661
|
+
|
|
38662
|
+
@ScopeType.setter
|
|
38663
|
+
def ScopeType(self, ScopeType):
|
|
38664
|
+
self._ScopeType = ScopeType
|
|
38665
|
+
|
|
38616
38666
|
|
|
38617
38667
|
def _deserialize(self, params):
|
|
38618
38668
|
self._FromTopicId = params.get("FromTopicId")
|
|
@@ -38620,6 +38670,8 @@ class ModifyKafkaConsumerRequest(AbstractModel):
|
|
|
38620
38670
|
if params.get("ConsumerContent") is not None:
|
|
38621
38671
|
self._ConsumerContent = KafkaConsumerContent()
|
|
38622
38672
|
self._ConsumerContent._deserialize(params.get("ConsumerContent"))
|
|
38673
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
38674
|
+
self._ScopeType = params.get("ScopeType")
|
|
38623
38675
|
memeber_set = set(params.keys())
|
|
38624
38676
|
for name, value in vars(self).items():
|
|
38625
38677
|
property_name = name[1:]
|
|
@@ -42890,24 +42942,26 @@ class OpenKafkaConsumerRequest(AbstractModel):
|
|
|
42890
42942
|
|
|
42891
42943
|
def __init__(self):
|
|
42892
42944
|
r"""
|
|
42893
|
-
:param _FromTopicId:
|
|
42894
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
42895
|
-
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
42945
|
+
:param _FromTopicId: <p>日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
|
|
42896
42946
|
:type FromTopicId: str
|
|
42897
|
-
:param _Compression:
|
|
42947
|
+
:param _Compression: <p>压缩方式[0:NONE;2:SNAPPY;3:LZ4],默认:0</p>
|
|
42898
42948
|
:type Compression: int
|
|
42899
|
-
:param _ConsumerContent: kafka
|
|
42949
|
+
:param _ConsumerContent: <p>kafka协议消费数据格式</p>
|
|
42900
42950
|
:type ConsumerContent: :class:`tencentcloud.cls.v20201016.models.KafkaConsumerContent`
|
|
42951
|
+
:param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。 默认值:2</p>
|
|
42952
|
+
:type HasServicesLog: int
|
|
42953
|
+
:param _ScopeType: <p>消费范围类型,0:最新;1:历史+最新;默认值:0</p>
|
|
42954
|
+
:type ScopeType: int
|
|
42901
42955
|
"""
|
|
42902
42956
|
self._FromTopicId = None
|
|
42903
42957
|
self._Compression = None
|
|
42904
42958
|
self._ConsumerContent = None
|
|
42959
|
+
self._HasServicesLog = None
|
|
42960
|
+
self._ScopeType = None
|
|
42905
42961
|
|
|
42906
42962
|
@property
|
|
42907
42963
|
def FromTopicId(self):
|
|
42908
|
-
r"""
|
|
42909
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
42910
|
-
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
42964
|
+
r"""<p>日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
|
|
42911
42965
|
:rtype: str
|
|
42912
42966
|
"""
|
|
42913
42967
|
return self._FromTopicId
|
|
@@ -42918,7 +42972,7 @@ class OpenKafkaConsumerRequest(AbstractModel):
|
|
|
42918
42972
|
|
|
42919
42973
|
@property
|
|
42920
42974
|
def Compression(self):
|
|
42921
|
-
r"""
|
|
42975
|
+
r"""<p>压缩方式[0:NONE;2:SNAPPY;3:LZ4],默认:0</p>
|
|
42922
42976
|
:rtype: int
|
|
42923
42977
|
"""
|
|
42924
42978
|
return self._Compression
|
|
@@ -42929,7 +42983,7 @@ class OpenKafkaConsumerRequest(AbstractModel):
|
|
|
42929
42983
|
|
|
42930
42984
|
@property
|
|
42931
42985
|
def ConsumerContent(self):
|
|
42932
|
-
r"""kafka
|
|
42986
|
+
r"""<p>kafka协议消费数据格式</p>
|
|
42933
42987
|
:rtype: :class:`tencentcloud.cls.v20201016.models.KafkaConsumerContent`
|
|
42934
42988
|
"""
|
|
42935
42989
|
return self._ConsumerContent
|
|
@@ -42938,6 +42992,28 @@ class OpenKafkaConsumerRequest(AbstractModel):
|
|
|
42938
42992
|
def ConsumerContent(self, ConsumerContent):
|
|
42939
42993
|
self._ConsumerContent = ConsumerContent
|
|
42940
42994
|
|
|
42995
|
+
@property
|
|
42996
|
+
def HasServicesLog(self):
|
|
42997
|
+
r"""<p>是否开启投递服务日志。1:关闭,2:开启。 默认值:2</p>
|
|
42998
|
+
:rtype: int
|
|
42999
|
+
"""
|
|
43000
|
+
return self._HasServicesLog
|
|
43001
|
+
|
|
43002
|
+
@HasServicesLog.setter
|
|
43003
|
+
def HasServicesLog(self, HasServicesLog):
|
|
43004
|
+
self._HasServicesLog = HasServicesLog
|
|
43005
|
+
|
|
43006
|
+
@property
|
|
43007
|
+
def ScopeType(self):
|
|
43008
|
+
r"""<p>消费范围类型,0:最新;1:历史+最新;默认值:0</p>
|
|
43009
|
+
:rtype: int
|
|
43010
|
+
"""
|
|
43011
|
+
return self._ScopeType
|
|
43012
|
+
|
|
43013
|
+
@ScopeType.setter
|
|
43014
|
+
def ScopeType(self, ScopeType):
|
|
43015
|
+
self._ScopeType = ScopeType
|
|
43016
|
+
|
|
42941
43017
|
|
|
42942
43018
|
def _deserialize(self, params):
|
|
42943
43019
|
self._FromTopicId = params.get("FromTopicId")
|
|
@@ -42945,6 +43021,8 @@ class OpenKafkaConsumerRequest(AbstractModel):
|
|
|
42945
43021
|
if params.get("ConsumerContent") is not None:
|
|
42946
43022
|
self._ConsumerContent = KafkaConsumerContent()
|
|
42947
43023
|
self._ConsumerContent._deserialize(params.get("ConsumerContent"))
|
|
43024
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
43025
|
+
self._ScopeType = params.get("ScopeType")
|
|
42948
43026
|
memeber_set = set(params.keys())
|
|
42949
43027
|
for name, value in vars(self).items():
|
|
42950
43028
|
property_name = name[1:]
|
|
@@ -42962,7 +43040,7 @@ class OpenKafkaConsumerResponse(AbstractModel):
|
|
|
42962
43040
|
|
|
42963
43041
|
def __init__(self):
|
|
42964
43042
|
r"""
|
|
42965
|
-
:param _TopicID: KafkaConsumer 消费时使用的Topic
|
|
43043
|
+
:param _TopicID: <p>KafkaConsumer 消费时使用的Topic参数</p>
|
|
42966
43044
|
:type TopicID: str
|
|
42967
43045
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42968
43046
|
:type RequestId: str
|
|
@@ -42972,7 +43050,7 @@ class OpenKafkaConsumerResponse(AbstractModel):
|
|
|
42972
43050
|
|
|
42973
43051
|
@property
|
|
42974
43052
|
def TopicID(self):
|
|
42975
|
-
r"""KafkaConsumer 消费时使用的Topic
|
|
43053
|
+
r"""<p>KafkaConsumer 消费时使用的Topic参数</p>
|
|
42976
43054
|
:rtype: str
|
|
42977
43055
|
"""
|
|
42978
43056
|
return self._TopicID
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.82
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|