tencentcloud-sdk-python 3.0.976__py2.py3-none-any.whl → 3.0.978__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/antiddos/v20200309/antiddos_client.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +14 -0
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cdc/v20201214/models.py +194 -0
- tencentcloud/cdn/v20180606/errorcodes.py +6 -0
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +75 -0
- tencentcloud/cfw/v20190904/cfw_client.py +644 -0
- tencentcloud/cfw/v20190904/models.py +11557 -5960
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/csip/v20221121/models.py +13 -0
- tencentcloud/dnspod/v20210323/models.py +1 -1
- tencentcloud/domain/v20180808/errorcodes.py +1 -1
- tencentcloud/eb/v20210416/eb_client.py +92 -0
- tencentcloud/eb/v20210416/models.py +407 -0
- tencentcloud/ess/v20201111/ess_client.py +68 -26
- tencentcloud/ess/v20201111/models.py +453 -222
- tencentcloud/essbasic/v20210526/models.py +129 -4
- tencentcloud/facefusion/v20181201/facefusion_client.py +3 -1
- tencentcloud/iai/v20180301/iai_client.py +0 -1
- tencentcloud/iai/v20180301/models.py +1 -5
- tencentcloud/iai/v20200303/models.py +2 -6
- tencentcloud/lcic/v20220817/models.py +12 -0
- tencentcloud/mrs/v20200910/models.py +8965 -4033
- tencentcloud/mrs/v20200910/mrs_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +24 -0
- tencentcloud/ses/v20201002/models.py +180 -0
- tencentcloud/ses/v20201002/ses_client.py +23 -0
- tencentcloud/sqlserver/v20180328/models.py +315 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +46 -0
- tencentcloud/ssa/v20180608/models.py +249 -0
- tencentcloud/ssa/v20180608/ssa_client.py +23 -0
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/tcr/v20190924/models.py +17 -3
- tencentcloud/tcr/v20190924/tcr_client.py +1 -1
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/trocket/v20230308/errorcodes.py +24 -0
- tencentcloud/trocket/v20230308/models.py +2627 -360
- tencentcloud/trocket/v20230308/trocket_client.py +301 -0
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tsf/v20180326/models.py +88 -28
- tencentcloud/vod/v20180717/errorcodes.py +15 -0
- tencentcloud/vod/v20180717/models.py +330 -0
- tencentcloud/vod/v20180717/vod_client.py +69 -0
- tencentcloud/vpc/v20170312/models.py +48 -0
- tencentcloud/waf/v20180125/models.py +122 -181
- tencentcloud/waf/v20180125/waf_client.py +23 -46
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/RECORD +54 -54
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/top_level.txt +0 -0
|
@@ -5690,6 +5690,10 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5690
5690
|
:type ApproverOption: :class:`tencentcloud.essbasic.v20210526.models.CommonApproverOption`
|
|
5691
5691
|
:param _SignComponents: 签署控件:文件发起使用
|
|
5692
5692
|
:type SignComponents: list of Component
|
|
5693
|
+
:param _ApproverVerifyTypes: 签署人查看合同时认证方式, 1-实名查看 2-短信验证码查看(企业签署方不支持该方式) 如果不传默认为1 查看合同的认证方式 Flow层级的优先于approver层级的 (当手写签名方式为OCR_ESIGN时,合同认证方式2无效,因为这种签名方式依赖实名认证)
|
|
5694
|
+
:type ApproverVerifyTypes: list of int
|
|
5695
|
+
:param _ApproverSignTypes: 签署人签署合同时的认证方式 1-人脸认证 2-签署密码 3-运营商三要素(默认为1,2)
|
|
5696
|
+
:type ApproverSignTypes: list of int
|
|
5693
5697
|
"""
|
|
5694
5698
|
self._NotChannelOrganization = None
|
|
5695
5699
|
self._ApproverType = None
|
|
@@ -5706,6 +5710,8 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5706
5710
|
self._NotifyType = None
|
|
5707
5711
|
self._ApproverOption = None
|
|
5708
5712
|
self._SignComponents = None
|
|
5713
|
+
self._ApproverVerifyTypes = None
|
|
5714
|
+
self._ApproverSignTypes = None
|
|
5709
5715
|
|
|
5710
5716
|
@property
|
|
5711
5717
|
def NotChannelOrganization(self):
|
|
@@ -5805,14 +5811,10 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5805
5811
|
|
|
5806
5812
|
@property
|
|
5807
5813
|
def NotifyType(self):
|
|
5808
|
-
warnings.warn("parameter `NotifyType` is deprecated", DeprecationWarning)
|
|
5809
|
-
|
|
5810
5814
|
return self._NotifyType
|
|
5811
5815
|
|
|
5812
5816
|
@NotifyType.setter
|
|
5813
5817
|
def NotifyType(self, NotifyType):
|
|
5814
|
-
warnings.warn("parameter `NotifyType` is deprecated", DeprecationWarning)
|
|
5815
|
-
|
|
5816
5818
|
self._NotifyType = NotifyType
|
|
5817
5819
|
|
|
5818
5820
|
@property
|
|
@@ -5831,6 +5833,22 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5831
5833
|
def SignComponents(self, SignComponents):
|
|
5832
5834
|
self._SignComponents = SignComponents
|
|
5833
5835
|
|
|
5836
|
+
@property
|
|
5837
|
+
def ApproverVerifyTypes(self):
|
|
5838
|
+
return self._ApproverVerifyTypes
|
|
5839
|
+
|
|
5840
|
+
@ApproverVerifyTypes.setter
|
|
5841
|
+
def ApproverVerifyTypes(self, ApproverVerifyTypes):
|
|
5842
|
+
self._ApproverVerifyTypes = ApproverVerifyTypes
|
|
5843
|
+
|
|
5844
|
+
@property
|
|
5845
|
+
def ApproverSignTypes(self):
|
|
5846
|
+
return self._ApproverSignTypes
|
|
5847
|
+
|
|
5848
|
+
@ApproverSignTypes.setter
|
|
5849
|
+
def ApproverSignTypes(self, ApproverSignTypes):
|
|
5850
|
+
self._ApproverSignTypes = ApproverSignTypes
|
|
5851
|
+
|
|
5834
5852
|
|
|
5835
5853
|
def _deserialize(self, params):
|
|
5836
5854
|
self._NotChannelOrganization = params.get("NotChannelOrganization")
|
|
@@ -5855,6 +5873,8 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5855
5873
|
obj = Component()
|
|
5856
5874
|
obj._deserialize(item)
|
|
5857
5875
|
self._SignComponents.append(obj)
|
|
5876
|
+
self._ApproverVerifyTypes = params.get("ApproverVerifyTypes")
|
|
5877
|
+
self._ApproverSignTypes = params.get("ApproverSignTypes")
|
|
5858
5878
|
memeber_set = set(params.keys())
|
|
5859
5879
|
for name, value in vars(self).items():
|
|
5860
5880
|
property_name = name[1:]
|
|
@@ -6091,6 +6111,12 @@ UpperRight-右下角。
|
|
|
6091
6111
|
:param _Placeholder: 填写提示的内容
|
|
6092
6112
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6093
6113
|
:type Placeholder: str
|
|
6114
|
+
:param _LockComponentValue: 是否锁定控件值不允许编辑(嵌入式发起使用) <br/>默认false:不锁定控件值,允许在页面编辑控件值
|
|
6115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6116
|
+
:type LockComponentValue: bool
|
|
6117
|
+
:param _ForbidMoveAndDelete: 是否禁止移动和删除控件 <br/>默认false,不禁止移动和删除控件
|
|
6118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6119
|
+
:type ForbidMoveAndDelete: bool
|
|
6094
6120
|
"""
|
|
6095
6121
|
self._ComponentId = None
|
|
6096
6122
|
self._ComponentType = None
|
|
@@ -6117,6 +6143,8 @@ UpperRight-右下角。
|
|
|
6117
6143
|
self._RelativeLocation = None
|
|
6118
6144
|
self._KeywordIndexes = None
|
|
6119
6145
|
self._Placeholder = None
|
|
6146
|
+
self._LockComponentValue = None
|
|
6147
|
+
self._ForbidMoveAndDelete = None
|
|
6120
6148
|
|
|
6121
6149
|
@property
|
|
6122
6150
|
def ComponentId(self):
|
|
@@ -6318,6 +6346,22 @@ UpperRight-右下角。
|
|
|
6318
6346
|
def Placeholder(self, Placeholder):
|
|
6319
6347
|
self._Placeholder = Placeholder
|
|
6320
6348
|
|
|
6349
|
+
@property
|
|
6350
|
+
def LockComponentValue(self):
|
|
6351
|
+
return self._LockComponentValue
|
|
6352
|
+
|
|
6353
|
+
@LockComponentValue.setter
|
|
6354
|
+
def LockComponentValue(self, LockComponentValue):
|
|
6355
|
+
self._LockComponentValue = LockComponentValue
|
|
6356
|
+
|
|
6357
|
+
@property
|
|
6358
|
+
def ForbidMoveAndDelete(self):
|
|
6359
|
+
return self._ForbidMoveAndDelete
|
|
6360
|
+
|
|
6361
|
+
@ForbidMoveAndDelete.setter
|
|
6362
|
+
def ForbidMoveAndDelete(self, ForbidMoveAndDelete):
|
|
6363
|
+
self._ForbidMoveAndDelete = ForbidMoveAndDelete
|
|
6364
|
+
|
|
6321
6365
|
|
|
6322
6366
|
def _deserialize(self, params):
|
|
6323
6367
|
self._ComponentId = params.get("ComponentId")
|
|
@@ -6345,6 +6389,68 @@ UpperRight-右下角。
|
|
|
6345
6389
|
self._RelativeLocation = params.get("RelativeLocation")
|
|
6346
6390
|
self._KeywordIndexes = params.get("KeywordIndexes")
|
|
6347
6391
|
self._Placeholder = params.get("Placeholder")
|
|
6392
|
+
self._LockComponentValue = params.get("LockComponentValue")
|
|
6393
|
+
self._ForbidMoveAndDelete = params.get("ForbidMoveAndDelete")
|
|
6394
|
+
memeber_set = set(params.keys())
|
|
6395
|
+
for name, value in vars(self).items():
|
|
6396
|
+
property_name = name[1:]
|
|
6397
|
+
if property_name in memeber_set:
|
|
6398
|
+
memeber_set.remove(property_name)
|
|
6399
|
+
if len(memeber_set) > 0:
|
|
6400
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6401
|
+
|
|
6402
|
+
|
|
6403
|
+
|
|
6404
|
+
class ComponentLimit(AbstractModel):
|
|
6405
|
+
"""签署控件的类型和范围限制条件,用于控制文件发起后签署人拖拽签署区时可使用的控件类型和具体的印章或签名方式。
|
|
6406
|
+
|
|
6407
|
+
"""
|
|
6408
|
+
|
|
6409
|
+
def __init__(self):
|
|
6410
|
+
r"""
|
|
6411
|
+
:param _ComponentType: 控件类型,支持以下类型
|
|
6412
|
+
<ul><li>SIGN_SEAL : 印章控件</li>
|
|
6413
|
+
<li>SIGN_PAGING_SEAL : 骑缝章控件</li>
|
|
6414
|
+
<li>SIGN_LEGAL_PERSON_SEAL : 企业法定代表人控件</li>
|
|
6415
|
+
<li>SIGN_SIGNATURE : 用户签名控件</li></ul>
|
|
6416
|
+
:type ComponentType: str
|
|
6417
|
+
:param _ComponentValue: 签署控件类型的值(可选),用与限制签署时印章或者签名的选择范围
|
|
6418
|
+
|
|
6419
|
+
1.当ComponentType 是 SIGN_SEAL 或者 SIGN_PAGING_SEAL 时可传入企业印章Id(支持多个)
|
|
6420
|
+
|
|
6421
|
+
2.当ComponentType 是 SIGN_SIGNATURE 时可传入以下类型(支持多个)
|
|
6422
|
+
|
|
6423
|
+
<ul><li>HANDWRITE : 手写签名</li>
|
|
6424
|
+
<li>OCR_ESIGN : OCR印章(智慧手写签名)</li>
|
|
6425
|
+
<li>ESIGN : 个人印章</li>
|
|
6426
|
+
<li>SYSTEM_ESIGN : 系统印章</li></ul>
|
|
6427
|
+
|
|
6428
|
+
3.当ComponentType 是 SIGN_LEGAL_PERSON_SEAL 时无需传递此参数。
|
|
6429
|
+
:type ComponentValue: list of str
|
|
6430
|
+
"""
|
|
6431
|
+
self._ComponentType = None
|
|
6432
|
+
self._ComponentValue = None
|
|
6433
|
+
|
|
6434
|
+
@property
|
|
6435
|
+
def ComponentType(self):
|
|
6436
|
+
return self._ComponentType
|
|
6437
|
+
|
|
6438
|
+
@ComponentType.setter
|
|
6439
|
+
def ComponentType(self, ComponentType):
|
|
6440
|
+
self._ComponentType = ComponentType
|
|
6441
|
+
|
|
6442
|
+
@property
|
|
6443
|
+
def ComponentValue(self):
|
|
6444
|
+
return self._ComponentValue
|
|
6445
|
+
|
|
6446
|
+
@ComponentValue.setter
|
|
6447
|
+
def ComponentValue(self, ComponentValue):
|
|
6448
|
+
self._ComponentValue = ComponentValue
|
|
6449
|
+
|
|
6450
|
+
|
|
6451
|
+
def _deserialize(self, params):
|
|
6452
|
+
self._ComponentType = params.get("ComponentType")
|
|
6453
|
+
self._ComponentValue = params.get("ComponentValue")
|
|
6348
6454
|
memeber_set = set(params.keys())
|
|
6349
6455
|
for name, value in vars(self).items():
|
|
6350
6456
|
property_name = name[1:]
|
|
@@ -8950,6 +9056,10 @@ ENTERPRISESERVER-企业静默签(文件发起时的企业静默签字)。
|
|
|
8950
9056
|
:param _NotifyType: SMS: 短信(需确保“电子签短信通知签署方”功能是开启状态才能生效); NONE: 不发信息
|
|
8951
9057
|
默认为SMS(签署方为子客时该字段不生效)
|
|
8952
9058
|
:type NotifyType: str
|
|
9059
|
+
:param _AddSignComponentsLimits: [通过文件创建签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowByFiles)时,如果设置了外层参数SignBeanTag=1(允许签署过程中添加签署控件),则可通过此参数明确规定合同所使用的签署控件类型(骑缝章、普通章法人章等)和具体的印章(印章ID)或签名方式。
|
|
9060
|
+
|
|
9061
|
+
注:`限制印章控件或骑缝章控件情况下,仅本企业签署方可以指定具体印章(通过传递ComponentValue,支持多个),他方企业或个人只支持限制控件类型。`
|
|
9062
|
+
:type AddSignComponentsLimits: list of ComponentLimit
|
|
8953
9063
|
"""
|
|
8954
9064
|
self._Name = None
|
|
8955
9065
|
self._IdCardType = None
|
|
@@ -8973,6 +9083,7 @@ ENTERPRISESERVER-企业静默签(文件发起时的企业静默签字)。
|
|
|
8973
9083
|
self._ApproverSignTypes = None
|
|
8974
9084
|
self._SignId = None
|
|
8975
9085
|
self._NotifyType = None
|
|
9086
|
+
self._AddSignComponentsLimits = None
|
|
8976
9087
|
|
|
8977
9088
|
@property
|
|
8978
9089
|
def Name(self):
|
|
@@ -9154,6 +9265,14 @@ ENTERPRISESERVER-企业静默签(文件发起时的企业静默签字)。
|
|
|
9154
9265
|
def NotifyType(self, NotifyType):
|
|
9155
9266
|
self._NotifyType = NotifyType
|
|
9156
9267
|
|
|
9268
|
+
@property
|
|
9269
|
+
def AddSignComponentsLimits(self):
|
|
9270
|
+
return self._AddSignComponentsLimits
|
|
9271
|
+
|
|
9272
|
+
@AddSignComponentsLimits.setter
|
|
9273
|
+
def AddSignComponentsLimits(self, AddSignComponentsLimits):
|
|
9274
|
+
self._AddSignComponentsLimits = AddSignComponentsLimits
|
|
9275
|
+
|
|
9157
9276
|
|
|
9158
9277
|
def _deserialize(self, params):
|
|
9159
9278
|
self._Name = params.get("Name")
|
|
@@ -9185,6 +9304,12 @@ ENTERPRISESERVER-企业静默签(文件发起时的企业静默签字)。
|
|
|
9185
9304
|
self._ApproverSignTypes = params.get("ApproverSignTypes")
|
|
9186
9305
|
self._SignId = params.get("SignId")
|
|
9187
9306
|
self._NotifyType = params.get("NotifyType")
|
|
9307
|
+
if params.get("AddSignComponentsLimits") is not None:
|
|
9308
|
+
self._AddSignComponentsLimits = []
|
|
9309
|
+
for item in params.get("AddSignComponentsLimits"):
|
|
9310
|
+
obj = ComponentLimit()
|
|
9311
|
+
obj._deserialize(item)
|
|
9312
|
+
self._AddSignComponentsLimits.append(obj)
|
|
9188
9313
|
memeber_set = set(params.keys())
|
|
9189
9314
|
for name, value in vars(self).items():
|
|
9190
9315
|
property_name = name[1:]
|
|
@@ -75,7 +75,9 @@ class FacefusionClient(AbstractClient):
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
def FaceFusionLite(self, request):
|
|
78
|
-
"""
|
|
78
|
+
"""接口不再使用
|
|
79
|
+
|
|
80
|
+
人脸融合活动专用版,不推荐使用。人脸融合接口建议使用[人脸融合](https://cloud.tencent.com/document/product/670/31061)或[选脸融合](https://cloud.tencent.com/document/product/670/37736)接口
|
|
79
81
|
|
|
80
82
|
:param request: Request instance for FaceFusionLite.
|
|
81
83
|
:type request: :class:`tencentcloud.facefusion.v20181201.models.FaceFusionLiteRequest`
|
|
@@ -317,7 +317,6 @@ class IaiClient(AbstractClient):
|
|
|
317
317
|
>
|
|
318
318
|
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
319
319
|
|
|
320
|
-
|
|
321
320
|
:param request: Request instance for DetectFace.
|
|
322
321
|
:type request: :class:`tencentcloud.iai.v20180301.models.DetectFaceRequest`
|
|
323
322
|
:rtype: :class:`tencentcloud.iai.v20180301.models.DetectFaceResponse`
|
|
@@ -2300,13 +2300,9 @@ class DetectFaceResponse(AbstractModel):
|
|
|
2300
2300
|
:param _FaceInfos: 人脸信息列表。包含人脸坐标信息、属性信息(若需要)、质量分信息(若需要)。
|
|
2301
2301
|
:type FaceInfos: list of FaceInfo
|
|
2302
2302
|
:param _FaceModelVersion: 人脸识别服务所用的算法模型版本。
|
|
2303
|
-
|
|
2304
2303
|
目前入参支持 “2.0”和“3.0“ 两个输入。
|
|
2305
|
-
|
|
2306
2304
|
2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
|
2307
|
-
|
|
2308
2305
|
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
|
2309
|
-
|
|
2310
2306
|
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
|
2311
2307
|
:type FaceModelVersion: str
|
|
2312
2308
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2665,7 +2661,7 @@ class FaceAttributesInfo(AbstractModel):
|
|
|
2665
2661
|
:type Gender: int
|
|
2666
2662
|
:param _Age: 年龄 [0~100]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2667
2663
|
:type Age: int
|
|
2668
|
-
:param _Expression: 微笑[0(normal,正常)
|
|
2664
|
+
:param _Expression: 微笑[0(normal,正常))~100(laugh,大笑)]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2669
2665
|
:type Expression: int
|
|
2670
2666
|
:param _Glass: 是否有眼镜 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2671
2667
|
:type Glass: bool
|
|
@@ -2370,13 +2370,9 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
2370
2370
|
建议:人脸入库操作建议开启此功能。
|
|
2371
2371
|
:type NeedQualityDetection: int
|
|
2372
2372
|
:param _FaceModelVersion: 人脸识别服务所用的算法模型版本。
|
|
2373
|
-
|
|
2374
2373
|
目前入参支持 “2.0”和“3.0“ 两个输入。
|
|
2375
|
-
|
|
2376
2374
|
2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
|
2377
|
-
|
|
2378
2375
|
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
|
2379
|
-
|
|
2380
2376
|
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
|
2381
2377
|
:type FaceModelVersion: str
|
|
2382
2378
|
:param _NeedRotateDetection: 是否开启图片旋转识别支持。0为不开启,1为开启。默认为0。本参数的作用为,当图片中的人脸被旋转且图片没有exif信息时,如果不开启图片旋转识别支持则无法正确检测、识别图片中的人脸。若您确认图片包含exif信息或者您确认输入图中人脸不会出现被旋转情况,请不要开启本参数。开启后,整体耗时将可能增加数百毫秒。
|
|
@@ -2964,7 +2960,7 @@ class FaceAttributesInfo(AbstractModel):
|
|
|
2964
2960
|
:type Gender: int
|
|
2965
2961
|
:param _Age: 年龄 [0~100]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2966
2962
|
:type Age: int
|
|
2967
|
-
:param _Expression: 微笑[0(normal,正常)~
|
|
2963
|
+
:param _Expression: 微笑[0(normal,正常)~100(laugh,大笑)]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2968
2964
|
:type Expression: int
|
|
2969
2965
|
:param _Glass: 是否有眼镜 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2970
2966
|
:type Glass: bool
|
|
@@ -4093,7 +4089,7 @@ class GetGroupInfoResponse(AbstractModel):
|
|
|
4093
4089
|
:type Tag: str
|
|
4094
4090
|
:param _FaceModelVersion: 人脸识别所用的算法模型版本。
|
|
4095
4091
|
:type FaceModelVersion: str
|
|
4096
|
-
:param _CreationTimestamp: Group
|
|
4092
|
+
:param _CreationTimestamp: Group的创建时间和日期。CreationTimestamp 的值是自 Unix 纪元时间到Group创建时间的毫秒数。
|
|
4097
4093
|
:type CreationTimestamp: int
|
|
4098
4094
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4099
4095
|
:type RequestId: str
|
|
@@ -1265,6 +1265,8 @@ class CreateDocumentRequest(AbstractModel):
|
|
|
1265
1265
|
:type DocumentType: str
|
|
1266
1266
|
:param _DocumentSize: 文档大小,单位 字节
|
|
1267
1267
|
:type DocumentSize: int
|
|
1268
|
+
:param _AutoHandleUnsupportedElement: 是否对不支持元素开启自动处理的功能。默认关闭。
|
|
1269
|
+
:type AutoHandleUnsupportedElement: bool
|
|
1268
1270
|
"""
|
|
1269
1271
|
self._SdkAppId = None
|
|
1270
1272
|
self._DocumentUrl = None
|
|
@@ -1274,6 +1276,7 @@ class CreateDocumentRequest(AbstractModel):
|
|
|
1274
1276
|
self._Permission = None
|
|
1275
1277
|
self._DocumentType = None
|
|
1276
1278
|
self._DocumentSize = None
|
|
1279
|
+
self._AutoHandleUnsupportedElement = None
|
|
1277
1280
|
|
|
1278
1281
|
@property
|
|
1279
1282
|
def SdkAppId(self):
|
|
@@ -1339,6 +1342,14 @@ class CreateDocumentRequest(AbstractModel):
|
|
|
1339
1342
|
def DocumentSize(self, DocumentSize):
|
|
1340
1343
|
self._DocumentSize = DocumentSize
|
|
1341
1344
|
|
|
1345
|
+
@property
|
|
1346
|
+
def AutoHandleUnsupportedElement(self):
|
|
1347
|
+
return self._AutoHandleUnsupportedElement
|
|
1348
|
+
|
|
1349
|
+
@AutoHandleUnsupportedElement.setter
|
|
1350
|
+
def AutoHandleUnsupportedElement(self, AutoHandleUnsupportedElement):
|
|
1351
|
+
self._AutoHandleUnsupportedElement = AutoHandleUnsupportedElement
|
|
1352
|
+
|
|
1342
1353
|
|
|
1343
1354
|
def _deserialize(self, params):
|
|
1344
1355
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -1349,6 +1360,7 @@ class CreateDocumentRequest(AbstractModel):
|
|
|
1349
1360
|
self._Permission = params.get("Permission")
|
|
1350
1361
|
self._DocumentType = params.get("DocumentType")
|
|
1351
1362
|
self._DocumentSize = params.get("DocumentSize")
|
|
1363
|
+
self._AutoHandleUnsupportedElement = params.get("AutoHandleUnsupportedElement")
|
|
1352
1364
|
memeber_set = set(params.keys())
|
|
1353
1365
|
for name, value in vars(self).items():
|
|
1354
1366
|
property_name = name[1:]
|