tencentcloud-sdk-python-lke 3.1.22__tar.gz → 3.1.29__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 (17) hide show
  1. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/setup.py +1 -1
  3. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud/lke/v20231130/lke_client.py +23 -0
  5. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud/lke/v20231130/lke_client_async.py +18 -0
  6. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud/lke/v20231130/models.py +192 -6
  7. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud_sdk_python_lke.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_lke-3.1.29/tencentcloud_sdk_python_lke.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_lke-3.1.22/tencentcloud_sdk_python_lke.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/README.rst +0 -0
  11. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud/lke/__init__.py +0 -0
  13. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud/lke/v20231130/__init__.py +0 -0
  14. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud/lke/v20231130/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud_sdk_python_lke.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud_sdk_python_lke.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.29}/tencentcloud_sdk_python_lke.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-lke
3
- Version: 3.1.22
3
+ Version: 3.1.29
4
4
  Summary: Tencent Cloud Lke 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.22
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.29
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-lke',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.22,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.29,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Lke SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.22'
17
+ __version__ = '3.1.29'
@@ -26,6 +26,29 @@ class LkeClient(AbstractClient):
26
26
  _service = 'lke'
27
27
 
28
28
 
29
+ def CallbackWorkflowToolNode(self, request):
30
+ r"""工作流工具节点异步回调
31
+
32
+ :param request: Request instance for CallbackWorkflowToolNode.
33
+ :type request: :class:`tencentcloud.lke.v20231130.models.CallbackWorkflowToolNodeRequest`
34
+ :rtype: :class:`tencentcloud.lke.v20231130.models.CallbackWorkflowToolNodeResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("CallbackWorkflowToolNode", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.CallbackWorkflowToolNodeResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def CheckAttributeLabelExist(self, request):
30
53
  r"""检查属性下的标签名是否存在
31
54
 
@@ -25,6 +25,24 @@ class LkeClient(AbstractClient):
25
25
  _endpoint = 'lke.tencentcloudapi.com'
26
26
  _service = 'lke'
27
27
 
