tencentcloud-sdk-python 3.0.1434__py2.py3-none-any.whl → 3.0.1436__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (50) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +2 -2
  3. tencentcloud/bi/v20220105/models.py +156 -2
  4. tencentcloud/cam/v20190116/cam_client.py +23 -0
  5. tencentcloud/cam/v20190116/errorcodes.py +15 -0
  6. tencentcloud/cam/v20190116/models.py +180 -0
  7. tencentcloud/cdb/v20170320/cdb_client.py +2 -1
  8. tencentcloud/cdb/v20170320/models.py +62 -44
  9. tencentcloud/cdn/v20180606/cdn_client.py +0 -575
  10. tencentcloud/cdn/v20180606/errorcodes.py +0 -48
  11. tencentcloud/cdn/v20180606/models.py +12881 -21511
  12. tencentcloud/cfs/v20190719/cfs_client.py +299 -0
  13. tencentcloud/cfs/v20190719/errorcodes.py +54 -0
  14. tencentcloud/cfs/v20190719/models.py +4445 -1986
  15. tencentcloud/clb/v20180317/models.py +44 -14
  16. tencentcloud/cls/v20201016/models.py +370 -136
  17. tencentcloud/ctem/v20231128/models.py +405 -15
  18. tencentcloud/dlc/v20210125/dlc_client.py +529 -0
  19. tencentcloud/dlc/v20210125/errorcodes.py +30 -0
  20. tencentcloud/dlc/v20210125/models.py +7581 -2530
  21. tencentcloud/emr/v20190103/models.py +2 -2
  22. tencentcloud/es/v20250101/models.py +70 -0
  23. tencentcloud/ess/v20201111/ess_client.py +53 -1
  24. tencentcloud/ess/v20201111/models.py +680 -0
  25. tencentcloud/hunyuan/v20230901/errorcodes.py +0 -27
  26. tencentcloud/hunyuan/v20230901/hunyuan_client.py +0 -46
  27. tencentcloud/hunyuan/v20230901/models.py +0 -357
  28. tencentcloud/kms/v20190118/models.py +2 -2
  29. tencentcloud/live/v20180801/models.py +2 -2
  30. tencentcloud/lowcode/v20210108/lowcode_client.py +92 -0
  31. tencentcloud/lowcode/v20210108/models.py +423 -0
  32. tencentcloud/mps/v20190612/models.py +24 -8
  33. tencentcloud/mqtt/v20240516/models.py +150 -0
  34. tencentcloud/ocr/v20181119/models.py +4 -4
  35. tencentcloud/ssl/v20191205/errorcodes.py +1 -1
  36. tencentcloud/ssl/v20191205/models.py +45 -30
  37. tencentcloud/teo/v20220901/errorcodes.py +24 -0
  38. tencentcloud/teo/v20220901/models.py +3491 -433
  39. tencentcloud/teo/v20220901/teo_client.py +462 -0
  40. tencentcloud/tione/v20211111/models.py +15 -0
  41. tencentcloud/trtc/v20190722/models.py +70 -6
  42. tencentcloud/waf/v20180125/models.py +1029 -151
  43. tencentcloud/waf/v20180125/waf_client.py +92 -0
  44. tencentcloud/wedata/v20210820/models.py +321 -15
  45. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  46. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/METADATA +1 -1
  47. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/RECORD +50 -50
  48. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/LICENSE +0 -0
  49. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/WHEEL +0 -0
  50. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/top_level.txt +0 -0
@@ -9440,7 +9440,7 @@ class DescribeHBaseTableOverviewRequest(AbstractModel):
9440
9440
  r"""
9441
9441
  :param _InstanceId: 实例ID
9442
9442
  :type InstanceId: str
9443
- :param _Offset: 分页查询编号偏移量,从0开始
9443
+ :param _Offset: 页码,第一页:0,第二页:1
9444
9444
  :type Offset: int
9445
9445
  :param _Limit: 分页查询时的分页大小,最小1,最大100
9446
9446
  :type Limit: int
@@ -9471,7 +9471,7 @@ class DescribeHBaseTableOverviewRequest(AbstractModel):
9471
9471
 
9472
9472
  @property
9473
9473
  def Offset(self):
9474
- """分页查询编号偏移量,从0开始
9474
+ """页码,第一页:0,第二页:1
9475
9475
  :rtype: int
9476
9476
  """
9477
9477
  return self._Offset
@@ -1173,12 +1173,15 @@ class GetDocumentParseResultResponse(AbstractModel):
1173
1173
  :param _FailedPages: 失败的页码。
1174
1174
  注意:此字段可能返回 null,表示取不到有效值。
1175
1175
  :type FailedPages: list of int
