tencentcloud-sdk-python-organization 3.1.160__tar.gz → 3.1.189__tar.gz

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.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/setup.py +1 -1
  3. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/errorcodes.py +21 -0
  5. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/models.py +183 -24
  6. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/organization_client.py +23 -0
  7. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/organization_client_async.py +18 -0
  8. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_organization-3.1.189/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_organization-3.1.160/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/README.rst +0 -0
  12. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/__init__.py +0 -0
  14. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/__init__.py +0 -0
  15. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
  16. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/models.py +0 -0
  17. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/organization_client.py +0 -0
  18. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/organization_client_async.py +0 -0
  19. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/__init__.py +0 -0
  20. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_organization-3.1.160 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud_sdk_python_organization.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.1.160
3
+ Version: 3.1.189
4
4
  Summary: Tencent Cloud Organization SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-organization',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.160,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Organization SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.160'
17
+ __version__ = '3.1.189'
@@ -83,6 +83,9 @@ FAILEDOPERATION_DECODEMETADATADOCUMENTFAILED = 'FailedOperation.DecodeMetadataDo
83
83
  # 委派管理员不能操作策略(添加、编辑、删除)
84
84
  FAILEDOPERATION_DELEGATEDADMINCANNOTMODIFYPOLICY = 'FailedOperation.DelegatedAdminCannotModifyPolicy'
85
85
 
86
+ # 委派管理员不能操作集团管理账号
87
+ FAILEDOPERATION_DELEGATEDADMINCANNOTOPERATEORGMANAGER = 'FailedOperation.DelegatedAdminCannotOperateOrgManager'
88
+
86
89
  # 用户组还存在用户,不允许删除用户
87
90
  FAILEDOPERATION_DELETEGROUPNOTALLOWEXISTUSER = 'FailedOperation.DeleteGroupNotAllowExistUser'
88
91
 
@@ -287,6 +290,9 @@ FAILEDOPERATION_PARTNERMANAGEMENTERR = 'FailedOperation.PartnerManagementErr'
287
290
  # 代付者不合法。
288
291
  FAILEDOPERATION_PAYUINILLEGAL = 'FailedOperation.PayUinIllegal'
289
292
 
293
+ # 申请单非待审核,不可重复审批
294
+ FAILEDOPERATION_PERMISSIONAPPLYORDERSTATUSINVALID = 'FailedOperation.PermissionApplyOrderStatusInvalid'
295
+
290
296
  # 操作权限被拒绝,OwnerUin不一致
291
297
  FAILEDOPERATION_PERMISSIONDENIED = 'FailedOperation.PermissionDenied'
292
298
 
@@ -311,6 +317,9 @@ FAILEDOPERATION_QUITESHAREUNIT = 'FailedOperation.QuiteShareUnit'
311
317
  # 重复发送邀请。
312
318
  FAILEDOPERATION_RESENTINVITATION = 'FailedOperation.ReSentInvitation'
313
319
 
320
+ # 远程调用失败
321
+ FAILEDOPERATION_REMOTECALLERROR = 'FailedOperation.RemoteCallError'
322
+
314
323
  # 资源超过最大上限。
315
324
  FAILEDOPERATION_RESOURCEOVERLIMIT = 'FailedOperation.ResourceOverLimit'
316
325
 
@@ -377,6 +386,9 @@ FAILEDOPERATION_SUBACCOUNTIDENTITYEXIST = 'FailedOperation.SubAccountIdentityExi
377
386
  # 子账号不存在。
378
387
  FAILEDOPERATION_SUBACCOUNTNOTEXIST = 'FailedOperation.SubAccountNotExist'
379
388
 
389
+ # 存在密钥,不允许删除
390
+ FAILEDOPERATION_SYNCUSERHASACCESSKEY = 'FailedOperation.SyncUserHasAccessKey'
391
+
380
392
  # 同步的用户组不允许添加用户
381
393
  FAILEDOPERATION_SYNCHRONIZEDGROUPNOTADDUSER = 'FailedOperation.SynchronizedGroupNotAddUser'
