tencentcloud-sdk-python 3.0.1456__py2.py3-none-any.whl → 3.0.1458__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 +15 -0
- tencentcloud/asr/v20190614/models.py +4 -2
- tencentcloud/bh/v20230418/models.py +15 -0
- tencentcloud/ccc/v20200210/ccc_client.py +46 -0
- tencentcloud/ccc/v20200210/models.py +927 -53
- tencentcloud/cdwpg/v20201230/models.py +30 -0
- tencentcloud/ckafka/v20190819/models.py +98 -90
- tencentcloud/cls/v20201016/models.py +20 -12
- tencentcloud/csip/v20221121/models.py +79 -4
- tencentcloud/dlc/v20210125/models.py +619 -0
- tencentcloud/dnspod/v20210323/models.py +15 -0
- tencentcloud/es/v20180416/errorcodes.py +6 -0
- tencentcloud/faceid/v20180301/models.py +19 -0
- tencentcloud/gs/v20191118/gs_client.py +23 -0
- tencentcloud/gs/v20191118/models.py +64 -0
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1723 -169
- tencentcloud/iotexplorer/v20190423/models.py +240 -0
- tencentcloud/lke/v20231130/models.py +66 -4
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +79 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +33 -16
- tencentcloud/omics/v20221128/errorcodes.py +9 -0
- tencentcloud/omics/v20221128/models.py +300 -11
- tencentcloud/redis/v20180412/models.py +193 -50
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/tcaplusdb/v20190823/models.py +30 -0
- tencentcloud/tione/v20211111/models.py +85 -0
- tencentcloud/trtc/v20190722/models.py +157 -0
- tencentcloud/vdb/v20230616/models.py +2 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +45 -0
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/top_level.txt +0 -0
|
@@ -10615,7 +10615,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
|
10615
10615
|
:type ImageUrl: str
|
|
10616
10616
|
:param _IsWords: 是否返回单字信息,默认关
|
|
10617
10617
|
:type IsWords: bool
|
|
10618
|
-
:param _EnableDetectSplit:
|
|
10618
|
+
:param _EnableDetectSplit: 是否开启原图切图检测功能,开启后可提升“整图面积大,但单字符占比面积小”(例如:试卷)场景下的识别效果,默认关,注:仅ConfigID配置为OCR时支持。
|
|
10619
10619
|
:type EnableDetectSplit: bool
|
|
10620
10620
|
:param _IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
|
10621
10621
|
:type IsPdf: bool
|
|
@@ -10623,7 +10623,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
|
10623
10623
|
:type PdfPageNumber: int
|
|
10624
10624
|
:param _EnableDetectText: 文本检测开关,默认为true。设置为false可直接进行单行识别,适用于仅包含正向单行文本的图片场景。
|
|
10625
10625
|
:type EnableDetectText: bool
|
|
10626
|
-
:param _ConfigID: 配置ID支持: OCR -- 通用场景 MulOCR
|
|
10626
|
+
:param _ConfigID: 配置ID支持: OCR -- 通用场景 MulOCR--多语种场景,注:仅ConfigID配置为OCR时支持
|
|
10627
10627
|
:type ConfigID: str
|
|
10628
10628
|
"""
|
|
10629
10629
|
self._ImageBase64 = None
|
|
@@ -10670,7 +10670,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
|
10670
10670
|
|
|
10671
10671
|
@property
|
|
10672
10672
|
def EnableDetectSplit(self):
|
|
10673
|
-
"""
|
|
10673
|
+
"""是否开启原图切图检测功能,开启后可提升“整图面积大,但单字符占比面积小”(例如:试卷)场景下的识别效果,默认关,注:仅ConfigID配置为OCR时支持。
|
|
10674
10674
|
:rtype: bool
|
|
10675
10675
|
"""
|
|
10676
10676
|
return self._EnableDetectSplit
|
|
@@ -10714,7 +10714,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
|
10714
10714
|
|
|
10715
10715
|
@property
|
|
10716
10716
|
def ConfigID(self):
|
|
10717
|
-
"""配置ID支持: OCR -- 通用场景 MulOCR
|
|
10717
|
+
"""配置ID支持: OCR -- 通用场景 MulOCR--多语种场景,注:仅ConfigID配置为OCR时支持
|
|
10718
10718
|
:rtype: str
|
|
10719
10719
|
"""
|
|
10720
10720
|
return self._ConfigID
|
|
@@ -154,7 +154,8 @@ class OcrClient(AbstractClient):
|
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
def BusInvoiceOCR(self, request):
|
|
157
|
-
"""
|
|
157
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
158
|
+
本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
|
|
158
159
|
|
|
159
160
|
默认接口请求频率限制:5次/秒。
|
|
160
161
|
|
|
@@ -311,7 +312,8 @@ class OcrClient(AbstractClient):
|
|
|
311
312
|
|
|
312
313
|
|
|
313
314
|
def DutyPaidProofOCR(self, request):
|
|
314
|
-
"""
|
|
315
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
316
|
+
本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
|
|
315
317
|
|
|
316
318
|
默认接口请求频率限制:5次/秒。
|
|
317
319
|
|
|
@@ -515,7 +517,8 @@ class OcrClient(AbstractClient):
|
|
|
515
517
|
|
|
516
518
|
|
|
517
519
|
def FinanBillOCR(self, request):
|
|
518
|
-
"""
|
|
520
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
521
|
+
本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
|
519
522
|
|
|
520
523
|
默认接口请求频率限制:5次/秒。
|
|
521
524
|
|
|
@@ -540,7 +543,8 @@ class OcrClient(AbstractClient):
|
|
|
540
543
|
|
|
541
544
|
|
|
542
545
|
def FinanBillSliceOCR(self, request):
|
|
543
|
-
"""
|
|
546
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
547
|
+
本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
|
|
544
548
|
|
|
545
549
|
默认接口请求频率限制:5次/秒。
|
|
546
550
|
|
|
@@ -565,7 +569,8 @@ class OcrClient(AbstractClient):
|
|
|
565
569
|
|
|
566
570
|
|
|
567
571
|
def FlightInvoiceOCR(self, request):
|
|
568
|
-
"""
|
|
572
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
573
|
+
本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
|
|
569
574
|
|
|
570
575
|
默认接口请求频率限制:5次/秒。
|
|
571
576
|
|
|
@@ -1121,7 +1126,8 @@ class OcrClient(AbstractClient):
|
|
|
1121
1126
|
|
|
1122
1127
|
|
|
1123
1128
|
def InstitutionOCR(self, request):
|
|
1124
|
-
"""
|
|
1129
|
+
"""<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
|
|
1130
|
+
本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
|
1125
1131
|
|
|
1126
1132
|
默认接口请求频率限制:5次/秒。
|
|
1127
1133
|
|
|
@@ -1171,7 +1177,8 @@ class OcrClient(AbstractClient):
|
|
|
1171
1177
|
|
|
1172
1178
|
|
|
1173
1179
|
def InvoiceGeneralOCR(self, request):
|
|
1174
|
-
"""
|
|
1180
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
1181
|
+
本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
|
|
1175
1182
|
|
|
1176
1183
|
默认接口请求频率限制:5次/秒。
|
|
1177
1184
|
|
|
@@ -1345,7 +1352,8 @@ class OcrClient(AbstractClient):
|
|
|
1345
1352
|
|
|
1346
1353
|
|
|
1347
1354
|
def OrgCodeCertOCR(self, request):
|
|
1348
|
-
"""
|
|
1355
|
+
"""<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
|
|
1356
|
+
本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
|
|
1349
1357
|
|
|
1350
1358
|
默认接口请求频率限制:5次/秒。
|
|
1351
1359
|
|
|
@@ -1370,7 +1378,9 @@ class OcrClient(AbstractClient):
|
|
|
1370
1378
|
|
|
1371
1379
|
|
|
1372
1380
|
def PassportOCR(self, request):
|
|
1373
|
-
"""
|
|
1381
|
+
"""<b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
|
|
1382
|
+
|
|
1383
|
+
本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
1374
1384
|
|
|
1375
1385
|
默认接口请求频率限制:10次/秒。
|
|
1376
1386
|
|
|
@@ -1420,7 +1430,8 @@ class OcrClient(AbstractClient):
|
|
|
1420
1430
|
|
|
1421
1431
|
|
|
1422
1432
|
def PropOwnerCertOCR(self, request):
|
|
1423
|
-
"""
|
|
1433
|
+
"""<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
|
|
1434
|
+
本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
|
|
1424
1435
|
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
|
1425
1436
|
|
|
1426
1437
|
默认接口请求频率限制:5次/秒。
|
|
@@ -1521,7 +1532,8 @@ class OcrClient(AbstractClient):
|
|
|
1521
1532
|
|
|
1522
1533
|
|
|
1523
1534
|
def QuotaInvoiceOCR(self, request):
|
|
1524
|
-
"""
|
|
1535
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
1536
|
+
本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
|
1525
1537
|
|
|
1526
1538
|
默认接口请求频率限制:5次/秒。
|
|
1527
1539
|
|
|
@@ -1644,7 +1656,8 @@ class OcrClient(AbstractClient):
|
|
|
1644
1656
|
|
|
1645
1657
|
|
|
1646
1658
|
def RecognizeForeignPermanentResidentIdCard(self, request):
|
|
1647
|
-
"""
|
|
1659
|
+
"""<b>因技术原因,本接口将不再迭代升级。有效身份证件识别(鉴伪版)可支持此类证件的识别,并包含质量和PS告警,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/112345">有效身份证件识别(鉴伪版)</a>。</b>
|
|
1660
|
+
外国人永久居留身份证识别
|
|
1648
1661
|
|
|
1649
1662
|
:param request: Request instance for RecognizeForeignPermanentResidentIdCard.
|
|
1650
1663
|
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeForeignPermanentResidentIdCardRequest`
|
|
@@ -1941,7 +1954,8 @@ class OcrClient(AbstractClient):
|
|
|
1941
1954
|
|
|
1942
1955
|
|
|
1943
1956
|
def RecognizeGeneralTextImageWarn(self, request):
|
|
1944
|
-
"""
|
|
1957
|
+
"""<b>因技术原因,本接口将不再迭代升级。通用卡证鉴伪可支持更多告警类型,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/115916">通用卡证鉴伪</a>。</b>
|
|
1958
|
+
本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
|
1945
1959
|
|
|
1946
1960
|
:param request: Request instance for RecognizeGeneralTextImageWarn.
|
|
1947
1961
|
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeGeneralTextImageWarnRequest`
|
|
@@ -2314,7 +2328,8 @@ class OcrClient(AbstractClient):
|
|
|
2314
2328
|
|
|
2315
2329
|
|
|
2316
2330
|
def ShipInvoiceOCR(self, request):
|
|
2317
|
-
"""
|
|
2331
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
2332
|
+
本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
|
|
2318
2333
|
|
|
2319
2334
|
默认接口请求频率限制:5次/秒。
|
|
2320
2335
|
|
|
@@ -2441,7 +2456,8 @@ class OcrClient(AbstractClient):
|
|
|
2441
2456
|
|
|
2442
2457
|
|
|
2443
2458
|
def TollInvoiceOCR(self, request):
|
|
2444
|
-
"""
|
|
2459
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
2460
|
+
本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
|
|
2445
2461
|
|
|
2446
2462
|
默认接口请求频率限制:5次/秒。
|
|
2447
2463
|
|
|
@@ -2541,7 +2557,8 @@ class OcrClient(AbstractClient):
|
|
|
2541
2557
|
|
|
2542
2558
|
|
|
2543
2559
|
def VatRollInvoiceOCR(self, request):
|
|
2544
|
-
"""
|
|
2560
|
+
"""<b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
2561
|
+
本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
|
|
2545
2562
|
|
|
2546
2563
|
默认接口请求频率限制:5次/秒。
|
|
2547
2564
|
|
|
@@ -23,6 +23,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
|
23
23
|
# 表格表头重复
|
|
24
24
|
FAILEDOPERATION_DUPLICATETABLEHEADER = 'FailedOperation.DuplicateTableHeader'
|
|
25
25
|
|
|
26
|
+
# 邮件数量超出限制
|
|
27
|
+
FAILEDOPERATION_EMAILCOUNTLIMITEXCEEDED = 'FailedOperation.EmailCountLimitExceeded'
|
|
28
|
+
|
|
26
29
|
# 表格表头为空
|
|
27
30
|
FAILEDOPERATION_EMPTYTABLEHEADER = 'FailedOperation.EmptyTableHeader'
|
|
28
31
|
|
|
@@ -74,6 +77,9 @@ INVALIDPARAMETERVALUE_INVALIDCSVFORMAT = 'InvalidParameterValue.InvalidCsvFormat
|
|
|
74
77
|
# 描述错误
|
|
75
78
|
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = 'InvalidParameterValue.InvalidDescription'
|
|
76
79
|
|
|
80
|
+
# 邮箱格式错误
|
|
81
|
+
INVALIDPARAMETERVALUE_INVALIDEMAILFORMAT = 'InvalidParameterValue.InvalidEmailFormat'
|
|
82
|
+
|
|
77
83
|
# 输入JSON格式错误
|
|
78
84
|
INVALIDPARAMETERVALUE_INVALIDINPUTJSONFORMAT = 'InvalidParameterValue.InvalidInputJsonFormat'
|
|
79
85
|
|
|
@@ -86,6 +92,9 @@ INVALIDPARAMETERVALUE_INVALIDNAME = 'InvalidParameterValue.InvalidName'
|
|
|
86
92
|
# 运行参数错误
|
|
87
93
|
INVALIDPARAMETERVALUE_INVALIDRUNOPTION = 'InvalidParameterValue.InvalidRunOption'
|
|
88
94
|
|
|
95
|
+
# 超时分钟数无效
|
|
96
|
+
INVALIDPARAMETERVALUE_INVALIDTIMEOUTMINUTES = 'InvalidParameterValue.InvalidTimeoutMinutes'
|
|
97
|
+
|
|
89
98
|
# 表格数据与类型长度不匹配
|
|
90
99
|
INVALIDPARAMETERVALUE_TABLEDATATYPELENGTHMISMATCH = 'InvalidParameterValue.TableDataTypeLengthMismatch'
|
|
91
100
|
|
|
@@ -3437,6 +3437,72 @@ class NFOption(AbstractModel):
|
|
|
3437
3437
|
|
|
3438
3438
|
|
|
3439
3439
|
|
|
3440
|
+
class NotificationType(AbstractModel):
|
|
3441
|
+
"""通知类型
|
|
3442
|
+
|
|
3443
|
+
"""
|
|
3444
|
+
|
|
3445
|
+
def __init__(self):
|
|
3446
|
+
r"""
|
|
3447
|
+
:param _StationMessage: 腾讯健康组学平台站点信息。
|
|
3448
|
+
:type StationMessage: bool
|
|
3449
|
+
:param _Email: 邮箱列表。
|
|
3450
|
+
:type Email: list of str
|
|
3451
|
+
:param _CurrentUserEmail: 当前用户邮箱。
|
|
3452
|
+
:type CurrentUserEmail: bool
|
|
3453
|
+
"""
|
|
3454
|
+
self._StationMessage = None
|
|
3455
|
+
self._Email = None
|
|
3456
|
+
self._CurrentUserEmail = None
|
|
3457
|
+
|
|
3458
|
+
@property
|
|
3459
|
+
def StationMessage(self):
|
|
3460
|
+
"""腾讯健康组学平台站点信息。
|
|
3461
|
+
:rtype: bool
|
|
3462
|
+
"""
|
|
3463
|
+
return self._StationMessage
|
|
3464
|
+
|
|
3465
|
+
@StationMessage.setter
|
|
3466
|
+
def StationMessage(self, StationMessage):
|
|
3467
|
+
self._StationMessage = StationMessage
|
|
3468
|
+
|
|
3469
|
+
@property
|
|
3470
|
+
def Email(self):
|
|
3471
|
+
"""邮箱列表。
|
|
3472
|
+
:rtype: list of str
|
|
3473
|
+
"""
|
|
3474
|
+
return self._Email
|
|
3475
|
+
|
|
3476
|
+
@Email.setter
|
|
3477
|
+
def Email(self, Email):
|
|
3478
|
+
self._Email = Email
|
|
3479
|
+
|
|
3480
|
+
@property
|
|
3481
|
+
def CurrentUserEmail(self):
|
|
3482
|
+
"""当前用户邮箱。
|
|
3483
|
+
:rtype: bool
|
|
3484
|
+
"""
|
|
3485
|
+
return self._CurrentUserEmail
|
|
3486
|
+
|
|
3487
|
+
@CurrentUserEmail.setter
|
|
3488
|
+
def CurrentUserEmail(self, CurrentUserEmail):
|
|
3489
|
+
self._CurrentUserEmail = CurrentUserEmail
|
|
3490
|
+
|
|
3491
|
+
|
|
3492
|
+
def _deserialize(self, params):
|
|
3493
|
+
self._StationMessage = params.get("StationMessage")
|
|
3494
|
+
self._Email = params.get("Email")
|
|
3495
|
+
self._CurrentUserEmail = params.get("CurrentUserEmail")
|
|
3496
|
+
memeber_set = set(params.keys())
|
|
3497
|
+
for name, value in vars(self).items():
|
|
3498
|
+
property_name = name[1:]
|
|
3499
|
+
if property_name in memeber_set:
|
|
3500
|
+
memeber_set.remove(property_name)
|
|
3501
|
+
if len(memeber_set) > 0:
|
|
3502
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
|
|
3440
3506
|
class ResourceIds(AbstractModel):
|
|
3441
3507
|
"""云资源ID。
|
|
3442
3508
|
|
|
@@ -4137,6 +4203,14 @@ class RunApplicationRequest(AbstractModel):
|
|
|
4137
4203
|
:type AccessMode: str
|
|
4138
4204
|
:param _VolumeIds: 缓存卷ID,不填使用默认缓存卷,暂时仅支持Nextflow。
|
|
4139
4205
|
:type VolumeIds: list of str
|
|
4206
|
+
:param _ResultNotification: 是否开启结果通知。
|
|
4207
|
+
:type ResultNotification: bool
|
|
4208
|
+
:param _TimeoutNotification: 是否开启超时通知。
|
|
4209
|
+
:type TimeoutNotification: bool
|
|
4210
|
+
:param _TimeoutNotificationMinutes: 任务超时通知时间(单位:分钟),支持5到2880分钟。
|
|
4211
|
+
:type TimeoutNotificationMinutes: int
|
|
4212
|
+
:param _EmailForNotification: 接受通知邮件地址列表。
|
|
4213
|
+
:type EmailForNotification: list of str
|
|
4140
4214
|
"""
|
|
4141
4215
|
self._ApplicationId = None
|
|
4142
4216
|
self._Name = None
|
|
@@ -4154,6 +4228,10 @@ class RunApplicationRequest(AbstractModel):
|
|
|
4154
4228
|
self._WorkDir = None
|
|
4155
4229
|
self._AccessMode = None
|
|
4156
4230
|
self._VolumeIds = None
|
|
4231
|
+
self._ResultNotification = None
|
|
4232
|
+
self._TimeoutNotification = None
|
|
4233
|
+
self._TimeoutNotificationMinutes = None
|
|
4234
|
+
self._EmailForNotification = None
|
|
4157
4235
|
|
|
4158
4236
|
@property
|
|
4159
4237
|
def ApplicationId(self):
|
|
@@ -4333,6 +4411,50 @@ class RunApplicationRequest(AbstractModel):
|
|
|
4333
4411
|
def VolumeIds(self, VolumeIds):
|
|
4334
4412
|
self._VolumeIds = VolumeIds
|
|
4335
4413
|
|
|
4414
|
+
@property
|
|
4415
|
+
def ResultNotification(self):
|
|
4416
|
+
"""是否开启结果通知。
|
|
4417
|
+
:rtype: bool
|
|
4418
|
+
"""
|
|
4419
|
+
return self._ResultNotification
|
|
4420
|
+
|
|
4421
|
+
@ResultNotification.setter
|
|
4422
|
+
def ResultNotification(self, ResultNotification):
|
|
4423
|
+
self._ResultNotification = ResultNotification
|
|
4424
|
+
|
|
4425
|
+
@property
|
|
4426
|
+
def TimeoutNotification(self):
|
|
4427
|
+
"""是否开启超时通知。
|
|
4428
|
+
:rtype: bool
|
|
4429
|
+
"""
|
|
4430
|
+
return self._TimeoutNotification
|
|
4431
|
+
|
|
4432
|
+
@TimeoutNotification.setter
|
|
4433
|
+
def TimeoutNotification(self, TimeoutNotification):
|
|
4434
|
+
self._TimeoutNotification = TimeoutNotification
|
|
4435
|
+
|
|
4436
|
+
@property
|
|
4437
|
+
def TimeoutNotificationMinutes(self):
|
|
4438
|
+
"""任务超时通知时间(单位:分钟),支持5到2880分钟。
|
|
4439
|
+
:rtype: int
|
|
4440
|
+
"""
|
|
4441
|
+
return self._TimeoutNotificationMinutes
|
|
4442
|
+
|
|
4443
|
+
@TimeoutNotificationMinutes.setter
|
|
4444
|
+
def TimeoutNotificationMinutes(self, TimeoutNotificationMinutes):
|
|
4445
|
+
self._TimeoutNotificationMinutes = TimeoutNotificationMinutes
|
|
4446
|
+
|
|
4447
|
+
@property
|
|
4448
|
+
def EmailForNotification(self):
|
|
4449
|
+
"""接受通知邮件地址列表。
|
|
4450
|
+
:rtype: list of str
|
|
4451
|
+
"""
|
|
4452
|
+
return self._EmailForNotification
|
|
4453
|
+
|
|
4454
|
+
@EmailForNotification.setter
|
|
4455
|
+
def EmailForNotification(self, EmailForNotification):
|
|
4456
|
+
self._EmailForNotification = EmailForNotification
|
|
4457
|
+
|
|
4336
4458
|
|
|
4337
4459
|
def _deserialize(self, params):
|
|
4338
4460
|
self._ApplicationId = params.get("ApplicationId")
|
|
@@ -4355,6 +4477,10 @@ class RunApplicationRequest(AbstractModel):
|
|
|
4355
4477
|
self._WorkDir = params.get("WorkDir")
|
|
4356
4478
|
self._AccessMode = params.get("AccessMode")
|
|
4357
4479
|
self._VolumeIds = params.get("VolumeIds")
|
|
4480
|
+
self._ResultNotification = params.get("ResultNotification")
|
|
4481
|
+
self._TimeoutNotification = params.get("TimeoutNotification")
|
|
4482
|
+
self._TimeoutNotificationMinutes = params.get("TimeoutNotificationMinutes")
|
|
4483
|
+
self._EmailForNotification = params.get("EmailForNotification")
|
|
4358
4484
|
memeber_set = set(params.keys())
|
|
4359
4485
|
for name, value in vars(self).items():
|
|
4360
4486
|
property_name = name[1:]
|
|
@@ -4476,8 +4602,8 @@ class RunGroup(AbstractModel):
|
|
|
4476
4602
|
:type ExecutionTime: :class:`tencentcloud.omics.v20221128.models.ExecutionTime`
|
|
4477
4603
|
:param _ErrorMessage: 错误信息。
|
|
4478
4604
|
:type ErrorMessage: str
|
|
4479
|
-
:param
|
|
4480
|
-
:type
|
|
4605
|
+
:param _Notification: 任务批次通知。
|
|
4606
|
+
:type Notification: :class:`tencentcloud.omics.v20221128.models.RunGroupNotification`
|
|
4481
4607
|
:param _CreateTime: 创建时间。
|
|
4482
4608
|
:type CreateTime: str
|
|
4483
4609
|
:param _UpdateTime: 更新时间。
|
|
@@ -4486,6 +4612,8 @@ class RunGroup(AbstractModel):
|
|
|
4486
4612
|
:type Creator: str
|
|
4487
4613
|
:param _CreatorId: 创建者ID。
|
|
4488
4614
|
:type CreatorId: str
|
|
4615
|
+
:param _ResultNotify: 运行结果通知方式。
|
|
4616
|
+
:type ResultNotify: str
|
|
4489
4617
|
"""
|
|
4490
4618
|
self._RunGroupId = None
|
|
4491
4619
|
self._ProjectId = None
|
|
@@ -4514,11 +4642,12 @@ class RunGroup(AbstractModel):
|
|
|
4514
4642
|
self._RunStatusCounts = None
|
|
4515
4643
|
self._ExecutionTime = None
|
|
4516
4644
|
self._ErrorMessage = None
|
|
4517
|
-
self.
|
|
4645
|
+
self._Notification = None
|
|
4518
4646
|
self._CreateTime = None
|
|
4519
4647
|
self._UpdateTime = None
|
|
4520
4648
|
self._Creator = None
|
|
4521
4649
|
self._CreatorId = None
|
|
4650
|
+
self._ResultNotify = None
|
|
4522
4651
|
|
|
4523
4652
|
@property
|
|
4524
4653
|
def RunGroupId(self):
|
|
@@ -4825,15 +4954,15 @@ class RunGroup(AbstractModel):
|
|
|
4825
4954
|
self._ErrorMessage = ErrorMessage
|
|
4826
4955
|
|
|
4827
4956
|
@property
|
|
4828
|
-
def
|
|
4829
|
-
"""
|
|
4830
|
-
:rtype:
|
|
4957
|
+
def Notification(self):
|
|
4958
|
+
"""任务批次通知。
|
|
4959
|
+
:rtype: :class:`tencentcloud.omics.v20221128.models.RunGroupNotification`
|
|
4831
4960
|
"""
|
|
4832
|
-
return self.
|
|
4961
|
+
return self._Notification
|
|
4833
4962
|
|
|
4834
|
-
@
|
|
4835
|
-
def
|
|
4836
|
-
self.
|
|
4963
|
+
@Notification.setter
|
|
4964
|
+
def Notification(self, Notification):
|
|
4965
|
+
self._Notification = Notification
|
|
4837
4966
|
|
|
4838
4967
|
@property
|
|
4839
4968
|
def CreateTime(self):
|
|
@@ -4879,6 +5008,17 @@ class RunGroup(AbstractModel):
|
|
|
4879
5008
|
def CreatorId(self, CreatorId):
|
|
4880
5009
|
self._CreatorId = CreatorId
|
|
4881
5010
|
|
|
5011
|
+
@property
|
|
5012
|
+
def ResultNotify(self):
|
|
5013
|
+
"""运行结果通知方式。
|
|
5014
|
+
:rtype: str
|
|
5015
|
+
"""
|
|
5016
|
+
return self._ResultNotify
|
|
5017
|
+
|
|
5018
|
+
@ResultNotify.setter
|
|
5019
|
+
def ResultNotify(self, ResultNotify):
|
|
5020
|
+
self._ResultNotify = ResultNotify
|
|
5021
|
+
|
|
4882
5022
|
|
|
4883
5023
|
def _deserialize(self, params):
|
|
4884
5024
|
self._RunGroupId = params.get("RunGroupId")
|
|
@@ -4926,11 +5066,160 @@ class RunGroup(AbstractModel):
|
|
|
4926
5066
|
self._ExecutionTime = ExecutionTime()
|
|
4927
5067
|
self._ExecutionTime._deserialize(params.get("ExecutionTime"))
|
|
4928
5068
|
self._ErrorMessage = params.get("ErrorMessage")
|
|
4929
|
-
|
|
5069
|
+
if params.get("Notification") is not None:
|
|
5070
|
+
self._Notification = RunGroupNotification()
|
|
5071
|
+
self._Notification._deserialize(params.get("Notification"))
|
|
4930
5072
|
self._CreateTime = params.get("CreateTime")
|
|
4931
5073
|
self._UpdateTime = params.get("UpdateTime")
|
|
4932
5074
|
self._Creator = params.get("Creator")
|
|
4933
5075
|
self._CreatorId = params.get("CreatorId")
|
|
5076
|
+
self._ResultNotify = params.get("ResultNotify")
|
|
5077
|
+
memeber_set = set(params.keys())
|
|
5078
|
+
for name, value in vars(self).items():
|
|
5079
|
+
property_name = name[1:]
|
|
5080
|
+
if property_name in memeber_set:
|
|
5081
|
+
memeber_set.remove(property_name)
|
|
5082
|
+
if len(memeber_set) > 0:
|
|
5083
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5084
|
+
|
|
5085
|
+
|
|
5086
|
+
|
|
5087
|
+
class RunGroupNotification(AbstractModel):
|
|
5088
|
+
"""任务批次通知。
|
|
5089
|
+
|
|
5090
|
+
"""
|
|
5091
|
+
|
|
5092
|
+
def __init__(self):
|
|
5093
|
+
r"""
|
|
5094
|
+
:param _ResultNotification: 结果通知。
|
|
5095
|
+
:type ResultNotification: :class:`tencentcloud.omics.v20221128.models.RunGroupResultNotification`
|
|
5096
|
+
:param _TimeoutNotification: 超时通知。
|
|
5097
|
+
:type TimeoutNotification: :class:`tencentcloud.omics.v20221128.models.RunGroupTimeoutNotification`
|
|
5098
|
+
"""
|
|
5099
|
+
self._ResultNotification = None
|
|
5100
|
+
self._TimeoutNotification = None
|
|
5101
|
+
|
|
5102
|
+
@property
|
|
5103
|
+
def ResultNotification(self):
|
|
5104
|
+
"""结果通知。
|
|
5105
|
+
:rtype: :class:`tencentcloud.omics.v20221128.models.RunGroupResultNotification`
|
|
5106
|
+
"""
|
|
5107
|
+
return self._ResultNotification
|
|
5108
|
+
|
|
5109
|
+
@ResultNotification.setter
|
|
5110
|
+
def ResultNotification(self, ResultNotification):
|
|
5111
|
+
self._ResultNotification = ResultNotification
|
|
5112
|
+
|
|
5113
|
+
@property
|
|
5114
|
+
def TimeoutNotification(self):
|
|
5115
|
+
"""超时通知。
|
|
5116
|
+
:rtype: :class:`tencentcloud.omics.v20221128.models.RunGroupTimeoutNotification`
|
|
5117
|
+
"""
|
|
5118
|
+
return self._TimeoutNotification
|
|
5119
|
+
|
|
5120
|
+
@TimeoutNotification.setter
|
|
5121
|
+
def TimeoutNotification(self, TimeoutNotification):
|
|
5122
|
+
self._TimeoutNotification = TimeoutNotification
|
|
5123
|
+
|
|
5124
|
+
|
|
5125
|
+
def _deserialize(self, params):
|
|
5126
|
+
if params.get("ResultNotification") is not None:
|
|
5127
|
+
self._ResultNotification = RunGroupResultNotification()
|
|
5128
|
+
self._ResultNotification._deserialize(params.get("ResultNotification"))
|
|
5129
|
+
if params.get("TimeoutNotification") is not None:
|
|
5130
|
+
self._TimeoutNotification = RunGroupTimeoutNotification()
|
|
5131
|
+
self._TimeoutNotification._deserialize(params.get("TimeoutNotification"))
|
|
5132
|
+
memeber_set = set(params.keys())
|
|
5133
|
+
for name, value in vars(self).items():
|
|
5134
|
+
property_name = name[1:]
|
|
5135
|
+
if property_name in memeber_set:
|
|
5136
|
+
memeber_set.remove(property_name)
|
|
5137
|
+
if len(memeber_set) > 0:
|
|
5138
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5139
|
+
|
|
5140
|
+
|
|
5141
|
+
|
|
5142
|
+
class RunGroupResultNotification(AbstractModel):
|
|
5143
|
+
"""任务批次结果通知
|
|
5144
|
+
|
|
5145
|
+
"""
|
|
5146
|
+
|
|
5147
|
+
def __init__(self):
|
|
5148
|
+
r"""
|
|
5149
|
+
:param _NotificationType: 通知类型。
|
|
5150
|
+
:type NotificationType: :class:`tencentcloud.omics.v20221128.models.NotificationType`
|
|
5151
|
+
"""
|
|
5152
|
+
self._NotificationType = None
|
|
5153
|
+
|
|
5154
|
+
@property
|
|
5155
|
+
def NotificationType(self):
|
|
5156
|
+
"""通知类型。
|
|
5157
|
+
:rtype: :class:`tencentcloud.omics.v20221128.models.NotificationType`
|
|
5158
|
+
"""
|
|
5159
|
+
return self._NotificationType
|
|
5160
|
+
|
|
5161
|
+
@NotificationType.setter
|
|
5162
|
+
def NotificationType(self, NotificationType):
|
|
5163
|
+
self._NotificationType = NotificationType
|
|
5164
|
+
|
|
5165
|
+
|
|
5166
|
+
def _deserialize(self, params):
|
|
5167
|
+
if params.get("NotificationType") is not None:
|
|
5168
|
+
self._NotificationType = NotificationType()
|
|
5169
|
+
self._NotificationType._deserialize(params.get("NotificationType"))
|
|
5170
|
+
memeber_set = set(params.keys())
|
|
5171
|
+
for name, value in vars(self).items():
|
|
5172
|
+
property_name = name[1:]
|
|
5173
|
+
if property_name in memeber_set:
|
|
5174
|
+
memeber_set.remove(property_name)
|
|
5175
|
+
if len(memeber_set) > 0:
|
|
5176
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5177
|
+
|
|
5178
|
+
|
|
5179
|
+
|
|
5180
|
+
class RunGroupTimeoutNotification(AbstractModel):
|
|
5181
|
+
"""任务批次超时通知。
|
|
5182
|
+
|
|
5183
|
+
"""
|
|
5184
|
+
|
|
5185
|
+
def __init__(self):
|
|
5186
|
+
r"""
|
|
5187
|
+
:param _TimeoutMinutes: 任务批次超时时间,单位分钟。
|
|
5188
|
+
:type TimeoutMinutes: int
|
|
5189
|
+
:param _NotificationType: 通知类型。
|
|
5190
|
+
:type NotificationType: :class:`tencentcloud.omics.v20221128.models.NotificationType`
|
|
5191
|
+
"""
|
|
5192
|
+
self._TimeoutMinutes = None
|
|
5193
|
+
self._NotificationType = None
|
|
5194
|
+
|
|
5195
|
+
@property
|
|
5196
|
+
def TimeoutMinutes(self):
|
|
5197
|
+
"""任务批次超时时间,单位分钟。
|
|
5198
|
+
:rtype: int
|
|
5199
|
+
"""
|
|
5200
|
+
return self._TimeoutMinutes
|
|
5201
|
+
|
|
5202
|
+
@TimeoutMinutes.setter
|
|
5203
|
+
def TimeoutMinutes(self, TimeoutMinutes):
|
|
5204
|
+
self._TimeoutMinutes = TimeoutMinutes
|
|
5205
|
+
|
|
5206
|
+
@property
|
|
5207
|
+
def NotificationType(self):
|
|
5208
|
+
"""通知类型。
|
|
5209
|
+
:rtype: :class:`tencentcloud.omics.v20221128.models.NotificationType`
|
|
5210
|
+
"""
|
|
5211
|
+
return self._NotificationType
|
|
5212
|
+
|
|
5213
|
+
@NotificationType.setter
|
|
5214
|
+
def NotificationType(self, NotificationType):
|
|
5215
|
+
self._NotificationType = NotificationType
|
|
5216
|
+
|
|
5217
|
+
|
|
5218
|
+
def _deserialize(self, params):
|
|
5219
|
+
self._TimeoutMinutes = params.get("TimeoutMinutes")
|
|
5220
|
+
if params.get("NotificationType") is not None:
|
|
5221
|
+
self._NotificationType = NotificationType()
|
|
5222
|
+
self._NotificationType._deserialize(params.get("NotificationType"))
|
|
4934
5223
|
memeber_set = set(params.keys())
|
|
4935
5224
|
for name, value in vars(self).items():
|
|
4936
5225
|
property_name = name[1:]
|