tencentcloud-sdk-python-cls 3.1.142__tar.gz → 3.1.151__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.142 → tencentcloud_sdk_python_cls-3.1.151}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud/cls/v20201016/cls_client.py +46 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud/cls/v20201016/cls_client_async.py +36 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud/cls/v20201016/errorcodes.py +9 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud/cls/v20201016/models.py +293 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.151/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.142/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.142 → tencentcloud_sdk_python_cls-3.1.151}/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.151
|
|
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.151
|
|
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.151,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -1623,6 +1623,29 @@ class ClsClient(AbstractClient):
|
|
|
1623
1623
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1624
1624
|
|
|
1625
1625
|
|
|
1626
|
+
def DeleteLog(self, request):
|
|
1627
|
+
r"""修改日志信息
|
|
1628
|
+
|
|
1629
|
+
:param request: Request instance for DeleteLog.
|
|
1630
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DeleteLogRequest`
|
|
1631
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DeleteLogResponse`
|
|
1632
|
+
|
|
1633
|
+
"""
|
|
1634
|
+
try:
|
|
1635
|
+
params = request._serialize()
|
|
1636
|
+
headers = request.headers
|
|
1637
|
+
body = self.call("DeleteLog", params, headers=headers)
|
|
1638
|
+
response = json.loads(body)
|
|
1639
|
+
model = models.DeleteLogResponse()
|
|
1640
|
+
model._deserialize(response["Response"])
|
|
1641
|
+
return model
|
|
1642
|
+
except Exception as e:
|
|
1643
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1644
|
+
raise
|
|
1645
|
+
else:
|
|
1646
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1647
|
+
|
|
1648
|
+
|
|
1626
1649
|
def DeleteLogset(self, request):
|
|
1627
1650
|
r"""本接口用于删除日志集。
|
|
1628
1651
|
|
|
@@ -4086,6 +4109,29 @@ class ClsClient(AbstractClient):
|
|
|
4086
4109
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4087
4110
|
|
|
4088
4111
|
|
|
4112
|
+
def ModifyLog(self, request):
|
|
4113
|
+
r"""修改日志信息
|
|
4114
|
+
|
|
4115
|
+
:param request: Request instance for ModifyLog.
|
|
4116
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.ModifyLogRequest`
|
|
4117
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.ModifyLogResponse`
|
|
4118
|
+
|
|
4119
|
+
"""
|
|
4120
|
+
try:
|
|
4121
|
+
params = request._serialize()
|
|
4122
|
+
headers = request.headers
|
|
4123
|
+
body = self.call("ModifyLog", params, headers=headers)
|
|
4124
|
+
response = json.loads(body)
|
|
4125
|
+
model = models.ModifyLogResponse()
|
|
4126
|
+
model._deserialize(response["Response"])
|
|
4127
|
+
return model
|
|
4128
|
+
except Exception as e:
|
|
4129
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4130
|
+
raise
|
|
4131
|
+
else:
|
|
4132
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4133
|
+
|
|
4134
|
+
|
|
4089
4135
|
def ModifyLogset(self, request):
|
|
4090
4136
|
r"""本接口用于修改日志集信息
|
|
4091
4137
|
|
|
@@ -1282,6 +1282,24 @@ class ClsClient(AbstractClient):
|
|
|
1282
1282
|
|
|
1283
1283
|
return await self.call_and_deserialize(**kwargs)
|
|
1284
1284
|
|
|
1285
|
+
async def DeleteLog(
|
|
1286
|
+
self,
|
|
1287
|
+
request: models.DeleteLogRequest,
|
|
1288
|
+
opts: Dict = None,
|
|
1289
|
+
) -> models.DeleteLogResponse:
|
|
1290
|
+
"""
|
|
1291
|
+
修改日志信息
|
|
1292
|
+
"""
|
|
1293
|
+
|
|
1294
|
+
kwargs = {}
|
|
1295
|
+
kwargs["action"] = "DeleteLog"
|
|
1296
|
+
kwargs["params"] = request._serialize()
|
|
1297
|
+
kwargs["resp_cls"] = models.DeleteLogResponse
|
|
1298
|
+
kwargs["headers"] = request.headers
|
|
1299
|
+
kwargs["opts"] = opts or {}
|
|
1300
|
+
|
|
1301
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1302
|
+
|
|
1285
1303
|
async def DeleteLogset(
|
|
1286
1304
|
self,
|
|
1287
1305
|
request: models.DeleteLogsetRequest,
|
|
@@ -3210,6 +3228,24 @@ class ClsClient(AbstractClient):
|
|
|
3210
3228
|
|
|
3211
3229
|
return await self.call_and_deserialize(**kwargs)
|
|
3212
3230
|
|
|
3231
|
+
async def ModifyLog(
|
|
3232
|
+
self,
|
|
3233
|
+
request: models.ModifyLogRequest,
|
|
3234
|
+
opts: Dict = None,
|
|
3235
|
+
) -> models.ModifyLogResponse:
|
|
3236
|
+
"""
|
|
3237
|
+
修改日志信息
|
|
3238
|
+
"""
|
|
3239
|
+
|
|
3240
|
+
kwargs = {}
|
|
3241
|
+
kwargs["action"] = "ModifyLog"
|
|
3242
|
+
kwargs["params"] = request._serialize()
|
|
3243
|
+
kwargs["resp_cls"] = models.ModifyLogResponse
|
|
3244
|
+
kwargs["headers"] = request.headers
|
|
3245
|
+
kwargs["opts"] = opts or {}
|
|
3246
|
+
|
|
3247
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3248
|
+
|
|
3213
3249
|
async def ModifyLogset(
|
|
3214
3250
|
self,
|
|
3215
3251
|
request: models.ModifyLogsetRequest,
|
|
@@ -47,6 +47,9 @@ FAILEDOPERATION_GETLOGREACHLIMIT = 'FailedOperation.GetlogReachLimit'
|
|
|
47
47
|
# 低频不支持配置kv和tag索引。
|
|
48
48
|
FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = 'FailedOperation.InValidIndexRuleForSearchLow'
|
|
49
49
|
|
|
50
|
+
# 目标索引不支持 update/delete
|
|
51
|
+
FAILEDOPERATION_INDEXSEGMENTOFFLOADED = 'FailedOperation.IndexSegmentOffloaded'
|
|
52
|
+
|
|
50
53
|
# 该告警策略状态异常,请检查下日志主题ID是否都存在。
|
|
51
54
|
FAILEDOPERATION_INVALIDALARM = 'FailedOperation.InvalidAlarm'
|
|
52
55
|
|
|
@@ -65,6 +68,9 @@ FAILEDOPERATION_LOGSETNOTEMPTY = 'FailedOperation.LogsetNotEmpty'
|
|
|
65
68
|
# 无效的Content。
|
|
66
69
|
FAILEDOPERATION_MISSINGCONTENT = 'FailedOperation.MissingContent'
|
|
67
70
|
|
|
71
|
+
# 不能修改系统字段
|
|
72
|
+
FAILEDOPERATION_MODIFYSYSTEMFIELD = 'FailedOperation.ModifySystemField'
|
|
73
|
+
|
|
68
74
|
# 修改的生命周期被禁止。
|
|
69
75
|
FAILEDOPERATION_PERIODMODIFYFORBIDDEN = 'FailedOperation.PeriodModifyForbidden'
|
|
70
76
|
|
|
@@ -107,6 +113,9 @@ FAILEDOPERATION_TOPICCREATING = 'FailedOperation.TopicCreating'
|
|
|
107
113
|
# 日志主题已隔离。
|
|
108
114
|
FAILEDOPERATION_TOPICISOLATED = 'FailedOperation.TopicIsolated'
|
|
109
115
|
|
|
116
|
+
# 命中文档数超过 10000 上限
|
|
117
|
+
FAILEDOPERATION_WRITEBYQUERYREACHLIMIT = 'FailedOperation.WriteByQueryReachLimit'
|
|
118
|
+
|
|
110
119
|
# 写qps超过限制。
|
|
111
120
|
FAILEDOPERATION_WRITEQPSLIMIT = 'FailedOperation.WriteQpsLimit'
|
|
112
121
|
|
|
@@ -19304,6 +19304,130 @@ class DeleteKafkaRechargeResponse(AbstractModel):
|
|
|
19304
19304
|
self._RequestId = params.get("RequestId")
|
|
19305
19305
|
|
|
19306
19306
|
|
|
19307
|
+
class DeleteLogRequest(AbstractModel):
|
|
19308
|
+
r"""DeleteLog请求参数结构体
|
|
19309
|
+
|
|
19310
|
+
"""
|
|
19311
|
+
|
|
19312
|
+
def __init__(self):
|
|
19313
|
+
r"""
|
|
19314
|
+
:param _TopicId: <p>日志主题id</p>
|
|
19315
|
+
:type TopicId: str
|
|
19316
|
+
:param _From: <p>检索时间范围-开始时间</p><p>单位:ms</p>
|
|
19317
|
+
:type From: int
|
|
19318
|
+
:param _To: <p>检索时间范围-结束时间</p><p>单位:ms</p>
|
|
19319
|
+
:type To: int
|
|
19320
|
+
:param _QueryString: <p>日志检索条件,仅支持 CQL 语法,不支持 Lucene 语法</p><p>对符合检索条件的日志进行删除</p>
|
|
19321
|
+
:type QueryString: str
|
|
19322
|
+
"""
|
|
19323
|
+
self._TopicId = None
|
|
19324
|
+
self._From = None
|
|
19325
|
+
self._To = None
|
|
19326
|
+
self._QueryString = None
|
|
19327
|
+
|
|
19328
|
+
@property
|
|
19329
|
+
def TopicId(self):
|
|
19330
|
+
r"""<p>日志主题id</p>
|
|
19331
|
+
:rtype: str
|
|
19332
|
+
"""
|
|
19333
|
+
return self._TopicId
|
|
19334
|
+
|
|
19335
|
+
@TopicId.setter
|
|
19336
|
+
def TopicId(self, TopicId):
|
|
19337
|
+
self._TopicId = TopicId
|
|
19338
|
+
|
|
19339
|
+
@property
|
|
19340
|
+
def From(self):
|
|
19341
|
+
r"""<p>检索时间范围-开始时间</p><p>单位:ms</p>
|
|
19342
|
+
:rtype: int
|
|
19343
|
+
"""
|
|
19344
|
+
return self._From
|
|
19345
|
+
|
|
19346
|
+
@From.setter
|
|
19347
|
+
def From(self, From):
|
|
19348
|
+
self._From = From
|
|
19349
|
+
|
|
19350
|
+
@property
|
|
19351
|
+
def To(self):
|
|
19352
|
+
r"""<p>检索时间范围-结束时间</p><p>单位:ms</p>
|
|
19353
|
+
:rtype: int
|
|
19354
|
+
"""
|
|
19355
|
+
return self._To
|
|
19356
|
+
|
|
19357
|
+
@To.setter
|
|
19358
|
+
def To(self, To):
|
|
19359
|
+
self._To = To
|
|
19360
|
+
|
|
19361
|
+
@property
|
|
19362
|
+
def QueryString(self):
|
|
19363
|
+
r"""<p>日志检索条件,仅支持 CQL 语法,不支持 Lucene 语法</p><p>对符合检索条件的日志进行删除</p>
|
|
19364
|
+
:rtype: str
|
|
19365
|
+
"""
|
|
19366
|
+
return self._QueryString
|
|
19367
|
+
|
|
19368
|
+
@QueryString.setter
|
|
19369
|
+
def QueryString(self, QueryString):
|
|
19370
|
+
self._QueryString = QueryString
|
|
19371
|
+
|
|
19372
|
+
|
|
19373
|
+
def _deserialize(self, params):
|
|
19374
|
+
self._TopicId = params.get("TopicId")
|
|
19375
|
+
self._From = params.get("From")
|
|
19376
|
+
self._To = params.get("To")
|
|
19377
|
+
self._QueryString = params.get("QueryString")
|
|
19378
|
+
memeber_set = set(params.keys())
|
|
19379
|
+
for name, value in vars(self).items():
|
|
19380
|
+
property_name = name[1:]
|
|
19381
|
+
if property_name in memeber_set:
|
|
19382
|
+
memeber_set.remove(property_name)
|
|
19383
|
+
if len(memeber_set) > 0:
|
|
19384
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19385
|
+
|
|
19386
|
+
|
|
19387
|
+
|
|
19388
|
+
class DeleteLogResponse(AbstractModel):
|
|
19389
|
+
r"""DeleteLog返回参数结构体
|
|
19390
|
+
|
|
19391
|
+
"""
|
|
19392
|
+
|
|
19393
|
+
def __init__(self):
|
|
19394
|
+
r"""
|
|
19395
|
+
:param _AffectedRows: <p>影响日志条数</p>
|
|
19396
|
+
:type AffectedRows: int
|
|
19397
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19398
|
+
:type RequestId: str
|
|
19399
|
+
"""
|
|
19400
|
+
self._AffectedRows = None
|
|
19401
|
+
self._RequestId = None
|
|
19402
|
+
|
|
19403
|
+
@property
|
|
19404
|
+
def AffectedRows(self):
|
|
19405
|
+
r"""<p>影响日志条数</p>
|
|
19406
|
+
:rtype: int
|
|
19407
|
+
"""
|
|
19408
|
+
return self._AffectedRows
|
|
19409
|
+
|
|
19410
|
+
@AffectedRows.setter
|
|
19411
|
+
def AffectedRows(self, AffectedRows):
|
|
19412
|
+
self._AffectedRows = AffectedRows
|
|
19413
|
+
|
|
19414
|
+
@property
|
|
19415
|
+
def RequestId(self):
|
|
19416
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19417
|
+
:rtype: str
|
|
19418
|
+
"""
|
|
19419
|
+
return self._RequestId
|
|
19420
|
+
|
|
19421
|
+
@RequestId.setter
|
|
19422
|
+
def RequestId(self, RequestId):
|
|
19423
|
+
self._RequestId = RequestId
|
|
19424
|
+
|
|
19425
|
+
|
|
19426
|
+
def _deserialize(self, params):
|
|
19427
|
+
self._AffectedRows = params.get("AffectedRows")
|
|
19428
|
+
self._RequestId = params.get("RequestId")
|
|
19429
|
+
|
|
19430
|
+
|
|
19307
19431
|
class DeleteLogsetRequest(AbstractModel):
|
|
19308
19432
|
r"""DeleteLogset请求参数结构体
|
|
19309
19433
|
|
|
@@ -42632,6 +42756,160 @@ class ModifyKafkaRechargeResponse(AbstractModel):
|
|
|
42632
42756
|
self._RequestId = params.get("RequestId")
|
|
42633
42757
|
|
|
42634
42758
|
|
|
42759
|
+
class ModifyLogRequest(AbstractModel):
|
|
42760
|
+
r"""ModifyLog请求参数结构体
|
|
42761
|
+
|
|
42762
|
+
"""
|
|
42763
|
+
|
|
42764
|
+
def __init__(self):
|
|
42765
|
+
r"""
|
|
42766
|
+
:param _TopicId: <p>日志主题id</p>
|
|
42767
|
+
:type TopicId: str
|
|
42768
|
+
:param _From: <p>检索时间范围-开始时间</p><p>单位:ms</p>
|
|
42769
|
+
:type From: int
|
|
42770
|
+
:param _To: <p>检索时间范围-结束时间</p><p>单位:ms</p>
|
|
42771
|
+
:type To: int
|
|
42772
|
+
:param _QueryString: <p>日志检索条件,仅支持 CQL 语法,不支持 Lucene 语法</p><p>对符合检索条件的日志进行修改</p>
|
|
42773
|
+
:type QueryString: str
|
|
42774
|
+
:param _ModifyMode: <p>修改模式</p><p>枚举值:</p><ul><li>PARTIAL: 只修改指定的日志字段</li><li>REPLACE: 整体替换原有日志(不包含预置字段及元数据字段)</li></ul>
|
|
42775
|
+
:type ModifyMode: str
|
|
42776
|
+
:param _ModifyContent: <p>修改内容</p><p>不支持修改预置字段(__FILENAME__、__SOURCE__等,但不包括__CONTENT__)及元数据字段(__TAG__开头的字段)</p>
|
|
42777
|
+
:type ModifyContent: str
|
|
42778
|
+
"""
|
|
42779
|
+
self._TopicId = None
|
|
42780
|
+
self._From = None
|
|
42781
|
+
self._To = None
|
|
42782
|
+
self._QueryString = None
|
|
42783
|
+
self._ModifyMode = None
|
|
42784
|
+
self._ModifyContent = None
|
|
42785
|
+
|
|
42786
|
+
@property
|
|
42787
|
+
def TopicId(self):
|
|
42788
|
+
r"""<p>日志主题id</p>
|
|
42789
|
+
:rtype: str
|
|
42790
|
+
"""
|
|
42791
|
+
return self._TopicId
|
|
42792
|
+
|
|
42793
|
+
@TopicId.setter
|
|
42794
|
+
def TopicId(self, TopicId):
|
|
42795
|
+
self._TopicId = TopicId
|
|
42796
|
+
|
|
42797
|
+
@property
|
|
42798
|
+
def From(self):
|
|
42799
|
+
r"""<p>检索时间范围-开始时间</p><p>单位:ms</p>
|
|
42800
|
+
:rtype: int
|
|
42801
|
+
"""
|
|
42802
|
+
return self._From
|
|
42803
|
+
|
|
42804
|
+
@From.setter
|
|
42805
|
+
def From(self, From):
|
|
42806
|
+
self._From = From
|
|
42807
|
+
|
|
42808
|
+
@property
|
|
42809
|
+
def To(self):
|
|
42810
|
+
r"""<p>检索时间范围-结束时间</p><p>单位:ms</p>
|
|
42811
|
+
:rtype: int
|
|
42812
|
+
"""
|
|
42813
|
+
return self._To
|
|
42814
|
+
|
|
42815
|
+
@To.setter
|
|
42816
|
+
def To(self, To):
|
|
42817
|
+
self._To = To
|
|
42818
|
+
|
|
42819
|
+
@property
|
|
42820
|
+
def QueryString(self):
|
|
42821
|
+
r"""<p>日志检索条件,仅支持 CQL 语法,不支持 Lucene 语法</p><p>对符合检索条件的日志进行修改</p>
|
|
42822
|
+
:rtype: str
|
|
42823
|
+
"""
|
|
42824
|
+
return self._QueryString
|
|
42825
|
+
|
|
42826
|
+
@QueryString.setter
|
|
42827
|
+
def QueryString(self, QueryString):
|
|
42828
|
+
self._QueryString = QueryString
|
|
42829
|
+
|
|
42830
|
+
@property
|
|
42831
|
+
def ModifyMode(self):
|
|
42832
|
+
r"""<p>修改模式</p><p>枚举值:</p><ul><li>PARTIAL: 只修改指定的日志字段</li><li>REPLACE: 整体替换原有日志(不包含预置字段及元数据字段)</li></ul>
|
|
42833
|
+
:rtype: str
|
|
42834
|
+
"""
|
|
42835
|
+
return self._ModifyMode
|
|
42836
|
+
|
|
42837
|
+
@ModifyMode.setter
|
|
42838
|
+
def ModifyMode(self, ModifyMode):
|
|
42839
|
+
self._ModifyMode = ModifyMode
|
|
42840
|
+
|
|
42841
|
+
@property
|
|
42842
|
+
def ModifyContent(self):
|
|
42843
|
+
r"""<p>修改内容</p><p>不支持修改预置字段(__FILENAME__、__SOURCE__等,但不包括__CONTENT__)及元数据字段(__TAG__开头的字段)</p>
|
|
42844
|
+
:rtype: str
|
|
42845
|
+
"""
|
|
42846
|
+
return self._ModifyContent
|
|
42847
|
+
|
|
42848
|
+
@ModifyContent.setter
|
|
42849
|
+
def ModifyContent(self, ModifyContent):
|
|
42850
|
+
self._ModifyContent = ModifyContent
|
|
42851
|
+
|
|
42852
|
+
|
|
42853
|
+
def _deserialize(self, params):
|
|
42854
|
+
self._TopicId = params.get("TopicId")
|
|
42855
|
+
self._From = params.get("From")
|
|
42856
|
+
self._To = params.get("To")
|
|
42857
|
+
self._QueryString = params.get("QueryString")
|
|
42858
|
+
self._ModifyMode = params.get("ModifyMode")
|
|
42859
|
+
self._ModifyContent = params.get("ModifyContent")
|
|
42860
|
+
memeber_set = set(params.keys())
|
|
42861
|
+
for name, value in vars(self).items():
|
|
42862
|
+
property_name = name[1:]
|
|
42863
|
+
if property_name in memeber_set:
|
|
42864
|
+
memeber_set.remove(property_name)
|
|
42865
|
+
if len(memeber_set) > 0:
|
|
42866
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42867
|
+
|
|
42868
|
+
|
|
42869
|
+
|
|
42870
|
+
class ModifyLogResponse(AbstractModel):
|
|
42871
|
+
r"""ModifyLog返回参数结构体
|
|
42872
|
+
|
|
42873
|
+
"""
|
|
42874
|
+
|
|
42875
|
+
def __init__(self):
|
|
42876
|
+
r"""
|
|
42877
|
+
:param _AffectedRows: <p>影响日志条数</p>
|
|
42878
|
+
:type AffectedRows: int
|
|
42879
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42880
|
+
:type RequestId: str
|
|
42881
|
+
"""
|
|
42882
|
+
self._AffectedRows = None
|
|
42883
|
+
self._RequestId = None
|
|
42884
|
+
|
|
42885
|
+
@property
|
|
42886
|
+
def AffectedRows(self):
|
|
42887
|
+
r"""<p>影响日志条数</p>
|
|
42888
|
+
:rtype: int
|
|
42889
|
+
"""
|
|
42890
|
+
return self._AffectedRows
|
|
42891
|
+
|
|
42892
|
+
@AffectedRows.setter
|
|
42893
|
+
def AffectedRows(self, AffectedRows):
|
|
42894
|
+
self._AffectedRows = AffectedRows
|
|
42895
|
+
|
|
42896
|
+
@property
|
|
42897
|
+
def RequestId(self):
|
|
42898
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42899
|
+
:rtype: str
|
|
42900
|
+
"""
|
|
42901
|
+
return self._RequestId
|
|
42902
|
+
|
|
42903
|
+
@RequestId.setter
|
|
42904
|
+
def RequestId(self, RequestId):
|
|
42905
|
+
self._RequestId = RequestId
|
|
42906
|
+
|
|
42907
|
+
|
|
42908
|
+
def _deserialize(self, params):
|
|
42909
|
+
self._AffectedRows = params.get("AffectedRows")
|
|
42910
|
+
self._RequestId = params.get("RequestId")
|
|
42911
|
+
|
|
42912
|
+
|
|
42635
42913
|
class ModifyLogsetRequest(AbstractModel):
|
|
42636
42914
|
r"""ModifyLogset请求参数结构体
|
|
42637
42915
|
|
|
@@ -53848,11 +54126,14 @@ class ToolCall(AbstractModel):
|
|
|
53848
54126
|
:type Function: :class:`tencentcloud.cls.v20201016.models.ToolCallFunction`
|
|
53849
54127
|
:param _Index: <p>索引值</p>
|
|
53850
54128
|
:type Index: int
|
|
54129
|
+
:param _ThoughtSignature: <p>模型返回的思考签名,执行工具后需在后续请求中原样回传</p>
|
|
54130
|
+
:type ThoughtSignature: str
|
|
53851
54131
|
"""
|
|
53852
54132
|
self._Id = None
|
|
53853
54133
|
self._Type = None
|
|
53854
54134
|
self._Function = None
|
|
53855
54135
|
self._Index = None
|
|
54136
|
+
self._ThoughtSignature = None
|
|
53856
54137
|
|
|
53857
54138
|
@property
|
|
53858
54139
|
def Id(self):
|
|
@@ -53898,6 +54179,17 @@ class ToolCall(AbstractModel):
|
|
|
53898
54179
|
def Index(self, Index):
|
|
53899
54180
|
self._Index = Index
|
|
53900
54181
|
|
|
54182
|
+
@property
|
|
54183
|
+
def ThoughtSignature(self):
|
|
54184
|
+
r"""<p>模型返回的思考签名,执行工具后需在后续请求中原样回传</p>
|
|
54185
|
+
:rtype: str
|
|
54186
|
+
"""
|
|
54187
|
+
return self._ThoughtSignature
|
|
54188
|
+
|
|
54189
|
+
@ThoughtSignature.setter
|
|
54190
|
+
def ThoughtSignature(self, ThoughtSignature):
|
|
54191
|
+
self._ThoughtSignature = ThoughtSignature
|
|
54192
|
+
|
|
53901
54193
|
|
|
53902
54194
|
def _deserialize(self, params):
|
|
53903
54195
|
self._Id = params.get("Id")
|
|
@@ -53906,6 +54198,7 @@ class ToolCall(AbstractModel):
|
|
|
53906
54198
|
self._Function = ToolCallFunction()
|
|
53907
54199
|
self._Function._deserialize(params.get("Function"))
|
|
53908
54200
|
self._Index = params.get("Index")
|
|
54201
|
+
self._ThoughtSignature = params.get("ThoughtSignature")
|
|
53909
54202
|
memeber_set = set(params.keys())
|
|
53910
54203
|
for name, value in vars(self).items():
|
|
53911
54204
|
property_name = name[1:]
|
|
@@ -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.151
|
|
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.151
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.151
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.142
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|