382
394
 
@@ -401,6 +413,9 @@ FAILEDOPERATION_SYSTEMPOLICYOVERUPPERLIMIT = 'FailedOperation.SystemPolicyOverUp
401
413
  # 打标签异常。
402
414
  FAILEDOPERATION_TAGRESOURCESERROR = 'FailedOperation.TagResourcesError'
403
415
 
416
+ # 特殊子用户不支持覆盖
417
+ FAILEDOPERATION_TAKEOVERUNSUPPORTEDUSERTYPE = 'FailedOperation.TakeOverUnsupportedUserType'
418
+
404
419
  # 上传数据文件失败。
405
420
  FAILEDOPERATION_UPLOADMETADATAFAILED = 'FailedOperation.UploadMetadataFailed'
406
421
 
@@ -797,6 +812,9 @@ RESOURCENOTFOUND_ORGANIZATIONSERVICEASSIGNNOTEXIST = 'ResourceNotFound.Organizat
797
812
  # 集团服务不存在。
798
813
  RESOURCENOTFOUND_ORGANIZATIONSERVICENOTEXIST = 'ResourceNotFound.OrganizationServiceNotExist'
799
814
 
815
+ # 权限申请单不存在
816
+ RESOURCENOTFOUND_PERMISSIONAPPLYORDERNOTFOUND = 'ResourceNotFound.PermissionApplyOrderNotFound'
817
+
800
818
  # 策略不存在。
801
819
  RESOURCENOTFOUND_POLICYIDNOTFOUND = 'ResourceNotFound.PolicyIdNotFound'
802
820
 
@@ -961,3 +979,6 @@ UNSUPPORTEDOPERATION_SECONDARYDISTRIBUTORSUBCLIENTEXISTED = 'UnsupportedOperatio
961
979
 
962
980
  # 不支持共享给其他组织成员。
963
981
  UNSUPPORTEDOPERATION_SHARINGTOOTHERORGANIZATIONMEMBER = 'UnsupportedOperation.SharingToOtherOrganizationMember'
982
+
983
+ # 具备代金券的经销子客不允许创建集团组织
984
+ UNSUPPORTEDOPERATION_SUBCLIENTHASVOUCHERNOTALLOWCREATEORGANIZATION = 'UnsupportedOperation.SubClientHasVoucherNotAllowCreateOrganization'
@@ -1222,6 +1222,135 @@ class AttachPolicyResponse(AbstractModel):
1222
1222
  self._RequestId = params.get("RequestId")
1223
1223
 
1224
1224
 
