tencentcloud-sdk-python 3.0.1175__py2.py3-none-any.whl → 3.0.1176__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/cls/v20201016/models.py +157 -0
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -70
- tencentcloud/cynosdb/v20190107/models.py +13 -0
- tencentcloud/dlc/v20210125/models.py +1 -1
- tencentcloud/dts/v20211206/models.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +5 -3
- tencentcloud/faceid/v20180301/models.py +1 -16
- tencentcloud/ioa/v20220601/ioa_client.py +69 -0
- tencentcloud/ioa/v20220601/models.py +1239 -63
- tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
- tencentcloud/iotexplorer/v20190423/models.py +312 -0
- tencentcloud/live/v20180801/models.py +13 -0
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/partners/v20180321/models.py +13 -0
- tencentcloud/tcr/v20190924/models.py +13 -0
- tencentcloud/tcss/v20201101/models.py +150 -27
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/wedata/v20210820/models.py +539 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/RECORD +28 -28
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1176.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -1403,6 +1403,56 @@ class AnalysisDimensional(AbstractModel):
|
|
1403
1403
|
|
1404
1404
|
|
1405
1405
|
|
1406
|
+
class AnonymousInfo(AbstractModel):
|
1407
|
+
"""免鉴权信息
|
1408
|
+
|
1409
|
+
"""
|
1410
|
+
|
1411
|
+
def __init__(self):
|
1412
|
+
r"""
|
1413
|
+
:param _Operations: 操作列表,支持trackLog(JS/HTTP上传日志 )和realtimeProducer(kafka协议上传日志)
|
1414
|
+
:type Operations: list of str
|
1415
|
+
:param _Conditions: 条件列表
|
1416
|
+
:type Conditions: list of ConditionInfo
|
1417
|
+
"""
|
1418
|
+
self._Operations = None
|
1419
|
+
self._Conditions = None
|
1420
|
+
|
1421
|
+
@property
|
1422
|
+
def Operations(self):
|
1423
|
+
return self._Operations
|
1424
|
+
|
1425
|
+
@Operations.setter
|
1426
|
+
def Operations(self, Operations):
|
1427
|
+
self._Operations = Operations
|
1428
|
+
|
1429
|
+
@property
|
1430
|
+
def Conditions(self):
|
1431
|
+
return self._Conditions
|
1432
|
+
|
1433
|
+
@Conditions.setter
|
1434
|
+
def Conditions(self, Conditions):
|
1435
|
+
self._Conditions = Conditions
|
1436
|
+
|
1437
|
+
|
1438
|
+
def _deserialize(self, params):
|
1439
|
+
self._Operations = params.get("Operations")
|
1440
|
+
if params.get("Conditions") is not None:
|
1441
|
+
self._Conditions = []
|
1442
|
+
for item in params.get("Conditions"):
|
1443
|
+
obj = ConditionInfo()
|
1444
|
+
obj._deserialize(item)
|
1445
|
+
self._Conditions.append(obj)
|
1446
|
+
memeber_set = set(params.keys())
|
1447
|
+
for name, value in vars(self).items():
|
1448
|
+
property_name = name[1:]
|
1449
|
+
if property_name in memeber_set:
|
1450
|
+
memeber_set.remove(property_name)
|
1451
|
+
if len(memeber_set) > 0:
|
1452
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1453
|
+
|
1454
|
+
|
1455
|
+
|
1406
1456
|
class ApplyConfigToMachineGroupRequest(AbstractModel):
|
1407
1457
|
"""ApplyConfigToMachineGroup请求参数结构体
|
1408
1458
|
|
@@ -2091,6 +2141,63 @@ class CompressInfo(AbstractModel):
|
|
2091
2141
|
|
2092
2142
|
|
2093
2143
|
|
2144
|
+
class ConditionInfo(AbstractModel):
|
2145
|
+
"""免鉴权条件信息
|
2146
|
+
|
2147
|
+
"""
|
2148
|
+
|
2149
|
+
def __init__(self):
|
2150
|
+
r"""
|
2151
|
+
:param _Attributes: 条件属性,目前只支持VpcID
|
2152
|
+
:type Attributes: str
|
2153
|
+
:param _Rule: 条件规则,1:等于,2:不等于
|
2154
|
+
:type Rule: int
|
2155
|
+
:param _ConditionValue: 对应条件属性的值
|
2156
|
+
:type ConditionValue: str
|
2157
|
+
"""
|
2158
|
+
self._Attributes = None
|
2159
|
+
self._Rule = None
|
2160
|
+
self._ConditionValue = None
|
2161
|
+
|
2162
|
+
@property
|
2163
|
+
def Attributes(self):
|
2164
|
+
return self._Attributes
|
2165
|
+
|
2166
|
+
@Attributes.setter
|
2167
|
+
def Attributes(self, Attributes):
|
2168
|
+
self._Attributes = Attributes
|
2169
|
+
|
2170
|
+
@property
|
2171
|
+
def Rule(self):
|
2172
|
+
return self._Rule
|
2173
|
+
|
2174
|
+
@Rule.setter
|
2175
|
+
def Rule(self, Rule):
|
2176
|
+
self._Rule = Rule
|
2177
|
+
|
2178
|
+
@property
|
2179
|
+
def ConditionValue(self):
|
2180
|
+
return self._ConditionValue
|
2181
|
+
|
2182
|
+
@ConditionValue.setter
|
2183
|
+
def ConditionValue(self, ConditionValue):
|
2184
|
+
self._ConditionValue = ConditionValue
|
2185
|
+
|
2186
|
+
|
2187
|
+
def _deserialize(self, params):
|
2188
|
+
self._Attributes = params.get("Attributes")
|
2189
|
+
self._Rule = params.get("Rule")
|
2190
|
+
self._ConditionValue = params.get("ConditionValue")
|
2191
|
+
memeber_set = set(params.keys())
|
2192
|
+
for name, value in vars(self).items():
|
2193
|
+
property_name = name[1:]
|
2194
|
+
if property_name in memeber_set:
|
2195
|
+
memeber_set.remove(property_name)
|
2196
|
+
if len(memeber_set) > 0:
|
2197
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2198
|
+
|
2199
|
+
|
2200
|
+
|
2094
2201
|
class ConfigExtraInfo(AbstractModel):
|
2095
2202
|
"""特殊采集规则配置信息
|
2096
2203
|
|
@@ -6375,6 +6482,8 @@ class CreateTopicRequest(AbstractModel):
|
|
6375
6482
|
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
|
6376
6483
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
6377
6484
|
:type IsWebTracking: bool
|
6485
|
+
:param _Extends: 日志主题扩展信息
|
6486
|
+
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
6378
6487
|
"""
|
6379
6488
|
self._LogsetId = None
|
6380
6489
|
self._TopicName = None
|
@@ -6387,6 +6496,7 @@ class CreateTopicRequest(AbstractModel):
|
|
6387
6496
|
self._Describes = None
|
6388
6497
|
self._HotPeriod = None
|
6389
6498
|
self._IsWebTracking = None
|
6499
|
+
self._Extends = None
|
6390
6500
|
|
6391
6501
|
@property
|
6392
6502
|
def LogsetId(self):
|
@@ -6476,6 +6586,14 @@ class CreateTopicRequest(AbstractModel):
|
|
6476
6586
|
def IsWebTracking(self, IsWebTracking):
|
6477
6587
|
self._IsWebTracking = IsWebTracking
|
6478
6588
|
|
6589
|
+
@property
|
6590
|
+
def Extends(self):
|
6591
|
+
return self._Extends
|
6592
|
+
|
6593
|
+
@Extends.setter
|
6594
|
+
def Extends(self, Extends):
|
6595
|
+
self._Extends = Extends
|
6596
|
+
|
6479
6597
|
|
6480
6598
|
def _deserialize(self, params):
|
6481
6599
|
self._LogsetId = params.get("LogsetId")
|
@@ -6494,6 +6612,9 @@ class CreateTopicRequest(AbstractModel):
|
|
6494
6612
|
self._Describes = params.get("Describes")
|
6495
6613
|
self._HotPeriod = params.get("HotPeriod")
|
6496
6614
|
self._IsWebTracking = params.get("IsWebTracking")
|
6615
|
+
if params.get("Extends") is not None:
|
6616
|
+
self._Extends = TopicExtendInfo()
|
6617
|
+
self._Extends._deserialize(params.get("Extends"))
|
6497
6618
|
memeber_set = set(params.keys())
|
6498
6619
|
for name, value in vars(self).items():
|
6499
6620
|
property_name = name[1:]
|
@@ -20910,6 +21031,42 @@ class Tag(AbstractModel):
|
|
20910
21031
|
|
20911
21032
|
|
20912
21033
|
|
21034
|
+
class TopicExtendInfo(AbstractModel):
|
21035
|
+
"""日志主题扩展信息
|
21036
|
+
|
21037
|
+
"""
|
21038
|
+
|
21039
|
+
def __init__(self):
|
21040
|
+
r"""
|
21041
|
+
:param _AnonymousAccess: 日志主题免鉴权配置信息
|
21042
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21043
|
+
:type AnonymousAccess: :class:`tencentcloud.cls.v20201016.models.AnonymousInfo`
|
21044
|
+
"""
|
21045
|
+
self._AnonymousAccess = None
|
21046
|
+
|
21047
|
+
@property
|
21048
|
+
def AnonymousAccess(self):
|
21049
|
+
return self._AnonymousAccess
|
21050
|
+
|
21051
|
+
@AnonymousAccess.setter
|
21052
|
+
def AnonymousAccess(self, AnonymousAccess):
|
21053
|
+
self._AnonymousAccess = AnonymousAccess
|
21054
|
+
|
21055
|
+
|
21056
|
+
def _deserialize(self, params):
|
21057
|
+
if params.get("AnonymousAccess") is not None:
|
21058
|
+
self._AnonymousAccess = AnonymousInfo()
|
21059
|
+
self._AnonymousAccess._deserialize(params.get("AnonymousAccess"))
|
21060
|
+
memeber_set = set(params.keys())
|
21061
|
+
for name, value in vars(self).items():
|
21062
|
+
property_name = name[1:]
|
21063
|
+
if property_name in memeber_set:
|
21064
|
+
memeber_set.remove(property_name)
|
21065
|
+
if len(memeber_set) > 0:
|
21066
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21067
|
+
|
21068
|
+
|
21069
|
+
|
20913
21070
|
class TopicIdAndRegion(AbstractModel):
|
20914
21071
|
"""仪表盘 topic与地域信息
|
20915
21072
|
|
@@ -696,31 +696,6 @@ class CwpClient(AbstractClient):
|
|
696
696
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
697
697
|
|
698
698
|
|
699
|
-
def DeleteAttackLogs(self, request):
|
700
|
-
"""ModifyEventAttackStatus 接口替代
|
701
|
-
|
702
|
-
删除网络攻击日志
|
703
|
-
|
704
|
-
:param request: Request instance for DeleteAttackLogs.
|
705
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DeleteAttackLogsRequest`
|
706
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DeleteAttackLogsResponse`
|
707
|
-
|
708
|
-
"""
|
709
|
-
try:
|
710
|
-
params = request._serialize()
|
711
|
-
headers = request.headers
|
712
|
-
body = self.call("DeleteAttackLogs", params, headers=headers)
|
713
|
-
response = json.loads(body)
|
714
|
-
model = models.DeleteAttackLogsResponse()
|
715
|
-
model._deserialize(response["Response"])
|
716
|
-
return model
|
717
|
-
except Exception as e:
|
718
|
-
if isinstance(e, TencentCloudSDKException):
|
719
|
-
raise
|
720
|
-
else:
|
721
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
722
|
-
|
723
|
-
|
724
699
|
def DeleteBanWhiteList(self, request):
|
725
700
|
"""删除阻断白名单列表
|
726
701
|
|
@@ -16740,76 +16740,6 @@ class DeleteAllJavaMemShellsResponse(AbstractModel):
|
|
16740
16740
|
self._RequestId = params.get("RequestId")
|
16741
16741
|
|
16742
16742
|
|
16743
|
-
class DeleteAttackLogsRequest(AbstractModel):
|
16744
|
-
"""DeleteAttackLogs请求参数结构体
|
16745
|
-
|
16746
|
-
"""
|
16747
|
-
|
16748
|
-
def __init__(self):
|
16749
|
-
r"""
|
16750
|
-
:param _Ids: 日志ID数组,最大100条。
|
16751
|
-
:type Ids: list of int non-negative
|
16752
|
-
:param _IsAll: 是否全部删除
|
16753
|
-
:type IsAll: bool
|
16754
|
-
"""
|
16755
|
-
self._Ids = None
|
16756
|
-
self._IsAll = None
|
16757
|
-
|
16758
|
-
@property
|
16759
|
-
def Ids(self):
|
16760
|
-
return self._Ids
|
16761
|
-
|
16762
|
-
@Ids.setter
|
16763
|
-
def Ids(self, Ids):
|
16764
|
-
self._Ids = Ids
|
16765
|
-
|
16766
|
-
@property
|
16767
|
-
def IsAll(self):
|
16768
|
-
return self._IsAll
|
16769
|
-
|
16770
|
-
@IsAll.setter
|
16771
|
-
def IsAll(self, IsAll):
|
16772
|
-
self._IsAll = IsAll
|
16773
|
-
|
16774
|
-
|
16775
|
-
def _deserialize(self, params):
|
16776
|
-
self._Ids = params.get("Ids")
|
16777
|
-
self._IsAll = params.get("IsAll")
|
16778
|
-
memeber_set = set(params.keys())
|
16779
|
-
for name, value in vars(self).items():
|
16780
|
-
property_name = name[1:]
|
16781
|
-
if property_name in memeber_set:
|
16782
|
-
memeber_set.remove(property_name)
|
16783
|
-
if len(memeber_set) > 0:
|
16784
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16785
|
-
|
16786
|
-
|
16787
|
-
|
16788
|
-
class DeleteAttackLogsResponse(AbstractModel):
|
16789
|
-
"""DeleteAttackLogs返回参数结构体
|
16790
|
-
|
16791
|
-
"""
|
16792
|
-
|
16793
|
-
def __init__(self):
|
16794
|
-
r"""
|
16795
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16796
|
-
:type RequestId: str
|
16797
|
-
"""
|
16798
|
-
self._RequestId = None
|
16799
|
-
|
16800
|
-
@property
|
16801
|
-
def RequestId(self):
|
16802
|
-
return self._RequestId
|
16803
|
-
|
16804
|
-
@RequestId.setter
|
16805
|
-
def RequestId(self, RequestId):
|
16806
|
-
self._RequestId = RequestId
|
16807
|
-
|
16808
|
-
|
16809
|
-
def _deserialize(self, params):
|
16810
|
-
self._RequestId = params.get("RequestId")
|
16811
|
-
|
16812
|
-
|
16813
16743
|
class DeleteBanWhiteListRequest(AbstractModel):
|
16814
16744
|
"""DeleteBanWhiteList请求参数结构体
|
16815
16745
|
|
@@ -1034,6 +1034,9 @@ class AuditLog(AbstractModel):
|
|
1034
1034
|
:param _TemplateInfo: 日志命中规则模板的基本信息
|
1035
1035
|
注意:此字段可能返回 null,表示取不到有效值。
|
1036
1036
|
:type TemplateInfo: list of LogRuleTemplateInfo
|
1037
|
+
:param _TrxId: 事务ID
|
1038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1039
|
+
:type TrxId: int
|
1037
1040
|
"""
|
1038
1041
|
self._AffectRows = None
|
1039
1042
|
self._ErrCode = None
|
@@ -1056,6 +1059,7 @@ class AuditLog(AbstractModel):
|
|
1056
1059
|
self._TrxLivingTime = None
|
1057
1060
|
self._NsTime = None
|
1058
1061
|
self._TemplateInfo = None
|
1062
|
+
self._TrxId = None
|
1059
1063
|
|
1060
1064
|
@property
|
1061
1065
|
def AffectRows(self):
|
@@ -1225,6 +1229,14 @@ class AuditLog(AbstractModel):
|
|
1225
1229
|
def TemplateInfo(self, TemplateInfo):
|
1226
1230
|
self._TemplateInfo = TemplateInfo
|
1227
1231
|
|
1232
|
+
@property
|
1233
|
+
def TrxId(self):
|
1234
|
+
return self._TrxId
|
1235
|
+
|
1236
|
+
@TrxId.setter
|
1237
|
+
def TrxId(self, TrxId):
|
1238
|
+
self._TrxId = TrxId
|
1239
|
+
|
1228
1240
|
|
1229
1241
|
def _deserialize(self, params):
|
1230
1242
|
self._AffectRows = params.get("AffectRows")
|
@@ -1253,6 +1265,7 @@ class AuditLog(AbstractModel):
|
|
1253
1265
|
obj = LogRuleTemplateInfo()
|
1254
1266
|
obj._deserialize(item)
|
1255
1267
|
self._TemplateInfo.append(obj)
|
1268
|
+
self._TrxId = params.get("TrxId")
|
1256
1269
|
memeber_set = set(params.keys())
|
1257
1270
|
for name, value in vars(self).items():
|
1258
1271
|
property_name = name[1:]
|
@@ -2863,7 +2863,7 @@ class CreateDMSTableRequest(AbstractModel):
|
|
2863
2863
|
r"""
|
2864
2864
|
:param _Asset: 基础对象
|
2865
2865
|
:type Asset: :class:`tencentcloud.dlc.v20210125.models.Asset`
|
2866
|
-
:param _Type:
|
2866
|
+
:param _Type: 表类型:EXTERNAL_TABLE, VIRTUAL_VIEW, MATERIALIZED_VIEW
|
2867
2867
|
:type Type: str
|
2868
2868
|
:param _DbName: 数据库名称
|
2869
2869
|
:type DbName: str
|
@@ -2770,11 +2770,11 @@ class CreateSyncJobRequest(AbstractModel):
|
|
2770
2770
|
r"""
|
2771
2771
|
:param _PayMode: 付款类型, 如:PrePay(表示包年包月)、PostPay(表示按时按量)
|
2772
2772
|
:type PayMode: str
|
2773
|
-
:param _SrcDatabaseType: 源端数据库类型,如mysql,cynosdbmysql,
|
2773
|
+
:param _SrcDatabaseType: 源端数据库类型,如mysql,mariadb,percona,postgresql,cynosdbmysql(表示TDSQL-C MySQL),tdpg(TDSQL PostgreSQL版),tdsqlmysql,tdstore(表示TDSQL TDStore版)等。
|
2774
2774
|
:type SrcDatabaseType: str
|
2775
2775
|
:param _SrcRegion: 源端数据库所在地域,如ap-guangzhou
|
2776
2776
|
:type SrcRegion: str
|
2777
|
-
:param _DstDatabaseType: 目标端数据库类型,如mysql,cynosdbmysql,
|
2777
|
+
:param _DstDatabaseType: 目标端数据库类型,如mysql,mariadb,percona,cynosdbmysql(表示TDSQL-C MySQL),tdpg(TDSQL PostgreSQL版),tdsqlmysql,kafka,tdstore(表示TDSQL TDStore版)等。
|
2778
2778
|
:type DstDatabaseType: str
|
2779
2779
|
:param _DstRegion: 目标端数据库所在地域,如ap-guangzhou
|
2780
2780
|
:type DstRegion: str
|
@@ -8023,7 +8023,7 @@ class Endpoint(AbstractModel):
|
|
8023
8023
|
:param _Role: 节点类型,proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填
|
8024
8024
|
注意:此字段可能返回 null,表示取不到有效值。
|
8025
8025
|
:type Role: str
|
8026
|
-
:param _DbKernel: 数据库内核类型,tdsql中用于区分不同内核:percona,mariadb,mysql
|
8026
|
+
:param _DbKernel: 数据库内核类型,tdsql中用于区分不同内核:percona,mariadb,mysql。注意TDSQL-C MySQL、TDSQL PostgreSQL无需填写此项值。
|
8027
8027
|
注意:此字段可能返回 null,表示取不到有效值。
|
8028
8028
|
:type DbKernel: str
|
8029
8029
|
:param _InstanceId: 数据库实例ID,格式如:cdb-powiqx8q
|
@@ -3796,8 +3796,10 @@ class ChannelCreateFlowSignReviewRequest(AbstractModel):
|
|
3796
3796
|
<li>当ReviewType 是拒绝(REJECT) 时此字段必填。</li>
|
3797
3797
|
<li>当ReviewType 是拒绝(SIGN_REJECT) 时此字段必填。</li></ul>
|
3798
3798
|
:type ReviewMessage: str
|
3799
|
-
:param _RecipientId:
|
3800
|
-
<
|
3799
|
+
:param _RecipientId: 审核节点的签署人标志,用于指定当前审核的签署方。
|
3800
|
+
<font color= "red">注意:以下情况必须传递RecipientId</font>
|
3801
|
+
<ul><li> **发起签署流程时,指定签署人需要审批(即签署人需要审批
|
3802
|
+
<a href="https://qian.tencent.com/developers/partnerApis/dataTypes#flowapproverinfo" target="_blank">ApproverNeedSignReview</a>为true),则必须指定RecipientId**</li><li>**如果签署审核节点是个人, 此参数必填**。</li></ul>
|
3801
3803
|
:type RecipientId: str
|
3802
3804
|
:param _OperateType: 流程审核操作类型,取值如下:
|
3803
3805
|
<ul><li>**SignReview**:(默认)签署审核</li>
|
@@ -10022,7 +10024,7 @@ class CreateConsoleLoginUrlRequest(AbstractModel):
|
|
10022
10024
|
`3. 同渠道应用(Agent.AppId)下,企业唯一标识ProxyOrganizationOpenId需要保持唯一,员工唯一标识OpenId也要保持唯一 (而不是企业下唯一)。 `
|
10023
10025
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
10024
10026
|
:param _ProxyOrganizationName: 第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。
|
10025
|
-
|
10027
|
+
<font color="red">在测试环境联调的过程中,企业名称请统一加上“测试”二字,如:典子谦示例企业测试,否则将无法审核通过。</font>
|
10026
10028
|
|
10027
10029
|
注:
|
10028
10030
|
`1. 如果名称中包含英文括号(),请使用中文括号()代替。`
|
@@ -4055,22 +4055,7 @@ null-无设备风险
|
|
4055
4055
|
02:攻击风险
|
4056
4056
|
注意:此字段可能返回 null,表示取不到有效值。
|
4057
4057
|
:type RiskInfoTag: str
|
4058
|
-
:param _LivenessInfoTag: plus版:描述当前请求活体阶段被拒绝的详细原因,详情如下:
|
4059
|
-
01-用户全程闭眼
|
4060
|
-
02-用户未完成指定动作
|
4061
|
-
03-疑似翻拍攻击
|
4062
|
-
04-疑似合成图片
|
4063
|
-
05-疑似合成视频
|
4064
|
-
06-疑似合成动作
|
4065
|
-
07-疑似黑产模版
|
4066
|
-
08-疑似存在水印
|
4067
|
-
09-反光校验未通过
|
4068
|
-
10-最佳帧校验未通过
|
4069
|
-
11-人脸质量过差
|
4070
|
-
12-人脸距离不匹配
|
4071
|
-
13-疑似对抗样本攻击
|
4072
|
-
null-无
|
4073
|
-
增强版:此字段不生效,默认为null
|
4058
|
+
:param _LivenessInfoTag: plus版:描述当前请求活体阶段被拒绝的详细原因,详情如下:01-用户全程闭眼02-用户未完成指定动作03-疑似翻拍攻击04-疑似合成图片05-疑似合成视频06-疑似合成动作07-疑似黑产模板08-疑似存在水印09-反光校验未通过10-最佳帧校验未通过11-人脸质量过差12-人脸距离不匹配13-疑似对抗样本攻击null-无增强版:此字段不生效,默认为null
|
4074
4059
|
注意:此字段可能返回 null,表示取不到有效值。
|
4075
4060
|
:type LivenessInfoTag: str
|
4076
4061
|
:param _DeviceInfoLevel: plus版:描述当前请求所在设备的风险等级,共4级,详情如下:
|
@@ -26,6 +26,29 @@ class IoaClient(AbstractClient):
|
|
26
26
|
_service = 'ioa'
|
27
27
|
|
28
28
|
|
29
|
+
def DescribeAccountGroups(self, request):
|
30
|
+
"""以分页的方式查询账户目录列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
|
31
|
+
|
32
|
+
:param request: Request instance for DescribeAccountGroups.
|
33
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountGroupsRequest`
|
34
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountGroupsResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("DescribeAccountGroups", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.DescribeAccountGroupsResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
29
52
|
def DescribeDevices(self, request):
|
30
53
|
"""查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
|
31
54
|
|
@@ -42,6 +65,52 @@ class IoaClient(AbstractClient):
|
|
42
65
|
model = models.DescribeDevicesResponse()
|
43
66
|
model._deserialize(response["Response"])
|
44
67
|
return model
|
68
|
+
except Exception as e:
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
70
|
+
raise
|
71
|
+
else:
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
|
+
|
74
|
+
|
75
|
+
def DescribeLocalAccounts(self, request):
|
76
|
+
"""获取账号列表,支持分页,模糊搜索,私有化调用path为:/capi/Assets/Account/DescribeLocalAccounts
|
77
|
+
|
78
|
+
:param request: Request instance for DescribeLocalAccounts.
|
79
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeLocalAccountsRequest`
|
80
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeLocalAccountsResponse`
|
81
|
+
|
82
|
+
"""
|
83
|
+
try:
|
84
|
+
params = request._serialize()
|
85
|
+
headers = request.headers
|
86
|
+
body = self.call("DescribeLocalAccounts", params, headers=headers)
|
87
|
+
response = json.loads(body)
|
88
|
+
model = models.DescribeLocalAccountsResponse()
|
89
|
+
model._deserialize(response["Response"])
|
90
|
+
return model
|
91
|
+
except Exception as e:
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
93
|
+
raise
|
94
|
+
else:
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
96
|
+
|
97
|
+
|
98
|
+
def DescribeRootAccountGroup(self, request):
|
99
|
+
"""查询账户根分组详情,私有化调用path为:capi/Assets/DescribeRootAccountGroup
|
100
|
+
|
101
|
+
:param request: Request instance for DescribeRootAccountGroup.
|
102
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeRootAccountGroupRequest`
|
103
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeRootAccountGroupResponse`
|
104
|
+
|
105
|
+
"""
|
106
|
+
try:
|
107
|
+
params = request._serialize()
|
108
|
+
headers = request.headers
|
109
|
+
body = self.call("DescribeRootAccountGroup", params, headers=headers)
|
110
|
+
response = json.loads(body)
|
111
|
+
model = models.DescribeRootAccountGroupResponse()
|
112
|
+
model._deserialize(response["Response"])
|
113
|
+
return model
|
45
114
|
except Exception as e:
|
46
115
|
if isinstance(e, TencentCloudSDKException):
|
47
116
|
raise
|