tencentcloud-sdk-python 3.0.1394__py2.py3-none-any.whl → 3.0.1396__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 +17 -2
- tencentcloud/bh/v20230418/models.py +15 -0
- tencentcloud/cbs/v20170312/cbs_client.py +3 -1
- tencentcloud/cdb/v20170320/models.py +36 -6
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/chc/v20230418/chc_client.py +23 -0
- tencentcloud/chc/v20230418/errorcodes.py +9 -0
- tencentcloud/chc/v20230418/models.py +109 -0
- tencentcloud/cvm/v20170312/models.py +8 -0
- tencentcloud/cwp/v20180228/models.py +137 -2
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +1 -1
- tencentcloud/dbbrain/v20210527/models.py +4 -4
- tencentcloud/dts/v20211206/models.py +6 -6
- tencentcloud/emr/v20190103/models.py +304 -4
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +255 -0
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/gs_client.py +233 -3
- tencentcloud/gs/v20191118/models.py +1310 -55
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +2 -2
- tencentcloud/mariadb/v20170312/models.py +30 -10
- tencentcloud/ocr/v20181119/models.py +131 -18
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/tcss/v20201101/models.py +94 -4
- tencentcloud/tem/v20210701/errorcodes.py +6 -0
- tencentcloud/tem/v20210701/models.py +200 -0
- tencentcloud/tem/v20210701/tem_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +1417 -117
- tencentcloud/trtc/v20190722/models.py +12 -4
- tencentcloud/vclm/v20240523/models.py +350 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vod/v20180717/models.py +44 -0
- tencentcloud/vpc/v20170312/models.py +19 -2
- tencentcloud/waf/v20180125/models.py +0 -2
- tencentcloud/wedata/v20210820/models.py +1902 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/RECORD +42 -42
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/top_level.txt +0 -0
@@ -878,7 +878,7 @@ class IotexplorerClient(AbstractClient):
|
|
878
878
|
|
879
879
|
|
880
880
|
def DeleteProject(self, request):
|
881
|
-
"""
|
881
|
+
"""提供删除某个项目的能力。
|
882
882
|
|
883
883
|
:param request: Request instance for DeleteProject.
|
884
884
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteProjectRequest`
|
@@ -3180,7 +3180,7 @@ class IotexplorerClient(AbstractClient):
|
|
3180
3180
|
|
3181
3181
|
|
3182
3182
|
def ModifyProject(self, request):
|
3183
|
-
"""
|
3183
|
+
"""修改项目。
|
3184
3184
|
|
3185
3185
|
:param request: Request instance for ModifyProject.
|
3186
3186
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyProjectRequest`
|
@@ -1708,13 +1708,13 @@ class CreateDedicatedClusterDBInstanceRequest(AbstractModel):
|
|
1708
1708
|
:type Storage: int
|
1709
1709
|
:param _ClusterId: 独享集群集群uuid
|
1710
1710
|
:type ClusterId: str
|
1711
|
-
:param _Zone:
|
1711
|
+
:param _Zone: 可用区
|
1712
1712
|
:type Zone: str
|
1713
1713
|
:param _ProjectId: 项目ID
|
1714
1714
|
:type ProjectId: int
|
1715
|
-
:param _Pid:
|
1715
|
+
:param _Pid: Pid,可通过获取独享集群售卖配置接口得到
|
1716
1716
|
:type Pid: int
|
1717
|
-
:param _Machine:
|
1717
|
+
:param _Machine: 机型
|
1718
1718
|
:type Machine: str
|
1719
1719
|
:param _VpcId: 网络Id
|
1720
1720
|
:type VpcId: str
|
@@ -1722,9 +1722,9 @@ class CreateDedicatedClusterDBInstanceRequest(AbstractModel):
|
|
1722
1722
|
:type SubnetId: str
|
1723
1723
|
:param _DbVersionId: db类型,不传默认8.0
|
1724
1724
|
:type DbVersionId: str
|
1725
|
-
:param _Manual:
|
1725
|
+
:param _Manual: 是否手动指定一组服务器分配, 运维使用
|
1726
1726
|
:type Manual: int
|
1727
|
-
:param _DeviceNo:
|
1727
|
+
:param _DeviceNo: DeviceNo参数
|
1728
1728
|
:type DeviceNo: str
|
1729
1729
|
:param _SecurityGroupIds: 安全组ID
|
1730
1730
|
:type SecurityGroupIds: list of str
|
@@ -1826,13 +1826,17 @@ class CreateDedicatedClusterDBInstanceRequest(AbstractModel):
|
|
1826
1826
|
|
1827
1827
|
@property
|
1828
1828
|
def Zone(self):
|
1829
|
-
""
|
1829
|
+
warnings.warn("parameter `Zone` is deprecated", DeprecationWarning)
|
1830
|
+
|
1831
|
+
"""可用区
|
1830
1832
|
:rtype: str
|
1831
1833
|
"""
|
1832
1834
|
return self._Zone
|
1833
1835
|
|
1834
1836
|
@Zone.setter
|
1835
1837
|
def Zone(self, Zone):
|
1838
|
+
warnings.warn("parameter `Zone` is deprecated", DeprecationWarning)
|
1839
|
+
|
1836
1840
|
self._Zone = Zone
|
1837
1841
|
|
1838
1842
|
@property
|
@@ -1848,24 +1852,32 @@ class CreateDedicatedClusterDBInstanceRequest(AbstractModel):
|
|
1848
1852
|
|
1849
1853
|
@property
|
1850
1854
|
def Pid(self):
|
1851
|
-
""
|
1855
|
+
warnings.warn("parameter `Pid` is deprecated", DeprecationWarning)
|
1856
|
+
|
1857
|
+
"""Pid,可通过获取独享集群售卖配置接口得到
|
1852
1858
|
:rtype: int
|
1853
1859
|
"""
|
1854
1860
|
return self._Pid
|
1855
1861
|
|
1856
1862
|
@Pid.setter
|
1857
1863
|
def Pid(self, Pid):
|
1864
|
+
warnings.warn("parameter `Pid` is deprecated", DeprecationWarning)
|
1865
|
+
|
1858
1866
|
self._Pid = Pid
|
1859
1867
|
|
1860
1868
|
@property
|
1861
1869
|
def Machine(self):
|
1862
|
-
""
|
1870
|
+
warnings.warn("parameter `Machine` is deprecated", DeprecationWarning)
|
1871
|
+
|
1872
|
+
"""机型
|
1863
1873
|
:rtype: str
|
1864
1874
|
"""
|
1865
1875
|
return self._Machine
|
1866
1876
|
|
1867
1877
|
@Machine.setter
|
1868
1878
|
def Machine(self, Machine):
|
1879
|
+
warnings.warn("parameter `Machine` is deprecated", DeprecationWarning)
|
1880
|
+
|
1869
1881
|
self._Machine = Machine
|
1870
1882
|
|
1871
1883
|
@property
|
@@ -1903,24 +1915,32 @@ class CreateDedicatedClusterDBInstanceRequest(AbstractModel):
|
|
1903
1915
|
|
1904
1916
|
@property
|
1905
1917
|
def Manual(self):
|
1906
|
-
""
|
1918
|
+
warnings.warn("parameter `Manual` is deprecated", DeprecationWarning)
|
1919
|
+
|
1920
|
+
"""是否手动指定一组服务器分配, 运维使用
|
1907
1921
|
:rtype: int
|
1908
1922
|
"""
|
1909
1923
|
return self._Manual
|
1910
1924
|
|
1911
1925
|
@Manual.setter
|
1912
1926
|
def Manual(self, Manual):
|
1927
|
+
warnings.warn("parameter `Manual` is deprecated", DeprecationWarning)
|
1928
|
+
|
1913
1929
|
self._Manual = Manual
|
1914
1930
|
|
1915
1931
|
@property
|
1916
1932
|
def DeviceNo(self):
|
1917
|
-
""
|
1933
|
+
warnings.warn("parameter `DeviceNo` is deprecated", DeprecationWarning)
|
1934
|
+
|
1935
|
+
"""DeviceNo参数
|
1918
1936
|
:rtype: str
|
1919
1937
|
"""
|
1920
1938
|
return self._DeviceNo
|
1921
1939
|
|
1922
1940
|
@DeviceNo.setter
|
1923
1941
|
def DeviceNo(self, DeviceNo):
|
1942
|
+
warnings.warn("parameter `DeviceNo` is deprecated", DeprecationWarning)
|
1943
|
+
|
1924
1944
|
self._DeviceNo = DeviceNo
|
1925
1945
|
|
1926
1946
|
@property
|
@@ -9691,13 +9691,9 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
9691
9691
|
|
9692
9692
|
def __init__(self):
|
9693
9693
|
r"""
|
9694
|
-
:param _ImageBase64:
|
9695
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
|
9696
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9694
|
+
:param _ImageBase64: 图片/PDF的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9697
9695
|
:type ImageBase64: str
|
9698
|
-
:param _ImageUrl:
|
9699
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
|
9700
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9696
|
+
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9701
9697
|
:type ImageUrl: str
|
9702
9698
|
:param _IsWords: 是否返回单字信息,默认关
|
9703
9699
|
:type IsWords: bool
|
@@ -9720,9 +9716,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
9720
9716
|
|
9721
9717
|
@property
|
9722
9718
|
def ImageBase64(self):
|
9723
|
-
"""
|
9724
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
|
9725
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9719
|
+
"""图片/PDF的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9726
9720
|
:rtype: str
|
9727
9721
|
"""
|
9728
9722
|
return self._ImageBase64
|
@@ -9733,9 +9727,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
9733
9727
|
|
9734
9728
|
@property
|
9735
9729
|
def ImageUrl(self):
|
9736
|
-
"""
|
9737
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
|
9738
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9730
|
+
"""图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9739
9731
|
:rtype: str
|
9740
9732
|
"""
|
9741
9733
|
return self._ImageUrl
|
@@ -14035,7 +14027,7 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14035
14027
|
:type Angle: float
|
14036
14028
|
:param _SingleInvoiceInfos: 识别到的内容。
|
14037
14029
|
:type SingleInvoiceInfos: :class:`tencentcloud.ocr.v20181119.models.SingleInvoiceItem`
|
14038
|
-
:param _Page: 发票处于识别图片或PDF
|
14030
|
+
:param _Page: 发票处于识别图片或PDF文件中的页码,默认从1开始。
|
14039
14031
|
:type Page: int
|
14040
14032
|
:param _SubType: 发票详细类型,详见票据识别(高级版)接口文档说明中 SubType 返回值说明
|
14041
14033
|
:type SubType: str
|
@@ -14049,6 +14041,8 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14049
14041
|
:type ItemPolygon: list of ItemPolygonInfo
|
14050
14042
|
:param _QRCode: 二维码数据。
|
14051
14043
|
:type QRCode: str
|
14044
|
+
:param _InvoiceSealInfo: 印章信息
|
14045
|
+
:type InvoiceSealInfo: :class:`tencentcloud.ocr.v20181119.models.InvoiceSealInfo`
|
14052
14046
|
"""
|
14053
14047
|
self._Code = None
|
14054
14048
|
self._Type = None
|
@@ -14062,6 +14056,7 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14062
14056
|
self._SubTypeDescription = None
|
14063
14057
|
self._ItemPolygon = None
|
14064
14058
|
self._QRCode = None
|
14059
|
+
self._InvoiceSealInfo = None
|
14065
14060
|
|
14066
14061
|
@property
|
14067
14062
|
def Code(self):
|
@@ -14141,7 +14136,7 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14141
14136
|
|
14142
14137
|
@property
|
14143
14138
|
def Page(self):
|
14144
|
-
"""发票处于识别图片或PDF
|
14139
|
+
"""发票处于识别图片或PDF文件中的页码,默认从1开始。
|
14145
14140
|
:rtype: int
|
14146
14141
|
"""
|
14147
14142
|
return self._Page
|
@@ -14216,6 +14211,17 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14216
14211
|
def QRCode(self, QRCode):
|
14217
14212
|
self._QRCode = QRCode
|
14218
14213
|
|
14214
|
+
@property
|
14215
|
+
def InvoiceSealInfo(self):
|
14216
|
+
"""印章信息
|
14217
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.InvoiceSealInfo`
|
14218
|
+
"""
|
14219
|
+
return self._InvoiceSealInfo
|
14220
|
+
|
14221
|
+
@InvoiceSealInfo.setter
|
14222
|
+
def InvoiceSealInfo(self, InvoiceSealInfo):
|
14223
|
+
self._InvoiceSealInfo = InvoiceSealInfo
|
14224
|
+
|
14219
14225
|
|
14220
14226
|
def _deserialize(self, params):
|
14221
14227
|
self._Code = params.get("Code")
|
@@ -14239,6 +14245,90 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
14239
14245
|
obj._deserialize(item)
|
14240
14246
|
self._ItemPolygon.append(obj)
|
14241
14247
|
self._QRCode = params.get("QRCode")
|
14248
|
+
if params.get("InvoiceSealInfo") is not None:
|
14249
|
+
self._InvoiceSealInfo = InvoiceSealInfo()
|
14250
|
+
self._InvoiceSealInfo._deserialize(params.get("InvoiceSealInfo"))
|
14251
|
+
memeber_set = set(params.keys())
|
14252
|
+
for name, value in vars(self).items():
|
14253
|
+
property_name = name[1:]
|
14254
|
+
if property_name in memeber_set:
|
14255
|
+
memeber_set.remove(property_name)
|
14256
|
+
if len(memeber_set) > 0:
|
14257
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14258
|
+
|
14259
|
+
|
14260
|
+
|
14261
|
+
class InvoiceSealInfo(AbstractModel):
|
14262
|
+
"""印章信息
|
14263
|
+
|
14264
|
+
"""
|
14265
|
+
|
14266
|
+
def __init__(self):
|
14267
|
+
r"""
|
14268
|
+
:param _CompanySealMark: 是否有公司印章(0:没有,1:有)
|
14269
|
+
:type CompanySealMark: str
|
14270
|
+
:param _SupervisionSealMark: 是否有监制印章(0:没有,1:有)
|
14271
|
+
:type SupervisionSealMark: str
|
14272
|
+
:param _CompanySealMarkInfo: 公司印章信息
|
14273
|
+
:type CompanySealMarkInfo: list of str
|
14274
|
+
:param _SupervisionSealMarkInfo: 监制印章信息
|
14275
|
+
:type SupervisionSealMarkInfo: list of str
|
14276
|
+
"""
|
14277
|
+
self._CompanySealMark = None
|
14278
|
+
self._SupervisionSealMark = None
|
14279
|
+
self._CompanySealMarkInfo = None
|
14280
|
+
self._SupervisionSealMarkInfo = None
|
14281
|
+
|
14282
|
+
@property
|
14283
|
+
def CompanySealMark(self):
|
14284
|
+
"""是否有公司印章(0:没有,1:有)
|
14285
|
+
:rtype: str
|
14286
|
+
"""
|
14287
|
+
return self._CompanySealMark
|
14288
|
+
|
14289
|
+
@CompanySealMark.setter
|
14290
|
+
def CompanySealMark(self, CompanySealMark):
|
14291
|
+
self._CompanySealMark = CompanySealMark
|
14292
|
+
|
14293
|
+
@property
|
14294
|
+
def SupervisionSealMark(self):
|
14295
|
+
"""是否有监制印章(0:没有,1:有)
|
14296
|
+
:rtype: str
|
14297
|
+
"""
|
14298
|
+
return self._SupervisionSealMark
|
14299
|
+
|
14300
|
+
@SupervisionSealMark.setter
|
14301
|
+
def SupervisionSealMark(self, SupervisionSealMark):
|
14302
|
+
self._SupervisionSealMark = SupervisionSealMark
|
14303
|
+
|
14304
|
+
@property
|
14305
|
+
def CompanySealMarkInfo(self):
|
14306
|
+
"""公司印章信息
|
14307
|
+
:rtype: list of str
|
14308
|
+
"""
|
14309
|
+
return self._CompanySealMarkInfo
|
14310
|
+
|
14311
|
+
@CompanySealMarkInfo.setter
|
14312
|
+
def CompanySealMarkInfo(self, CompanySealMarkInfo):
|
14313
|
+
self._CompanySealMarkInfo = CompanySealMarkInfo
|
14314
|
+
|
14315
|
+
@property
|
14316
|
+
def SupervisionSealMarkInfo(self):
|
14317
|
+
"""监制印章信息
|
14318
|
+
:rtype: list of str
|
14319
|
+
"""
|
14320
|
+
return self._SupervisionSealMarkInfo
|
14321
|
+
|
14322
|
+
@SupervisionSealMarkInfo.setter
|
14323
|
+
def SupervisionSealMarkInfo(self, SupervisionSealMarkInfo):
|
14324
|
+
self._SupervisionSealMarkInfo = SupervisionSealMarkInfo
|
14325
|
+
|
14326
|
+
|
14327
|
+
def _deserialize(self, params):
|
14328
|
+
self._CompanySealMark = params.get("CompanySealMark")
|
14329
|
+
self._SupervisionSealMark = params.get("SupervisionSealMark")
|
14330
|
+
self._CompanySealMarkInfo = params.get("CompanySealMarkInfo")
|
14331
|
+
self._SupervisionSealMarkInfo = params.get("SupervisionSealMarkInfo")
|
14242
14332
|
memeber_set = set(params.keys())
|
14243
14333
|
for name, value in vars(self).items():
|
14244
14334
|
property_name = name[1:]
|
@@ -16140,7 +16230,9 @@ class MainlandPermitOCRRequest(AbstractModel):
|
|
16140
16230
|
:param _RetProfile: 是否返回头像。默认不返回。
|
16141
16231
|
:type RetProfile: bool
|
16142
16232
|
:param _CardSide: 图片正反面
|
16143
|
-
FRONT
|
16233
|
+
FRONT:正面
|
16234
|
+
BACK:反面
|
16235
|
+
默认为FRONT
|
16144
16236
|
:type CardSide: str
|
16145
16237
|
"""
|
16146
16238
|
self._ImageBase64 = None
|
@@ -16191,7 +16283,9 @@ FRONT:正面、BACK:反面,默认为FRONT
|
|
16191
16283
|
@property
|
16192
16284
|
def CardSide(self):
|
16193
16285
|
"""图片正反面
|
16194
|
-
FRONT
|
16286
|
+
FRONT:正面
|
16287
|
+
BACK:反面
|
16288
|
+
默认为FRONT
|
16195
16289
|
:rtype: str
|
16196
16290
|
"""
|
16197
16291
|
return self._CardSide
|
@@ -16241,7 +16335,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
16241
16335
|
:type IssueAddress: str
|
16242
16336
|
:param _IssueNumber: 签发次数
|
16243
16337
|
:type IssueNumber: str
|
16244
|
-
:param _Type: 证件类别,
|
16338
|
+
:param _Type: 证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。
|
16245
16339
|
:type Type: str
|
16246
16340
|
:param _Profile: RetProfile为True时返回头像字段, Base64编码
|
16247
16341
|
:type Profile: str
|
@@ -16368,7 +16462,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
16368
16462
|
|
16369
16463
|
@property
|
16370
16464
|
def Type(self):
|
16371
|
-
"""证件类别,
|
16465
|
+
"""证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。
|
16372
16466
|
:rtype: str
|
16373
16467
|
"""
|
16374
16468
|
return self._Type
|
@@ -23884,6 +23978,8 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
23884
23978
|
:type EnableItemPolygon: bool
|
23885
23979
|
:param _EnableQRCode: 是否开启二维码识别。
|
23886
23980
|
:type EnableQRCode: bool
|
23981
|
+
:param _EnableSeal: 是否开启印章识别,默认为false
|
23982
|
+
:type EnableSeal: bool
|
23887
23983
|
"""
|
23888
23984
|
self._ImageBase64 = None
|
23889
23985
|
self._ImageUrl = None
|
@@ -23895,6 +23991,7 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
23895
23991
|
self._EnableCutImage = None
|
23896
23992
|
self._EnableItemPolygon = None
|
23897
23993
|
self._EnableQRCode = None
|
23994
|
+
self._EnableSeal = None
|
23898
23995
|
|
23899
23996
|
@property
|
23900
23997
|
def ImageBase64(self):
|
@@ -24030,6 +24127,17 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24030
24127
|
def EnableQRCode(self, EnableQRCode):
|
24031
24128
|
self._EnableQRCode = EnableQRCode
|
24032
24129
|
|
24130
|
+
@property
|
24131
|
+
def EnableSeal(self):
|
24132
|
+
"""是否开启印章识别,默认为false
|
24133
|
+
:rtype: bool
|
24134
|
+
"""
|
24135
|
+
return self._EnableSeal
|
24136
|
+
|
24137
|
+
@EnableSeal.setter
|
24138
|
+
def EnableSeal(self, EnableSeal):
|
24139
|
+
self._EnableSeal = EnableSeal
|
24140
|
+
|
24033
24141
|
|
24034
24142
|
def _deserialize(self, params):
|
24035
24143
|
self._ImageBase64 = params.get("ImageBase64")
|
@@ -24042,6 +24150,7 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24042
24150
|
self._EnableCutImage = params.get("EnableCutImage")
|
24043
24151
|
self._EnableItemPolygon = params.get("EnableItemPolygon")
|
24044
24152
|
self._EnableQRCode = params.get("EnableQRCode")
|
24153
|
+
self._EnableSeal = params.get("EnableSeal")
|
24045
24154
|
memeber_set = set(params.keys())
|
24046
24155
|
for name, value in vars(self).items():
|
24047
24156
|
property_name = name[1:]
|
@@ -29881,6 +29990,8 @@ DispatchWeightNote -- 磅单发货单识别模板
|
|
29881
29990
|
ReceiptWeightNote -- 磅单收货单识别模板
|
29882
29991
|
ArticalRecognize -- 手写作文模版
|
29883
29992
|
Table -- 表格模版
|
29993
|
+
SteelLabel -- 实物标签识别模板
|
29994
|
+
CarInsurance -- 车辆保险单识别模板
|
29884
29995
|
:type ConfigId: str
|
29885
29996
|
:param _EnableCoord: 是否开启全文字段坐标值的识别
|
29886
29997
|
:type EnableCoord: bool
|
@@ -29987,6 +30098,8 @@ DispatchWeightNote -- 磅单发货单识别模板
|
|
29987
30098
|
ReceiptWeightNote -- 磅单收货单识别模板
|
29988
30099
|
ArticalRecognize -- 手写作文模版
|
29989
30100
|
Table -- 表格模版
|
30101
|
+
SteelLabel -- 实物标签识别模板
|
30102
|
+
CarInsurance -- 车辆保险单识别模板
|
29990
30103
|
:rtype: str
|
29991
30104
|
"""
|
29992
30105
|
return self._ConfigId
|
@@ -1184,7 +1184,7 @@ class OcrClient(AbstractClient):
|
|
1184
1184
|
|
1185
1185
|
|
1186
1186
|
def MainlandPermitOCR(self, request):
|
1187
|
-
"""
|
1187
|
+
"""智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
1188
1188
|
|
1189
1189
|
默认接口请求频率限制:20次/秒。
|
1190
1190
|
|
@@ -2830,6 +2830,8 @@ class AddAssetImageRegistryRegistryDetailRequest(AbstractModel):
|
|
2830
2830
|
:type WebhookUrl: str
|
2831
2831
|
:param _WebhookToken: webhook接入token
|
2832
2832
|
:type WebhookToken: str
|
2833
|
+
:param _InstanceId: tcr实例ID
|
2834
|
+
:type InstanceId: str
|
2833
2835
|
"""
|
2834
2836
|
self._Name = None
|
2835
2837
|
self._Username = None
|
@@ -2846,6 +2848,7 @@ class AddAssetImageRegistryRegistryDetailRequest(AbstractModel):
|
|
2846
2848
|
self._SyncMode = None
|
2847
2849
|
self._WebhookUrl = None
|
2848
2850
|
self._WebhookToken = None
|
2851
|
+
self._InstanceId = None
|
2849
2852
|
|
2850
2853
|
@property
|
2851
2854
|
def Name(self):
|
@@ -3012,6 +3015,17 @@ class AddAssetImageRegistryRegistryDetailRequest(AbstractModel):
|
|
3012
3015
|
def WebhookToken(self, WebhookToken):
|
3013
3016
|
self._WebhookToken = WebhookToken
|
3014
3017
|
|
3018
|
+
@property
|
3019
|
+
def InstanceId(self):
|
3020
|
+
"""tcr实例ID
|
3021
|
+
:rtype: str
|
3022
|
+
"""
|
3023
|
+
return self._InstanceId
|
3024
|
+
|
3025
|
+
@InstanceId.setter
|
3026
|
+
def InstanceId(self, InstanceId):
|
3027
|
+
self._InstanceId = InstanceId
|
3028
|
+
|
3015
3029
|
|
3016
3030
|
def _deserialize(self, params):
|
3017
3031
|
self._Name = params.get("Name")
|
@@ -3034,6 +3048,7 @@ class AddAssetImageRegistryRegistryDetailRequest(AbstractModel):
|
|
3034
3048
|
self._SyncMode = params.get("SyncMode")
|
3035
3049
|
self._WebhookUrl = params.get("WebhookUrl")
|
3036
3050
|
self._WebhookToken = params.get("WebhookToken")
|
3051
|
+
self._InstanceId = params.get("InstanceId")
|
3037
3052
|
memeber_set = set(params.keys())
|
3038
3053
|
for name, value in vars(self).items():
|
3039
3054
|
property_name = name[1:]
|
@@ -61499,17 +61514,26 @@ class ModifyAssetRequest(AbstractModel):
|
|
61499
61514
|
|
61500
61515
|
def __init__(self):
|
61501
61516
|
r"""
|
61502
|
-
:param _All:
|
61517
|
+
:param _All: 同步全部普通节点
|
61503
61518
|
:type All: bool
|
61504
|
-
:param _Hosts: 要同步的主机列表uuid
|
61519
|
+
:param _Hosts: 要同步的主机列表uuid
|
61505
61520
|
:type Hosts: list of str
|
61521
|
+
:param _AllSuperHost: 同步全部超级节点
|
61522
|
+
:type AllSuperHost: bool
|
61523
|
+
:param _NodeUniqueIds: 要同步的超级节点唯一id
|
61524
|
+
:type NodeUniqueIds: list of str
|
61525
|
+
:param _TimeoutSec: 超时时间(秒) 最低3600s
|
61526
|
+
:type TimeoutSec: int
|
61506
61527
|
"""
|
61507
61528
|
self._All = None
|
61508
61529
|
self._Hosts = None
|
61530
|
+
self._AllSuperHost = None
|
61531
|
+
self._NodeUniqueIds = None
|
61532
|
+
self._TimeoutSec = None
|
61509
61533
|
|
61510
61534
|
@property
|
61511
61535
|
def All(self):
|
61512
|
-
"""
|
61536
|
+
"""同步全部普通节点
|
61513
61537
|
:rtype: bool
|
61514
61538
|
"""
|
61515
61539
|
return self._All
|
@@ -61520,7 +61544,7 @@ class ModifyAssetRequest(AbstractModel):
|
|
61520
61544
|
|
61521
61545
|
@property
|
61522
61546
|
def Hosts(self):
|
61523
|
-
"""要同步的主机列表uuid
|
61547
|
+
"""要同步的主机列表uuid
|
61524
61548
|
:rtype: list of str
|
61525
61549
|
"""
|
61526
61550
|
return self._Hosts
|
@@ -61529,10 +61553,46 @@ class ModifyAssetRequest(AbstractModel):
|
|
61529
61553
|
def Hosts(self, Hosts):
|
61530
61554
|
self._Hosts = Hosts
|
61531
61555
|
|
61556
|
+
@property
|
61557
|
+
def AllSuperHost(self):
|
61558
|
+
"""同步全部超级节点
|
61559
|
+
:rtype: bool
|
61560
|
+
"""
|
61561
|
+
return self._AllSuperHost
|
61562
|
+
|
61563
|
+
@AllSuperHost.setter
|
61564
|
+
def AllSuperHost(self, AllSuperHost):
|
61565
|
+
self._AllSuperHost = AllSuperHost
|
61566
|
+
|
61567
|
+
@property
|
61568
|
+
def NodeUniqueIds(self):
|
61569
|
+
"""要同步的超级节点唯一id
|
61570
|
+
:rtype: list of str
|
61571
|
+
"""
|
61572
|
+
return self._NodeUniqueIds
|
61573
|
+
|
61574
|
+
@NodeUniqueIds.setter
|
61575
|
+
def NodeUniqueIds(self, NodeUniqueIds):
|
61576
|
+
self._NodeUniqueIds = NodeUniqueIds
|
61577
|
+
|
61578
|
+
@property
|
61579
|
+
def TimeoutSec(self):
|
61580
|
+
"""超时时间(秒) 最低3600s
|
61581
|
+
:rtype: int
|
61582
|
+
"""
|
61583
|
+
return self._TimeoutSec
|
61584
|
+
|
61585
|
+
@TimeoutSec.setter
|
61586
|
+
def TimeoutSec(self, TimeoutSec):
|
61587
|
+
self._TimeoutSec = TimeoutSec
|
61588
|
+
|
61532
61589
|
|
61533
61590
|
def _deserialize(self, params):
|
61534
61591
|
self._All = params.get("All")
|
61535
61592
|
self._Hosts = params.get("Hosts")
|
61593
|
+
self._AllSuperHost = params.get("AllSuperHost")
|
61594
|
+
self._NodeUniqueIds = params.get("NodeUniqueIds")
|
61595
|
+
self._TimeoutSec = params.get("TimeoutSec")
|
61536
61596
|
memeber_set = set(params.keys())
|
61537
61597
|
for name, value in vars(self).items():
|
61538
61598
|
property_name = name[1:]
|
@@ -61552,10 +61612,13 @@ class ModifyAssetResponse(AbstractModel):
|
|
61552
61612
|
r"""
|
61553
61613
|
:param _Status: 同步任务发送结果
|
61554
61614
|
:type Status: str
|
61615
|
+
:param _TaskId: 任务id
|
61616
|
+
:type TaskId: int
|
61555
61617
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
61556
61618
|
:type RequestId: str
|
61557
61619
|
"""
|
61558
61620
|
self._Status = None
|
61621
|
+
self._TaskId = None
|
61559
61622
|
self._RequestId = None
|
61560
61623
|
|
61561
61624
|
@property
|
@@ -61569,6 +61632,17 @@ class ModifyAssetResponse(AbstractModel):
|
|
61569
61632
|
def Status(self, Status):
|
61570
61633
|
self._Status = Status
|
61571
61634
|
|
61635
|
+
@property
|
61636
|
+
def TaskId(self):
|
61637
|
+
"""任务id
|
61638
|
+
:rtype: int
|
61639
|
+
"""
|
61640
|
+
return self._TaskId
|
61641
|
+
|
61642
|
+
@TaskId.setter
|
61643
|
+
def TaskId(self, TaskId):
|
61644
|
+
self._TaskId = TaskId
|
61645
|
+
|
61572
61646
|
@property
|
61573
61647
|
def RequestId(self):
|
61574
61648
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -61583,6 +61657,7 @@ class ModifyAssetResponse(AbstractModel):
|
|
61583
61657
|
|
61584
61658
|
def _deserialize(self, params):
|
61585
61659
|
self._Status = params.get("Status")
|
61660
|
+
self._TaskId = params.get("TaskId")
|
61586
61661
|
self._RequestId = params.get("RequestId")
|
61587
61662
|
|
61588
61663
|
|
@@ -74195,6 +74270,8 @@ class UpdateAssetImageRegistryRegistryDetailRequest(AbstractModel):
|
|
74195
74270
|
:type SyncMode: int
|
74196
74271
|
:param _NeedScan: 是否自动授权&扫描,选择增量同步时参数生效,包含所有新增镜像
|
74197
74272
|
:type NeedScan: bool
|
74273
|
+
:param _InstanceId: tcr实例ID
|
74274
|
+
:type InstanceId: str
|
74198
74275
|
"""
|
74199
74276
|
self._Name = None
|
74200
74277
|
self._Username = None
|
@@ -74210,6 +74287,7 @@ class UpdateAssetImageRegistryRegistryDetailRequest(AbstractModel):
|
|
74210
74287
|
self._RegistryId = None
|
74211
74288
|
self._SyncMode = None
|
74212
74289
|
self._NeedScan = None
|
74290
|
+
self._InstanceId = None
|
74213
74291
|
|
74214
74292
|
@property
|
74215
74293
|
def Name(self):
|
@@ -74365,6 +74443,17 @@ class UpdateAssetImageRegistryRegistryDetailRequest(AbstractModel):
|
|
74365
74443
|
def NeedScan(self, NeedScan):
|
74366
74444
|
self._NeedScan = NeedScan
|
74367
74445
|
|
74446
|
+
@property
|
74447
|
+
def InstanceId(self):
|
74448
|
+
"""tcr实例ID
|
74449
|
+
:rtype: str
|
74450
|
+
"""
|
74451
|
+
return self._InstanceId
|
74452
|
+
|
74453
|
+
@InstanceId.setter
|
74454
|
+
def InstanceId(self, InstanceId):
|
74455
|
+
self._InstanceId = InstanceId
|
74456
|
+
|
74368
74457
|
|
74369
74458
|
def _deserialize(self, params):
|
74370
74459
|
self._Name = params.get("Name")
|
@@ -74386,6 +74475,7 @@ class UpdateAssetImageRegistryRegistryDetailRequest(AbstractModel):
|
|
74386
74475
|
self._RegistryId = params.get("RegistryId")
|
74387
74476
|
self._SyncMode = params.get("SyncMode")
|
74388
74477
|
self._NeedScan = params.get("NeedScan")
|
74478
|
+
self._InstanceId = params.get("InstanceId")
|
74389
74479
|
memeber_set = set(params.keys())
|
74390
74480
|
for name, value in vars(self).items():
|
74391
74481
|
property_name = name[1:]
|
@@ -110,6 +110,9 @@ INTERNALERROR_DESCRIBESERVICELISTERROR = 'InternalError.DescribeServiceListError
|
|
110
110
|
# 修改配置失败。
|
111
111
|
INTERNALERROR_MODIFYCONFIGDATAERROR = 'InternalError.ModifyConfigDataError'
|
112
112
|
|
113
|
+
# 修改网关的转发配置失败。
|
114
|
+
INTERNALERROR_MODIFYGATEWAYINGRESSERROR = 'InternalError.ModifyGatewayIngressError'
|
115
|
+
|
113
116
|
# 修改 LogConfig 错误。
|
114
117
|
INTERNALERROR_MODIFYLOGCONFIGERROR = 'InternalError.ModifyLogConfigError'
|
115
118
|
|
@@ -209,6 +212,9 @@ INVALIDPARAMETERVALUE_HPATHRESHOLDINVALID = 'InvalidParameterValue.HpaThresholdI
|
|
209
212
|
# 访问配置重定向需要启用 HTTPS。
|
210
213
|
INVALIDPARAMETERVALUE_INGRESSREWRITEREQUIREDHTTPSENABLE = 'InvalidParameterValue.IngressRewriteRequiredHttpsEnable'
|
211
214
|
|
215
|
+
# 自动重定向规则冲突,请检查是否存在同一个path的http/https转发。
|
216
|
+
INVALIDPARAMETERVALUE_INGRESSRULESCONFLICT = 'InvalidParameterValue.IngressRulesConflict'
|
217
|
+
|
212
218
|
# 无效的定时伸缩周期。
|
213
219
|
INVALIDPARAMETERVALUE_INVALIDCRONSCALERPERIOD = 'InvalidParameterValue.InvalidCronScalerPeriod'
|
214
220
|
|