1176
+ :param _Usage: 消耗页数
1177
+ :type Usage: :class:`tencentcloud.es.v20250101.models.PageUsage`
1176
1178
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1177
1179
  :type RequestId: str
1178
1180
  """
1179
1181
  self._Status = None
1180
1182
  self._DocumentParseResultUrl = None
1181
1183
  self._FailedPages = None
1184
+ self._Usage = None
1182
1185
  self._RequestId = None
1183
1186
 
1184
1187
  @property
@@ -1215,6 +1218,17 @@ class GetDocumentParseResultResponse(AbstractModel):
1215
1218
  def FailedPages(self, FailedPages):
1216
1219
  self._FailedPages = FailedPages
1217
1220
 
1221
+ @property
1222
+ def Usage(self):
1223
+ """消耗页数
1224
+ :rtype: :class:`tencentcloud.es.v20250101.models.PageUsage`
1225
+ """
1226
+ return self._Usage
1227
+
1228
+ @Usage.setter
1229
+ def Usage(self, Usage):
1230
+ self._Usage = Usage
1231
+
1218
1232
  @property
1219
1233
  def RequestId(self):
1220
1234
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -1231,6 +1245,9 @@ class GetDocumentParseResultResponse(AbstractModel):
1231
1245
  self._Status = params.get("Status")
1232
1246
  self._DocumentParseResultUrl = params.get("DocumentParseResultUrl")
1233
1247
  self._FailedPages = params.get("FailedPages")
1248
+ if params.get("Usage") is not None:
1249
+ self._Usage = PageUsage()
1250
+ self._Usage._deserialize(params.get("Usage"))
1234
1251
  self._RequestId = params.get("RequestId")
1235
1252
 
1236
1253
 
@@ -1503,6 +1520,42 @@ class OutputMessage(AbstractModel):
1503
1520
 
1504
1521
 
1505
1522
 
1523
+ class PageUsage(AbstractModel):
1524
+ """消耗页数
1525
+
1526
+ """
1527
+
1528
+ def __init__(self):
1529
+ r"""
1530
+ :param _TotalPages: 消耗总页数
1531
+ :type TotalPages: int
1532
+ """
1533
+ self._TotalPages = None
1534
+
1535
+ @property
1536
+ def TotalPages(self):
1537
+ """消耗总页数
1538
+ :rtype: int
1539
+ """
1540
+ return self._TotalPages
1541
+
1542
+ @TotalPages.setter
1543
+ def TotalPages(self, TotalPages):
1544
+ self._TotalPages = TotalPages
1545
+
1546
+
1547
+ def _deserialize(self, params):
1548
+ self._TotalPages = params.get("TotalPages")
1549
+ memeber_set = set(params.keys())
1550
+ for name, value in vars(self).items():
1551
+ property_name = name[1:]
1552
+ if property_name in memeber_set:
1553
+ memeber_set.remove(property_name)
1554
+ if len(memeber_set) > 0:
1555
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1556
+
1557
+
1558
+
1506
1559
  class ParseDocument(AbstractModel):
1507
1560
  """文档信息
1508
1561
 
@@ -1792,12 +1845,15 @@ class ParseDocumentResponse(AbstractModel):
1792
1845
  :type DocumentParseResultUrl: str
1793
1846
  :param _FailedPages: 失败页码。
1794
1847
  :type FailedPages: list of int
1848
+ :param _Usage: 消耗页数
1849
+ :type Usage: :class:`tencentcloud.es.v20250101.models.PageUsage`
1795
1850
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
1796
1851
  :type RequestId: str
