tencentcloud-sdk-python 3.0.1061__py2.py3-none-any.whl → 3.0.1075__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/models.py +5 -5
- tencentcloud/antiddos/v20200309/models.py +27 -1
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/batch/v20170312/models.py +3 -3
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +506 -0
- tencentcloud/car/v20220110/car_client.py +2 -2
- tencentcloud/cat/v20180409/models.py +2 -2
- tencentcloud/cbs/v20170312/models.py +4 -4
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +2 -2
- tencentcloud/cdc/v20201214/cdc_client.py +2 -2
- tencentcloud/cdc/v20201214/errorcodes.py +1 -1
- tencentcloud/cdc/v20201214/models.py +134 -4
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +365 -0
- tencentcloud/cdwdoris/v20211228/models.py +5 -1
- tencentcloud/cfs/v20190719/models.py +12 -0
- tencentcloud/cfw/v20190904/cfw_client.py +0 -25
- tencentcloud/cfw/v20190904/models.py +123 -102
- tencentcloud/clb/v20180317/errorcodes.py +3 -0
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +6 -6
- tencentcloud/cloudaudit/v20190319/errorcodes.py +6 -3
- tencentcloud/cloudaudit/v20190319/models.py +30 -2
- tencentcloud/common/credential.py +14 -4
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +6 -6
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +70 -32
- tencentcloud/cynosdb/v20190107/models.py +188 -0
- tencentcloud/dasb/v20191018/models.py +26 -0
- tencentcloud/dbbrain/v20191016/models.py +1 -1
- tencentcloud/dnspod/v20210323/dnspod_client.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +12 -0
- tencentcloud/dts/v20211206/dts_client.py +511 -0
- tencentcloud/dts/v20211206/errorcodes.py +3 -0
- tencentcloud/dts/v20211206/models.py +6919 -2997
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/ess/v20201111/ess_client.py +132 -21
- tencentcloud/ess/v20201111/models.py +495 -67
- tencentcloud/essbasic/v20210526/essbasic_client.py +126 -39
- tencentcloud/essbasic/v20210526/models.py +501 -237
- tencentcloud/facefusion/v20181201/errorcodes.py +3 -0
- tencentcloud/faceid/v20180301/errorcodes.py +1 -1
- tencentcloud/faceid/v20180301/models.py +26 -2
- tencentcloud/hai/v20230812/errorcodes.py +18 -0
- tencentcloud/hai/v20230812/models.py +81 -3
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +23 -0
- tencentcloud/hunyuan/v20230901/models.py +195 -1
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/models.py +20 -8
- tencentcloud/ivld/v20210903/models.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +149 -0
- tencentcloud/monitor/v20180724/models.py +1118 -97
- tencentcloud/monitor/v20180724/monitor_client.py +118 -0
- tencentcloud/mps/v20190612/models.py +60 -1
- tencentcloud/mrs/v20200910/errorcodes.py +6 -0
- tencentcloud/mrs/v20200910/models.py +161 -1
- tencentcloud/mrs/v20200910/mrs_client.py +46 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +3 -0
- tencentcloud/oceanus/v20190422/models.py +229 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +41 -1
- tencentcloud/omics/v20221128/models.py +92 -25
- tencentcloud/rum/v20210622/models.py +0 -504
- tencentcloud/rum/v20210622/rum_client.py +0 -138
- tencentcloud/scf/v20180416/errorcodes.py +3 -0
- tencentcloud/scf/v20180416/models.py +13 -1
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/models.py +5 -5
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +6 -6
- tencentcloud/ssm/v20190923/models.py +2 -2
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcb/v20180608/models.py +12 -3
- tencentcloud/tcm/v20210413/errorcodes.py +3 -0
- tencentcloud/tcss/v20201101/models.py +1735 -2
- tencentcloud/tcss/v20201101/tcss_client.py +92 -0
- tencentcloud/tdid/v20210519/errorcodes.py +143 -2
- tencentcloud/tdid/v20210519/models.py +1424 -788
- tencentcloud/tdid/v20210519/tdid_client.py +201 -112
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +261 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/teo/v20220901/errorcodes.py +13 -1
- tencentcloud/teo/v20220901/models.py +24 -22
- tencentcloud/tione/v20211111/errorcodes.py +12 -0
- tencentcloud/tione/v20211111/models.py +190 -32
- tencentcloud/tiw/v20190919/models.py +117 -10
- tencentcloud/tms/v20201229/models.py +562 -4
- tencentcloud/tms/v20201229/tms_client.py +23 -0
- tencentcloud/trp/v20210515/models.py +39 -1
- tencentcloud/trp/v20210515/trp_client.py +1 -1
- tencentcloud/trtc/v20190722/errorcodes.py +6 -0
- tencentcloud/trtc/v20190722/models.py +34 -5
- tencentcloud/trtc/v20190722/trtc_client.py +2 -0
- tencentcloud/tse/v20201207/models.py +512 -1
- tencentcloud/tse/v20201207/tse_client.py +115 -0
- tencentcloud/tsf/v20180326/models.py +216 -5
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +1018 -128
- tencentcloud/vod/v20180717/vod_client.py +165 -3
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +24 -0
- tencentcloud/wedata/v20210820/models.py +1353 -0
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/RECORD +114 -114
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/top_level.txt +0 -0
|
@@ -4355,12 +4355,15 @@ class DescribeJobsRequest(AbstractModel):
|
|
|
4355
4355
|
:type Limit: int
|
|
4356
4356
|
:param _WorkSpaceId: 工作空间 SerialId
|
|
4357
4357
|
:type WorkSpaceId: str
|
|
4358
|
+
:param _ExtraResult: 查询额外的作业信息,例如 JobEventInfo
|
|
4359
|
+
:type ExtraResult: list of str
|
|
4358
4360
|
"""
|
|
4359
4361
|
self._JobIds = None
|
|
4360
4362
|
self._Filters = None
|
|
4361
4363
|
self._Offset = None
|
|
4362
4364
|
self._Limit = None
|
|
4363
4365
|
self._WorkSpaceId = None
|
|
4366
|
+
self._ExtraResult = None
|
|
4364
4367
|
|
|
4365
4368
|
@property
|
|
4366
4369
|
def JobIds(self):
|
|
@@ -4402,6 +4405,14 @@ class DescribeJobsRequest(AbstractModel):
|
|
|
4402
4405
|
def WorkSpaceId(self, WorkSpaceId):
|
|
4403
4406
|
self._WorkSpaceId = WorkSpaceId
|
|
4404
4407
|
|
|
4408
|
+
@property
|
|
4409
|
+
def ExtraResult(self):
|
|
4410
|
+
return self._ExtraResult
|
|
4411
|
+
|
|
4412
|
+
@ExtraResult.setter
|
|
4413
|
+
def ExtraResult(self, ExtraResult):
|
|
4414
|
+
self._ExtraResult = ExtraResult
|
|
4415
|
+
|
|
4405
4416
|
|
|
4406
4417
|
def _deserialize(self, params):
|
|
4407
4418
|
self._JobIds = params.get("JobIds")
|
|
@@ -4414,6 +4425,7 @@ class DescribeJobsRequest(AbstractModel):
|
|
|
4414
4425
|
self._Offset = params.get("Offset")
|
|
4415
4426
|
self._Limit = params.get("Limit")
|
|
4416
4427
|
self._WorkSpaceId = params.get("WorkSpaceId")
|
|
4428
|
+
self._ExtraResult = params.get("ExtraResult")
|
|
4417
4429
|
memeber_set = set(params.keys())
|
|
4418
4430
|
for name, value in vars(self).items():
|
|
4419
4431
|
property_name = name[1:]
|
|
@@ -6122,6 +6134,174 @@ class GatewayRefItem(AbstractModel):
|
|
|
6122
6134
|
|
|
6123
6135
|
|
|
6124
6136
|
|
|
6137
|
+
class GetMetaTableRequest(AbstractModel):
|
|
6138
|
+
"""GetMetaTable请求参数结构体
|
|
6139
|
+
|
|
6140
|
+
"""
|
|
6141
|
+
|
|
6142
|
+
def __init__(self):
|
|
6143
|
+
r"""
|
|
6144
|
+
:param _Catalog: 目录名
|
|
6145
|
+
:type Catalog: str
|
|
6146
|
+
:param _Database: 库名
|
|
6147
|
+
:type Database: str
|
|
6148
|
+
:param _Table: 表名
|
|
6149
|
+
:type Table: str
|
|
6150
|
+
:param _WorkSpaceId: 空间唯一标识
|
|
6151
|
+
:type WorkSpaceId: str
|
|
6152
|
+
"""
|
|
6153
|
+
self._Catalog = None
|
|
6154
|
+
self._Database = None
|
|
6155
|
+
self._Table = None
|
|
6156
|
+
self._WorkSpaceId = None
|
|
6157
|
+
|
|
6158
|
+
@property
|
|
6159
|
+
def Catalog(self):
|
|
6160
|
+
return self._Catalog
|
|
6161
|
+
|
|
6162
|
+
@Catalog.setter
|
|
6163
|
+
def Catalog(self, Catalog):
|
|
6164
|
+
self._Catalog = Catalog
|
|
6165
|
+
|
|
6166
|
+
@property
|
|
6167
|
+
def Database(self):
|
|
6168
|
+
return self._Database
|
|
6169
|
+
|
|
6170
|
+
@Database.setter
|
|
6171
|
+
def Database(self, Database):
|
|
6172
|
+
self._Database = Database
|
|
6173
|
+
|
|
6174
|
+
@property
|
|
6175
|
+
def Table(self):
|
|
6176
|
+
return self._Table
|
|
6177
|
+
|
|
6178
|
+
@Table.setter
|
|
6179
|
+
def Table(self, Table):
|
|
6180
|
+
self._Table = Table
|
|
6181
|
+
|
|
6182
|
+
@property
|
|
6183
|
+
def WorkSpaceId(self):
|
|
6184
|
+
return self._WorkSpaceId
|
|
6185
|
+
|
|
6186
|
+
@WorkSpaceId.setter
|
|
6187
|
+
def WorkSpaceId(self, WorkSpaceId):
|
|
6188
|
+
self._WorkSpaceId = WorkSpaceId
|
|
6189
|
+
|
|
6190
|
+
|
|
6191
|
+
def _deserialize(self, params):
|
|
6192
|
+
self._Catalog = params.get("Catalog")
|
|
6193
|
+
self._Database = params.get("Database")
|
|
6194
|
+
self._Table = params.get("Table")
|
|
6195
|
+
self._WorkSpaceId = params.get("WorkSpaceId")
|
|
6196
|
+
memeber_set = set(params.keys())
|
|
6197
|
+
for name, value in vars(self).items():
|
|
6198
|
+
property_name = name[1:]
|
|
6199
|
+
if property_name in memeber_set:
|
|
6200
|
+
memeber_set.remove(property_name)
|
|
6201
|
+
if len(memeber_set) > 0:
|
|
6202
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6203
|
+
|
|
6204
|
+
|
|
6205
|
+
|
|
6206
|
+
class GetMetaTableResponse(AbstractModel):
|
|
6207
|
+
"""GetMetaTable返回参数结构体
|
|
6208
|
+
|
|
6209
|
+
"""
|
|
6210
|
+
|
|
6211
|
+
def __init__(self):
|
|
6212
|
+
r"""
|
|
6213
|
+
:param _SerialId: 元数据表唯一标识
|
|
6214
|
+
:type SerialId: str
|
|
6215
|
+
:param _Catalog: 目录名
|
|
6216
|
+
:type Catalog: str
|
|
6217
|
+
:param _Database: 库名
|
|
6218
|
+
:type Database: str
|
|
6219
|
+
:param _Table: 表名
|
|
6220
|
+
:type Table: str
|
|
6221
|
+
:param _DDL: 建表语句,使用 Base64 编码。
|
|
6222
|
+
例如
|
|
6223
|
+
Q1JFQVRFIFRBQkxFIGRhdGFnZW5fc291cmNlX3RhYmxlICggCiAgICBpZCBJTlQsIAogICAgbmFtZSBTVFJJTkcgCikgV0lUSCAoCidjb25uZWN0b3InPSdkYXRhZ2VuJywKJ3Jvd3MtcGVyLXNlY29uZCcgPSAnMScKKTs=
|
|
6224
|
+
:type DDL: str
|
|
6225
|
+
:param _CreateTime: 创建时间
|
|
6226
|
+
:type CreateTime: str
|
|
6227
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6228
|
+
:type RequestId: str
|
|
6229
|
+
"""
|
|
6230
|
+
self._SerialId = None
|
|
6231
|
+
self._Catalog = None
|
|
6232
|
+
self._Database = None
|
|
6233
|
+
self._Table = None
|
|
6234
|
+
self._DDL = None
|
|
6235
|
+
self._CreateTime = None
|
|
6236
|
+
self._RequestId = None
|
|
6237
|
+
|
|
6238
|
+
@property
|
|
6239
|
+
def SerialId(self):
|
|
6240
|
+
return self._SerialId
|
|
6241
|
+
|
|
6242
|
+
@SerialId.setter
|
|
6243
|
+
def SerialId(self, SerialId):
|
|
6244
|
+
self._SerialId = SerialId
|
|
6245
|
+
|
|
6246
|
+
@property
|
|
6247
|
+
def Catalog(self):
|
|
6248
|
+
return self._Catalog
|
|
6249
|
+
|
|
6250
|
+
@Catalog.setter
|
|
6251
|
+
def Catalog(self, Catalog):
|
|
6252
|
+
self._Catalog = Catalog
|
|
6253
|
+
|
|
6254
|
+
@property
|
|
6255
|
+
def Database(self):
|
|
6256
|
+
return self._Database
|
|
6257
|
+
|
|
6258
|
+
@Database.setter
|
|
6259
|
+
def Database(self, Database):
|
|
6260
|
+
self._Database = Database
|
|
6261
|
+
|
|
6262
|
+
@property
|
|
6263
|
+
def Table(self):
|
|
6264
|
+
return self._Table
|
|
6265
|
+
|
|
6266
|
+
@Table.setter
|
|
6267
|
+
def Table(self, Table):
|
|
6268
|
+
self._Table = Table
|
|
6269
|
+
|
|
6270
|
+
@property
|
|
6271
|
+
def DDL(self):
|
|
6272
|
+
return self._DDL
|
|
6273
|
+
|
|
6274
|
+
@DDL.setter
|
|
6275
|
+
def DDL(self, DDL):
|
|
6276
|
+
self._DDL = DDL
|
|
6277
|
+
|
|
6278
|
+
@property
|
|
6279
|
+
def CreateTime(self):
|
|
6280
|
+
return self._CreateTime
|
|
6281
|
+
|
|
6282
|
+
@CreateTime.setter
|
|
6283
|
+
def CreateTime(self, CreateTime):
|
|
6284
|
+
self._CreateTime = CreateTime
|
|
6285
|
+
|
|
6286
|
+
@property
|
|
6287
|
+
def RequestId(self):
|
|
6288
|
+
return self._RequestId
|
|
6289
|
+
|
|
6290
|
+
@RequestId.setter
|
|
6291
|
+
def RequestId(self, RequestId):
|
|
6292
|
+
self._RequestId = RequestId
|
|
6293
|
+
|
|
6294
|
+
|
|
6295
|
+
def _deserialize(self, params):
|
|
6296
|
+
self._SerialId = params.get("SerialId")
|
|
6297
|
+
self._Catalog = params.get("Catalog")
|
|
6298
|
+
self._Database = params.get("Database")
|
|
6299
|
+
self._Table = params.get("Table")
|
|
6300
|
+
self._DDL = params.get("DDL")
|
|
6301
|
+
self._CreateTime = params.get("CreateTime")
|
|
6302
|
+
self._RequestId = params.get("RequestId")
|
|
6303
|
+
|
|
6304
|
+
|
|
6125
6305
|
class JobConfig(AbstractModel):
|
|
6126
6306
|
"""作业配置详情
|
|
6127
6307
|
|
|
@@ -6647,6 +6827,40 @@ class JobEvent(AbstractModel):
|
|
|
6647
6827
|
|
|
6648
6828
|
|
|
6649
6829
|
|
|
6830
|
+
class JobEventInfo(AbstractModel):
|
|
6831
|
+
"""事件信息
|
|
6832
|
+
|
|
6833
|
+
"""
|
|
6834
|
+
|
|
6835
|
+
def __init__(self):
|
|
6836
|
+
r"""
|
|
6837
|
+
:param _ErrorEventTotal: 异常事件总数
|
|
6838
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6839
|
+
:type ErrorEventTotal: int
|
|
6840
|
+
"""
|
|
6841
|
+
self._ErrorEventTotal = None
|
|
6842
|
+
|
|
6843
|
+
@property
|
|
6844
|
+
def ErrorEventTotal(self):
|
|
6845
|
+
return self._ErrorEventTotal
|
|
6846
|
+
|
|
6847
|
+
@ErrorEventTotal.setter
|
|
6848
|
+
def ErrorEventTotal(self, ErrorEventTotal):
|
|
6849
|
+
self._ErrorEventTotal = ErrorEventTotal
|
|
6850
|
+
|
|
6851
|
+
|
|
6852
|
+
def _deserialize(self, params):
|
|
6853
|
+
self._ErrorEventTotal = params.get("ErrorEventTotal")
|
|
6854
|
+
memeber_set = set(params.keys())
|
|
6855
|
+
for name, value in vars(self).items():
|
|
6856
|
+
property_name = name[1:]
|
|
6857
|
+
if property_name in memeber_set:
|
|
6858
|
+
memeber_set.remove(property_name)
|
|
6859
|
+
if len(memeber_set) > 0:
|
|
6860
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6861
|
+
|
|
6862
|
+
|
|
6863
|
+
|
|
6650
6864
|
class JobGraph(AbstractModel):
|
|
6651
6865
|
"""作业运行图
|
|
6652
6866
|
|
|
@@ -6984,6 +7198,9 @@ class JobV1(AbstractModel):
|
|
|
6984
7198
|
:param _Tags: 作业标签
|
|
6985
7199
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6986
7200
|
:type Tags: list of Tag
|
|
7201
|
+
:param _EventInfo: 作业异常事件信息
|
|
7202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7203
|
+
:type EventInfo: :class:`tencentcloud.oceanus.v20190422.models.JobEventInfo`
|
|
6987
7204
|
"""
|
|
6988
7205
|
self._JobId = None
|
|
6989
7206
|
self._Region = None
|
|
@@ -7017,6 +7234,7 @@ class JobV1(AbstractModel):
|
|
|
7017
7234
|
self._WorkSpaceId = None
|
|
7018
7235
|
self._WorkSpaceName = None
|
|
7019
7236
|
self._Tags = None
|
|
7237
|
+
self._EventInfo = None
|
|
7020
7238
|
|
|
7021
7239
|
@property
|
|
7022
7240
|
def JobId(self):
|
|
@@ -7274,6 +7492,14 @@ class JobV1(AbstractModel):
|
|
|
7274
7492
|
def Tags(self, Tags):
|
|
7275
7493
|
self._Tags = Tags
|
|
7276
7494
|
|
|
7495
|
+
@property
|
|
7496
|
+
def EventInfo(self):
|
|
7497
|
+
return self._EventInfo
|
|
7498
|
+
|
|
7499
|
+
@EventInfo.setter
|
|
7500
|
+
def EventInfo(self, EventInfo):
|
|
7501
|
+
self._EventInfo = EventInfo
|
|
7502
|
+
|
|
7277
7503
|
|
|
7278
7504
|
def _deserialize(self, params):
|
|
7279
7505
|
self._JobId = params.get("JobId")
|
|
@@ -7313,6 +7539,9 @@ class JobV1(AbstractModel):
|
|
|
7313
7539
|
obj = Tag()
|
|
7314
7540
|
obj._deserialize(item)
|
|
7315
7541
|
self._Tags.append(obj)
|
|
7542
|
+
if params.get("EventInfo") is not None:
|
|
7543
|
+
self._EventInfo = JobEventInfo()
|
|
7544
|
+
self._EventInfo._deserialize(params.get("EventInfo"))
|
|
7316
7545
|
memeber_set = set(params.keys())
|
|
7317
7546
|
for name, value in vars(self).items():
|
|
7318
7547
|
property_name = name[1:]
|
|
@@ -716,6 +716,29 @@ class OceanusClient(AbstractClient):
|
|
|
716
716
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
717
717
|
|
|
718
718
|
|
|
719
|
+
def GetMetaTable(self, request):
|
|
720
|
+
"""查询元数据表
|
|
721
|
+
|
|
722
|
+
:param request: Request instance for GetMetaTable.
|
|
723
|
+
:type request: :class:`tencentcloud.oceanus.v20190422.models.GetMetaTableRequest`
|
|
724
|
+
:rtype: :class:`tencentcloud.oceanus.v20190422.models.GetMetaTableResponse`
|
|
725
|
+
|
|
726
|
+
"""
|
|
727
|
+
try:
|
|
728
|
+
params = request._serialize()
|
|
729
|
+
headers = request.headers
|
|
730
|
+
body = self.call("GetMetaTable", params, headers=headers)
|
|
731
|
+
response = json.loads(body)
|
|
732
|
+
model = models.GetMetaTableResponse()
|
|
733
|
+
model._deserialize(response["Response"])
|
|
734
|
+
return model
|
|
735
|
+
except Exception as e:
|
|
736
|
+
if isinstance(e, TencentCloudSDKException):
|
|
737
|
+
raise
|
|
738
|
+
else:
|
|
739
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
|
+
|
|
741
|
+
|
|
719
742
|
def ModifyFolder(self, request):
|
|
720
743
|
"""自定义树状结构页面拖拽文件夹
|
|
721
744
|
|
|
@@ -17215,7 +17215,7 @@ class RecognizeTableAccurateOCRRequest(AbstractModel):
|
|
|
17215
17215
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定
|
|
17216
17216
|
性可能受一定影响。
|
|
17217
17217
|
:type ImageUrl: str
|
|
17218
|
-
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF
|
|
17218
|
+
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF有效,默认值为1。
|
|
17219
17219
|
:type PdfPageNumber: int
|
|
17220
17220
|
"""
|
|
17221
17221
|
self._ImageBase64 = None
|
|
@@ -18718,9 +18718,15 @@ class SealOCRRequest(AbstractModel):
|
|
|
18718
18718
|
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
|
18719
18719
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
|
18720
18720
|
:type ImageUrl: str
|
|
18721
|
+
:param _EnablePdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
18722
|
+
:type EnablePdf: bool
|
|
18723
|
+
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。
|
|
18724
|
+
:type PdfPageNumber: int
|
|
18721
18725
|
"""
|
|
18722
18726
|
self._ImageBase64 = None
|
|
18723
18727
|
self._ImageUrl = None
|
|
18728
|
+
self._EnablePdf = None
|
|
18729
|
+
self._PdfPageNumber = None
|
|
18724
18730
|
|
|
18725
18731
|
@property
|
|
18726
18732
|
def ImageBase64(self):
|
|
@@ -18738,10 +18744,28 @@ class SealOCRRequest(AbstractModel):
|
|
|
18738
18744
|
def ImageUrl(self, ImageUrl):
|
|
18739
18745
|
self._ImageUrl = ImageUrl
|
|
18740
18746
|
|
|
18747
|
+
@property
|
|
18748
|
+
def EnablePdf(self):
|
|
18749
|
+
return self._EnablePdf
|
|
18750
|
+
|
|
18751
|
+
@EnablePdf.setter
|
|
18752
|
+
def EnablePdf(self, EnablePdf):
|
|
18753
|
+
self._EnablePdf = EnablePdf
|
|
18754
|
+
|
|
18755
|
+
@property
|
|
18756
|
+
def PdfPageNumber(self):
|
|
18757
|
+
return self._PdfPageNumber
|
|
18758
|
+
|
|
18759
|
+
@PdfPageNumber.setter
|
|
18760
|
+
def PdfPageNumber(self, PdfPageNumber):
|
|
18761
|
+
self._PdfPageNumber = PdfPageNumber
|
|
18762
|
+
|
|
18741
18763
|
|
|
18742
18764
|
def _deserialize(self, params):
|
|
18743
18765
|
self._ImageBase64 = params.get("ImageBase64")
|
|
18744
18766
|
self._ImageUrl = params.get("ImageUrl")
|
|
18767
|
+
self._EnablePdf = params.get("EnablePdf")
|
|
18768
|
+
self._PdfPageNumber = params.get("PdfPageNumber")
|
|
18745
18769
|
memeber_set = set(params.keys())
|
|
18746
18770
|
for name, value in vars(self).items():
|
|
18747
18771
|
property_name = name[1:]
|
|
@@ -19951,7 +19975,11 @@ RideHailingTransportLicense -- 网约车运输证
|
|
|
19951
19975
|
WayBill -- 快递运单
|
|
19952
19976
|
AccountOpeningPermit -- 银行开户许可证
|
|
19953
19977
|
InvoiceEng -- 海外发票模版
|
|
19978
|
+
Coin --钱币识别模板
|
|
19979
|
+
OnboardingDocuments -- 入职材料识别
|
|
19954
19980
|
:type ConfigId: str
|
|
19981
|
+
:param _EnableSealRecognize: 是否打开印章识别
|
|
19982
|
+
:type EnableSealRecognize: bool
|
|
19955
19983
|
"""
|
|
19956
19984
|
self._ImageUrl = None
|
|
19957
19985
|
self._ImageBase64 = None
|
|
@@ -19960,6 +19988,7 @@ InvoiceEng -- 海外发票模版
|
|
|
19960
19988
|
self._ItemNames = None
|
|
19961
19989
|
self._ReturnFullText = None
|
|
19962
19990
|
self._ConfigId = None
|
|
19991
|
+
self._EnableSealRecognize = None
|
|
19963
19992
|
|
|
19964
19993
|
@property
|
|
19965
19994
|
def ImageUrl(self):
|
|
@@ -20017,6 +20046,14 @@ InvoiceEng -- 海外发票模版
|
|
|
20017
20046
|
def ConfigId(self, ConfigId):
|
|
20018
20047
|
self._ConfigId = ConfigId
|
|
20019
20048
|
|
|
20049
|
+
@property
|
|
20050
|
+
def EnableSealRecognize(self):
|
|
20051
|
+
return self._EnableSealRecognize
|
|
20052
|
+
|
|
20053
|
+
@EnableSealRecognize.setter
|
|
20054
|
+
def EnableSealRecognize(self, EnableSealRecognize):
|
|
20055
|
+
self._EnableSealRecognize = EnableSealRecognize
|
|
20056
|
+
|
|
20020
20057
|
|
|
20021
20058
|
def _deserialize(self, params):
|
|
20022
20059
|
self._ImageUrl = params.get("ImageUrl")
|
|
@@ -20026,6 +20063,7 @@ InvoiceEng -- 海外发票模版
|
|
|
20026
20063
|
self._ItemNames = params.get("ItemNames")
|
|
20027
20064
|
self._ReturnFullText = params.get("ReturnFullText")
|
|
20028
20065
|
self._ConfigId = params.get("ConfigId")
|
|
20066
|
+
self._EnableSealRecognize = params.get("EnableSealRecognize")
|
|
20029
20067
|
memeber_set = set(params.keys())
|
|
20030
20068
|
for name, value in vars(self).items():
|
|
20031
20069
|
property_name = name[1:]
|
|
@@ -28243,6 +28281,8 @@ class VerifyOfdVatInvoiceOCRResponse(AbstractModel):
|
|
|
28243
28281
|
028:增值税电子专用发票
|
|
28244
28282
|
010:电子发票(普通发票)
|
|
28245
28283
|
020:电子发票(增值税专用发票)
|
|
28284
|
+
030:电子发票(铁路电子客票)
|
|
28285
|
+
040:电子发票(航空运输电子客票行程单)
|
|
28246
28286
|
:type Type: str
|
|
28247
28287
|
:param _InvoiceCode: 发票代码
|
|
28248
28288
|
:type InvoiceCode: str
|
|
@@ -2431,13 +2431,22 @@ class RetryRunsRequest(AbstractModel):
|
|
|
2431
2431
|
|
|
2432
2432
|
def __init__(self):
|
|
2433
2433
|
r"""
|
|
2434
|
-
:param _ProjectId:
|
|
2434
|
+
:param _ProjectId: 项目ID。(不填使用指定地域下的默认项目)
|
|
2435
2435
|
:type ProjectId: str
|
|
2436
|
-
:param
|
|
2436
|
+
:param _RunGroupId: 需要重试的任务批次ID。
|
|
2437
|
+
:type RunGroupId: str
|
|
2438
|
+
:param _RunUuids: 需要重试的任务UUID。
|
|
2437
2439
|
:type RunUuids: list of str
|
|
2440
|
+
:param _WDLOption: WDL运行选项,不填使用被重试的任务批次运行选项。
|
|
2441
|
+
:type WDLOption: :class:`tencentcloud.omics.v20221128.models.RunOption`
|
|
2442
|
+
:param _NFOption: Nextflow运行选项,不填使用被重试的任务批次运行选项。
|
|
2443
|
+
:type NFOption: :class:`tencentcloud.omics.v20221128.models.NFOption`
|
|
2438
2444
|
"""
|
|
2439
2445
|
self._ProjectId = None
|
|
2446
|
+
self._RunGroupId = None
|
|
2440
2447
|
self._RunUuids = None
|
|
2448
|
+
self._WDLOption = None
|
|
2449
|
+
self._NFOption = None
|
|
2441
2450
|
|
|
2442
2451
|
@property
|
|
2443
2452
|
def ProjectId(self):
|
|
@@ -2447,6 +2456,14 @@ class RetryRunsRequest(AbstractModel):
|
|
|
2447
2456
|
def ProjectId(self, ProjectId):
|
|
2448
2457
|
self._ProjectId = ProjectId
|
|
2449
2458
|
|
|
2459
|
+
@property
|
|
2460
|
+
def RunGroupId(self):
|
|
2461
|
+
return self._RunGroupId
|
|
2462
|
+
|
|
2463
|
+
@RunGroupId.setter
|
|
2464
|
+
def RunGroupId(self, RunGroupId):
|
|
2465
|
+
self._RunGroupId = RunGroupId
|
|
2466
|
+
|
|
2450
2467
|
@property
|
|
2451
2468
|
def RunUuids(self):
|
|
2452
2469
|
return self._RunUuids
|
|
@@ -2455,10 +2472,33 @@ class RetryRunsRequest(AbstractModel):
|
|
|
2455
2472
|
def RunUuids(self, RunUuids):
|
|
2456
2473
|
self._RunUuids = RunUuids
|
|
2457
2474
|
|
|
2475
|
+
@property
|
|
2476
|
+
def WDLOption(self):
|
|
2477
|
+
return self._WDLOption
|
|
2478
|
+
|
|
2479
|
+
@WDLOption.setter
|
|
2480
|
+
def WDLOption(self, WDLOption):
|
|
2481
|
+
self._WDLOption = WDLOption
|
|
2482
|
+
|
|
2483
|
+
@property
|
|
2484
|
+
def NFOption(self):
|
|
2485
|
+
return self._NFOption
|
|
2486
|
+
|
|
2487
|
+
@NFOption.setter
|
|
2488
|
+
def NFOption(self, NFOption):
|
|
2489
|
+
self._NFOption = NFOption
|
|
2490
|
+
|
|
2458
2491
|
|
|
2459
2492
|
def _deserialize(self, params):
|
|
2460
2493
|
self._ProjectId = params.get("ProjectId")
|
|
2494
|
+
self._RunGroupId = params.get("RunGroupId")
|
|
2461
2495
|
self._RunUuids = params.get("RunUuids")
|
|
2496
|
+
if params.get("WDLOption") is not None:
|
|
2497
|
+
self._WDLOption = RunOption()
|
|
2498
|
+
self._WDLOption._deserialize(params.get("WDLOption"))
|
|
2499
|
+
if params.get("NFOption") is not None:
|
|
2500
|
+
self._NFOption = NFOption()
|
|
2501
|
+
self._NFOption._deserialize(params.get("NFOption"))
|
|
2462
2502
|
memeber_set = set(params.keys())
|
|
2463
2503
|
for name, value in vars(self).items():
|
|
2464
2504
|
property_name = name[1:]
|
|
@@ -2476,11 +2516,23 @@ class RetryRunsResponse(AbstractModel):
|
|
|
2476
2516
|
|
|
2477
2517
|
def __init__(self):
|
|
2478
2518
|
r"""
|
|
2519
|
+
:param _RunGroupId: 新的任务批次ID。
|
|
2520
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2521
|
+
:type RunGroupId: str
|
|
2479
2522
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2480
2523
|
:type RequestId: str
|
|
2481
2524
|
"""
|
|
2525
|
+
self._RunGroupId = None
|
|
2482
2526
|
self._RequestId = None
|
|
2483
2527
|
|
|
2528
|
+
@property
|
|
2529
|
+
def RunGroupId(self):
|
|
2530
|
+
return self._RunGroupId
|
|
2531
|
+
|
|
2532
|
+
@RunGroupId.setter
|
|
2533
|
+
def RunGroupId(self, RunGroupId):
|
|
2534
|
+
self._RunGroupId = RunGroupId
|
|
2535
|
+
|
|
2484
2536
|
@property
|
|
2485
2537
|
def RequestId(self):
|
|
2486
2538
|
return self._RequestId
|
|
@@ -2491,6 +2543,7 @@ class RetryRunsResponse(AbstractModel):
|
|
|
2491
2543
|
|
|
2492
2544
|
|
|
2493
2545
|
def _deserialize(self, params):
|
|
2546
|
+
self._RunGroupId = params.get("RunGroupId")
|
|
2494
2547
|
self._RequestId = params.get("RequestId")
|
|
2495
2548
|
|
|
2496
2549
|
|
|
@@ -2730,8 +2783,6 @@ class RunApplicationRequest(AbstractModel):
|
|
|
2730
2783
|
r"""
|
|
2731
2784
|
:param _ApplicationId: 应用ID。
|
|
2732
2785
|
:type ApplicationId: str
|
|
2733
|
-
:param _ProjectId: 项目ID。
|
|
2734
|
-
:type ProjectId: str
|
|
2735
2786
|
:param _Name: 任务批次名称。
|
|
2736
2787
|
:type Name: str
|
|
2737
2788
|
:param _EnvironmentId: 投递环境ID。
|
|
@@ -2740,8 +2791,8 @@ class RunApplicationRequest(AbstractModel):
|
|
|
2740
2791
|
:type InputBase64: str
|
|
2741
2792
|
:param _CacheClearDelay: 任务缓存清理时间(小时)。不填表示不清理。
|
|
2742
2793
|
:type CacheClearDelay: int
|
|
2743
|
-
:param
|
|
2744
|
-
:type
|
|
2794
|
+
:param _ProjectId: 项目ID。(不填使用指定地域下的默认项目)
|
|
2795
|
+
:type ProjectId: str
|
|
2745
2796
|
:param _Description: 任务批次描述。
|
|
2746
2797
|
:type Description: str
|
|
2747
2798
|
:param _TableId: 批量投递表格ID,不填表示单例投递。
|
|
@@ -2750,18 +2801,23 @@ class RunApplicationRequest(AbstractModel):
|
|
|
2750
2801
|
:type TableRowUuids: list of str
|
|
2751
2802
|
:param _ApplicationVersionId: 应用版本ID。不填表示使用当前最新版本。
|
|
2752
2803
|
:type ApplicationVersionId: str
|
|
2804
|
+
:param _Option: WDL运行选项。
|
|
2805
|
+
:type Option: :class:`tencentcloud.omics.v20221128.models.RunOption`
|
|
2806
|
+
:param _NFOption: Nextflow运行选项。
|
|
2807
|
+
:type NFOption: :class:`tencentcloud.omics.v20221128.models.NFOption`
|
|
2753
2808
|
"""
|
|
2754
2809
|
self._ApplicationId = None
|
|
2755
|
-
self._ProjectId = None
|
|
2756
2810
|
self._Name = None
|
|
2757
2811
|
self._EnvironmentId = None
|
|
2758
2812
|
self._InputBase64 = None
|
|
2759
2813
|
self._CacheClearDelay = None
|
|
2760
|
-
self.
|
|
2814
|
+
self._ProjectId = None
|
|
2761
2815
|
self._Description = None
|
|
2762
2816
|
self._TableId = None
|
|
2763
2817
|
self._TableRowUuids = None
|
|
2764
2818
|
self._ApplicationVersionId = None
|
|
2819
|
+
self._Option = None
|
|
2820
|
+
self._NFOption = None
|
|
2765
2821
|
|
|
2766
2822
|
@property
|
|
2767
2823
|
def ApplicationId(self):
|
|
@@ -2771,14 +2827,6 @@ class RunApplicationRequest(AbstractModel):
|
|
|
2771
2827
|
def ApplicationId(self, ApplicationId):
|
|
2772
2828
|
self._ApplicationId = ApplicationId
|
|
2773
2829
|
|
|
2774
|
-
@property
|
|
2775
|
-
def ProjectId(self):
|
|
2776
|
-
return self._ProjectId
|
|
2777
|
-
|
|
2778
|
-
@ProjectId.setter
|
|
2779
|
-
def ProjectId(self, ProjectId):
|
|
2780
|
-
self._ProjectId = ProjectId
|
|
2781
|
-
|
|
2782
2830
|
@property
|
|
2783
2831
|
def Name(self):
|
|
2784
2832
|
return self._Name
|
|
@@ -2812,12 +2860,12 @@ class RunApplicationRequest(AbstractModel):
|
|
|
2812
2860
|
self._CacheClearDelay = CacheClearDelay
|
|
2813
2861
|
|
|
2814
2862
|
@property
|
|
2815
|
-
def
|
|
2816
|
-
return self.
|
|
2863
|
+
def ProjectId(self):
|
|
2864
|
+
return self._ProjectId
|
|
2817
2865
|
|
|
2818
|
-
@
|
|
2819
|
-
def
|
|
2820
|
-
self.
|
|
2866
|
+
@ProjectId.setter
|
|
2867
|
+
def ProjectId(self, ProjectId):
|
|
2868
|
+
self._ProjectId = ProjectId
|
|
2821
2869
|
|
|
2822
2870
|
@property
|
|
2823
2871
|
def Description(self):
|
|
@@ -2851,21 +2899,40 @@ class RunApplicationRequest(AbstractModel):
|
|
|
2851
2899
|
def ApplicationVersionId(self, ApplicationVersionId):
|
|
2852
2900
|
self._ApplicationVersionId = ApplicationVersionId
|
|
2853
2901
|
|
|
2902
|
+
@property
|
|
2903
|
+
def Option(self):
|
|
2904
|
+
return self._Option
|
|
2905
|
+
|
|
2906
|
+
@Option.setter
|
|
2907
|
+
def Option(self, Option):
|
|
2908
|
+
self._Option = Option
|
|
2909
|
+
|
|
2910
|
+
@property
|
|
2911
|
+
def NFOption(self):
|
|
2912
|
+
return self._NFOption
|
|
2913
|
+
|
|
2914
|
+
@NFOption.setter
|
|
2915
|
+
def NFOption(self, NFOption):
|
|
2916
|
+
self._NFOption = NFOption
|
|
2917
|
+
|
|
2854
2918
|
|
|
2855
2919
|
def _deserialize(self, params):
|
|
2856
2920
|
self._ApplicationId = params.get("ApplicationId")
|
|
2857
|
-
self._ProjectId = params.get("ProjectId")
|
|
2858
2921
|
self._Name = params.get("Name")
|
|
2859
2922
|
self._EnvironmentId = params.get("EnvironmentId")
|
|
2860
2923
|
self._InputBase64 = params.get("InputBase64")
|
|
2861
2924
|
self._CacheClearDelay = params.get("CacheClearDelay")
|
|
2862
|
-
|
|
2863
|
-
self._Option = RunOption()
|
|
2864
|
-
self._Option._deserialize(params.get("Option"))
|
|
2925
|
+
self._ProjectId = params.get("ProjectId")
|
|
2865
2926
|
self._Description = params.get("Description")
|
|
2866
2927
|
self._TableId = params.get("TableId")
|
|
2867
2928
|
self._TableRowUuids = params.get("TableRowUuids")
|
|
2868
2929
|
self._ApplicationVersionId = params.get("ApplicationVersionId")
|
|
2930
|
+
if params.get("Option") is not None:
|
|
2931
|
+
self._Option = RunOption()
|
|
2932
|
+
self._Option._deserialize(params.get("Option"))
|
|
2933
|
+
if params.get("NFOption") is not None:
|
|
2934
|
+
self._NFOption = NFOption()
|
|
2935
|
+
self._NFOption._deserialize(params.get("NFOption"))
|
|
2869
2936
|
memeber_set = set(params.keys())
|
|
2870
2937
|
for name, value in vars(self).items():
|
|
2871
2938
|
property_name = name[1:]
|