1225
+ class AuditPermissionApplyOrderRequest(AbstractModel):
1226
+ r"""AuditPermissionApplyOrder请求参数结构体
1227
+
1228
+ """
1229
+
1230
+ def __init__(self):
1231
+ r"""
1232
+ :param _ZoneId: <p>空间 ID</p>
1233
+ :type ZoneId: str
1234
+ :param _ApplyId: <p>申请单 ID</p>
1235
+ :type ApplyId: str
1236
+ :param _AuditResult: <p>审批结果</p><p>枚举值:</p><ul><li>Approve: 通过</li><li>Reject: 拒绝</li></ul>
1237
+ :type AuditResult: str
1238
+ :param _AuditOpinion: <p>审批意见</p>
1239
+ :type AuditOpinion: str
1240
+ """
1241
+ self._ZoneId = None
1242
+ self._ApplyId = None
1243
+ self._AuditResult = None
1244
+ self._AuditOpinion = None
1245
+
1246
+ @property
1247
+ def ZoneId(self):
1248
+ r"""<p>空间 ID</p>
1249
+ :rtype: str
1250
+ """
1251
+ return self._ZoneId
1252
+
1253
+ @ZoneId.setter
1254
+ def ZoneId(self, ZoneId):
1255
+ self._ZoneId = ZoneId
1256
+
1257
+ @property
1258
+ def ApplyId(self):
1259
+ r"""<p>申请单 ID</p>
1260
+ :rtype: str
1261
+ """
1262
+ return self._ApplyId
1263
+
1264
+ @ApplyId.setter
1265
+ def ApplyId(self, ApplyId):
1266
+ self._ApplyId = ApplyId
1267
+
1268
+ @property
1269
+ def AuditResult(self):
1270
+ r"""<p>审批结果</p><p>枚举值:</p><ul><li>Approve: 通过</li><li>Reject: 拒绝</li></ul>
1271
+ :rtype: str
1272
+ """
1273
+ return self._AuditResult
1274
+
1275
+ @AuditResult.setter
1276
+ def AuditResult(self, AuditResult):
1277
+ self._AuditResult = AuditResult
1278
+
1279
+ @property
1280
+ def AuditOpinion(self):
1281
+ r"""<p>审批意见</p>
1282
+ :rtype: str
1283
+ """
1284
+ return self._AuditOpinion
1285
+
1286
+ @AuditOpinion.setter
1287
+ def AuditOpinion(self, AuditOpinion):
1288
+ self._AuditOpinion = AuditOpinion
1289
+
1290
+
1291
+ def _deserialize(self, params):
1292
+ self._ZoneId = params.get("ZoneId")
1293
+ self._ApplyId = params.get("ApplyId")
1294
+ self._AuditResult = params.get("AuditResult")
1295
+ self._AuditOpinion = params.get("AuditOpinion")
1296
+ memeber_set = set(params.keys())
1297
+ for name, value in vars(self).items():
1298
+ property_name = name[1:]
1299
+ if property_name in memeber_set:
1300
+ memeber_set.remove(property_name)
1301
+ if len(memeber_set) > 0:
1302
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1303
+
1304
+
1305
+
1306
+ class AuditPermissionApplyOrderResponse(AbstractModel):
1307
+ r"""AuditPermissionApplyOrder返回参数结构体
1308
+
1309
+ """
1310
+
1311
+ def __init__(self):
1312
+ r"""
1313
+ :param _Tasks: <p>同步任务列表</p>
1314
+ :type Tasks: list of TaskInfo
1315
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1316
+ :type RequestId: str
1317
+ """
1318
+ self._Tasks = None
1319
+ self._RequestId = None
1320
+
1321
+ @property
1322
+ def Tasks(self):
1323
+ r"""<p>同步任务列表</p>
1324
+ :rtype: list of TaskInfo
1325
+ """
1326
+ return self._Tasks
1327
+
1328
+ @Tasks.setter
1329
+ def Tasks(self, Tasks):
1330
+ self._Tasks = Tasks
1331
+
1332
+ @property
1333
+ def RequestId(self):
1334
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1335
+ :rtype: str
1336
+ """
1337
+ return self._RequestId
1338
+
1339
+ @RequestId.setter
1340
+ def RequestId(self, RequestId):
1341
+ self._RequestId = RequestId
1342
+
1343
+
1344
+ def _deserialize(self, params):
1345
+ if params.get("Tasks") is not None:
1346
+ self._Tasks = []
1347
+ for item in params.get("Tasks"):
1348
+ obj = TaskInfo()
1349
+ obj._deserialize(item)
1350
+ self._Tasks.append(obj)
1351
+ self._RequestId = params.get("RequestId")
1352
+
1353
+
1225
1354
  class AuthNode(AbstractModel):
1226
1355
  r"""互信主体主要信息
1227
1356
 
@@ -13822,23 +13951,29 @@ class ListTargetsForPolicyNode(AbstractModel):
13822
13951
 
13823
13952
  def __init__(self):
