tencentcloud-sdk-python 3.0.1436__py2.py3-none-any.whl → 3.0.1438__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/apm/v20210622/models.py +15 -0
- tencentcloud/cdn/v20180606/models.py +8 -0
- tencentcloud/cfw/v20190904/cfw_client.py +0 -75
- tencentcloud/cfw/v20190904/models.py +107 -702
- tencentcloud/ciam/v20220331/errorcodes.py +1 -1
- tencentcloud/cls/v20201016/models.py +24 -16
- tencentcloud/cwp/v20180228/cwp_client.py +2 -2
- tencentcloud/cwp/v20180228/models.py +8 -8
- tencentcloud/dlc/v20210125/models.py +366 -15
- tencentcloud/ess/v20201111/ess_client.py +3 -6
- tencentcloud/ess/v20201111/models.py +8 -4
- tencentcloud/essbasic/v20210526/essbasic_client.py +0 -1
- tencentcloud/essbasic/v20210526/models.py +4 -0
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/models.py +204 -4
- tencentcloud/lke/v20231130/models.py +86 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/ocr/v20181119/models.py +88 -2
- tencentcloud/partners/v20180321/partners_client.py +2 -1
- tencentcloud/postgres/v20170312/models.py +28 -24
- tencentcloud/postgres/v20170312/postgres_client.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +8 -8
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +3 -3
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/tcbr/v20220217/models.py +266 -4
- tencentcloud/tcr/v20190924/models.py +2 -2
- tencentcloud/teo/v20220901/models.py +34 -104
- tencentcloud/teo/v20220901/teo_client.py +15 -4
- tencentcloud/tsf/v20180326/models.py +1211 -0
- tencentcloud/tsf/v20180326/tsf_client.py +69 -0
- tencentcloud/wedata/v20210820/models.py +270 -4
- tencentcloud/wsa/v20250508/models.py +22 -4
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/RECORD +39 -39
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/top_level.txt +0 -0
|
@@ -77,9 +77,15 @@ FAILEDOPERATION_RULEALREADYENABLED = 'FailedOperation.RuleAlreadyEnabled'
|
|
|
77
77
|
# 部分产品已经被绑定。
|
|
78
78
|
FAILEDOPERATION_SOMEPRODUCTISALREADYBINDED = 'FailedOperation.SomeProductIsAlreadyBinded'
|
|
79
79
|
|
|
80
|
+
# 目标设备存在启用状态的 TWeSee 配置
|
|
81
|
+
FAILEDOPERATION_TARGETDEVICEHASENABLEDWESEECONFIG = 'FailedOperation.TargetDeviceHasEnabledWeSeeConfig'
|
|
82
|
+
|
|
80
83
|
# 超过时间。
|
|
81
84
|
FAILEDOPERATION_TIMEOUT = 'FailedOperation.Timeout'
|
|
82
85
|
|
|
86
|
+
# 未开通 TWeSee 后付费服务
|
|
87
|
+
FAILEDOPERATION_WESEESERVICENOTENABLED = 'FailedOperation.WeSeeServiceNotEnabled'
|
|
88
|
+
|
|
83
89
|
# 内部错误。
|
|
84
90
|
INTERNALERROR = 'InternalError'
|
|
85
91
|
|
|
@@ -458,12 +464,18 @@ RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = 'ResourceNotFound.TopicPolicyNotExist'
|
|
|
458
464
|
# 规则不存在。
|
|
459
465
|
RESOURCENOTFOUND_TOPICRULENOTEXIST = 'ResourceNotFound.TopicRuleNotExist'
|
|
460
466
|
|
|
467
|
+
# TWeSee 后付费资源已隔离
|
|
468
|
+
RESOURCEUNAVAILABLE_WESEESERVICEISOLATED = 'ResourceUnavailable.WeSeeServiceIsolated'
|
|
469
|
+
|
|
461
470
|
# 未授权操作。
|
|
462
471
|
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
463
472
|
|
|
464
473
|
# APP对产品没有权限。
|
|
465
474
|
UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = 'UnauthorizedOperation.APPNoPermissionToStudioProduct'
|
|
466
475
|
|
|
476
|
+
# 该账号未在白名单内,不能通过 API 创建 AI 任务
|
|
477
|
+
UNAUTHORIZEDOPERATION_APICREATEAITASKNOTINWHITELIST = 'UnauthorizedOperation.ApiCreateAITaskNotInWhitelist'
|
|
478
|
+
|
|
467
479
|
# App无权限。
|
|
468
480
|
UNAUTHORIZEDOPERATION_APPNOPERMISSION = 'UnauthorizedOperation.AppNoPermission'
|
|
469
481
|
|
|
@@ -5869,6 +5869,8 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
5869
5869
|
- `minutely`:分钟级(默认值)
|
|
5870
5870
|
- `immediate`:立即
|
|
5871
5871
|
:type SummaryQOS: str
|
|
5872
|
+
:param _SummaryConfig: 摘要输出配置
|
|
5873
|
+
:type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
5872
5874
|
"""
|
|
5873
5875
|
self._ProductId = None
|
|
5874
5876
|
self._DeviceName = None
|
|
@@ -5881,6 +5883,7 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
5881
5883
|
self._IsCustomDevice = None
|
|
5882
5884
|
self._InputType = None
|
|
5883
5885
|
self._SummaryQOS = None
|
|
5886
|
+
self._SummaryConfig = None
|
|
5884
5887
|
|
|
5885
5888
|
@property
|
|
5886
5889
|
def ProductId(self):
|
|
@@ -6009,6 +6012,17 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
6009
6012
|
def SummaryQOS(self, SummaryQOS):
|
|
6010
6013
|
self._SummaryQOS = SummaryQOS
|
|
6011
6014
|
|
|
6015
|
+
@property
|
|
6016
|
+
def SummaryConfig(self):
|
|
6017
|
+
"""摘要输出配置
|
|
6018
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
6019
|
+
"""
|
|
6020
|
+
return self._SummaryConfig
|
|
6021
|
+
|
|
6022
|
+
@SummaryConfig.setter
|
|
6023
|
+
def SummaryConfig(self, SummaryConfig):
|
|
6024
|
+
self._SummaryConfig = SummaryConfig
|
|
6025
|
+
|
|
6012
6026
|
|
|
6013
6027
|
def _deserialize(self, params):
|
|
6014
6028
|
self._ProductId = params.get("ProductId")
|
|
@@ -6022,6 +6036,9 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
6022
6036
|
self._IsCustomDevice = params.get("IsCustomDevice")
|
|
6023
6037
|
self._InputType = params.get("InputType")
|
|
6024
6038
|
self._SummaryQOS = params.get("SummaryQOS")
|
|
6039
|
+
if params.get("SummaryConfig") is not None:
|
|
6040
|
+
self._SummaryConfig = VisionSummaryConfig()
|
|
6041
|
+
self._SummaryConfig._deserialize(params.get("SummaryConfig"))
|
|
6025
6042
|
memeber_set = set(params.keys())
|
|
6026
6043
|
for name, value in vars(self).items():
|
|
6027
6044
|
property_name = name[1:]
|
|
@@ -21158,6 +21175,8 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21158
21175
|
- `minutely`:分钟级(默认值)
|
|
21159
21176
|
- `immediate`:立即
|
|
21160
21177
|
:type SummaryQOS: str
|
|
21178
|
+
:param _SummaryConfig: 摘要输出配置
|
|
21179
|
+
:type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
21161
21180
|
"""
|
|
21162
21181
|
self._ProductId = None
|
|
21163
21182
|
self._DeviceName = None
|
|
@@ -21170,6 +21189,7 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21170
21189
|
self._IsCustomDevice = None
|
|
21171
21190
|
self._InputType = None
|
|
21172
21191
|
self._SummaryQOS = None
|
|
21192
|
+
self._SummaryConfig = None
|
|
21173
21193
|
|
|
21174
21194
|
@property
|
|
21175
21195
|
def ProductId(self):
|
|
@@ -21298,6 +21318,17 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21298
21318
|
def SummaryQOS(self, SummaryQOS):
|
|
21299
21319
|
self._SummaryQOS = SummaryQOS
|
|
21300
21320
|
|
|
21321
|
+
@property
|
|
21322
|
+
def SummaryConfig(self):
|
|
21323
|
+
"""摘要输出配置
|
|
21324
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
21325
|
+
"""
|
|
21326
|
+
return self._SummaryConfig
|
|
21327
|
+
|
|
21328
|
+
@SummaryConfig.setter
|
|
21329
|
+
def SummaryConfig(self, SummaryConfig):
|
|
21330
|
+
self._SummaryConfig = SummaryConfig
|
|
21331
|
+
|
|
21301
21332
|
|
|
21302
21333
|
def _deserialize(self, params):
|
|
21303
21334
|
self._ProductId = params.get("ProductId")
|
|
@@ -21311,6 +21342,9 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21311
21342
|
self._IsCustomDevice = params.get("IsCustomDevice")
|
|
21312
21343
|
self._InputType = params.get("InputType")
|
|
21313
21344
|
self._SummaryQOS = params.get("SummaryQOS")
|
|
21345
|
+
if params.get("SummaryConfig") is not None:
|
|
21346
|
+
self._SummaryConfig = VisionSummaryConfig()
|
|
21347
|
+
self._SummaryConfig._deserialize(params.get("SummaryConfig"))
|
|
21314
21348
|
memeber_set = set(params.keys())
|
|
21315
21349
|
for name, value in vars(self).items():
|
|
21316
21350
|
property_name = name[1:]
|
|
@@ -24750,6 +24784,8 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
|
|
|
24750
24784
|
:type EnableSearch: bool
|
|
24751
24785
|
:param _Config: 配置参数,不传则不修改
|
|
24752
24786
|
:type Config: str
|
|
24787
|
+
:param _SummaryConfig: 视频摘要配置参数,不传则不修改
|
|
24788
|
+
:type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
24753
24789
|
"""
|
|
24754
24790
|
self._ProductId = None
|
|
24755
24791
|
self._DeviceName = None
|
|
@@ -24758,6 +24794,7 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
|
|
|
24758
24794
|
self._EnableSummary = None
|
|
24759
24795
|
self._EnableSearch = None
|
|
24760
24796
|
self._Config = None
|
|
24797
|
+
self._SummaryConfig = None
|
|
24761
24798
|
|
|
24762
24799
|
@property
|
|
24763
24800
|
def ProductId(self):
|
|
@@ -24836,6 +24873,17 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
|
|
|
24836
24873
|
def Config(self, Config):
|
|
24837
24874
|
self._Config = Config
|
|
24838
24875
|
|
|
24876
|
+
@property
|
|
24877
|
+
def SummaryConfig(self):
|
|
24878
|
+
"""视频摘要配置参数,不传则不修改
|
|
24879
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
24880
|
+
"""
|
|
24881
|
+
return self._SummaryConfig
|
|
24882
|
+
|
|
24883
|
+
@SummaryConfig.setter
|
|
24884
|
+
def SummaryConfig(self, SummaryConfig):
|
|
24885
|
+
self._SummaryConfig = SummaryConfig
|
|
24886
|
+
|
|
24839
24887
|
|
|
24840
24888
|
def _deserialize(self, params):
|
|
24841
24889
|
self._ProductId = params.get("ProductId")
|
|
@@ -24845,6 +24893,9 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
|
|
|
24845
24893
|
self._EnableSummary = params.get("EnableSummary")
|
|
24846
24894
|
self._EnableSearch = params.get("EnableSearch")
|
|
24847
24895
|
self._Config = params.get("Config")
|
|
24896
|
+
if params.get("SummaryConfig") is not None:
|
|
24897
|
+
self._SummaryConfig = VisionSummaryConfig()
|
|
24898
|
+
self._SummaryConfig._deserialize(params.get("SummaryConfig"))
|
|
24848
24899
|
memeber_set = set(params.keys())
|
|
24849
24900
|
for name, value in vars(self).items():
|
|
24850
24901
|
property_name = name[1:]
|
|
@@ -30421,7 +30472,7 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30421
30472
|
|
|
30422
30473
|
def __init__(self):
|
|
30423
30474
|
r"""
|
|
30424
|
-
:param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3
|
|
30475
|
+
:param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
|
30425
30476
|
:type Status: int
|
|
30426
30477
|
:param _DetectedClassifications: 识别到的目标类型。可能取值:
|
|
30427
30478
|
|
|
@@ -30433,21 +30484,26 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30433
30484
|
- `smoke`:烟雾
|
|
30434
30485
|
- `package`:快递包裹
|
|
30435
30486
|
- `license_plate`:车牌
|
|
30436
|
-
|
|
30437
30487
|
:type DetectedClassifications: list of str
|
|
30438
30488
|
:param _Summary: 摘要文本
|
|
30439
30489
|
:type Summary: str
|
|
30440
30490
|
:param _AlternativeSummary: 摘要文本(次选语言)
|
|
30441
30491
|
:type AlternativeSummary: str
|
|
30492
|
+
:param _ErrorCode: 错误码,可能取值:
|
|
30493
|
+
|
|
30494
|
+
- `DownloadFailed`:下载视频/图片文件失败
|
|
30495
|
+
- `ReadFailed`:读取视频/图片文件失败
|
|
30496
|
+
:type ErrorCode: str
|
|
30442
30497
|
"""
|
|
30443
30498
|
self._Status = None
|
|
30444
30499
|
self._DetectedClassifications = None
|
|
30445
30500
|
self._Summary = None
|
|
30446
30501
|
self._AlternativeSummary = None
|
|
30502
|
+
self._ErrorCode = None
|
|
30447
30503
|
|
|
30448
30504
|
@property
|
|
30449
30505
|
def Status(self):
|
|
30450
|
-
"""任务状态(1:分析失败;2:下载/读取视频/图片失败;3
|
|
30506
|
+
"""任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
|
30451
30507
|
:rtype: int
|
|
30452
30508
|
"""
|
|
30453
30509
|
return self._Status
|
|
@@ -30468,7 +30524,6 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30468
30524
|
- `smoke`:烟雾
|
|
30469
30525
|
- `package`:快递包裹
|
|
30470
30526
|
- `license_plate`:车牌
|
|
30471
|
-
|
|
30472
30527
|
:rtype: list of str
|
|
30473
30528
|
"""
|
|
30474
30529
|
return self._DetectedClassifications
|
|
@@ -30499,12 +30554,157 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30499
30554
|
def AlternativeSummary(self, AlternativeSummary):
|
|
30500
30555
|
self._AlternativeSummary = AlternativeSummary
|
|
30501
30556
|
|
|
30557
|
+
@property
|
|
30558
|
+
def ErrorCode(self):
|
|
30559
|
+
"""错误码,可能取值:
|
|
30560
|
+
|
|
30561
|
+
- `DownloadFailed`:下载视频/图片文件失败
|
|
30562
|
+
- `ReadFailed`:读取视频/图片文件失败
|
|
30563
|
+
:rtype: str
|
|
30564
|
+
"""
|
|
30565
|
+
return self._ErrorCode
|
|
30566
|
+
|
|
30567
|
+
@ErrorCode.setter
|
|
30568
|
+
def ErrorCode(self, ErrorCode):
|
|
30569
|
+
self._ErrorCode = ErrorCode
|
|
30570
|
+
|
|
30502
30571
|
|
|
30503
30572
|
def _deserialize(self, params):
|
|
30504
30573
|
self._Status = params.get("Status")
|
|
30505
30574
|
self._DetectedClassifications = params.get("DetectedClassifications")
|
|
30506
30575
|
self._Summary = params.get("Summary")
|
|
30507
30576
|
self._AlternativeSummary = params.get("AlternativeSummary")
|
|
30577
|
+
self._ErrorCode = params.get("ErrorCode")
|
|
30578
|
+
memeber_set = set(params.keys())
|
|
30579
|
+
for name, value in vars(self).items():
|
|
30580
|
+
property_name = name[1:]
|
|
30581
|
+
if property_name in memeber_set:
|
|
30582
|
+
memeber_set.remove(property_name)
|
|
30583
|
+
if len(memeber_set) > 0:
|
|
30584
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30585
|
+
|
|
30586
|
+
|
|
30587
|
+
|
|
30588
|
+
class VisionSummaryConfig(AbstractModel):
|
|
30589
|
+
"""视频摘要配置
|
|
30590
|
+
|
|
30591
|
+
"""
|
|
30592
|
+
|
|
30593
|
+
def __init__(self):
|
|
30594
|
+
r"""
|
|
30595
|
+
:param _OutputLang: 主输出语言
|
|
30596
|
+
|
|
30597
|
+
支持列表如下:
|
|
30598
|
+
zh 中文
|
|
30599
|
+
en 英语
|
|
30600
|
+
ja 日语
|
|
30601
|
+
ko 韩文
|
|
30602
|
+
pt-BR 葡萄牙语(巴西)
|
|
30603
|
+
th 泰语
|
|
30604
|
+
|
|
30605
|
+
:type OutputLang: str
|
|
30606
|
+
:param _AlternativeOutputLang: 可选输出语言
|
|
30607
|
+
|
|
30608
|
+
支持列表如下:
|
|
30609
|
+
zh 中文
|
|
30610
|
+
en 英语
|
|
30611
|
+
ja 日语
|
|
30612
|
+
ko 韩文
|
|
30613
|
+
pt-BR 葡萄牙语(巴西)
|
|
30614
|
+
th 泰语
|
|
30615
|
+
|
|
30616
|
+
:type AlternativeOutputLang: str
|
|
30617
|
+
:param _MultiCameraLayout: 多摄像头布局定义。可能取值:
|
|
30618
|
+
|
|
30619
|
+
- 单摄(默认值):`Single`
|
|
30620
|
+
|
|
30621
|
+
- 双摄(纵向排列)- 全部画面:`Vertical,Num=2,Index=0;1`
|
|
30622
|
+
- 双摄(纵向排列)- 画面1:`Vertical,Num=2,Index=0`
|
|
30623
|
+
- 双摄(纵向排列)- 画面2:`Vertical,Num=2,Index=1`
|
|
30624
|
+
|
|
30625
|
+
- 三摄(纵向排列)- 全部画面:`Vertical,Num=3,Index=0;1;2`
|
|
30626
|
+
- 三摄(纵向排列)- 画面1:`Vertical,Num=3,Index=0`
|
|
30627
|
+
- 三摄(纵向排列)- 画面2:`Vertical,Num=3,Index=1`
|
|
30628
|
+
- 三摄(纵向排列)- 画面3:`Vertical,Num=3,Index=2`
|
|
30629
|
+
- 三摄(纵向排列)- 画面1+2:`Vertical,Num=3,Index=0;1`
|
|
30630
|
+
- 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
|
|
30631
|
+
- 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
|
|
30632
|
+
:type MultiCameraLayout: str
|
|
30633
|
+
"""
|
|
30634
|
+
self._OutputLang = None
|
|
30635
|
+
self._AlternativeOutputLang = None
|
|
30636
|
+
self._MultiCameraLayout = None
|
|
30637
|
+
|
|
30638
|
+
@property
|
|
30639
|
+
def OutputLang(self):
|
|
30640
|
+
"""主输出语言
|
|
30641
|
+
|
|
30642
|
+
支持列表如下:
|
|
30643
|
+
zh 中文
|
|
30644
|
+
en 英语
|
|
30645
|
+
ja 日语
|
|
30646
|
+
ko 韩文
|
|
30647
|
+
pt-BR 葡萄牙语(巴西)
|
|
30648
|
+
th 泰语
|
|
30649
|
+
|
|
30650
|
+
:rtype: str
|
|
30651
|
+
"""
|
|
30652
|
+
return self._OutputLang
|
|
30653
|
+
|
|
30654
|
+
@OutputLang.setter
|
|
30655
|
+
def OutputLang(self, OutputLang):
|
|
30656
|
+
self._OutputLang = OutputLang
|
|
30657
|
+
|
|
30658
|
+
@property
|
|
30659
|
+
def AlternativeOutputLang(self):
|
|
30660
|
+
"""可选输出语言
|
|
30661
|
+
|
|
30662
|
+
支持列表如下:
|
|
30663
|
+
zh 中文
|
|
30664
|
+
en 英语
|
|
30665
|
+
ja 日语
|
|
30666
|
+
ko 韩文
|
|
30667
|
+
pt-BR 葡萄牙语(巴西)
|
|
30668
|
+
th 泰语
|
|
30669
|
+
|
|
30670
|
+
:rtype: str
|
|
30671
|
+
"""
|
|
30672
|
+
return self._AlternativeOutputLang
|
|
30673
|
+
|
|
30674
|
+
@AlternativeOutputLang.setter
|
|
30675
|
+
def AlternativeOutputLang(self, AlternativeOutputLang):
|
|
30676
|
+
self._AlternativeOutputLang = AlternativeOutputLang
|
|
30677
|
+
|
|
30678
|
+
@property
|
|
30679
|
+
def MultiCameraLayout(self):
|
|
30680
|
+
"""多摄像头布局定义。可能取值:
|
|
30681
|
+
|
|
30682
|
+
- 单摄(默认值):`Single`
|
|
30683
|
+
|
|
30684
|
+
- 双摄(纵向排列)- 全部画面:`Vertical,Num=2,Index=0;1`
|
|
30685
|
+
- 双摄(纵向排列)- 画面1:`Vertical,Num=2,Index=0`
|
|
30686
|
+
- 双摄(纵向排列)- 画面2:`Vertical,Num=2,Index=1`
|
|
30687
|
+
|
|
30688
|
+
- 三摄(纵向排列)- 全部画面:`Vertical,Num=3,Index=0;1;2`
|
|
30689
|
+
- 三摄(纵向排列)- 画面1:`Vertical,Num=3,Index=0`
|
|
30690
|
+
- 三摄(纵向排列)- 画面2:`Vertical,Num=3,Index=1`
|
|
30691
|
+
- 三摄(纵向排列)- 画面3:`Vertical,Num=3,Index=2`
|
|
30692
|
+
- 三摄(纵向排列)- 画面1+2:`Vertical,Num=3,Index=0;1`
|
|
30693
|
+
- 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
|
|
30694
|
+
- 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
|
|
30695
|
+
:rtype: str
|
|
30696
|
+
"""
|
|
30697
|
+
return self._MultiCameraLayout
|
|
30698
|
+
|
|
30699
|
+
@MultiCameraLayout.setter
|
|
30700
|
+
def MultiCameraLayout(self, MultiCameraLayout):
|
|
30701
|
+
self._MultiCameraLayout = MultiCameraLayout
|
|
30702
|
+
|
|
30703
|
+
|
|
30704
|
+
def _deserialize(self, params):
|
|
30705
|
+
self._OutputLang = params.get("OutputLang")
|
|
30706
|
+
self._AlternativeOutputLang = params.get("AlternativeOutputLang")
|
|
30707
|
+
self._MultiCameraLayout = params.get("MultiCameraLayout")
|
|
30508
30708
|
memeber_set = set(params.keys())
|
|
30509
30709
|
for name, value in vars(self).items():
|
|
30510
30710
|
property_name = name[1:]
|
|
@@ -12577,6 +12577,57 @@ class DocSegment(AbstractModel):
|
|
|
12577
12577
|
|
|
12578
12578
|
|
|
12579
12579
|
|
|
12580
|
+
class DuplicateFileHandle(AbstractModel):
|
|
12581
|
+
"""重复文档处理方式
|
|
12582
|
+
|
|
12583
|
+
"""
|
|
12584
|
+
|
|
12585
|
+
def __init__(self):
|
|
12586
|
+
r"""
|
|
12587
|
+
:param _CheckType: 重复文档判断方式,1:按文档内容,即cos_hash字段判断是否重复
|
|
12588
|
+
:type CheckType: int
|
|
12589
|
+
:param _HandleType: 重复文档处理方式,1:返回报错,2:跳过,返回重复的文档业务ID
|
|
12590
|
+
:type HandleType: int
|
|
12591
|
+
"""
|
|
12592
|
+
self._CheckType = None
|
|
12593
|
+
self._HandleType = None
|
|
12594
|
+
|
|
12595
|
+
@property
|
|
12596
|
+
def CheckType(self):
|
|
12597
|
+
"""重复文档判断方式,1:按文档内容,即cos_hash字段判断是否重复
|
|
12598
|
+
:rtype: int
|
|
12599
|
+
"""
|
|
12600
|
+
return self._CheckType
|
|
12601
|
+
|
|
12602
|
+
@CheckType.setter
|
|
12603
|
+
def CheckType(self, CheckType):
|
|
12604
|
+
self._CheckType = CheckType
|
|
12605
|
+
|
|
12606
|
+
@property
|
|
12607
|
+
def HandleType(self):
|
|
12608
|
+
"""重复文档处理方式,1:返回报错,2:跳过,返回重复的文档业务ID
|
|
12609
|
+
:rtype: int
|
|
12610
|
+
"""
|
|
12611
|
+
return self._HandleType
|
|
12612
|
+
|
|
12613
|
+
@HandleType.setter
|
|
12614
|
+
def HandleType(self, HandleType):
|
|
12615
|
+
self._HandleType = HandleType
|
|
12616
|
+
|
|
12617
|
+
|
|
12618
|
+
def _deserialize(self, params):
|
|
12619
|
+
self._CheckType = params.get("CheckType")
|
|
12620
|
+
self._HandleType = params.get("HandleType")
|
|
12621
|
+
memeber_set = set(params.keys())
|
|
12622
|
+
for name, value in vars(self).items():
|
|
12623
|
+
property_name = name[1:]
|
|
12624
|
+
if property_name in memeber_set:
|
|
12625
|
+
memeber_set.remove(property_name)
|
|
12626
|
+
if len(memeber_set) > 0:
|
|
12627
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12628
|
+
|
|
12629
|
+
|
|
12630
|
+
|
|
12580
12631
|
class ExportAttributeLabelRequest(AbstractModel):
|
|
12581
12632
|
"""ExportAttributeLabel请求参数结构体
|
|
12582
12633
|
|
|
@@ -28229,6 +28280,8 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
|
|
|
28229
28280
|
:type CateBizId: str
|
|
28230
28281
|
:param _IsDownload: 是否可下载,IsRefer为true并且ReferUrlType为0时,该值才有意义
|
|
28231
28282
|
:type IsDownload: bool
|
|
28283
|
+
:param _DuplicateFileHandles: 重复文档处理方式,按顺序匹配第一个满足条件的方式处理
|
|
28284
|
+
:type DuplicateFileHandles: list of DuplicateFileHandle
|
|
28232
28285
|
"""
|
|
28233
28286
|
self._BotBizId = None
|
|
28234
28287
|
self._FileName = None
|
|
@@ -28248,6 +28301,7 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
|
|
|
28248
28301
|
self._Opt = None
|
|
28249
28302
|
self._CateBizId = None
|
|
28250
28303
|
self._IsDownload = None
|
|
28304
|
+
self._DuplicateFileHandles = None
|
|
28251
28305
|
|
|
28252
28306
|
@property
|
|
28253
28307
|
def BotBizId(self):
|
|
@@ -28457,6 +28511,17 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
|
|
|
28457
28511
|
def IsDownload(self, IsDownload):
|
|
28458
28512
|
self._IsDownload = IsDownload
|
|
28459
28513
|
|
|
28514
|
+
@property
|
|
28515
|
+
def DuplicateFileHandles(self):
|
|
28516
|
+
"""重复文档处理方式,按顺序匹配第一个满足条件的方式处理
|
|
28517
|
+
:rtype: list of DuplicateFileHandle
|
|
28518
|
+
"""
|
|
28519
|
+
return self._DuplicateFileHandles
|
|
28520
|
+
|
|
28521
|
+
@DuplicateFileHandles.setter
|
|
28522
|
+
def DuplicateFileHandles(self, DuplicateFileHandles):
|
|
28523
|
+
self._DuplicateFileHandles = DuplicateFileHandles
|
|
28524
|
+
|
|
28460
28525
|
|
|
28461
28526
|
def _deserialize(self, params):
|
|
28462
28527
|
self._BotBizId = params.get("BotBizId")
|
|
@@ -28482,6 +28547,12 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
|
|
|
28482
28547
|
self._Opt = params.get("Opt")
|
|
28483
28548
|
self._CateBizId = params.get("CateBizId")
|
|
28484
28549
|
self._IsDownload = params.get("IsDownload")
|
|
28550
|
+
if params.get("DuplicateFileHandles") is not None:
|
|
28551
|
+
self._DuplicateFileHandles = []
|
|
28552
|
+
for item in params.get("DuplicateFileHandles"):
|
|
28553
|
+
obj = DuplicateFileHandle()
|
|
28554
|
+
obj._deserialize(item)
|
|
28555
|
+
self._DuplicateFileHandles.append(obj)
|
|
28485
28556
|
memeber_set = set(params.keys())
|
|
28486
28557
|
for name, value in vars(self).items():
|
|
28487
28558
|
property_name = name[1:]
|
|
@@ -28507,6 +28578,8 @@ class SaveDocResponse(AbstractModel):
|
|
|
28507
28578
|
:type ErrorLink: str
|
|
28508
28579
|
:param _ErrorLinkText: 错误链接文本
|
|
28509
28580
|
:type ErrorLinkText: str
|
|
28581
|
+
:param _DuplicateFileCheckType: 重复类型,0:未重复,其他取值请参考入参DuplicateFileHandle结构体的CheckType字段
|
|
28582
|
+
:type DuplicateFileCheckType: int
|
|
28510
28583
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28511
28584
|
:type RequestId: str
|
|
28512
28585
|
"""
|
|
@@ -28514,6 +28587,7 @@ class SaveDocResponse(AbstractModel):
|
|
|
28514
28587
|
self._ErrorMsg = None
|
|
28515
28588
|
self._ErrorLink = None
|
|
28516
28589
|
self._ErrorLinkText = None
|
|
28590
|
+
self._DuplicateFileCheckType = None
|
|
28517
28591
|
self._RequestId = None
|
|
28518
28592
|
|
|
28519
28593
|
@property
|
|
@@ -28560,6 +28634,17 @@ class SaveDocResponse(AbstractModel):
|
|
|
28560
28634
|
def ErrorLinkText(self, ErrorLinkText):
|
|
28561
28635
|
self._ErrorLinkText = ErrorLinkText
|
|
28562
28636
|
|
|
28637
|
+
@property
|
|
28638
|
+
def DuplicateFileCheckType(self):
|
|
28639
|
+
"""重复类型,0:未重复,其他取值请参考入参DuplicateFileHandle结构体的CheckType字段
|
|
28640
|
+
:rtype: int
|
|
28641
|
+
"""
|
|
28642
|
+
return self._DuplicateFileCheckType
|
|
28643
|
+
|
|
28644
|
+
@DuplicateFileCheckType.setter
|
|
28645
|
+
def DuplicateFileCheckType(self, DuplicateFileCheckType):
|
|
28646
|
+
self._DuplicateFileCheckType = DuplicateFileCheckType
|
|
28647
|
+
|
|
28563
28648
|
@property
|
|
28564
28649
|
def RequestId(self):
|
|
28565
28650
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -28577,6 +28662,7 @@ class SaveDocResponse(AbstractModel):
|
|
|
28577
28662
|
self._ErrorMsg = params.get("ErrorMsg")
|
|
28578
28663
|
self._ErrorLink = params.get("ErrorLink")
|
|
28579
28664
|
self._ErrorLinkText = params.get("ErrorLinkText")
|
|
28665
|
+
self._DuplicateFileCheckType = params.get("DuplicateFileCheckType")
|
|
28580
28666
|
self._RequestId = params.get("RequestId")
|
|
28581
28667
|
|
|
28582
28668
|
|
|
@@ -20,6 +20,9 @@ AUTHFAILURE = 'AuthFailure'
|
|
|
20
20
|
# 操作失败。
|
|
21
21
|
FAILEDOPERATION = 'FailedOperation'
|
|
22
22
|
|
|
23
|
+
# 实例开启了销毁保护,不允许销毁
|
|
24
|
+
FAILEDOPERATION_DELETIONPROTECTIONENABLED = 'FailedOperation.DeletionProtectionEnabled'
|
|
25
|
+
|
|
23
26
|
# 按key回档未开启
|
|
24
27
|
FAILEDOPERATION_FLASHBACKBYKEYNOTOPEN = 'FailedOperation.FlashbackByKeyNotOpen'
|
|
25
28
|
|
|
@@ -1206,7 +1206,7 @@ class MongodbClient(AbstractClient):
|
|
|
1206
1206
|
|
|
1207
1207
|
|
|
1208
1208
|
def TerminateDBInstances(self, request):
|
|
1209
|
-
"""本接口(TerminateDBInstances
|
|
1209
|
+
"""本接口(TerminateDBInstances)用于退还包年包月计费实例。
|
|
1210
1210
|
|
|
1211
1211
|
:param request: Request instance for TerminateDBInstances.
|
|
1212
1212
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.TerminateDBInstancesRequest`
|
|
@@ -11899,11 +11899,14 @@ class GetOCRResultResponse(AbstractModel):
|
|
|
11899
11899
|
:type Type: str
|
|
11900
11900
|
:param _OCRResult: ocr结果
|
|
11901
11901
|
:type OCRResult: :class:`tencentcloud.ocr.v20181119.models.OCRResult`
|
|
11902
|
+
:param _RequestIdInfos: requestid 信息
|
|
11903
|
+
:type RequestIdInfos: list of RequestIdInfo
|
|
11902
11904
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11903
11905
|
:type RequestId: str
|
|
11904
11906
|
"""
|
|
11905
11907
|
self._Type = None
|
|
11906
11908
|
self._OCRResult = None
|
|
11909
|
+
self._RequestIdInfos = None
|
|
11907
11910
|
self._RequestId = None
|
|
11908
11911
|
|
|
11909
11912
|
@property
|
|
@@ -11928,6 +11931,17 @@ class GetOCRResultResponse(AbstractModel):
|
|
|
11928
11931
|
def OCRResult(self, OCRResult):
|
|
11929
11932
|
self._OCRResult = OCRResult
|
|
11930
11933
|
|
|
11934
|
+
@property
|
|
11935
|
+
def RequestIdInfos(self):
|
|
11936
|
+
"""requestid 信息
|
|
11937
|
+
:rtype: list of RequestIdInfo
|
|
11938
|
+
"""
|
|
11939
|
+
return self._RequestIdInfos
|
|
11940
|
+
|
|
11941
|
+
@RequestIdInfos.setter
|
|
11942
|
+
def RequestIdInfos(self, RequestIdInfos):
|
|
11943
|
+
self._RequestIdInfos = RequestIdInfos
|
|
11944
|
+
|
|
11931
11945
|
@property
|
|
11932
11946
|
def RequestId(self):
|
|
11933
11947
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -11945,6 +11959,12 @@ class GetOCRResultResponse(AbstractModel):
|
|
|
11945
11959
|
if params.get("OCRResult") is not None:
|
|
11946
11960
|
self._OCRResult = OCRResult()
|
|
11947
11961
|
self._OCRResult._deserialize(params.get("OCRResult"))
|
|
11962
|
+
if params.get("RequestIdInfos") is not None:
|
|
11963
|
+
self._RequestIdInfos = []
|
|
11964
|
+
for item in params.get("RequestIdInfos"):
|
|
11965
|
+
obj = RequestIdInfo()
|
|
11966
|
+
obj._deserialize(item)
|
|
11967
|
+
self._RequestIdInfos.append(obj)
|
|
11948
11968
|
self._RequestId = params.get("RequestId")
|
|
11949
11969
|
|
|
11950
11970
|
|
|
@@ -12213,7 +12233,7 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
|
12213
12233
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12214
12234
|
:type SmallHeadImage: str
|
|
12215
12235
|
:param _WarningCode: 该字段已废弃, 将固定返回空数组,不建议使用。
|
|
12216
|
-
|
|
12236
|
+
|
|
12217
12237
|
:type WarningCode: list of int
|
|
12218
12238
|
:param _WarnCardInfos: 告警码
|
|
12219
12239
|
-9101 证件边框不完整告警
|
|
@@ -12408,7 +12428,7 @@ This field is deprecated and will always return an empty array. Usage is not rec
|
|
|
12408
12428
|
warnings.warn("parameter `WarningCode` is deprecated", DeprecationWarning)
|
|
12409
12429
|
|
|
12410
12430
|
"""该字段已废弃, 将固定返回空数组,不建议使用。
|
|
12411
|
-
|
|
12431
|
+
|
|
12412
12432
|
:rtype: list of int
|
|
12413
12433
|
"""
|
|
12414
12434
|
return self._WarningCode
|
|
@@ -27584,6 +27604,72 @@ Others 其他位置
|
|
|
27584
27604
|
|
|
27585
27605
|
|
|
27586
27606
|
|
|
27607
|
+
class RequestIdInfo(AbstractModel):
|
|
27608
|
+
"""请求 id 信息
|
|
27609
|
+
|
|
27610
|
+
"""
|
|
27611
|
+
|
|
27612
|
+
def __init__(self):
|
|
27613
|
+
r"""
|
|
27614
|
+
:param _ApiRequestId: 请求 api 的 requestid
|
|
27615
|
+
:type ApiRequestId: str
|
|
27616
|
+
:param _ApiErrorCode: 请求 api 的错误码
|
|
27617
|
+
:type ApiErrorCode: str
|
|
27618
|
+
:param _WarnCodes: 告警码
|
|
27619
|
+
:type WarnCodes: list of int
|
|
27620
|
+
"""
|
|
27621
|
+
self._ApiRequestId = None
|
|
27622
|
+
self._ApiErrorCode = None
|
|
27623
|
+
self._WarnCodes = None
|
|
27624
|
+
|
|
27625
|
+
@property
|
|
27626
|
+
def ApiRequestId(self):
|
|
27627
|
+
"""请求 api 的 requestid
|
|
27628
|
+
:rtype: str
|
|
27629
|
+
"""
|
|
27630
|
+
return self._ApiRequestId
|
|
27631
|
+
|
|
27632
|
+
@ApiRequestId.setter
|
|
27633
|
+
def ApiRequestId(self, ApiRequestId):
|
|
27634
|
+
self._ApiRequestId = ApiRequestId
|
|
27635
|
+
|
|
27636
|
+
@property
|
|
27637
|
+
def ApiErrorCode(self):
|
|
27638
|
+
"""请求 api 的错误码
|
|
27639
|
+
:rtype: str
|
|
27640
|
+
"""
|
|
27641
|
+
return self._ApiErrorCode
|
|
27642
|
+
|
|
27643
|
+
@ApiErrorCode.setter
|
|
27644
|
+
def ApiErrorCode(self, ApiErrorCode):
|
|
27645
|
+
self._ApiErrorCode = ApiErrorCode
|
|
27646
|
+
|
|
27647
|
+
@property
|
|
27648
|
+
def WarnCodes(self):
|
|
27649
|
+
"""告警码
|
|
27650
|
+
:rtype: list of int
|
|
27651
|
+
"""
|
|
27652
|
+
return self._WarnCodes
|
|
27653
|
+
|
|
27654
|
+
@WarnCodes.setter
|
|
27655
|
+
def WarnCodes(self, WarnCodes):
|
|
27656
|
+
self._WarnCodes = WarnCodes
|
|
27657
|
+
|
|
27658
|
+
|
|
27659
|
+
def _deserialize(self, params):
|
|
27660
|
+
self._ApiRequestId = params.get("ApiRequestId")
|
|
27661
|
+
self._ApiErrorCode = params.get("ApiErrorCode")
|
|
27662
|
+
self._WarnCodes = params.get("WarnCodes")
|
|
27663
|
+
memeber_set = set(params.keys())
|
|
27664
|
+
for name, value in vars(self).items():
|
|
27665
|
+
property_name = name[1:]
|
|
27666
|
+
if property_name in memeber_set:
|
|
27667
|
+
memeber_set.remove(property_name)
|
|
27668
|
+
if len(memeber_set) > 0:
|
|
27669
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27670
|
+
|
|
27671
|
+
|
|
27672
|
+
|
|
27587
27673
|
class ResidenceBookletOCRRequest(AbstractModel):
|
|
27588
27674
|
"""ResidenceBookletOCR请求参数结构体
|
|
27589
27675
|
|
|
@@ -237,7 +237,8 @@ class PartnersClient(AbstractClient):
|
|
|
237
237
|
|
|
238
238
|
|
|
239
239
|
def DescribeAgentDealsByCache(self, request):
|
|
240
|
-
"""
|
|
240
|
+
"""供代理商拉取全量预付费普通客户订单
|
|
241
|
+
(对应控制台:客户订单-预付费-普通订单)
|
|
241
242
|
|
|
242
243
|
:param request: Request instance for DescribeAgentDealsByCache.
|
|
243
244
|
:type request: :class:`tencentcloud.partners.v20180321.models.DescribeAgentDealsByCacheRequest`
|