tencentcloud-sdk-python 3.0.1229__py2.py3-none-any.whl → 3.0.1230__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cfw/v20190904/models.py +106 -2
- tencentcloud/ess/v20201111/ess_client.py +5 -7
- tencentcloud/ess/v20201111/models.py +28 -37
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +130 -0
- tencentcloud/mps/v20190612/models.py +214 -0
- tencentcloud/ocr/v20181119/models.py +12 -0
- tencentcloud/sms/v20210111/models.py +1 -1
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/tke/v20220501/models.py +852 -8
- tencentcloud/tke/v20220501/tke_client.py +138 -0
- tencentcloud/vod/v20240718/__init__.py +0 -0
- tencentcloud/vod/v20240718/errorcodes.py +15 -0
- tencentcloud/vod/v20240718/models.py +189 -0
- tencentcloud/vod/v20240718/vod_client.py +49 -0
- tencentcloud/vpc/v20170312/models.py +17 -0
- {tencentcloud_sdk_python-3.0.1229.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1229.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/RECORD +22 -18
- {tencentcloud_sdk_python-3.0.1229.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1229.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1229.dist-info → tencentcloud_sdk_python-3.0.1230.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -1074,12 +1074,16 @@ class BanAndAllowRule(AbstractModel):
|
|
1074
1074
|
:param _CustomRule: 自定义白名单规则
|
1075
1075
|
注意:此字段可能返回 null,表示取不到有效值。
|
1076
1076
|
:type CustomRule: :class:`tencentcloud.cfw.v20190904.models.CustomWhiteRule`
|
1077
|
+
:param _FwType: 放通的引擎: 1针对互联网边界 2针对nat防火墙 4针对vpc防火墙
|
1078
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1079
|
+
:type FwType: int
|
1077
1080
|
"""
|
1078
1081
|
self._Ioc = None
|
1079
1082
|
self._DirectionList = None
|
1080
1083
|
self._EndTime = None
|
1081
1084
|
self._Comment = None
|
1082
1085
|
self._CustomRule = None
|
1086
|
+
self._FwType = None
|
1083
1087
|
|
1084
1088
|
@property
|
1085
1089
|
def Ioc(self):
|
@@ -1121,6 +1125,14 @@ class BanAndAllowRule(AbstractModel):
|
|
1121
1125
|
def CustomRule(self, CustomRule):
|
1122
1126
|
self._CustomRule = CustomRule
|
1123
1127
|
|
1128
|
+
@property
|
1129
|
+
def FwType(self):
|
1130
|
+
return self._FwType
|
1131
|
+
|
1132
|
+
@FwType.setter
|
1133
|
+
def FwType(self, FwType):
|
1134
|
+
self._FwType = FwType
|
1135
|
+
|
1124
1136
|
|
1125
1137
|
def _deserialize(self, params):
|
1126
1138
|
self._Ioc = params.get("Ioc")
|
@@ -1130,6 +1142,7 @@ class BanAndAllowRule(AbstractModel):
|
|
1130
1142
|
if params.get("CustomRule") is not None:
|
1131
1143
|
self._CustomRule = CustomWhiteRule()
|
1132
1144
|
self._CustomRule._deserialize(params.get("CustomRule"))
|
1145
|
+
self._FwType = params.get("FwType")
|
1133
1146
|
memeber_set = set(params.keys())
|
1134
1147
|
for name, value in vars(self).items():
|
1135
1148
|
property_name = name[1:]
|
@@ -1150,7 +1163,7 @@ class BanAndAllowRuleDel(AbstractModel):
|
|
1150
1163
|
:param _Ioc: 封禁和放通对象
|
1151
1164
|
注意:此字段可能返回 null,表示取不到有效值。
|
1152
1165
|
:type Ioc: str
|
1153
|
-
:param _DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的
|
1166
|
+
:param _DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的 (DeleteBlockIgnoreRuleNew接口,该字段无效)
|
1154
1167
|
注意:此字段可能返回 null,表示取不到有效值。
|
1155
1168
|
:type DirectionList: str
|
1156
1169
|
:param _RuleType: 规则类型
|
@@ -1336,6 +1349,9 @@ class BlockIgnoreRule(AbstractModel):
|
|
1336
1349
|
:param _CustomRule: 自定义规则细节
|
1337
1350
|
注意:此字段可能返回 null,表示取不到有效值。
|
1338
1351
|
:type CustomRule: :class:`tencentcloud.cfw.v20190904.models.CustomWhiteRule`
|
1352
|
+
:param _FwType: 1 border 2 nat 4 vpc 8 border-serial
|
1353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1354
|
+
:type FwType: int
|
1339
1355
|
"""
|
1340
1356
|
self._RuleType = None
|
1341
1357
|
self._Ioc = None
|
@@ -1360,6 +1376,7 @@ class BlockIgnoreRule(AbstractModel):
|
|
1360
1376
|
self._Comment = None
|
1361
1377
|
self._LastHitTime = None
|
1362
1378
|
self._CustomRule = None
|
1379
|
+
self._FwType = None
|
1363
1380
|
|
1364
1381
|
@property
|
1365
1382
|
def RuleType(self):
|
@@ -1545,6 +1562,14 @@ class BlockIgnoreRule(AbstractModel):
|
|
1545
1562
|
def CustomRule(self, CustomRule):
|
1546
1563
|
self._CustomRule = CustomRule
|
1547
1564
|
|
1565
|
+
@property
|
1566
|
+
def FwType(self):
|
1567
|
+
return self._FwType
|
1568
|
+
|
1569
|
+
@FwType.setter
|
1570
|
+
def FwType(self, FwType):
|
1571
|
+
self._FwType = FwType
|
1572
|
+
|
1548
1573
|
|
1549
1574
|
def _deserialize(self, params):
|
1550
1575
|
self._RuleType = params.get("RuleType")
|
@@ -1572,6 +1597,7 @@ class BlockIgnoreRule(AbstractModel):
|
|
1572
1597
|
if params.get("CustomRule") is not None:
|
1573
1598
|
self._CustomRule = CustomWhiteRule()
|
1574
1599
|
self._CustomRule._deserialize(params.get("CustomRule"))
|
1600
|
+
self._FwType = params.get("FwType")
|
1575
1601
|
memeber_set = set(params.keys())
|
1576
1602
|
for name, value in vars(self).items():
|
1577
1603
|
property_name = name[1:]
|
@@ -3426,6 +3452,8 @@ class CreateNatRuleItem(AbstractModel):
|
|
3426
3452
|
:type ParamTemplateId: str
|
3427
3453
|
:param _InternalUuid: 内部id
|
3428
3454
|
:type InternalUuid: int
|
3455
|
+
:param _Scope: 规则生效的范围:ALL,全局生效;ap-guangzhou,生效的地域;cfwnat-xxx,生效基于实例维度
|
3456
|
+
:type Scope: str
|
3429
3457
|
"""
|
3430
3458
|
self._SourceContent = None
|
3431
3459
|
self._SourceType = None
|
@@ -3441,6 +3469,7 @@ class CreateNatRuleItem(AbstractModel):
|
|
3441
3469
|
self._Description = None
|
3442
3470
|
self._ParamTemplateId = None
|
3443
3471
|
self._InternalUuid = None
|
3472
|
+
self._Scope = None
|
3444
3473
|
|
3445
3474
|
@property
|
3446
3475
|
def SourceContent(self):
|
@@ -3554,6 +3583,14 @@ class CreateNatRuleItem(AbstractModel):
|
|
3554
3583
|
def InternalUuid(self, InternalUuid):
|
3555
3584
|
self._InternalUuid = InternalUuid
|
3556
3585
|
|
3586
|
+
@property
|
3587
|
+
def Scope(self):
|
3588
|
+
return self._Scope
|
3589
|
+
|
3590
|
+
@Scope.setter
|
3591
|
+
def Scope(self, Scope):
|
3592
|
+
self._Scope = Scope
|
3593
|
+
|
3557
3594
|
|
3558
3595
|
def _deserialize(self, params):
|
3559
3596
|
self._SourceContent = params.get("SourceContent")
|
@@ -3570,6 +3607,7 @@ class CreateNatRuleItem(AbstractModel):
|
|
3570
3607
|
self._Description = params.get("Description")
|
3571
3608
|
self._ParamTemplateId = params.get("ParamTemplateId")
|
3572
3609
|
self._InternalUuid = params.get("InternalUuid")
|
3610
|
+
self._Scope = params.get("Scope")
|
3573
3611
|
memeber_set = set(params.keys())
|
3574
3612
|
for name, value in vars(self).items():
|
3575
3613
|
property_name = name[1:]
|
@@ -5362,9 +5400,13 @@ class DescAcItem(AbstractModel):
|
|
5362
5400
|
:param _BetaList: 关联任务详情
|
5363
5401
|
注意:此字段可能返回 null,表示取不到有效值。
|
5364
5402
|
:type BetaList: list of BetaInfoByACL
|
5365
|
-
:param _Scope:
|
5403
|
+
:param _Scope: (1)互联网边界防火墙,生效范围:serial,串行;side,旁路;all,全局;
|
5404
|
+
(2)NAT边界防火墙:ALL,全局生效;ap-guangzhou,生效的地域;cfwnat-xxx,生效基于实例维度
|
5366
5405
|
注意:此字段可能返回 null,表示取不到有效值。
|
5367
5406
|
:type Scope: str
|
5407
|
+
:param _ScopeDesc: 生效范围描述
|
5408
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5409
|
+
:type ScopeDesc: str
|
5368
5410
|
:param _InternetBorderUuid: 互联网边界防火墙使用的内部规则id
|
5369
5411
|
注意:此字段可能返回 null,表示取不到有效值。
|
5370
5412
|
:type InternetBorderUuid: str
|
@@ -5410,6 +5452,7 @@ class DescAcItem(AbstractModel):
|
|
5410
5452
|
self._Status = None
|
5411
5453
|
self._BetaList = None
|
5412
5454
|
self._Scope = None
|
5455
|
+
self._ScopeDesc = None
|
5413
5456
|
self._InternetBorderUuid = None
|
5414
5457
|
self._ParamTemplateName = None
|
5415
5458
|
self._ParamTemplateId = None
|
@@ -5625,6 +5668,14 @@ class DescAcItem(AbstractModel):
|
|
5625
5668
|
def Scope(self, Scope):
|
5626
5669
|
self._Scope = Scope
|
5627
5670
|
|
5671
|
+
@property
|
5672
|
+
def ScopeDesc(self):
|
5673
|
+
return self._ScopeDesc
|
5674
|
+
|
5675
|
+
@ScopeDesc.setter
|
5676
|
+
def ScopeDesc(self, ScopeDesc):
|
5677
|
+
self._ScopeDesc = ScopeDesc
|
5678
|
+
|
5628
5679
|
@property
|
5629
5680
|
def InternetBorderUuid(self):
|
5630
5681
|
return self._InternetBorderUuid
|
@@ -5706,6 +5757,7 @@ class DescAcItem(AbstractModel):
|
|
5706
5757
|
obj._deserialize(item)
|
5707
5758
|
self._BetaList.append(obj)
|
5708
5759
|
self._Scope = params.get("Scope")
|
5760
|
+
self._ScopeDesc = params.get("ScopeDesc")
|
5709
5761
|
self._InternetBorderUuid = params.get("InternetBorderUuid")
|
5710
5762
|
self._ParamTemplateName = params.get("ParamTemplateName")
|
5711
5763
|
self._ParamTemplateId = params.get("ParamTemplateId")
|
@@ -11522,6 +11574,9 @@ class EdgeIpInfo(AbstractModel):
|
|
11522
11574
|
:param _Domain: 域名化CLB的域名
|
11523
11575
|
注意:此字段可能返回 null,表示取不到有效值。
|
11524
11576
|
:type Domain: str
|
11577
|
+
:param _OverUsedStatus: IP超量状态
|
11578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11579
|
+
:type OverUsedStatus: int
|
11525
11580
|
"""
|
11526
11581
|
self._PublicIp = None
|
11527
11582
|
self._PublicIpType = None
|
@@ -11545,6 +11600,7 @@ class EdgeIpInfo(AbstractModel):
|
|
11545
11600
|
self._SwitchMode = None
|
11546
11601
|
self._SwitchWeight = None
|
11547
11602
|
self._Domain = None
|
11603
|
+
self._OverUsedStatus = None
|
11548
11604
|
|
11549
11605
|
@property
|
11550
11606
|
def PublicIp(self):
|
@@ -11722,6 +11778,14 @@ class EdgeIpInfo(AbstractModel):
|
|
11722
11778
|
def Domain(self, Domain):
|
11723
11779
|
self._Domain = Domain
|
11724
11780
|
|
11781
|
+
@property
|
11782
|
+
def OverUsedStatus(self):
|
11783
|
+
return self._OverUsedStatus
|
11784
|
+
|
11785
|
+
@OverUsedStatus.setter
|
11786
|
+
def OverUsedStatus(self, OverUsedStatus):
|
11787
|
+
self._OverUsedStatus = OverUsedStatus
|
11788
|
+
|
11725
11789
|
|
11726
11790
|
def _deserialize(self, params):
|
11727
11791
|
self._PublicIp = params.get("PublicIp")
|
@@ -11746,6 +11810,7 @@ class EdgeIpInfo(AbstractModel):
|
|
11746
11810
|
self._SwitchMode = params.get("SwitchMode")
|
11747
11811
|
self._SwitchWeight = params.get("SwitchWeight")
|
11748
11812
|
self._Domain = params.get("Domain")
|
11813
|
+
self._OverUsedStatus = params.get("OverUsedStatus")
|
11749
11814
|
memeber_set = set(params.keys())
|
11750
11815
|
for name, value in vars(self).items():
|
11751
11816
|
property_name = name[1:]
|
@@ -17021,6 +17086,15 @@ class NatSwitchListData(AbstractModel):
|
|
17021
17086
|
:param _Abnormal: 开关是否异常,0:正常,1:异常
|
17022
17087
|
注意:此字段可能返回 null,表示取不到有效值。
|
17023
17088
|
:type Abnormal: int
|
17089
|
+
:param _ORTableId: nat防火墙出口路由表id
|
17090
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17091
|
+
:type ORTableId: str
|
17092
|
+
:param _ORTableName: nat防火墙出口路由表名称
|
17093
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17094
|
+
:type ORTableName: str
|
17095
|
+
:param _Ohavips: 出口Snat Ip列表
|
17096
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17097
|
+
:type Ohavips: list of str
|
17024
17098
|
"""
|
17025
17099
|
self._Id = None
|
17026
17100
|
self._SubnetId = None
|
@@ -17039,6 +17113,9 @@ class NatSwitchListData(AbstractModel):
|
|
17039
17113
|
self._NatInsName = None
|
17040
17114
|
self._Region = None
|
17041
17115
|
self._Abnormal = None
|
17116
|
+
self._ORTableId = None
|
17117
|
+
self._ORTableName = None
|
17118
|
+
self._Ohavips = None
|
17042
17119
|
|
17043
17120
|
@property
|
17044
17121
|
def Id(self):
|
@@ -17176,6 +17253,30 @@ class NatSwitchListData(AbstractModel):
|
|
17176
17253
|
def Abnormal(self, Abnormal):
|
17177
17254
|
self._Abnormal = Abnormal
|
17178
17255
|
|
17256
|
+
@property
|
17257
|
+
def ORTableId(self):
|
17258
|
+
return self._ORTableId
|
17259
|
+
|
17260
|
+
@ORTableId.setter
|
17261
|
+
def ORTableId(self, ORTableId):
|
17262
|
+
self._ORTableId = ORTableId
|
17263
|
+
|
17264
|
+
@property
|
17265
|
+
def ORTableName(self):
|
17266
|
+
return self._ORTableName
|
17267
|
+
|
17268
|
+
@ORTableName.setter
|
17269
|
+
def ORTableName(self, ORTableName):
|
17270
|
+
self._ORTableName = ORTableName
|
17271
|
+
|
17272
|
+
@property
|
17273
|
+
def Ohavips(self):
|
17274
|
+
return self._Ohavips
|
17275
|
+
|
17276
|
+
@Ohavips.setter
|
17277
|
+
def Ohavips(self, Ohavips):
|
17278
|
+
self._Ohavips = Ohavips
|
17279
|
+
|
17179
17280
|
|
17180
17281
|
def _deserialize(self, params):
|
17181
17282
|
self._Id = params.get("Id")
|
@@ -17195,6 +17296,9 @@ class NatSwitchListData(AbstractModel):
|
|
17195
17296
|
self._NatInsName = params.get("NatInsName")
|
17196
17297
|
self._Region = params.get("Region")
|
17197
17298
|
self._Abnormal = params.get("Abnormal")
|
17299
|
+
self._ORTableId = params.get("ORTableId")
|
17300
|
+
self._ORTableName = params.get("ORTableName")
|
17301
|
+
self._Ohavips = params.get("Ohavips")
|
17198
17302
|
memeber_set = set(params.keys())
|
17199
17303
|
for name, value in vars(self).items():
|
17200
17304
|
property_name = name[1:]
|
@@ -1695,11 +1695,9 @@ class EssClient(AbstractClient):
|
|
1695
1695
|
|
1696
1696
|
|
1697
1697
|
def CreateUserVerifyUrl(self, request):
|
1698
|
-
"""
|
1699
|
-
|
1700
|
-
|
1701
|
-
使用限制:
|
1702
|
-
此接口需要购买单独的实名套餐包方可调用,如有需求请联系对接人员评估
|
1698
|
+
"""生成个人用户实名认证链接,个人用户点击此链接进入实名流程(若用户已完成实名认证,则直接进入成功页面)。
|
1699
|
+
|
1700
|
+
注: 调用此接口需要购买<font color="red"><b>单独的实名套餐包</b></font>。使用前请联系对接的客户经理沟通。
|
1703
1701
|
|
1704
1702
|
:param request: Request instance for CreateUserVerifyUrl.
|
1705
1703
|
:type request: :class:`tencentcloud.ess.v20201111.models.CreateUserVerifyUrlRequest`
|
@@ -2414,8 +2412,8 @@ class EssClient(AbstractClient):
|
|
2414
2412
|
|
2415
2413
|
注意:
|
2416
2414
|
<ul>
|
2417
|
-
<li
|
2418
|
-
<li
|
2415
|
+
<li>此接口为合作引流场景使用,使用<b>有白名单限制</b>,使用前请联系对接的客户经理沟通。</li>
|
2416
|
+
<li><b>AuthCode 只能使用一次</b>,查询一次再次查询会返回错误</li>
|
2419
2417
|
</ul>
|
2420
2418
|
|
2421
2419
|
:param request: Request instance for DescribeThirdPartyAuthCode.
|
@@ -11309,23 +11309,21 @@ class CreateUserMobileChangeUrlResponse(AbstractModel):
|
|
11309
11309
|
|
11310
11310
|
def __init__(self):
|
11311
11311
|
r"""
|
11312
|
-
:param _Url: 腾讯电子签小程序的实名认证链接。
|
11313
|
-
如果没有传递,默认值是 HTTP。 链接的有效期均是 7 天。
|
11312
|
+
:param _Url: 腾讯电子签小程序的实名认证链接。 如果没有传递,默认值是 HTTP。 链接的有效期均是 7 天。
|
11314
11313
|
|
11315
|
-
|
11316
|
-
|
11314
|
+
<b>1.如果EndPoint是APP</b>,
|
11315
|
+
得到的链接类似于<a href="">pages/guide/index?to=MOBILE_CHANGE_INTENTION&shortKey=yDCZHUyOcExAlcOvNod0</a>, 用法可以参考描述中的"跳转到小程序的实现"
|
11317
11316
|
|
11318
|
-
|
11319
|
-
|
11317
|
+
<b>2.如果EndPoint是HTTP</b>,
|
11318
|
+
得到的链接类似于<a href="">https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=MOBILE_CHANGE_INTENTION&shortKey=yDCZHUyOcChrfpaswT0d</a>,点击后会跳转到腾讯电子签小程序进行签署
|
11320
11319
|
|
11321
|
-
|
11322
|
-
|
11320
|
+
<b>3.如果EndPoint是HTTP_SHORT_URL</b>,
|
11321
|
+
得到的链接类似于<a href="">https://essurl.cn/2n**42Nd</a>,点击后会跳转到腾讯电子签小程序进行签署
|
11323
11322
|
|
11323
|
+
注: <font color="red">生成的链路后面不能再增加参数</font>
|
11324
11324
|
|
11325
|
-
注: 生成的链路后面不能再增加参数
|
11326
|
-
示例值:https://essurl.cn/2n**42Nd
|
11327
11325
|
:type Url: str
|
11328
|
-
:param _ExpireTime:
|
11326
|
+
:param _ExpireTime: 链接失效期限,为Unix时间戳(单位秒),有如下规则:
|
11329
11327
|
|
11330
11328
|
<ul>
|
11331
11329
|
<li>如果指定更换绑定手机号的用户(指定用户ID或姓名等信息),则设定的链接失效期限为7天后。</li>
|
@@ -11396,20 +11394,13 @@ class CreateUserVerifyUrlRequest(AbstractModel):
|
|
11396
11394
|
:type JumpUrl: str
|
11397
11395
|
:param _Endpoint: 要跳转的链接类型
|
11398
11396
|
|
11399
|
-
|
11400
|
-
|
11401
|
-
|
11402
|
-
|
11403
|
-
|
11404
|
-
|
11405
|
-
|
11406
|
-
第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
|
11407
|
-
|
11408
|
-
- H5:
|
11409
|
-
跳转电子签H5实名页面的长链
|
11410
|
-
|
11411
|
-
- H5_SHORT_URL:
|
11412
|
-
跳转电子签H5实名页面的短链
|
11397
|
+
<ul>
|
11398
|
+
<li><strong>HTTP</strong>:适用于短信通知或H5跳转的电子签小程序HTTP长链接</li>
|
11399
|
+
<li><strong>HTTP_SHORT_URL</strong>:适用于短信通知或H5跳转的电子签小程序HTTP短链接</li>
|
11400
|
+
<li><strong>APP</strong>:(默认类型)适用于第三方APP或小程序跳转的电子签小程序路径</li>
|
11401
|
+
<li><strong>H5</strong>:适用于跳转至电子签H5实名页面的长链接</li>
|
11402
|
+
<li><strong>H5_SHORT_URL</strong>:适用于跳转至电子签H5实名页面的短链接</li>
|
11403
|
+
</ul>
|
11413
11404
|
|
11414
11405
|
注:如果不传递,默认值是 <font color="red"> APP </font>
|
11415
11406
|
:type Endpoint: str
|
@@ -11539,26 +11530,26 @@ class CreateUserVerifyUrlResponse(AbstractModel):
|
|
11539
11530
|
:param _UserVerifyUrl: 腾讯电子签小程序的实名认证链接。
|
11540
11531
|
如果没有传递,默认值是 HTTP。 链接的有效期均是 7 天。
|
11541
11532
|
|
11542
|
-
|
11543
|
-
|
11533
|
+
<strong>1.如果EndPoint是APP</strong>:
|
11534
|
+
得到的链接类似于<a href="">pages/guide/index?to=MP_PERSONAL_VERIFY&shortKey=yDCZHUyOcExAlcOvNod0</a>, 用法可以参考描述中的"跳转到小程序的实现"
|
11544
11535
|
|
11545
|
-
|
11546
|
-
得到的链接类似于https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=TAG_VERIFY&shortKey=yDCZHUyOcChrfpaswT0d
|
11536
|
+
<strong>2.如果EndPoint是HTTP</strong>:
|
11537
|
+
得到的链接类似于 <a href="">https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=TAG_VERIFY&shortKey=yDCZHUyOcChrfpaswT0d</a>,点击后会跳转到腾讯电子签小程序进行签署
|
11547
11538
|
|
11548
|
-
|
11549
|
-
|
11539
|
+
<strong>3.如果EndPoint是HTTP_SHORT_URL</strong>:
|
11540
|
+
得到的链接类似于<a href="">https://essurl.cn/2n**42Nd</a>,点击后会跳转到腾讯电子签小程序进行签署
|
11550
11541
|
|
11551
|
-
|
11552
|
-
得到的链接类似于 https://quick.test.qian.tencent.cn/guide?Code=yDU****VJhsS5q&CodeType=xxx&shortKey=yD*****frcb
|
11542
|
+
<strong>4.如果EndPoint是H5</strong>:
|
11543
|
+
得到的链接类似于 <a href="">https://quick.test.qian.tencent.cn/guide?Code=yDU****VJhsS5q&CodeType=xxx&shortKey=yD*****frcb</a>,点击后会跳转到腾讯电子签H5页面进行签署
|
11553
11544
|
|
11554
|
-
|
11555
|
-
|
11545
|
+
<strong>5.如果EndPoint是H5_SHORT_URL</strong>:
|
11546
|
+
得到的链接类似于<a href="">https://essurl.cn/2n**42Nd</a>,点击后会跳转到腾讯电子签H5页面进行签署
|
11556
11547
|
|
11557
11548
|
|
11558
|
-
`注:` <font color="red"
|
11549
|
+
`注:` <font color="red">生成的链路后面不能再增加参数,防止出错重复参数覆盖原有的参数</font>
|
11559
11550
|
示例值:https://essurl.cn/2n**42Nd
|
11560
11551
|
:type UserVerifyUrl: str
|
11561
|
-
:param _ExpireTime:
|
11552
|
+
:param _ExpireTime: 链接过期时间,为Unix时间戳(单位为秒)。
|
11562
11553
|
:type ExpireTime: int
|
11563
11554
|
:param _MiniAppId: 小程序appid,用于半屏拉起电子签小程序, 仅在 Endpoint 设置为 APP 的时候返回
|
11564
11555
|
:type MiniAppId: str
|
@@ -259,6 +259,29 @@ class IssClient(AbstractClient):
|
|
259
259
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
260
260
|
|
261
261
|
|
262
|
+
def CallISAPI(self, request):
|
263
|
+
"""本接口可基于海康ISUP 5.0协议实现透传ISAPI的请求数据,调用接口前需确保设备采用ISUP协议成功注册至本平台
|
264
|
+
|
265
|
+
:param request: Request instance for CallISAPI.
|
266
|
+
:type request: :class:`tencentcloud.iss.v20230517.models.CallISAPIRequest`
|
267
|
+
:rtype: :class:`tencentcloud.iss.v20230517.models.CallISAPIResponse`
|
268
|
+
|
269
|
+
"""
|
270
|
+
try:
|
271
|
+
params = request._serialize()
|
272
|
+
headers = request.headers
|
273
|
+
body = self.call("CallISAPI", params, headers=headers)
|
274
|
+
response = json.loads(body)
|
275
|
+
model = models.CallISAPIResponse()
|
276
|
+
model._deserialize(response["Response"])
|
277
|
+
return model
|
278
|
+
except Exception as e:
|
279
|
+
if isinstance(e, TencentCloudSDKException):
|
280
|
+
raise
|
281
|
+
else:
|
282
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
283
|
+
|
284
|
+
|
262
285
|
def CheckDomain(self, request):
|
263
286
|
"""用于检测域名是否备案。
|
264
287
|
|
@@ -2939,6 +2939,102 @@ class BodyAIResultInfo(AbstractModel):
|
|
2939
2939
|
|
2940
2940
|
|
2941
2941
|
|
2942
|
+
class CallISAPIRequest(AbstractModel):
|
2943
|
+
"""CallISAPI请求参数结构体
|
2944
|
+
|
2945
|
+
"""
|
2946
|
+
|
2947
|
+
def __init__(self):
|
2948
|
+
r"""
|
2949
|
+
:param _DeviceId: 设备ID
|
2950
|
+
:type DeviceId: str
|
2951
|
+
:param _Url: url 资源
|
2952
|
+
:type Url: str
|
2953
|
+
:param _InputData: 输入参数
|
2954
|
+
:type InputData: str
|
2955
|
+
"""
|
2956
|
+
self._DeviceId = None
|
2957
|
+
self._Url = None
|
2958
|
+
self._InputData = None
|
2959
|
+
|
2960
|
+
@property
|
2961
|
+
def DeviceId(self):
|
2962
|
+
return self._DeviceId
|
2963
|
+
|
2964
|
+
@DeviceId.setter
|
2965
|
+
def DeviceId(self, DeviceId):
|
2966
|
+
self._DeviceId = DeviceId
|
2967
|
+
|
2968
|
+
@property
|
2969
|
+
def Url(self):
|
2970
|
+
return self._Url
|
2971
|
+
|
2972
|
+
@Url.setter
|
2973
|
+
def Url(self, Url):
|
2974
|
+
self._Url = Url
|
2975
|
+
|
2976
|
+
@property
|
2977
|
+
def InputData(self):
|
2978
|
+
return self._InputData
|
2979
|
+
|
2980
|
+
@InputData.setter
|
2981
|
+
def InputData(self, InputData):
|
2982
|
+
self._InputData = InputData
|
2983
|
+
|
2984
|
+
|
2985
|
+
def _deserialize(self, params):
|
2986
|
+
self._DeviceId = params.get("DeviceId")
|
2987
|
+
self._Url = params.get("Url")
|
2988
|
+
self._InputData = params.get("InputData")
|
2989
|
+
memeber_set = set(params.keys())
|
2990
|
+
for name, value in vars(self).items():
|
2991
|
+
property_name = name[1:]
|
2992
|
+
if property_name in memeber_set:
|
2993
|
+
memeber_set.remove(property_name)
|
2994
|
+
if len(memeber_set) > 0:
|
2995
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2996
|
+
|
2997
|
+
|
2998
|
+
|
2999
|
+
class CallISAPIResponse(AbstractModel):
|
3000
|
+
"""CallISAPI返回参数结构体
|
3001
|
+
|
3002
|
+
"""
|
3003
|
+
|
3004
|
+
def __init__(self):
|
3005
|
+
r"""
|
3006
|
+
:param _Data: 返回数据
|
3007
|
+
:type Data: :class:`tencentcloud.iss.v20230517.models.ISAPIOutputData`
|
3008
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3009
|
+
:type RequestId: str
|
3010
|
+
"""
|
3011
|
+
self._Data = None
|
3012
|
+
self._RequestId = None
|
3013
|
+
|
3014
|
+
@property
|
3015
|
+
def Data(self):
|
3016
|
+
return self._Data
|
3017
|
+
|
3018
|
+
@Data.setter
|
3019
|
+
def Data(self, Data):
|
3020
|
+
self._Data = Data
|
3021
|
+
|
3022
|
+
@property
|
3023
|
+
def RequestId(self):
|
3024
|
+
return self._RequestId
|
3025
|
+
|
3026
|
+
@RequestId.setter
|
3027
|
+
def RequestId(self, RequestId):
|
3028
|
+
self._RequestId = RequestId
|
3029
|
+
|
3030
|
+
|
3031
|
+
def _deserialize(self, params):
|
3032
|
+
if params.get("Data") is not None:
|
3033
|
+
self._Data = ISAPIOutputData()
|
3034
|
+
self._Data._deserialize(params.get("Data"))
|
3035
|
+
self._RequestId = params.get("RequestId")
|
3036
|
+
|
3037
|
+
|
2942
3038
|
class CarAIResultInfo(AbstractModel):
|
2943
3039
|
"""车辆车牌识别结果信息
|
2944
3040
|
|
@@ -9115,6 +9211,40 @@ class GatewaysData(AbstractModel):
|
|
9115
9211
|
|
9116
9212
|
|
9117
9213
|
|
9214
|
+
class ISAPIOutputData(AbstractModel):
|
9215
|
+
"""ISUP智能安全接入 API返回数据
|
9216
|
+
|
9217
|
+
"""
|
9218
|
+
|
9219
|
+
def __init__(self):
|
9220
|
+
r"""
|
9221
|
+
:param _OutputData: 输出参数
|
9222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
9223
|
+
:type OutputData: str
|
9224
|
+
"""
|
9225
|
+
self._OutputData = None
|
9226
|
+
|
9227
|
+
@property
|
9228
|
+
def OutputData(self):
|
9229
|
+
return self._OutputData
|
9230
|
+
|
9231
|
+
@OutputData.setter
|
9232
|
+
def OutputData(self, OutputData):
|
9233
|
+
self._OutputData = OutputData
|
9234
|
+
|
9235
|
+
|
9236
|
+
def _deserialize(self, params):
|
9237
|
+
self._OutputData = params.get("OutputData")
|
9238
|
+
memeber_set = set(params.keys())
|
9239
|
+
for name, value in vars(self).items():
|
9240
|
+
property_name = name[1:]
|
9241
|
+
if property_name in memeber_set:
|
9242
|
+
memeber_set.remove(property_name)
|
9243
|
+
if len(memeber_set) > 0:
|
9244
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9245
|
+
|
9246
|
+
|
9247
|
+
|
9118
9248
|
class LifeCycleData(AbstractModel):
|
9119
9249
|
"""生命周期,云文件生命周期设置,管理文件冷、热存储的时间
|
9120
9250
|
|