13824
13953
  r"""
13825
- :param _Uin: scp账号uin或节点Id
13954
+ :param _Uin: <p>scp账号uin或节点Id</p>
13826
13955
  :type Uin: int
13827
- :param _RelatedType: 关联类型 1-节点关联 2-用户关联
13956
+ :param _RelatedType: <p>关联类型 1-节点关联 2-用户关联</p>
13828
13957
  :type RelatedType: int
13829
- :param _Name: 账号或者节点名称
13958
+ :param _Name: <p>账号或者节点名称</p>
13830
13959
  :type Name: str
13831
- :param _AddTime: 绑定时间
13960
+ :param _AddTime: <p>绑定时间</p>
13832
13961
  :type AddTime: str
13962
+ :param _NodePath: <p>目标对象所属的组织层级名称路径</p>
13963
+ :type NodePath: list of str
13964
+ :param _NodePathIds: <p>对应的组织层级 ID 路径</p>
13965
+ :type NodePathIds: list of int
13833
13966
  """
13834
13967
  self._Uin = None
13835
13968
  self._RelatedType = None
13836
13969
  self._Name = None
13837
13970
  self._AddTime = None
13971
+ self._NodePath = None
13972
+ self._NodePathIds = None
13838
13973
 
13839
13974
  @property
13840
13975
  def Uin(self):
13841
- r"""scp账号uin或节点Id
13976
+ r"""<p>scp账号uin或节点Id</p>
13842
13977
  :rtype: int
13843
13978
  """
13844
13979
  return self._Uin
@@ -13849,7 +13984,7 @@ class ListTargetsForPolicyNode(AbstractModel):
13849
13984
 
13850
13985
  @property
13851
13986
  def RelatedType(self):
13852
- r"""关联类型 1-节点关联 2-用户关联
13987
+ r"""<p>关联类型 1-节点关联 2-用户关联</p>
13853
13988
  :rtype: int
13854
13989
  """
13855
13990
  return self._RelatedType
@@ -13860,7 +13995,7 @@ class ListTargetsForPolicyNode(AbstractModel):
13860
13995
 
13861
13996
  @property
13862
13997
  def Name(self):
13863
- r"""账号或者节点名称
13998
+ r"""<p>账号或者节点名称</p>
13864
13999
  :rtype: str
13865
14000
  """
13866
14001
  return self._Name
@@ -13871,7 +14006,7 @@ class ListTargetsForPolicyNode(AbstractModel):
13871
14006
 
13872
14007
  @property
13873
14008
  def AddTime(self):
13874
- r"""绑定时间
14009
+ r"""<p>绑定时间</p>
13875
14010
  :rtype: str
13876
14011
  """
13877
14012
  return self._AddTime
@@ -13880,12 +14015,36 @@ class ListTargetsForPolicyNode(AbstractModel):
13880
14015
  def AddTime(self, AddTime):
13881
14016
  self._AddTime = AddTime
13882
14017
 
14018
+ @property
14019
+ def NodePath(self):
14020
+ r"""<p>目标对象所属的组织层级名称路径</p>
14021
+ :rtype: list of str
14022
+ """
14023
+ return self._NodePath
14024
+
14025
+ @NodePath.setter
14026
+ def NodePath(self, NodePath):
14027
+ self._NodePath = NodePath
14028
+
14029
+ @property
14030
+ def NodePathIds(self):
14031
+ r"""<p>对应的组织层级 ID 路径</p>
14032
+ :rtype: list of int
14033
+ """
14034
+ return self._NodePathIds
14035
+
14036
+ @NodePathIds.setter
14037
+ def NodePathIds(self, NodePathIds):
14038
+ self._NodePathIds = NodePathIds
14039
+
13883
14040
 
13884
14041
  def _deserialize(self, params):
13885
14042
  self._Uin = params.get("Uin")
13886
14043
  self._RelatedType = params.get("RelatedType")
13887
14044
  self._Name = params.get("Name")
13888
14045
  self._AddTime = params.get("AddTime")
14046
+ self._NodePath = params.get("NodePath")
14047
+ self._NodePathIds = params.get("NodePathIds")
13889
14048
  memeber_set = set(params.keys())
13890
14049
  for name, value in vars(self).items():
13891
14050
  property_name = name[1:]