1797
1852
  """
1798
1853
  self._Progress = None
1799
1854
  self._DocumentParseResultUrl = None
1800
1855
  self._FailedPages = None
1856
+ self._Usage = None
1801
1857
  self._RequestId = None
1802
1858
 
1803
1859
  @property
@@ -1833,6 +1889,17 @@ class ParseDocumentResponse(AbstractModel):
1833
1889
  def FailedPages(self, FailedPages):
1834
1890
  self._FailedPages = FailedPages
1835
1891
 
1892
+ @property
1893
+ def Usage(self):
1894
+ """消耗页数
1895
+ :rtype: :class:`tencentcloud.es.v20250101.models.PageUsage`
1896
+ """
1897
+ return self._Usage
1898
+
1899
+ @Usage.setter
1900
+ def Usage(self, Usage):
1901
+ self._Usage = Usage
1902
+
1836
1903
  @property
1837
1904
  def RequestId(self):
1838
1905
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
@@ -1849,6 +1916,9 @@ class ParseDocumentResponse(AbstractModel):
1849
1916
  self._Progress = params.get("Progress")
1850
1917
  self._DocumentParseResultUrl = params.get("DocumentParseResultUrl")
1851
1918
  self._FailedPages = params.get("FailedPages")
1919
+ if params.get("Usage") is not None:
1920
+ self._Usage = PageUsage()
1921
+ self._Usage._deserialize(params.get("Usage"))
1852
1922
  self._RequestId = params.get("RequestId")
1853
1923
 
1854
1924
 
@@ -213,6 +213,35 @@ class EssClient(AbstractClient):
213
213
  raise TencentCloudSDKException(type(e).__name__, str(e))
214
214
 
215
215
 
216
+ def CreateBatchContractReviewTask(self, request):
217
+ """此接口(CreateBatchContractReviewTask)用来通过上传后的PDF资源编号来批量创建合同智能审查任务。
218
+
219
+ 适用场景:根据合同内容识别出合同的风险信息。审查结果由AI生成,仅供参考。请结合相关法律法规和公司制度要求综合判断。
220
+
221
+ 注:
222
+ 1. PDF格式限制大小为10M以下
223
+ 2. 仅支持5个PDF文件批量发起
224
+
225
+ :param request: Request instance for CreateBatchContractReviewTask.
226
+ :type request: :class:`tencentcloud.ess.v20201111.models.CreateBatchContractReviewTaskRequest`
227
+ :rtype: :class:`tencentcloud.ess.v20201111.models.CreateBatchContractReviewTaskResponse`
228
+
229
+ """
230
+ try:
231
+ params = request._serialize()
232
+ headers = request.headers
233
+ body = self.call("CreateBatchContractReviewTask", params, headers=headers)
234
+ response = json.loads(body)
235
+ model = models.CreateBatchContractReviewTaskResponse()
236
+ model._deserialize(response["Response"])
237
+ return model
238
+ except Exception as e:
239
+ if isinstance(e, TencentCloudSDKException):
240
+ raise
241
+ else:
242
+ raise TencentCloudSDKException(type(e).__name__, str(e))
243
+
244
+
216
245
  def CreateBatchInformationExtractionTask(self, request):
217
246
  """此接口(CreateBatchInformationExtractionTask)用来通过上传后的PDF资源编号来批量创建合同智能审查任务。<br/>
218
247
 
@@ -2102,7 +2131,7 @@ class EssClient(AbstractClient):
2102
2131
 
2103
2132
 
2104
2133
  def CreateUserVerifyUrl(self, request):
2105
- """生成个人用户实名认证链接,个人用户点击此链接进入实名流程(若用户已完成实名认证,则直接进入成功页面)。
2134
+ """生成个人用户实名认证链接,个人用户点击此链接进入实名流程(若用户已完成实名认证,则直接进入成功页面)。用户点击此接口生成的链接完成实名认证后,其数据将通过[企业引导个人实名认证后回调](https://qian.tencent.com/developers/company/callback_types_staffs/#%E5%8D%81%E4%BA%8C-%E4%BC%81%E4%B8%9A%E5%BC%95%E5%AF%BC%E4%B8%AA%E4%BA%BA%E5%AE%9E%E5%90%8D%E8%AE%A4%E8%AF%81%E5%90%8E%E5%9B%9E%E8%B0%83)返回
2106
2135
 
2107
2136
  注: 调用此接口需要购买<font color="red"><b>单独的实名套餐包</b></font>。使用前请联系对接的客户经理沟通。
2108
2137
 
@@ -2459,6 +2488,29 @@ class EssClient(AbstractClient):
2459
2488
  raise TencentCloudSDKException(type(e).__name__, str(e))
2460
2489
 
2461
2490
 
2491
+ def DescribeContractReviewTask(self, request):
2492
+ """本接口(DescribeContractReviewTask)用于获取合同审查任务详情,包括任务的状态和识别出的风险信息。
2493
+
2494
+ :param request: Request instance for DescribeContractReviewTask.
2495
+ :type request: :class:`tencentcloud.ess.v20201111.models.DescribeContractReviewTaskRequest`
2496
+ :rtype: :class:`tencentcloud.ess.v20201111.models.DescribeContractReviewTaskResponse`
2497
+
2498
+ """
2499
+ try:
2500
+ params = request._serialize()
2501
+ headers = request.headers
2502
+ body = self.call("DescribeContractReviewTask", params, headers=headers)
2503
+ response = json.loads(body)
2504
+ model = models.DescribeContractReviewTaskResponse()
2505
+ model._deserialize(response["Response"])
2506
+ return model
2507
+ except Exception as e:
2508
+ if isinstance(e, TencentCloudSDKException):
2509
+ raise
2510
+ else:
2511
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2512
+
2513
+
2462
2514
  def DescribeExtendedServiceAuthDetail(self, request):
2463
2515
  """查询企业扩展服务的授权详情(列表),当前支持查询以下内容:
2464
2516
  1. 企业自动签(本企业授权、集团企业授权、合作企业授权)