tencentcloud-sdk-python 3.0.1264__py2.py3-none-any.whl → 3.0.1266__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/models.py +128 -0
- tencentcloud/autoscaling/v20180419/models.py +250 -162
- tencentcloud/batch/v20170312/models.py +20 -2
- tencentcloud/cat/v20180409/models.py +20 -0
- tencentcloud/cbs/v20170312/models.py +124 -70
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +17 -6
- tencentcloud/cdc/v20201214/models.py +18 -70
- tencentcloud/cdz/v20221123/models.py +75 -1
- tencentcloud/ckafka/v20190819/models.py +21 -6
- tencentcloud/cloudstudio/v20230508/models.py +0 -18
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +863 -24
- tencentcloud/cvm/v20170312/models.py +99 -22
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -197
- tencentcloud/dasb/v20191018/models.py +60 -0
- tencentcloud/emr/v20190103/emr_client.py +9 -9
- tencentcloud/emr/v20190103/models.py +325 -1
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +30 -0
- tencentcloud/ess/v20201111/ess_client.py +22 -30
- tencentcloud/ess/v20201111/models.py +52 -22
- tencentcloud/essbasic/v20210526/essbasic_client.py +9 -3
- tencentcloud/essbasic/v20210526/models.py +72 -40
- tencentcloud/faceid/v20180301/models.py +983 -539
- tencentcloud/gme/v20180711/errorcodes.py +9 -0
- tencentcloud/gme/v20180711/models.py +17 -2
- tencentcloud/hai/v20230812/models.py +2 -2
- tencentcloud/iai/v20180301/models.py +40 -26
- tencentcloud/iai/v20200303/models.py +760 -546
- tencentcloud/ig/__init__.py +0 -0
- tencentcloud/ig/v20210518/__init__.py +0 -0
- tencentcloud/ig/v20210518/errorcodes.py +24 -0
- tencentcloud/ig/v20210518/ig_client.py +49 -0
- tencentcloud/ig/v20210518/models.py +142 -0
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/models.py +28 -28
- tencentcloud/mrs/v20200910/models.py +53 -0
- tencentcloud/ms/v20180408/ms_client.py +3 -1
- tencentcloud/ocr/v20181119/models.py +515 -10
- tencentcloud/ocr/v20181119/ocr_client.py +48 -0
- tencentcloud/omics/v20221128/models.py +0 -60
- tencentcloud/partners/v20180321/models.py +14 -92
- tencentcloud/scf/v20180416/models.py +2 -2
- tencentcloud/soe/v20180724/models.py +2 -2
- tencentcloud/ssl/v20191205/models.py +2 -2
- tencentcloud/tat/v20201028/models.py +2 -20
- tencentcloud/tds/v20220801/models.py +4 -4
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/tke/v20180525/models.py +0 -2
- tencentcloud/trro/v20220325/models.py +0 -30
- tencentcloud/trtc/v20190722/models.py +97 -2
- tencentcloud/vclm/v20240523/models.py +170 -100
- tencentcloud/vclm/v20240523/vclm_client.py +52 -52
- tencentcloud/vod/v20180717/models.py +112 -0
- tencentcloud/vpc/v20170312/models.py +64 -6
- tencentcloud/waf/v20180125/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1266.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1266.dist-info}/RECORD +65 -60
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1266.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1266.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1264.dist-info → tencentcloud_sdk_python-3.0.1266.dist-info}/top_level.txt +0 -0
File without changes
|
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
# 操作失败。
|
18
|
+
FAILEDOPERATION = 'FailedOperation'
|
19
|
+
|
20
|
+
# 内部错误。
|
21
|
+
INTERNALERROR = 'InternalError'
|
22
|
+
|
23
|
+
# 参数错误。
|
24
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import json
|
17
|
+
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
+
from tencentcloud.ig.v20210518 import models
|
21
|
+
|
22
|
+
|
23
|
+
class IgClient(AbstractClient):
|
24
|
+
_apiVersion = '2021-05-18'
|
25
|
+
_endpoint = 'ig.tencentcloudapi.com'
|
26
|
+
_service = 'ig'
|
27
|
+
|
28
|
+
|
29
|
+
def DescribeIgOrderList(self, request):
|
30
|
+
"""查询智能导诊订单列表
|
31
|
+
|
32
|
+
:param request: Request instance for DescribeIgOrderList.
|
33
|
+
:type request: :class:`tencentcloud.ig.v20210518.models.DescribeIgOrderListRequest`
|
34
|
+
:rtype: :class:`tencentcloud.ig.v20210518.models.DescribeIgOrderListResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("DescribeIgOrderList", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.DescribeIgOrderListResponse()
|
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))
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import warnings
|
17
|
+
|
18
|
+
from tencentcloud.common.abstract_model import AbstractModel
|
19
|
+
|
20
|
+
|
21
|
+
class DescribeIgOrderListRequest(AbstractModel):
|
22
|
+
"""DescribeIgOrderList请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _PageNumber: 页码
|
29
|
+
:type PageNumber: int
|
30
|
+
:param _PageSize: 每页数目
|
31
|
+
:type PageSize: int
|
32
|
+
:param _ProductType: 产品类型
|
33
|
+
:type ProductType: str
|
34
|
+
:param _OrderStatus: 订单状态
|
35
|
+
:type OrderStatus: int
|
36
|
+
:param _KeyWord: 搜索关键字
|
37
|
+
:type KeyWord: str
|
38
|
+
"""
|
39
|
+
self._PageNumber = None
|
40
|
+
self._PageSize = None
|
41
|
+
self._ProductType = None
|
42
|
+
self._OrderStatus = None
|
43
|
+
self._KeyWord = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def PageNumber(self):
|
47
|
+
"""页码
|
48
|
+
:rtype: int
|
49
|
+
"""
|
50
|
+
return self._PageNumber
|
51
|
+
|
52
|
+
@PageNumber.setter
|
53
|
+
def PageNumber(self, PageNumber):
|
54
|
+
self._PageNumber = PageNumber
|
55
|
+
|
56
|
+
@property
|
57
|
+
def PageSize(self):
|
58
|
+
"""每页数目
|
59
|
+
:rtype: int
|
60
|
+
"""
|
61
|
+
return self._PageSize
|
62
|
+
|
63
|
+
@PageSize.setter
|
64
|
+
def PageSize(self, PageSize):
|
65
|
+
self._PageSize = PageSize
|
66
|
+
|
67
|
+
@property
|
68
|
+
def ProductType(self):
|
69
|
+
"""产品类型
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._ProductType
|
73
|
+
|
74
|
+
@ProductType.setter
|
75
|
+
def ProductType(self, ProductType):
|
76
|
+
self._ProductType = ProductType
|
77
|
+
|
78
|
+
@property
|
79
|
+
def OrderStatus(self):
|
80
|
+
"""订单状态
|
81
|
+
:rtype: int
|
82
|
+
"""
|
83
|
+
return self._OrderStatus
|
84
|
+
|
85
|
+
@OrderStatus.setter
|
86
|
+
def OrderStatus(self, OrderStatus):
|
87
|
+
self._OrderStatus = OrderStatus
|
88
|
+
|
89
|
+
@property
|
90
|
+
def KeyWord(self):
|
91
|
+
"""搜索关键字
|
92
|
+
:rtype: str
|
93
|
+
"""
|
94
|
+
return self._KeyWord
|
95
|
+
|
96
|
+
@KeyWord.setter
|
97
|
+
def KeyWord(self, KeyWord):
|
98
|
+
self._KeyWord = KeyWord
|
99
|
+
|
100
|
+
|
101
|
+
def _deserialize(self, params):
|
102
|
+
self._PageNumber = params.get("PageNumber")
|
103
|
+
self._PageSize = params.get("PageSize")
|
104
|
+
self._ProductType = params.get("ProductType")
|
105
|
+
self._OrderStatus = params.get("OrderStatus")
|
106
|
+
self._KeyWord = params.get("KeyWord")
|
107
|
+
memeber_set = set(params.keys())
|
108
|
+
for name, value in vars(self).items():
|
109
|
+
property_name = name[1:]
|
110
|
+
if property_name in memeber_set:
|
111
|
+
memeber_set.remove(property_name)
|
112
|
+
if len(memeber_set) > 0:
|
113
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
class DescribeIgOrderListResponse(AbstractModel):
|
118
|
+
"""DescribeIgOrderList返回参数结构体
|
119
|
+
|
120
|
+
"""
|
121
|
+
|
122
|
+
def __init__(self):
|
123
|
+
r"""
|
124
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
125
|
+
:type RequestId: str
|
126
|
+
"""
|
127
|
+
self._RequestId = None
|
128
|
+
|
129
|
+
@property
|
130
|
+
def RequestId(self):
|
131
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
132
|
+
:rtype: str
|
133
|
+
"""
|
134
|
+
return self._RequestId
|
135
|
+
|
136
|
+
@RequestId.setter
|
137
|
+
def RequestId(self, RequestId):
|
138
|
+
self._RequestId = RequestId
|
139
|
+
|
140
|
+
|
141
|
+
def _deserialize(self, params):
|
142
|
+
self._RequestId = params.get("RequestId")
|
@@ -2554,17 +2554,17 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
|
|
2554
2554
|
|
2555
2555
|
def __init__(self):
|
2556
2556
|
r"""
|
2557
|
-
:param _FileType: 文件类型。支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2
|
2557
|
+
:param _FileType: 文件类型。支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2。
|
2558
2558
|
:type FileType: str
|
2559
2559
|
:param _FileBase64: 文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
2560
2560
|
:type FileBase64: str
|
2561
|
-
:param _FileUrl:
|
2561
|
+
:param _FileUrl: <p>文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:</p><table> <tbody> <tr> <td>文件类型</td> <td>支持的文件大小</td> </tr> <tr> <td>PDF</td> <td>200M</td> </tr> <tr> <td>DOC</td> <td>200M</td> </tr> <tr> <td>DOCX</td> <td>200M</td> </tr> <tr> <td>PPT</td> <td>200M</td> </tr> <tr> <td>PPTX</td> <td>200M</td> </tr> <tr> <td>MD</td> <td>10M</td> </tr> <tr> <td>TXT</td> <td>10M</td> </tr> <tr> <td>XLS</td> <td>20M</td> </tr> <tr> <td>XLSX</td> <td>20M</td> </tr> <tr> <td>CSV</td> <td>20M</td> </tr> <tr> <td>PNG</td> <td>20M</td> </tr> <tr> <td>JPG</td> <td>20M</td> </tr> <tr> <td>JPEG</td> <td>20M</td> </tr> <tr> <td>BMP</td> <td>20M</td> </tr> <tr> <td>GIF</td> <td>20M</td> </tr> <tr> <td>WEBP</td> <td>20M</td> </tr> <tr> <td>HEIC</td> <td>20M</td> </tr> <tr> <td>EPS</td> <td>20M</td> </tr> <tr> <td>ICNS</td> <td>20M</td> </tr> <tr> <td>IM</td> <td>20M</td> </tr> <tr> <td>PCX</td> <td>20M</td> </tr> <tr> <td>PPM</td> <td>20M</td> </tr> <tr> <td>TIFF</td> <td>20M</td> </tr> <tr> <td>XBM</td> <td>20M</td> </tr> <tr> <td>HEIF</td> <td>20M</td> </tr> <tr> <td>JP2</td> <td>20M</td> </tr> </tbody> <colgroup> <col> <col> </colgroup></table>
|
2562
2562
|
:type FileUrl: str
|
2563
|
-
:param _FileStartPageNumber:
|
2563
|
+
:param _FileStartPageNumber: 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的起始页码,识别的页码包含当前值。默认为1,表示从文件的第1页开始识别。
|
2564
2564
|
:type FileStartPageNumber: int
|
2565
|
-
:param _FileEndPageNumber:
|
2565
|
+
:param _FileEndPageNumber: 当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的结束页码,识别的页码包含当前值。默认为100,表示识别到文件的第100页。单次调用最多支持识别1000页内容,即FileEndPageNumber-FileStartPageNumber需要不大于1000。
|
2566
2566
|
:type FileEndPageNumber: int
|
2567
|
-
:param _Config:
|
2567
|
+
:param _Config: 创建文档解析任务配置信息。
|
2568
2568
|
:type Config: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowConfig`
|
2569
2569
|
"""
|
2570
2570
|
self._FileType = None
|
@@ -2576,7 +2576,7 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
|
|
2576
2576
|
|
2577
2577
|
@property
|
2578
2578
|
def FileType(self):
|
2579
|
-
"""文件类型。支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2
|
2579
|
+
"""文件类型。支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2。
|
2580
2580
|
:rtype: str
|
2581
2581
|
"""
|
2582
2582
|
return self._FileType
|
@@ -2598,7 +2598,7 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
|
|
2598
2598
|
|
2599
2599
|
@property
|
2600
2600
|
def FileUrl(self):
|
2601
|
-
"""
|
2601
|
+
"""<p>文件的Url地址。文件下载时间不超过15秒。支持的图片像素:单边介于20-10000px之间。文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。所下载文件经 Base64 编码后不超过支持的文件大小:</p><table> <tbody> <tr> <td>文件类型</td> <td>支持的文件大小</td> </tr> <tr> <td>PDF</td> <td>200M</td> </tr> <tr> <td>DOC</td> <td>200M</td> </tr> <tr> <td>DOCX</td> <td>200M</td> </tr> <tr> <td>PPT</td> <td>200M</td> </tr> <tr> <td>PPTX</td> <td>200M</td> </tr> <tr> <td>MD</td> <td>10M</td> </tr> <tr> <td>TXT</td> <td>10M</td> </tr> <tr> <td>XLS</td> <td>20M</td> </tr> <tr> <td>XLSX</td> <td>20M</td> </tr> <tr> <td>CSV</td> <td>20M</td> </tr> <tr> <td>PNG</td> <td>20M</td> </tr> <tr> <td>JPG</td> <td>20M</td> </tr> <tr> <td>JPEG</td> <td>20M</td> </tr> <tr> <td>BMP</td> <td>20M</td> </tr> <tr> <td>GIF</td> <td>20M</td> </tr> <tr> <td>WEBP</td> <td>20M</td> </tr> <tr> <td>HEIC</td> <td>20M</td> </tr> <tr> <td>EPS</td> <td>20M</td> </tr> <tr> <td>ICNS</td> <td>20M</td> </tr> <tr> <td>IM</td> <td>20M</td> </tr> <tr> <td>PCX</td> <td>20M</td> </tr> <tr> <td>PPM</td> <td>20M</td> </tr> <tr> <td>TIFF</td> <td>20M</td> </tr> <tr> <td>XBM</td> <td>20M</td> </tr> <tr> <td>HEIF</td> <td>20M</td> </tr> <tr> <td>JP2</td> <td>20M</td> </tr> </tbody> <colgroup> <col> <col> </colgroup></table>
|
2602
2602
|
:rtype: str
|
2603
2603
|
"""
|
2604
2604
|
return self._FileUrl
|
@@ -2609,7 +2609,7 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
|
|
2609
2609
|
|
2610
2610
|
@property
|
2611
2611
|
def FileStartPageNumber(self):
|
2612
|
-
"""
|
2612
|
+
"""当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的起始页码,识别的页码包含当前值。默认为1,表示从文件的第1页开始识别。
|
2613
2613
|
:rtype: int
|
2614
2614
|
"""
|
2615
2615
|
return self._FileStartPageNumber
|
@@ -2620,7 +2620,7 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
|
|
2620
2620
|
|
2621
2621
|
@property
|
2622
2622
|
def FileEndPageNumber(self):
|
2623
|
-
"""
|
2623
|
+
"""当传入文件类型为PDF、DOC、DOCX、PPT、PPTX,用来指定文件识别的结束页码,识别的页码包含当前值。默认为100,表示识别到文件的第100页。单次调用最多支持识别1000页内容,即FileEndPageNumber-FileStartPageNumber需要不大于1000。
|
2624
2624
|
:rtype: int
|
2625
2625
|
"""
|
2626
2626
|
return self._FileEndPageNumber
|
@@ -2631,7 +2631,7 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
|
|
2631
2631
|
|
2632
2632
|
@property
|
2633
2633
|
def Config(self):
|
2634
|
-
"""
|
2634
|
+
"""创建文档解析任务配置信息。
|
2635
2635
|
:rtype: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowConfig`
|
2636
2636
|
"""
|
2637
2637
|
return self._Config
|
@@ -2667,7 +2667,7 @@ class CreateReconstructDocumentFlowResponse(AbstractModel):
|
|
2667
2667
|
|
2668
2668
|
def __init__(self):
|
2669
2669
|
r"""
|
2670
|
-
:param _TaskId: 任务唯一
|
2670
|
+
:param _TaskId: 任务唯一ID。30天内可以通过[GetReconstructDocumentResult](https://cloud.tencent.com/document/product/1759/107505)接口查询TaskId对应的处理结果。
|
2671
2671
|
:type TaskId: str
|
2672
2672
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2673
2673
|
:type RequestId: str
|
@@ -2677,7 +2677,7 @@ class CreateReconstructDocumentFlowResponse(AbstractModel):
|
|
2677
2677
|
|
2678
2678
|
@property
|
2679
2679
|
def TaskId(self):
|
2680
|
-
"""任务唯一
|
2680
|
+
"""任务唯一ID。30天内可以通过[GetReconstructDocumentResult](https://cloud.tencent.com/document/product/1759/107505)接口查询TaskId对应的处理结果。
|
2681
2681
|
:rtype: str
|
2682
2682
|
"""
|
2683
2683
|
return self._TaskId
|
@@ -6548,7 +6548,7 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
6548
6548
|
:type BotBizId: str
|
6549
6549
|
:param _FileType: 文件类型,正常的文件名类型后缀,例如 xlsx、pdf、 docx、png 等
|
6550
6550
|
:type FileType: str
|
6551
|
-
:param _IsPublic: IsPublic
|
6551
|
+
:param _IsPublic: IsPublic用于上传文件时选择场景,当上传为对话端文件时IsPublic为true,上传文档库文件时场景IsPublic为false
|
6552
6552
|
:type IsPublic: bool
|
6553
6553
|
:param _TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
|
6554
6554
|
:type TypeKey: str
|
@@ -6582,7 +6582,7 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
6582
6582
|
|
6583
6583
|
@property
|
6584
6584
|
def IsPublic(self):
|
6585
|
-
"""IsPublic
|
6585
|
+
"""IsPublic用于上传文件时选择场景,当上传为对话端文件时IsPublic为true,上传文档库文件时场景IsPublic为false
|
6586
6586
|
:rtype: bool
|
6587
6587
|
"""
|
6588
6588
|
return self._IsPublic
|
@@ -9065,7 +9065,7 @@ class GetDocPreviewRequest(AbstractModel):
|
|
9065
9065
|
|
9066
9066
|
def __init__(self):
|
9067
9067
|
r"""
|
9068
|
-
:param _DocBizId:
|
9068
|
+
:param _DocBizId: 文档BizID
|
9069
9069
|
:type DocBizId: str
|
9070
9070
|
:param _BotBizId: 应用ID
|
9071
9071
|
:type BotBizId: str
|
@@ -9078,7 +9078,7 @@ class GetDocPreviewRequest(AbstractModel):
|
|
9078
9078
|
|
9079
9079
|
@property
|
9080
9080
|
def DocBizId(self):
|
9081
|
-
"""
|
9081
|
+
"""文档BizID
|
9082
9082
|
:rtype: str
|
9083
9083
|
"""
|
9084
9084
|
return self._DocBizId
|
@@ -9793,14 +9793,14 @@ class GetReconstructDocumentResultRequest(AbstractModel):
|
|
9793
9793
|
|
9794
9794
|
def __init__(self):
|
9795
9795
|
r"""
|
9796
|
-
:param _TaskId: 任务唯一
|
9796
|
+
:param _TaskId: 任务唯一Id。[CreateReconstructDocumentFlow](https://cloud.tencent.com/document/product/1759/107506) 返回的TaskId。
|
9797
9797
|
:type TaskId: str
|
9798
9798
|
"""
|
9799
9799
|
self._TaskId = None
|
9800
9800
|
|
9801
9801
|
@property
|
9802
9802
|
def TaskId(self):
|
9803
|
-
"""任务唯一
|
9803
|
+
"""任务唯一Id。[CreateReconstructDocumentFlow](https://cloud.tencent.com/document/product/1759/107506) 返回的TaskId。
|
9804
9804
|
:rtype: str
|
9805
9805
|
"""
|
9806
9806
|
return self._TaskId
|
@@ -9829,11 +9829,11 @@ class GetReconstructDocumentResultResponse(AbstractModel):
|
|
9829
9829
|
|
9830
9830
|
def __init__(self):
|
9831
9831
|
r"""
|
9832
|
-
:param _Status: 任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute
|
9832
|
+
:param _Status: 任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行。
|
9833
9833
|
:type Status: str
|
9834
|
-
:param _DocumentRecognizeResultUrl:
|
9834
|
+
:param _DocumentRecognizeResultUrl: 本次文档解析的结果文件,存储在腾讯云COS的下载URL,下载URL的有效期为10分钟。
|
9835
9835
|
:type DocumentRecognizeResultUrl: str
|
9836
|
-
:param _FailedPages:
|
9836
|
+
:param _FailedPages: 本次文档解析失败的页码信息。
|
9837
9837
|
:type FailedPages: list of ReconstructDocumentFailedPage
|
9838
9838
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9839
9839
|
:type RequestId: str
|
@@ -9845,7 +9845,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
|
|
9845
9845
|
|
9846
9846
|
@property
|
9847
9847
|
def Status(self):
|
9848
|
-
"""任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute
|
9848
|
+
"""任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行。
|
9849
9849
|
:rtype: str
|
9850
9850
|
"""
|
9851
9851
|
return self._Status
|
@@ -9856,7 +9856,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
|
|
9856
9856
|
|
9857
9857
|
@property
|
9858
9858
|
def DocumentRecognizeResultUrl(self):
|
9859
|
-
"""
|
9859
|
+
"""本次文档解析的结果文件,存储在腾讯云COS的下载URL,下载URL的有效期为10分钟。
|
9860
9860
|
:rtype: str
|
9861
9861
|
"""
|
9862
9862
|
return self._DocumentRecognizeResultUrl
|
@@ -9867,7 +9867,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
|
|
9867
9867
|
|
9868
9868
|
@property
|
9869
9869
|
def FailedPages(self):
|
9870
|
-
"""
|
9870
|
+
"""本次文档解析失败的页码信息。
|
9871
9871
|
:rtype: list of ReconstructDocumentFailedPage
|
9872
9872
|
"""
|
9873
9873
|
return self._FailedPages
|
@@ -10298,7 +10298,7 @@ class GroupQARequest(AbstractModel):
|
|
10298
10298
|
r"""
|
10299
10299
|
:param _BotBizId: 应用ID
|
10300
10300
|
:type BotBizId: str
|
10301
|
-
:param _QaBizIds:
|
10301
|
+
:param _QaBizIds: QaBizID列表
|
10302
10302
|
:type QaBizIds: list of str
|
10303
10303
|
:param _CateBizId: 分组 ID
|
10304
10304
|
:type CateBizId: str
|
@@ -10320,7 +10320,7 @@ class GroupQARequest(AbstractModel):
|
|
10320
10320
|
|
10321
10321
|
@property
|
10322
10322
|
def QaBizIds(self):
|
10323
|
-
"""
|
10323
|
+
"""QaBizID列表
|
10324
10324
|
:rtype: list of str
|
10325
10325
|
"""
|
10326
10326
|
return self._QaBizIds
|
@@ -14047,7 +14047,7 @@ class ListReleaseDocPreviewRequest(AbstractModel):
|
|
14047
14047
|
:type PageSize: int
|
14048
14048
|
:param _Query: 查询内容
|
14049
14049
|
:type Query: str
|
14050
|
-
:param _ReleaseBizId:
|
14050
|
+
:param _ReleaseBizId: 发布单ID
|
14051
14051
|
:type ReleaseBizId: str
|
14052
14052
|
:param _StartTime: 开始时间
|
14053
14053
|
:type StartTime: str
|
@@ -14111,7 +14111,7 @@ class ListReleaseDocPreviewRequest(AbstractModel):
|
|
14111
14111
|
|
14112
14112
|
@property
|
14113
14113
|
def ReleaseBizId(self):
|
14114
|
-
"""
|
14114
|
+
"""发布单ID
|
14115
14115
|
:rtype: str
|
14116
14116
|
"""
|
14117
14117
|
return self._ReleaseBizId
|
@@ -1455,6 +1455,8 @@ class BiologicalProductInfoName(AbstractModel):
|
|
1455
1455
|
|
1456
1456
|
@property
|
1457
1457
|
def BarndName(self):
|
1458
|
+
warnings.warn("parameter `BarndName` is deprecated", DeprecationWarning)
|
1459
|
+
|
1458
1460
|
"""品牌名
|
1459
1461
|
注意:此字段可能返回 null,表示取不到有效值。
|
1460
1462
|
:rtype: str
|
@@ -1463,6 +1465,8 @@ class BiologicalProductInfoName(AbstractModel):
|
|
1463
1465
|
|
1464
1466
|
@BarndName.setter
|
1465
1467
|
def BarndName(self, BarndName):
|
1468
|
+
warnings.warn("parameter `BarndName` is deprecated", DeprecationWarning)
|
1469
|
+
|
1466
1470
|
self._BarndName = BarndName
|
1467
1471
|
|
1468
1472
|
@property
|
@@ -4585,12 +4589,15 @@ class ChemicalProductInfoName(AbstractModel):
|
|
4585
4589
|
:param _Pinyin: 拼音
|
4586
4590
|
注意:此字段可能返回 null,表示取不到有效值。
|
4587
4591
|
:type Pinyin: str
|
4592
|
+
:param _BrandName: 品牌名
|
4593
|
+
:type BrandName: str
|
4588
4594
|
"""
|
4589
4595
|
self._Text = None
|
4590
4596
|
self._GenericName = None
|
4591
4597
|
self._BarndName = None
|
4592
4598
|
self._EnName = None
|
4593
4599
|
self._Pinyin = None
|
4600
|
+
self._BrandName = None
|
4594
4601
|
|
4595
4602
|
@property
|
4596
4603
|
def Text(self):
|
@@ -4618,6 +4625,8 @@ class ChemicalProductInfoName(AbstractModel):
|
|
4618
4625
|
|
4619
4626
|
@property
|
4620
4627
|
def BarndName(self):
|
4628
|
+
warnings.warn("parameter `BarndName` is deprecated", DeprecationWarning)
|
4629
|
+
|
4621
4630
|
"""品牌名
|
4622
4631
|
注意:此字段可能返回 null,表示取不到有效值。
|
4623
4632
|
:rtype: str
|
@@ -4626,6 +4635,8 @@ class ChemicalProductInfoName(AbstractModel):
|
|
4626
4635
|
|
4627
4636
|
@BarndName.setter
|
4628
4637
|
def BarndName(self, BarndName):
|
4638
|
+
warnings.warn("parameter `BarndName` is deprecated", DeprecationWarning)
|
4639
|
+
|
4629
4640
|
self._BarndName = BarndName
|
4630
4641
|
|
4631
4642
|
@property
|
@@ -4652,6 +4663,17 @@ class ChemicalProductInfoName(AbstractModel):
|
|
4652
4663
|
def Pinyin(self, Pinyin):
|
4653
4664
|
self._Pinyin = Pinyin
|
4654
4665
|
|
4666
|
+
@property
|
4667
|
+
def BrandName(self):
|
4668
|
+
"""品牌名
|
4669
|
+
:rtype: str
|
4670
|
+
"""
|
4671
|
+
return self._BrandName
|
4672
|
+
|
4673
|
+
@BrandName.setter
|
4674
|
+
def BrandName(self, BrandName):
|
4675
|
+
self._BrandName = BrandName
|
4676
|
+
|
4655
4677
|
|
4656
4678
|
def _deserialize(self, params):
|
4657
4679
|
self._Text = params.get("Text")
|
@@ -4659,6 +4681,7 @@ class ChemicalProductInfoName(AbstractModel):
|
|
4659
4681
|
self._BarndName = params.get("BarndName")
|
4660
4682
|
self._EnName = params.get("EnName")
|
4661
4683
|
self._Pinyin = params.get("Pinyin")
|
4684
|
+
self._BrandName = params.get("BrandName")
|
4662
4685
|
memeber_set = set(params.keys())
|
4663
4686
|
for name, value in vars(self).items():
|
4664
4687
|
property_name = name[1:]
|
@@ -12723,9 +12746,12 @@ class ImageMaskAsyncRequest(AbstractModel):
|
|
12723
12746
|
:type Image: :class:`tencentcloud.mrs.v20200910.models.ImageInfo`
|
12724
12747
|
:param _MaskFlag: 图片脱敏选项, 不传默认都脱敏
|
12725
12748
|
:type MaskFlag: :class:`tencentcloud.mrs.v20200910.models.ImageMaskFlags`
|
12749
|
+
:param _AutoFixImageDirection: 是否自动矫正图片方向
|
12750
|
+
:type AutoFixImageDirection: bool
|
12726
12751
|
"""
|
12727
12752
|
self._Image = None
|
12728
12753
|
self._MaskFlag = None
|
12754
|
+
self._AutoFixImageDirection = None
|
12729
12755
|
|
12730
12756
|
@property
|
12731
12757
|
def Image(self):
|
@@ -12749,6 +12775,17 @@ class ImageMaskAsyncRequest(AbstractModel):
|
|
12749
12775
|
def MaskFlag(self, MaskFlag):
|
12750
12776
|
self._MaskFlag = MaskFlag
|
12751
12777
|
|
12778
|
+
@property
|
12779
|
+
def AutoFixImageDirection(self):
|
12780
|
+
"""是否自动矫正图片方向
|
12781
|
+
:rtype: bool
|
12782
|
+
"""
|
12783
|
+
return self._AutoFixImageDirection
|
12784
|
+
|
12785
|
+
@AutoFixImageDirection.setter
|
12786
|
+
def AutoFixImageDirection(self, AutoFixImageDirection):
|
12787
|
+
self._AutoFixImageDirection = AutoFixImageDirection
|
12788
|
+
|
12752
12789
|
|
12753
12790
|
def _deserialize(self, params):
|
12754
12791
|
if params.get("Image") is not None:
|
@@ -12757,6 +12794,7 @@ class ImageMaskAsyncRequest(AbstractModel):
|
|
12757
12794
|
if params.get("MaskFlag") is not None:
|
12758
12795
|
self._MaskFlag = ImageMaskFlags()
|
12759
12796
|
self._MaskFlag._deserialize(params.get("MaskFlag"))
|
12797
|
+
self._AutoFixImageDirection = params.get("AutoFixImageDirection")
|
12760
12798
|
memeber_set = set(params.keys())
|
12761
12799
|
for name, value in vars(self).items():
|
12762
12800
|
property_name = name[1:]
|
@@ -12903,9 +12941,12 @@ class ImageMaskRequest(AbstractModel):
|
|
12903
12941
|
:type Image: :class:`tencentcloud.mrs.v20200910.models.ImageInfo`
|
12904
12942
|
:param _MaskFlag: 图片脱敏选项, 不传默认都脱敏
|
12905
12943
|
:type MaskFlag: :class:`tencentcloud.mrs.v20200910.models.ImageMaskFlags`
|
12944
|
+
:param _AutoFixImageDirection: 是否自动矫正图片方向
|
12945
|
+
:type AutoFixImageDirection: bool
|
12906
12946
|
"""
|
12907
12947
|
self._Image = None
|
12908
12948
|
self._MaskFlag = None
|
12949
|
+
self._AutoFixImageDirection = None
|
12909
12950
|
|
12910
12951
|
@property
|
12911
12952
|
def Image(self):
|
@@ -12929,6 +12970,17 @@ class ImageMaskRequest(AbstractModel):
|
|
12929
12970
|
def MaskFlag(self, MaskFlag):
|
12930
12971
|
self._MaskFlag = MaskFlag
|
12931
12972
|
|
12973
|
+
@property
|
12974
|
+
def AutoFixImageDirection(self):
|
12975
|
+
"""是否自动矫正图片方向
|
12976
|
+
:rtype: bool
|
12977
|
+
"""
|
12978
|
+
return self._AutoFixImageDirection
|
12979
|
+
|
12980
|
+
@AutoFixImageDirection.setter
|
12981
|
+
def AutoFixImageDirection(self, AutoFixImageDirection):
|
12982
|
+
self._AutoFixImageDirection = AutoFixImageDirection
|
12983
|
+
|
12932
12984
|
|
12933
12985
|
def _deserialize(self, params):
|
12934
12986
|
if params.get("Image") is not None:
|
@@ -12937,6 +12989,7 @@ class ImageMaskRequest(AbstractModel):
|
|
12937
12989
|
if params.get("MaskFlag") is not None:
|
12938
12990
|
self._MaskFlag = ImageMaskFlags()
|
12939
12991
|
self._MaskFlag._deserialize(params.get("MaskFlag"))
|
12992
|
+
self._AutoFixImageDirection = params.get("AutoFixImageDirection")
|
12940
12993
|
memeber_set = set(params.keys())
|
12941
12994
|
for name, value in vars(self).items():
|
12942
12995
|
property_name = name[1:]
|
@@ -144,7 +144,9 @@ class MsClient(AbstractClient):
|
|
144
144
|
|
145
145
|
|
146
146
|
def CreateResourceInstances(self, request):
|
147
|
-
"""
|
147
|
+
"""不再使用
|
148
|
+
|
149
|
+
用户可以使用该接口自建资源,只支持白名单用户
|
148
150
|
|
149
151
|
:param request: Request instance for CreateResourceInstances.
|
150
152
|
:type request: :class:`tencentcloud.ms.v20180408.models.CreateResourceInstancesRequest`
|