@@ -13903,17 +14062,17 @@ class ListTargetsForPolicyRequest(AbstractModel):
13903
14062
 
13904
14063
  def __init__(self):
13905
14064
  r"""
13906
- :param _PolicyId: 策略Id。
14065
+ :param _PolicyId: <p>策略Id。</p>
13907
14066
  :type PolicyId: int
13908
- :param _Rp: 每页数量。默认值是 20,必须大于 0 且小于或等于 200
14067
+ :param _Rp: <p>每页数量。默认值是 20,必须大于 0 且小于或等于 200</p>
13909
14068
  :type Rp: int
13910
- :param _Page: 页码。默认值是 1,从 1开始,不能大于 200
14069
+ :param _Page: <p>页码。默认值是 1,从 1开始,不能大于 200</p>
13911
14070
  :type Page: int
13912
- :param _TargetType: 策略类型。取值范围:All-全部、User-用户、Node-节点
14071
+ :param _TargetType: <p>策略类型。取值范围:All-全部、User-用户、Node-节点</p>
13913
14072
  :type TargetType: str
13914
- :param _PolicyType: 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
14073
+ :param _PolicyType: <p>策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略</p>
13915
14074
  :type PolicyType: str
13916
- :param _Keyword: 按照多个策略id搜索,空格隔开。
14075
+ :param _Keyword: <p>按照多个策略id搜索,空格隔开。</p>
13917
14076
  :type Keyword: str
13918
14077
  """
13919
14078
  self._PolicyId = None
@@ -13925,7 +14084,7 @@ class ListTargetsForPolicyRequest(AbstractModel):
13925
14084
 
13926
14085
  @property
13927
14086
  def PolicyId(self):
13928
- r"""策略Id。
14087
+ r"""<p>策略Id。</p>
13929
14088
  :rtype: int
13930
14089
  """
13931
14090
  return self._PolicyId
@@ -13936,7 +14095,7 @@ class ListTargetsForPolicyRequest(AbstractModel):
13936
14095
 
13937
14096
  @property
13938
14097
  def Rp(self):
13939
- r"""每页数量。默认值是 20,必须大于 0 且小于或等于 200
14098
+ r"""<p>每页数量。默认值是 20,必须大于 0 且小于或等于 200</p>
13940
14099
  :rtype: int
13941
14100
  """
13942
14101
  return self._Rp
@@ -13947,7 +14106,7 @@ class ListTargetsForPolicyRequest(AbstractModel):
13947
14106
 
13948
14107
  @property
13949
14108
  def Page(self):
13950
- r"""页码。默认值是 1,从 1开始,不能大于 200
14109
+ r"""<p>页码。默认值是 1,从 1开始,不能大于 200</p>
13951
14110
  :rtype: int
13952
14111
  """
13953
14112
  return self._Page
@@ -13958,7 +14117,7 @@ class ListTargetsForPolicyRequest(AbstractModel):
13958
14117
 
13959
14118
  @property
13960
14119
  def TargetType(self):
13961
- r"""策略类型。取值范围:All-全部、User-用户、Node-节点
14120
+ r"""<p>策略类型。取值范围:All-全部、User-用户、Node-节点</p>
13962
14121
  :rtype: str
13963
14122
  """
13964
14123
  return self._TargetType
@@ -13969,7 +14128,7 @@ class ListTargetsForPolicyRequest(AbstractModel):
13969
14128
 
13970
14129
  @property
13971
14130
  def PolicyType(self):
13972
- r"""策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
14131
+ r"""<p>策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略</p>
13973
14132
  :rtype: str
13974
14133
  """
13975
14134
  return self._PolicyType
@@ -13980,7 +14139,7 @@ class ListTargetsForPolicyRequest(AbstractModel):
13980
14139
 
13981
14140
  @property
13982
14141
  def Keyword(self):
13983
- r"""按照多个策略id搜索,空格隔开。
14142
+ r"""<p>按照多个策略id搜索,空格隔开。</p>
13984
14143
  :rtype: str
13985
14144
  """