28
+ async def CallbackWorkflowToolNode(
29
+ self,
30
+ request: models.CallbackWorkflowToolNodeRequest,
31
+ opts: Dict = None,
32
+ ) -> models.CallbackWorkflowToolNodeResponse:
33
+ """
34
+ 工作流工具节点异步回调
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "CallbackWorkflowToolNode"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.CallbackWorkflowToolNodeResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
28
46
  async def CheckAttributeLabelExist(
29
47
  self,
30
48
  request: models.CheckAttributeLabelExistRequest,
@@ -5190,6 +5190,160 @@ class CallDetail(AbstractModel):
5190
5190
 
5191
5191
 
5192
5192
 
5193
+ class CallbackWorkflowToolNodeRequest(AbstractModel):
5194
+ r"""CallbackWorkflowToolNode请求参数结构体
5195
+
5196
+ """
5197
+
5198
+ def __init__(self):
5199
+ r"""
5200
+ :param _CallbackToken: ADP调用外部API时,通过HTTP Header(X-ADP-Callback-Token)传递回调CallbackToken
5201
+ :type CallbackToken: str
5202
+ :param _Result: 回调结果,可选,为JSON字符串
5203
+ :type Result: str
5204
+ :param _LoginUin: 登录用户主账号(集成商模式必填)
5205
+ :type LoginUin: str
5206
+ :param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
5207
+ :type LoginSubAccountUin: str
5208
+ :param _AppBizId: 应用ID
5209
+ :type AppBizId: str
5210
+ """
5211
+ self._CallbackToken = None
5212
+ self._Result = None
5213
+ self._LoginUin = None
5214
+ self._LoginSubAccountUin = None
5215
+ self._AppBizId = None
5216
+
5217
+ @property
5218
+ def CallbackToken(self):
5219
+ r"""ADP调用外部API时,通过HTTP Header(X-ADP-Callback-Token)传递回调CallbackToken
5220
+ :rtype: str
5221
+ """
5222
+ return self._CallbackToken
5223
+
5224
+ @CallbackToken.setter
5225
+ def CallbackToken(self, CallbackToken):
5226
+ self._CallbackToken = CallbackToken
5227
+
5228
+ @property
5229
+ def Result(self):
5230
+ r"""回调结果,可选,为JSON字符串
5231
+ :rtype: str
5232
+ """
5233
+ return self._Result
5234
+
5235
+ @Result.setter
5236
+ def Result(self, Result):
5237
+ self._Result = Result
5238
+
5239
+ @property
5240
+ def LoginUin(self):
5241
+ r"""登录用户主账号(集成商模式必填)
5242
+ :rtype: str
5243
+ """
5244
+ return self._LoginUin
5245
+
5246
+ @LoginUin.setter
5247
+ def LoginUin(self, LoginUin):
5248
+ self._LoginUin = LoginUin
5249
+
5250
+ @property
5251
+ def LoginSubAccountUin(self):
5252
+ r"""登录用户子账号(集成商模式必填)
5253
+ :rtype: str
5254
+ """
5255
+ return self._LoginSubAccountUin
5256
+
5257
+ @LoginSubAccountUin.setter
5258
+ def LoginSubAccountUin(self, LoginSubAccountUin):
5259
+ self._LoginSubAccountUin = LoginSubAccountUin
5260
+
5261
+ @property
5262
+ def AppBizId(self):
5263
+ r"""应用ID
5264
+ :rtype: str
5265
+ """
5266
+ return self._AppBizId
5267
+
5268
+ @AppBizId.setter
5269
+ def AppBizId(self, AppBizId):
5270
+ self._AppBizId = AppBizId
5271
+
5272
+
5273
+ def _deserialize(self, params):
5274
+ self._CallbackToken = params.get("CallbackToken")
5275
+ self._Result = params.get("Result")
5276
+ self._LoginUin = params.get("LoginUin")
5277
+ self._LoginSubAccountUin = params.get("LoginSubAccountUin")
5278
+ self._AppBizId = params.get("AppBizId")
5279
+ memeber_set = set(params.keys())
5280
+ for name, value in vars(self).items():
5281
+ property_name = name[1:]
5282
+ if property_name in memeber_set:
5283
+ memeber_set.remove(property_name)
5284
+ if len(memeber_set) > 0:
5285
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5286
+
5287
+
5288
+
5289
+ class CallbackWorkflowToolNodeResponse(AbstractModel):
5290
+ r"""CallbackWorkflowToolNode返回参数结构体
5291
+
5292
+ """
5293
+
5294
+ def __init__(self):
5295
+ r"""
5296
+ :param _Code: 状态码
5297
+ :type Code: int
5298
+ :param _Msg: 状态详情
5299
+ :type Msg: str
5300
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5301
+ :type RequestId: str
5302
+ """
5303
+ self._Code = None
5304
+ self._Msg = None
5305
+ self._RequestId = None
5306
+
5307
+ @property
5308
+ def Code(self):
5309
+ r"""状态码
5310
+ :rtype: int
5311
+ """
5312
+ return self._Code
5313
+
5314
+ @Code.setter
5315
+ def Code(self, Code):
5316
+ self._Code = Code
5317
+
5318
+ @property
5319
+ def Msg(self):
5320
+ r"""状态详情
5321
+ :rtype: str
5322
+ """
5323
+ return self._Msg
5324
+
5325
+ @Msg.setter
5326
+ def Msg(self, Msg):
5327
+ self._Msg = Msg
5328
+
5329
+ @property
5330
+ def RequestId(self):
5331
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5332
+ :rtype: str
5333
+ """
5334
+ return self._RequestId
5335
+
5336
+ @RequestId.setter
5337
+ def RequestId(self, RequestId):
5338
+ self._RequestId = RequestId
5339
+
5340
+
5341
+ def _deserialize(self, params):
5342
+ self._Code = params.get("Code")
5343
+ self._Msg = params.get("Msg")
5344
+ self._RequestId = params.get("RequestId")
5345
+
5346
+
5193
5347
  class CateInfo(AbstractModel):
5194
5348
  r"""分类信息
5195
5349
 
@@ -21590,9 +21744,11 @@ class ListDocItem(AbstractModel):
21590
21744
  :type IsDisabled: bool
21591
21745
  :param _StaffName: 员工名称
21592
21746
  :type StaffName: str
21593
- :param _EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
21747
+ :param _EnableScope: 文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
21594
21748
  注意:此字段可能返回 null,表示取不到有效值。
21595
21749
  :type EnableScope: int
21750
+ :param _DocSize: 文档大小,单位:字节
21751
+ :type DocSize: str
21596
21752
  """
21597
21753
  self._DocBizId = None
21598
21754
  self._FileName = None
@@ -21631,6 +21787,7 @@ class ListDocItem(AbstractModel):
21631
21787
  self._IsDisabled = None
21632
21788
  self._StaffName = None
21633
21789
  self._EnableScope = None
21790
+ self._DocSize = None
21634
21791
 
21635
21792
  @property
21636
21793
  def DocBizId(self):
@@ -22061,7 +22218,7 @@ class ListDocItem(AbstractModel):
22061
22218
 
22062
22219
  @property
22063
22220
  def EnableScope(self):
22064
- r"""文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
22221
+ r"""文档生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
22065
22222
  注意:此字段可能返回 null,表示取不到有效值。
