tencentcloud-sdk-python-intl-en 3.0.1084__py2.py3-none-any.whl → 3.0.1085__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/gwlb/v20240906/models.py +50 -30
- tencentcloud/ims/v20201229/errorcodes.py +9 -0
- tencentcloud/ims/v20201229/models.py +4 -4
- tencentcloud/ocr/v20181119/models.py +17 -0
- tencentcloud/tke/v20220501/__init__.py +0 -0
- tencentcloud/tke/v20220501/errorcodes.py +69 -0
- tencentcloud/tke/v20220501/models.py +6338 -0
- tencentcloud/tke/v20220501/tke_client.py +279 -0
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/tms/v20201229/models.py +2 -2
- tencentcloud/vpc/v20170312/errorcodes.py +67 -1
- tencentcloud/vpc/v20170312/models.py +1495 -606
- tencentcloud/vpc/v20170312/vpc_client.py +96 -4
- {tencentcloud_sdk_python_intl_en-3.0.1084.dist-info → tencentcloud_sdk_python_intl_en-3.0.1085.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1084.dist-info → tencentcloud_sdk_python_intl_en-3.0.1085.dist-info}/RECORD +18 -14
- {tencentcloud_sdk_python_intl_en-3.0.1084.dist-info → tencentcloud_sdk_python_intl_en-3.0.1085.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1084.dist-info → tencentcloud_sdk_python_intl_en-3.0.1085.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -94,9 +94,9 @@ class AssociationItem(AbstractModel):
|
|
|
94
94
|
|
|
95
95
|
def __init__(self):
|
|
96
96
|
r"""
|
|
97
|
-
:param _LoadBalancerId:
|
|
97
|
+
:param _LoadBalancerId: Associated GWLB instance ID
|
|
98
98
|
:type LoadBalancerId: str
|
|
99
|
-
:param _LoadBalancerName:
|
|
99
|
+
:param _LoadBalancerName: GWLB instance name
|
|
100
100
|
:type LoadBalancerName: str
|
|
101
101
|
"""
|
|
102
102
|
self._LoadBalancerId = None
|
|
@@ -104,7 +104,7 @@ class AssociationItem(AbstractModel):
|
|
|
104
104
|
|
|
105
105
|
@property
|
|
106
106
|
def LoadBalancerId(self):
|
|
107
|
-
"""
|
|
107
|
+
"""Associated GWLB instance ID
|
|
108
108
|
:rtype: str
|
|
109
109
|
"""
|
|
110
110
|
return self._LoadBalancerId
|
|
@@ -115,7 +115,7 @@ class AssociationItem(AbstractModel):
|
|
|
115
115
|
|
|
116
116
|
@property
|
|
117
117
|
def LoadBalancerName(self):
|
|
118
|
-
"""
|
|
118
|
+
"""GWLB instance name
|
|
119
119
|
:rtype: str
|
|
120
120
|
"""
|
|
121
121
|
return self._LoadBalancerName
|
|
@@ -149,7 +149,7 @@ class CreateGatewayLoadBalancerRequest(AbstractModel):
|
|
|
149
149
|
:type VpcId: str
|
|
150
150
|
:param _SubnetId: Subnet ID of the VPC to which the backend target device of the GWLB belongs.
|
|
151
151
|
:type SubnetId: str
|
|
152
|
-
:param _LoadBalancerName: GWLB instance name. It supports
|
|
152
|
+
:param _LoadBalancerName: GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
|
|
153
153
|
:type LoadBalancerName: str
|
|
154
154
|
:param _Number: Number of GWLBs to create, with a default of 1. The maximum batch creation quantity is 10.
|
|
155
155
|
:type Number: int
|
|
@@ -189,7 +189,7 @@ class CreateGatewayLoadBalancerRequest(AbstractModel):
|
|
|
189
189
|
|
|
190
190
|
@property
|
|
191
191
|
def LoadBalancerName(self):
|
|
192
|
-
"""GWLB instance name. It supports
|
|
192
|
+
"""GWLB instance name. It supports input of 1 to 60 characters. If not filled in, it will be generated automatically by default.
|
|
193
193
|
:rtype: str
|
|
194
194
|
"""
|
|
195
195
|
return self._LoadBalancerName
|
|
@@ -323,19 +323,23 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
|
323
323
|
|
|
324
324
|
def __init__(self):
|
|
325
325
|
r"""
|
|
326
|
-
:param _TargetGroupName: Target group name,
|
|
326
|
+
:param _TargetGroupName: Target group name, limited to 60 characters.
|
|
327
327
|
:type TargetGroupName: str
|
|
328
328
|
:param _VpcId: VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.
|
|
329
329
|
:type VpcId: str
|
|
330
|
-
:param _Port: Default port of target group
|
|
330
|
+
:param _Port: Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
|
|
331
331
|
:type Port: int
|
|
332
332
|
:param _TargetGroupInstances: Real server bound to a target group
|
|
333
333
|
:type TargetGroupInstances: list of TargetGroupInstance
|
|
334
|
-
:param _Protocol: GWLB target group protocol
|
|
334
|
+
:param _Protocol: GWLB target group protocol.
|
|
335
|
+
- TENCENT_GENEVE: GENEVE standard protocol
|
|
336
|
+
|
|
337
|
+
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting)
|
|
335
338
|
:type Protocol: str
|
|
336
|
-
:param _HealthCheck: Health check.
|
|
339
|
+
:param _HealthCheck: Health check settings.
|
|
337
340
|
:type HealthCheck: :class:`tencentcloud.gwlb.v20240906.models.TargetGroupHealthCheck`
|
|
338
|
-
:param _ScheduleAlgorithm:
|
|
341
|
+
:param _ScheduleAlgorithm: Load balancing algorithm.
|
|
342
|
+
- IP_HASH_3_ELASTIC: elastic hashing
|
|
339
343
|
:type ScheduleAlgorithm: str
|
|
340
344
|
:param _AllDeadToAlive: Whether "All Dead, All Alive" is supported. It is supported by default.
|
|
341
345
|
:type AllDeadToAlive: bool
|
|
@@ -351,7 +355,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
|
351
355
|
|
|
352
356
|
@property
|
|
353
357
|
def TargetGroupName(self):
|
|
354
|
-
"""Target group name,
|
|
358
|
+
"""Target group name, limited to 60 characters.
|
|
355
359
|
:rtype: str
|
|
356
360
|
"""
|
|
357
361
|
return self._TargetGroupName
|
|
@@ -373,7 +377,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
|
373
377
|
|
|
374
378
|
@property
|
|
375
379
|
def Port(self):
|
|
376
|
-
"""Default port of target group
|
|
380
|
+
"""Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.
|
|
377
381
|
:rtype: int
|
|
378
382
|
"""
|
|
379
383
|
return self._Port
|
|
@@ -395,7 +399,10 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
|
395
399
|
|
|
396
400
|
@property
|
|
397
401
|
def Protocol(self):
|
|
398
|
-
"""GWLB target group protocol
|
|
402
|
+
"""GWLB target group protocol.
|
|
403
|
+
- TENCENT_GENEVE: GENEVE standard protocol
|
|
404
|
+
|
|
405
|
+
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting)
|
|
399
406
|
:rtype: str
|
|
400
407
|
"""
|
|
401
408
|
return self._Protocol
|
|
@@ -406,7 +413,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
|
406
413
|
|
|
407
414
|
@property
|
|
408
415
|
def HealthCheck(self):
|
|
409
|
-
"""Health check.
|
|
416
|
+
"""Health check settings.
|
|
410
417
|
:rtype: :class:`tencentcloud.gwlb.v20240906.models.TargetGroupHealthCheck`
|
|
411
418
|
"""
|
|
412
419
|
return self._HealthCheck
|
|
@@ -417,7 +424,8 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
|
417
424
|
|
|
418
425
|
@property
|
|
419
426
|
def ScheduleAlgorithm(self):
|
|
420
|
-
"""
|
|
427
|
+
"""Load balancing algorithm.
|
|
428
|
+
- IP_HASH_3_ELASTIC: elastic hashing
|
|
421
429
|
:rtype: str
|
|
422
430
|
"""
|
|
423
431
|
return self._ScheduleAlgorithm
|
|
@@ -578,14 +586,14 @@ class DeleteTargetGroupsRequest(AbstractModel):
|
|
|
578
586
|
|
|
579
587
|
def __init__(self):
|
|
580
588
|
r"""
|
|
581
|
-
:param _TargetGroupIds: Target group list.
|
|
589
|
+
:param _TargetGroupIds: Target group ID list.
|
|
582
590
|
:type TargetGroupIds: list of str
|
|
583
591
|
"""
|
|
584
592
|
self._TargetGroupIds = None
|
|
585
593
|
|
|
586
594
|
@property
|
|
587
595
|
def TargetGroupIds(self):
|
|
588
|
-
"""Target group list.
|
|
596
|
+
"""Target group ID list.
|
|
589
597
|
:rtype: list of str
|
|
590
598
|
"""
|
|
591
599
|
return self._TargetGroupIds
|
|
@@ -2110,7 +2118,7 @@ class ModifyGatewayLoadBalancerAttributeRequest(AbstractModel):
|
|
|
2110
2118
|
r"""
|
|
2111
2119
|
:param _LoadBalancerId: Unique GWLB ID.
|
|
2112
2120
|
:type LoadBalancerId: str
|
|
2113
|
-
:param _LoadBalancerName: GWLB name.
|
|
2121
|
+
:param _LoadBalancerName: GWLB instance name. It supports input of 1 to 60 characters.
|
|
2114
2122
|
:type LoadBalancerName: str
|
|
2115
2123
|
"""
|
|
2116
2124
|
self._LoadBalancerId = None
|
|
@@ -2129,7 +2137,7 @@ class ModifyGatewayLoadBalancerAttributeRequest(AbstractModel):
|
|
|
2129
2137
|
|
|
2130
2138
|
@property
|
|
2131
2139
|
def LoadBalancerName(self):
|
|
2132
|
-
"""GWLB name.
|
|
2140
|
+
"""GWLB instance name. It supports input of 1 to 60 characters.
|
|
2133
2141
|
:rtype: str
|
|
2134
2142
|
"""
|
|
2135
2143
|
return self._LoadBalancerName
|
|
@@ -2300,7 +2308,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
|
|
|
2300
2308
|
r"""
|
|
2301
2309
|
:param _TargetGroupId: Target group ID.
|
|
2302
2310
|
:type TargetGroupId: str
|
|
2303
|
-
:param _TargetGroupInstances:
|
|
2311
|
+
:param _TargetGroupInstances: Instance binding configuration array.
|
|
2304
2312
|
:type TargetGroupInstances: list of TargetGroupInstance
|
|
2305
2313
|
"""
|
|
2306
2314
|
self._TargetGroupId = None
|
|
@@ -2319,7 +2327,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
|
|
|
2319
2327
|
|
|
2320
2328
|
@property
|
|
2321
2329
|
def TargetGroupInstances(self):
|
|
2322
|
-
"""
|
|
2330
|
+
"""Instance binding configuration array.
|
|
2323
2331
|
:rtype: list of TargetGroupInstance
|
|
2324
2332
|
"""
|
|
2325
2333
|
return self._TargetGroupInstances
|
|
@@ -2384,7 +2392,8 @@ class Price(AbstractModel):
|
|
|
2384
2392
|
r"""
|
|
2385
2393
|
:param _InstancePrice: It describes the instance price.Note: This field may return null, indicating that no valid value can be obtained.
|
|
2386
2394
|
:type InstancePrice: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
|
|
2387
|
-
:param _LcuPrice: It describes the
|
|
2395
|
+
:param _LcuPrice: It describes the price of GLCU.
|
|
2396
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2388
2397
|
:type LcuPrice: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
|
|
2389
2398
|
"""
|
|
2390
2399
|
self._InstancePrice = None
|
|
@@ -2403,7 +2412,8 @@ class Price(AbstractModel):
|
|
|
2403
2412
|
|
|
2404
2413
|
@property
|
|
2405
2414
|
def LcuPrice(self):
|
|
2406
|
-
"""It describes the
|
|
2415
|
+
"""It describes the price of GLCU.
|
|
2416
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2407
2417
|
:rtype: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
|
|
2408
2418
|
"""
|
|
2409
2419
|
return self._LcuPrice
|
|
@@ -2572,7 +2582,7 @@ class TargetGroupAssociation(AbstractModel):
|
|
|
2572
2582
|
|
|
2573
2583
|
def __init__(self):
|
|
2574
2584
|
r"""
|
|
2575
|
-
:param _LoadBalancerId:
|
|
2585
|
+
:param _LoadBalancerId: GWLB instance ID.
|
|
2576
2586
|
:type LoadBalancerId: str
|
|
2577
2587
|
:param _TargetGroupId: Target group ID.
|
|
2578
2588
|
:type TargetGroupId: str
|
|
@@ -2582,7 +2592,7 @@ class TargetGroupAssociation(AbstractModel):
|
|
|
2582
2592
|
|
|
2583
2593
|
@property
|
|
2584
2594
|
def LoadBalancerId(self):
|
|
2585
|
-
"""
|
|
2595
|
+
"""GWLB instance ID.
|
|
2586
2596
|
:rtype: str
|
|
2587
2597
|
"""
|
|
2588
2598
|
return self._LoadBalancerId
|
|
@@ -2827,7 +2837,10 @@ class TargetGroupHealthCheck(AbstractModel):
|
|
|
2827
2837
|
r"""
|
|
2828
2838
|
:param _HealthSwitch: Whether to enable the health check.
|
|
2829
2839
|
:type HealthSwitch: bool
|
|
2830
|
-
:param _Protocol: Protocol used for health
|
|
2840
|
+
:param _Protocol: Protocol used for health check, which supports PING and TCP and is PING by default.
|
|
2841
|
+
|
|
2842
|
+
- PING: icmp
|
|
2843
|
+
- TCP: tcp
|
|
2831
2844
|
:type Protocol: str
|
|
2832
2845
|
:param _Port: Health check port, which is required when the probe protocol is TCP.
|
|
2833
2846
|
:type Port: int
|
|
@@ -2861,7 +2874,10 @@ class TargetGroupHealthCheck(AbstractModel):
|
|
|
2861
2874
|
|
|
2862
2875
|
@property
|
|
2863
2876
|
def Protocol(self):
|
|
2864
|
-
"""Protocol used for health
|
|
2877
|
+
"""Protocol used for health check, which supports PING and TCP and is PING by default.
|
|
2878
|
+
|
|
2879
|
+
- PING: icmp
|
|
2880
|
+
- TCP: tcp
|
|
2865
2881
|
:rtype: str
|
|
2866
2882
|
"""
|
|
2867
2883
|
return self._Protocol
|
|
@@ -2969,7 +2985,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
2969
2985
|
:type AssociatedRule: list of AssociationItem
|
|
2970
2986
|
:param _Protocol: Backend protocol type.Note: This field may return null, indicating that no valid value can be obtained.
|
|
2971
2987
|
:type Protocol: str
|
|
2972
|
-
:param _ScheduleAlgorithm: Scheduling algorithm.
|
|
2988
|
+
:param _ScheduleAlgorithm: Scheduling algorithm.
|
|
2989
|
+
ip_hash_3: elastic hashing
|
|
2990
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
2973
2991
|
:type ScheduleAlgorithm: str
|
|
2974
2992
|
:param _HealthCheck: Health check details.Note: This field may return null, indicating that no valid value can be obtained.
|
|
2975
2993
|
:type HealthCheck: :class:`tencentcloud.gwlb.v20240906.models.TargetGroupHealthCheck`
|
|
@@ -3086,7 +3104,9 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
3086
3104
|
|
|
3087
3105
|
@property
|
|
3088
3106
|
def ScheduleAlgorithm(self):
|
|
3089
|
-
"""Scheduling algorithm.
|
|
3107
|
+
"""Scheduling algorithm.
|
|
3108
|
+
ip_hash_3: elastic hashing
|
|
3109
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
3090
3110
|
:rtype: str
|
|
3091
3111
|
"""
|
|
3092
3112
|
return self._ScheduleAlgorithm
|
|
@@ -29,6 +29,12 @@ INTERNALERROR_INTERNALERROR = 'InternalError.InternalError'
|
|
|
29
29
|
# The parameter is incorrect.
|
|
30
30
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
31
31
|
|
|
32
|
+
#
|
|
33
|
+
INVALIDPARAMETER_IMAGEASPECTRATIOTOOLARGE = 'InvalidParameter.ImageAspectRatioTooLarge'
|
|
34
|
+
|
|
35
|
+
#
|
|
36
|
+
INVALIDPARAMETER_IMAGEDATATOOSMALL = 'InvalidParameter.ImageDataTooSmall'
|
|
37
|
+
|
|
32
38
|
# The image resolution is too low.
|
|
33
39
|
INVALIDPARAMETER_IMAGESIZETOOSMALL = 'InvalidParameter.ImageSizeTooSmall'
|
|
34
40
|
|
|
@@ -92,6 +98,9 @@ RESOURCEUNAVAILABLE_IMAGEDOWNLOADERROR = 'ResourceUnavailable.ImageDownloadError
|
|
|
92
98
|
# The image resource is incorrect.
|
|
93
99
|
RESOURCEUNAVAILABLE_INVALIDIMAGECONTENT = 'ResourceUnavailable.InvalidImageContent'
|
|
94
100
|
|
|
101
|
+
#
|
|
102
|
+
RESOURCEUNAVAILABLE_MODELCALLFAILED = 'ResourceUnavailable.ModelCallFailed'
|
|
103
|
+
|
|
95
104
|
# The resources have been sold out.
|
|
96
105
|
RESOURCESSOLDOUT = 'ResourcesSoldOut'
|
|
97
106
|
|
|
@@ -168,7 +168,7 @@ class ImageModerationRequest(AbstractModel):
|
|
|
168
168
|
|
|
169
169
|
def __init__(self):
|
|
170
170
|
r"""
|
|
171
|
-
:param _BizType: This field indicates the specific number of the policy, which is used for API scheduling and can be configured in the CMS console. If the `Biztype` parameter is passed in, a moderation policy will be used based on the business scenario; otherwise, the default moderation policy will be used.<br>Note: `Biztype` can contain 3
|
|
171
|
+
:param _BizType: This field indicates the specific number of the policy, which is used for API scheduling and can be configured in the CMS console. If the `Biztype` parameter is passed in, a moderation policy will be used based on the business scenario; otherwise, the default moderation policy will be used.<br>Note: `Biztype` can contain 3-32 digits, letters, and underscores; different `Biztype` values are associated with different business scenarios and moderation policies, so you need to verify the `Biztype` before calling this API.
|
|
172
172
|
:type BizType: str
|
|
173
173
|
:param _DataId: This field indicates the data ID assigned by you to the object to be detected for easier file identification and management.<br>It **can contain up to 64 letters, digits, and special symbols (_-@#)**.
|
|
174
174
|
:type DataId: str
|
|
@@ -196,7 +196,7 @@ class ImageModerationRequest(AbstractModel):
|
|
|
196
196
|
|
|
197
197
|
@property
|
|
198
198
|
def BizType(self):
|
|
199
|
-
"""This field indicates the specific number of the policy, which is used for API scheduling and can be configured in the CMS console. If the `Biztype` parameter is passed in, a moderation policy will be used based on the business scenario; otherwise, the default moderation policy will be used.<br>Note: `Biztype` can contain 3
|
|
199
|
+
"""This field indicates the specific number of the policy, which is used for API scheduling and can be configured in the CMS console. If the `Biztype` parameter is passed in, a moderation policy will be used based on the business scenario; otherwise, the default moderation policy will be used.<br>Note: `Biztype` can contain 3-32 digits, letters, and underscores; different `Biztype` values are associated with different business scenarios and moderation policies, so you need to verify the `Biztype` before calling this API.
|
|
200
200
|
:rtype: str
|
|
201
201
|
"""
|
|
202
202
|
return self._BizType
|
|
@@ -345,7 +345,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
345
345
|
:param _RecognitionResults: Image recognition result, including the hit tags, confidence and location.
|
|
346
346
|
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
347
347
|
:type RecognitionResults: list of RecognitionResult
|
|
348
|
-
:param _RequestId: The unique request ID,
|
|
348
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
349
349
|
:type RequestId: str
|
|
350
350
|
"""
|
|
351
351
|
self._Suggestion = None
|
|
@@ -514,7 +514,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
514
514
|
|
|
515
515
|
@property
|
|
516
516
|
def RequestId(self):
|
|
517
|
-
"""The unique request ID,
|
|
517
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
518
518
|
:rtype: str
|
|
519
519
|
"""
|
|
520
520
|
return self._RequestId
|
|
@@ -11176,6 +11176,9 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11176
11176
|
-9108 Alarm for blurry image,
|
|
11177
11177
|
-9109 This capability is not enabled.
|
|
11178
11178
|
:type WarnCardInfos: list of int
|
|
11179
|
+
:param _AdvancedInfo: Field confidence:
|
|
11180
|
+
{ "ID": { "Confidence": 0.9999 }, "ThaiName": { "Confidence": 0.9996 } }
|
|
11181
|
+
:type AdvancedInfo: str
|
|
11179
11182
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
11180
11183
|
:type RequestId: str
|
|
11181
11184
|
"""
|
|
@@ -11194,6 +11197,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11194
11197
|
self._Address = None
|
|
11195
11198
|
self._PortraitImage = None
|
|
11196
11199
|
self._WarnCardInfos = None
|
|
11200
|
+
self._AdvancedInfo = None
|
|
11197
11201
|
self._RequestId = None
|
|
11198
11202
|
|
|
11199
11203
|
@property
|
|
@@ -11368,6 +11372,18 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11368
11372
|
def WarnCardInfos(self, WarnCardInfos):
|
|
11369
11373
|
self._WarnCardInfos = WarnCardInfos
|
|
11370
11374
|
|
|
11375
|
+
@property
|
|
11376
|
+
def AdvancedInfo(self):
|
|
11377
|
+
"""Field confidence:
|
|
11378
|
+
{ "ID": { "Confidence": 0.9999 }, "ThaiName": { "Confidence": 0.9996 } }
|
|
11379
|
+
:rtype: str
|
|
11380
|
+
"""
|
|
11381
|
+
return self._AdvancedInfo
|
|
11382
|
+
|
|
11383
|
+
@AdvancedInfo.setter
|
|
11384
|
+
def AdvancedInfo(self, AdvancedInfo):
|
|
11385
|
+
self._AdvancedInfo = AdvancedInfo
|
|
11386
|
+
|
|
11371
11387
|
@property
|
|
11372
11388
|
def RequestId(self):
|
|
11373
11389
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -11396,6 +11412,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11396
11412
|
self._Address = params.get("Address")
|
|
11397
11413
|
self._PortraitImage = params.get("PortraitImage")
|
|
11398
11414
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
|
11415
|
+
self._AdvancedInfo = params.get("AdvancedInfo")
|
|
11399
11416
|
self._RequestId = params.get("RequestId")
|
|
11400
11417
|
|
|
11401
11418
|
|
|
File without changes
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# Operation failed.
|
|
18
|
+
FAILEDOPERATION = 'FailedOperation'
|
|
19
|
+
|
|
20
|
+
# Internal error.
|
|
21
|
+
INTERNALERROR = 'InternalError'
|
|
22
|
+
|
|
23
|
+
# db error.
|
|
24
|
+
INTERNALERROR_DB = 'InternalError.Db'
|
|
25
|
+
|
|
26
|
+
# DB error.
|
|
27
|
+
INTERNALERROR_DBAFFECTIVEDROWS = 'InternalError.DbAffectivedRows'
|
|
28
|
+
|
|
29
|
+
# Record not found.
|
|
30
|
+
INTERNALERROR_DBRECORDNOTFOUND = 'InternalError.DbRecordNotFound'
|
|
31
|
+
|
|
32
|
+
# Initializing Master failed.
|
|
33
|
+
INTERNALERROR_INITMASTERFAILED = 'InternalError.InitMasterFailed'
|
|
34
|
+
|
|
35
|
+
# Param error.
|
|
36
|
+
INTERNALERROR_PARAM = 'InternalError.Param'
|
|
37
|
+
|
|
38
|
+
# Public clusters do not support node expansion.
|
|
39
|
+
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = 'InternalError.PublicClusterOpNotSupport'
|
|
40
|
+
|
|
41
|
+
# Internal error.
|
|
42
|
+
INTERNALERROR_UNEXCEPTEDINTERNAL = 'InternalError.UnexceptedInternal'
|
|
43
|
+
|
|
44
|
+
# Unknown internal error.
|
|
45
|
+
INTERNALERROR_UNEXPECTEDINTERNAL = 'InternalError.UnexpectedInternal'
|
|
46
|
+
|
|
47
|
+
# Parameter error.
|
|
48
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
|
49
|
+
|
|
50
|
+
# The cluster ID does not exist.
|
|
51
|
+
INVALIDPARAMETER_CLUSTERNOTFOUND = 'InvalidParameter.ClusterNotFound'
|
|
52
|
+
|
|
53
|
+
# Parameter error.
|
|
54
|
+
INVALIDPARAMETER_PARAM = 'InvalidParameter.Param'
|
|
55
|
+
|
|
56
|
+
# Operation denied.
|
|
57
|
+
OPERATIONDENIED = 'OperationDenied'
|
|
58
|
+
|
|
59
|
+
# The resource is occupied.
|
|
60
|
+
RESOURCEINUSE = 'ResourceInUse'
|
|
61
|
+
|
|
62
|
+
# The resource does not exist.
|
|
63
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
64
|
+
|
|
65
|
+
# The cluster does not exist.
|
|
66
|
+
RESOURCENOTFOUND_CLUSTERNOTFOUND = 'ResourceNotFound.ClusterNotFound'
|
|
67
|
+
|
|
68
|
+
# The cluster status does not support this operation.
|
|
69
|
+
RESOURCEUNAVAILABLE_CLUSTERSTATE = 'ResourceUnavailable.ClusterState'
|