13986
14145
  return self._Keyword
@@ -14014,9 +14173,9 @@ class ListTargetsForPolicyResponse(AbstractModel):
14014
14173
 
14015
14174
  def __init__(self):
14016
14175
  r"""
14017
- :param _TotalNum: 总数。
14176
+ :param _TotalNum: <p>总数。</p>
14018
14177
  :type TotalNum: int
14019
- :param _List: 指定SCP策略关联目标列表。
14178
+ :param _List: <p>指定SCP策略关联目标列表。</p>
14020
14179
  :type List: list of ListTargetsForPolicyNode
14021
14180
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14022
14181
  :type RequestId: str
@@ -14027,7 +14186,7 @@ class ListTargetsForPolicyResponse(AbstractModel):
14027
14186
 
14028
14187
  @property
14029
14188
  def TotalNum(self):
14030
- r"""总数。
14189
+ r"""<p>总数。</p>
14031
14190
  :rtype: int
14032
14191
  """
14033
14192
  return self._TotalNum
@@ -14038,7 +14197,7 @@ class ListTargetsForPolicyResponse(AbstractModel):
14038
14197
 
14039
14198
  @property
14040
14199
  def List(self):
14041
- r"""指定SCP策略关联目标列表。
14200
+ r"""<p>指定SCP策略关联目标列表。</p>
14042
14201
  :rtype: list of ListTargetsForPolicyNode
14043
14202
  """
14044
14203
  return self._List
@@ -279,6 +279,29 @@ class OrganizationClient(AbstractClient):
279
279
  raise TencentCloudSDKException(type(e).__name__, str(e))
280
280
 
281
281
 
282
+ def AuditPermissionApplyOrder(self, request):
283
+ r"""审批用户权限申请
284
+
285
+ :param request: Request instance for AuditPermissionApplyOrder.
286
+ :type request: :class:`tencentcloud.organization.v20210331.models.AuditPermissionApplyOrderRequest`
287
+ :rtype: :class:`tencentcloud.organization.v20210331.models.AuditPermissionApplyOrderResponse`
288
+
289
+ """
290
+ try:
291
+ params = request._serialize()
292
+ headers = request.headers
293
+ body = self.call("AuditPermissionApplyOrder", params, headers=headers)
294
+ response = json.loads(body)
295
+ model = models.AuditPermissionApplyOrderResponse()
296
+ model._deserialize(response["Response"])
297
+ return model
298
+ except Exception as e:
299
+ if isinstance(e, TencentCloudSDKException):
300
+ raise
301
+ else:
302
+ raise TencentCloudSDKException(type(e).__name__, str(e))
303
+
304
+
282
305
  def BindOrganizationMemberAuthAccount(self, request):
283
306
  r"""绑定组织成员和组织管理员子账号的授权关系
284
307
 
@@ -223,6 +223,24 @@ class OrganizationClient(AbstractClient):
223
223
 
224
224
  return await self.call_and_deserialize(**kwargs)
225
225
 
226
+ async def AuditPermissionApplyOrder(
227
+ self,
228
+ request: models.AuditPermissionApplyOrderRequest,
229
+ opts: Dict = None,
230
+ ) -> models.AuditPermissionApplyOrderResponse:
231
+ """
232
+ 审批用户权限申请
233
+ """
234
+
235
+ kwargs = {}
236
+ kwargs["action"] = "AuditPermissionApplyOrder"
237
+ kwargs["params"] = request._serialize()
238
+ kwargs["resp_cls"] = models.AuditPermissionApplyOrderResponse
239
+ kwargs["headers"] = request.headers
240
+ kwargs["opts"] = opts or {}
241
+
242
+ return await self.call_and_deserialize(**kwargs)
243
+
226
244
  async def BindOrganizationMemberAuthAccount(
227
245
  self,
228
246
  request: models.BindOrganizationMemberAuthAccountRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.1.160
3
+ Version: 3.1.189
4
4
  Summary: Tencent Cloud Organization SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.189
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.160