22066
22223
  :rtype: int
22067
22224
  """
@@ -22071,6 +22228,17 @@ class ListDocItem(AbstractModel):
22071
22228
  def EnableScope(self, EnableScope):
22072
22229
  self._EnableScope = EnableScope
22073
22230
 
22231
+ @property
22232
+ def DocSize(self):
22233
+ r"""文档大小,单位:字节
22234
+ :rtype: str
22235
+ """
22236
+ return self._DocSize
22237
+
22238
+ @DocSize.setter
22239
+ def DocSize(self, DocSize):
22240
+ self._DocSize = DocSize
22241
+
22074
22242
 
22075
22243
  def _deserialize(self, params):
22076
22244
  self._DocBizId = params.get("DocBizId")
@@ -22115,6 +22283,7 @@ class ListDocItem(AbstractModel):
22115
22283
  self._IsDisabled = params.get("IsDisabled")
22116
22284
  self._StaffName = params.get("StaffName")
22117
22285
  self._EnableScope = params.get("EnableScope")
22286
+ self._DocSize = params.get("DocSize")
22118
22287
  memeber_set = set(params.keys())
22119
22288
  for name, value in vars(self).items():
22120
22289
  property_name = name[1:]
@@ -23111,11 +23280,14 @@ class ListQaItem(AbstractModel):
23111
23280
  :type IsDisabled: bool
23112
23281
  :param _StaffName: 员工名称
23113
23282
  :type StaffName: str
23114
- :param _EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
23283
+ :param _EnableScope: 问答生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
23115
23284
  注意:此字段可能返回 null,表示取不到有效值。
23116
23285
  :type EnableScope: int
23117
- :param _DocEnableScope: 问答关联的文档生效域
23286
+ :param _DocEnableScope: 问答关联的文档生效域:1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。
23287
+ 若问答未关联文档,则该字段值同问答生效域。
23118
23288
  :type DocEnableScope: int
23289
+ :param _QaSize: 问答大小(含相似问),单位:字节
23290
+ :type QaSize: str
23119
23291
  """
23120
23292
  self._QaBizId = None
23121
23293
  self._Question = None
@@ -23143,6 +23315,7 @@ class ListQaItem(AbstractModel):
23143
23315
  self._StaffName = None
23144
23316
  self._EnableScope = None
23145
23317
  self._DocEnableScope = None
23318
+ self._QaSize = None
23146
23319
 
23147
23320
  @property
23148
23321
  def QaBizId(self):
@@ -23410,7 +23583,7 @@ class ListQaItem(AbstractModel):
23410
23583
 
23411
23584
  @property
23412
23585
  def EnableScope(self):
23413
- r"""问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
23586
+ r"""问答生效域: 1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效
23414
23587
  注意:此字段可能返回 null,表示取不到有效值。
23415
23588
  :rtype: int
23416
23589
  """
@@ -23422,7 +23595,8 @@ class ListQaItem(AbstractModel):
23422
23595
 
23423
23596
  @property
23424
23597
  def DocEnableScope(self):
23425
- r"""问答关联的文档生效域
23598
+ r"""问答关联的文档生效域:1-不生效;2-仅开发域生效;3-仅发布域生效;4-开发域和发布域均生效。
23599
+ 若问答未关联文档,则该字段值同问答生效域。
23426
23600
  :rtype: int
23427
23601
  """
23428
23602
  return self._DocEnableScope
@@ -23431,6 +23605,17 @@ class ListQaItem(AbstractModel):
23431
23605
  def DocEnableScope(self, DocEnableScope):
23432
23606
  self._DocEnableScope = DocEnableScope
23433
23607
 
23608
+ @property
23609
+ def QaSize(self):
23610
+ r"""问答大小(含相似问),单位:字节
23611
+ :rtype: str
23612
+ """
23613
+ return self._QaSize
23614
+
23615
+ @QaSize.setter
23616
+ def QaSize(self, QaSize):
23617
+ self._QaSize = QaSize
23618
+
23434
23619
 
23435
23620
  def _deserialize(self, params):
23436
23621
  self._QaBizId = params.get("QaBizId")
@@ -23464,6 +23649,7 @@ class ListQaItem(AbstractModel):
23464
23649
  self._StaffName = params.get("StaffName")
23465
23650
  self._EnableScope = params.get("EnableScope")
23466
23651
  self._DocEnableScope = params.get("DocEnableScope")
23652
+ self._QaSize = params.get("QaSize")
23467
23653
  memeber_set = set(params.keys())
23468
23654
  for name, value in vars(self).items():
23469
23655
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-lke
3
- Version: 3.1.22
3
+ Version: 3.1.29
4
4
  Summary: Tencent Cloud Lke 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.22
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.29
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.29
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.22