tencentcloud-sdk-python-organization 3.0.1443__tar.gz → 3.0.1447__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.
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/setup.py +1 -1
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20210331/models.py +393 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20210331/organization_client.py +23 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-organization-3.0.1447/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-organization-3.0.1443/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/README.rst +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/setup.cfg +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20181225/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20181225/models.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20181225/organization_client.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20210331/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20210331/errorcodes.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-organization-3.0.1443 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud_sdk_python_organization.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1447,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Organization SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -6557,6 +6557,169 @@ class DescribeOrganizationMemberPoliciesResponse(AbstractModel):
|
|
|
6557
6557
|
self._RequestId = params.get("RequestId")
|
|
6558
6558
|
|
|
6559
6559
|
|
|
6560
|
+
class DescribeOrganizationMembersAuthPolicyRequest(AbstractModel):
|
|
6561
|
+
"""DescribeOrganizationMembersAuthPolicy请求参数结构体
|
|
6562
|
+
|
|
6563
|
+
"""
|
|
6564
|
+
|
|
6565
|
+
def __init__(self):
|
|
6566
|
+
r"""
|
|
6567
|
+
:param _Offset: 偏移量。取值是limit的整数倍。默认值 : 0。
|
|
6568
|
+
:type Offset: int
|
|
6569
|
+
:param _Limit: 限制数目。取值范围:1~50。默认值:10。
|
|
6570
|
+
:type Limit: int
|
|
6571
|
+
:param _MemberUin: 成员uin。
|
|
6572
|
+
:type MemberUin: int
|
|
6573
|
+
:param _OrgSubAccountUin: 集团管理员子账号uin。
|
|
6574
|
+
:type OrgSubAccountUin: int
|
|
6575
|
+
:param _PolicyId: 成员访问策略Id。
|
|
6576
|
+
:type PolicyId: int
|
|
6577
|
+
"""
|
|
6578
|
+
self._Offset = None
|
|
6579
|
+
self._Limit = None
|
|
6580
|
+
self._MemberUin = None
|
|
6581
|
+
self._OrgSubAccountUin = None
|
|
6582
|
+
self._PolicyId = None
|
|
6583
|
+
|
|
6584
|
+
@property
|
|
6585
|
+
def Offset(self):
|
|
6586
|
+
"""偏移量。取值是limit的整数倍。默认值 : 0。
|
|
6587
|
+
:rtype: int
|
|
6588
|
+
"""
|
|
6589
|
+
return self._Offset
|
|
6590
|
+
|
|
6591
|
+
@Offset.setter
|
|
6592
|
+
def Offset(self, Offset):
|
|
6593
|
+
self._Offset = Offset
|
|
6594
|
+
|
|
6595
|
+
@property
|
|
6596
|
+
def Limit(self):
|
|
6597
|
+
"""限制数目。取值范围:1~50。默认值:10。
|
|
6598
|
+
:rtype: int
|
|
6599
|
+
"""
|
|
6600
|
+
return self._Limit
|
|
6601
|
+
|
|
6602
|
+
@Limit.setter
|
|
6603
|
+
def Limit(self, Limit):
|
|
6604
|
+
self._Limit = Limit
|
|
6605
|
+
|
|
6606
|
+
@property
|
|
6607
|
+
def MemberUin(self):
|
|
6608
|
+
"""成员uin。
|
|
6609
|
+
:rtype: int
|
|
6610
|
+
"""
|
|
6611
|
+
return self._MemberUin
|
|
6612
|
+
|
|
6613
|
+
@MemberUin.setter
|
|
6614
|
+
def MemberUin(self, MemberUin):
|
|
6615
|
+
self._MemberUin = MemberUin
|
|
6616
|
+
|
|
6617
|
+
@property
|
|
6618
|
+
def OrgSubAccountUin(self):
|
|
6619
|
+
"""集团管理员子账号uin。
|
|
6620
|
+
:rtype: int
|
|
6621
|
+
"""
|
|
6622
|
+
return self._OrgSubAccountUin
|
|
6623
|
+
|
|
6624
|
+
@OrgSubAccountUin.setter
|
|
6625
|
+
def OrgSubAccountUin(self, OrgSubAccountUin):
|
|
6626
|
+
self._OrgSubAccountUin = OrgSubAccountUin
|
|
6627
|
+
|
|
6628
|
+
@property
|
|
6629
|
+
def PolicyId(self):
|
|
6630
|
+
"""成员访问策略Id。
|
|
6631
|
+
:rtype: int
|
|
6632
|
+
"""
|
|
6633
|
+
return self._PolicyId
|
|
6634
|
+
|
|
6635
|
+
@PolicyId.setter
|
|
6636
|
+
def PolicyId(self, PolicyId):
|
|
6637
|
+
self._PolicyId = PolicyId
|
|
6638
|
+
|
|
6639
|
+
|
|
6640
|
+
def _deserialize(self, params):
|
|
6641
|
+
self._Offset = params.get("Offset")
|
|
6642
|
+
self._Limit = params.get("Limit")
|
|
6643
|
+
self._MemberUin = params.get("MemberUin")
|
|
6644
|
+
self._OrgSubAccountUin = params.get("OrgSubAccountUin")
|
|
6645
|
+
self._PolicyId = params.get("PolicyId")
|
|
6646
|
+
memeber_set = set(params.keys())
|
|
6647
|
+
for name, value in vars(self).items():
|
|
6648
|
+
property_name = name[1:]
|
|
6649
|
+
if property_name in memeber_set:
|
|
6650
|
+
memeber_set.remove(property_name)
|
|
6651
|
+
if len(memeber_set) > 0:
|
|
6652
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6653
|
+
|
|
6654
|
+
|
|
6655
|
+
|
|
6656
|
+
class DescribeOrganizationMembersAuthPolicyResponse(AbstractModel):
|
|
6657
|
+
"""DescribeOrganizationMembersAuthPolicy返回参数结构体
|
|
6658
|
+
|
|
6659
|
+
"""
|
|
6660
|
+
|
|
6661
|
+
def __init__(self):
|
|
6662
|
+
r"""
|
|
6663
|
+
:param _Items: 访问授权策略列表。
|
|
6664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6665
|
+
:type Items: list of OrgMembersAuthPolicy
|
|
6666
|
+
:param _Total: 总数目。
|
|
6667
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6668
|
+
:type Total: int
|
|
6669
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6670
|
+
:type RequestId: str
|
|
6671
|
+
"""
|
|
6672
|
+
self._Items = None
|
|
6673
|
+
self._Total = None
|
|
6674
|
+
self._RequestId = None
|
|
6675
|
+
|
|
6676
|
+
@property
|
|
6677
|
+
def Items(self):
|
|
6678
|
+
"""访问授权策略列表。
|
|
6679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6680
|
+
:rtype: list of OrgMembersAuthPolicy
|
|
6681
|
+
"""
|
|
6682
|
+
return self._Items
|
|
6683
|
+
|
|
6684
|
+
@Items.setter
|
|
6685
|
+
def Items(self, Items):
|
|
6686
|
+
self._Items = Items
|
|
6687
|
+
|
|
6688
|
+
@property
|
|
6689
|
+
def Total(self):
|
|
6690
|
+
"""总数目。
|
|
6691
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6692
|
+
:rtype: int
|
|
6693
|
+
"""
|
|
6694
|
+
return self._Total
|
|
6695
|
+
|
|
6696
|
+
@Total.setter
|
|
6697
|
+
def Total(self, Total):
|
|
6698
|
+
self._Total = Total
|
|
6699
|
+
|
|
6700
|
+
@property
|
|
6701
|
+
def RequestId(self):
|
|
6702
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6703
|
+
:rtype: str
|
|
6704
|
+
"""
|
|
6705
|
+
return self._RequestId
|
|
6706
|
+
|
|
6707
|
+
@RequestId.setter
|
|
6708
|
+
def RequestId(self, RequestId):
|
|
6709
|
+
self._RequestId = RequestId
|
|
6710
|
+
|
|
6711
|
+
|
|
6712
|
+
def _deserialize(self, params):
|
|
6713
|
+
if params.get("Items") is not None:
|
|
6714
|
+
self._Items = []
|
|
6715
|
+
for item in params.get("Items"):
|
|
6716
|
+
obj = OrgMembersAuthPolicy()
|
|
6717
|
+
obj._deserialize(item)
|
|
6718
|
+
self._Items.append(obj)
|
|
6719
|
+
self._Total = params.get("Total")
|
|
6720
|
+
self._RequestId = params.get("RequestId")
|
|
6721
|
+
|
|
6722
|
+
|
|
6560
6723
|
class DescribeOrganizationMembersRequest(AbstractModel):
|
|
6561
6724
|
"""DescribeOrganizationMembers请求参数结构体
|
|
6562
6725
|
|
|
@@ -16008,6 +16171,236 @@ class OrgMemberPolicy(AbstractModel):
|
|
|
16008
16171
|
|
|
16009
16172
|
|
|
16010
16173
|
|
|
16174
|
+
class OrgMembersAuthPolicy(AbstractModel):
|
|
16175
|
+
"""组织成员访问授权策略
|
|
16176
|
+
|
|
16177
|
+
"""
|
|
16178
|
+
|
|
16179
|
+
def __init__(self):
|
|
16180
|
+
r"""
|
|
16181
|
+
:param _IdentityId: 身份Id。
|
|
16182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16183
|
+
:type IdentityId: int
|
|
16184
|
+
:param _IdentityRoleName: 身份的角色名。
|
|
16185
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16186
|
+
:type IdentityRoleName: str
|
|
16187
|
+
:param _IdentityRoleAliasName: 身份的角色别名。
|
|
16188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16189
|
+
:type IdentityRoleAliasName: str
|
|
16190
|
+
:param _CreateTime: 创建时间。
|
|
16191
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16192
|
+
:type CreateTime: str
|
|
16193
|
+
:param _PolicyId: 成员访问策略Id。
|
|
16194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16195
|
+
:type PolicyId: int
|
|
16196
|
+
:param _PolicyName: 成员访问策略名称。
|
|
16197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16198
|
+
:type PolicyName: str
|
|
16199
|
+
:param _MemberUin: 成员uin。
|
|
16200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16201
|
+
:type MemberUin: int
|
|
16202
|
+
:param _MemberName: 成员名称。
|
|
16203
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16204
|
+
:type MemberName: str
|
|
16205
|
+
:param _OrgSubAccountUin: 子账号uin或者用户组Id。
|
|
16206
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16207
|
+
:type OrgSubAccountUin: int
|
|
16208
|
+
:param _OrgSubAccountName: 子账号名称或者用户组名称。
|
|
16209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16210
|
+
:type OrgSubAccountName: str
|
|
16211
|
+
:param _BindType: 绑定类型。1-子账号、2-用户组
|
|
16212
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16213
|
+
:type BindType: int
|
|
16214
|
+
:param _Members: 成员信息。
|
|
16215
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16216
|
+
:type Members: list of MemberMainInfo
|
|
16217
|
+
"""
|
|
16218
|
+
self._IdentityId = None
|
|
16219
|
+
self._IdentityRoleName = None
|
|
16220
|
+
self._IdentityRoleAliasName = None
|
|
16221
|
+
self._CreateTime = None
|
|
16222
|
+
self._PolicyId = None
|
|
16223
|
+
self._PolicyName = None
|
|
16224
|
+
self._MemberUin = None
|
|
16225
|
+
self._MemberName = None
|
|
16226
|
+
self._OrgSubAccountUin = None
|
|
16227
|
+
self._OrgSubAccountName = None
|
|
16228
|
+
self._BindType = None
|
|
16229
|
+
self._Members = None
|
|
16230
|
+
|
|
16231
|
+
@property
|
|
16232
|
+
def IdentityId(self):
|
|
16233
|
+
"""身份Id。
|
|
16234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16235
|
+
:rtype: int
|
|
16236
|
+
"""
|
|
16237
|
+
return self._IdentityId
|
|
16238
|
+
|
|
16239
|
+
@IdentityId.setter
|
|
16240
|
+
def IdentityId(self, IdentityId):
|
|
16241
|
+
self._IdentityId = IdentityId
|
|
16242
|
+
|
|
16243
|
+
@property
|
|
16244
|
+
def IdentityRoleName(self):
|
|
16245
|
+
"""身份的角色名。
|
|
16246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16247
|
+
:rtype: str
|
|
16248
|
+
"""
|
|
16249
|
+
return self._IdentityRoleName
|
|
16250
|
+
|
|
16251
|
+
@IdentityRoleName.setter
|
|
16252
|
+
def IdentityRoleName(self, IdentityRoleName):
|
|
16253
|
+
self._IdentityRoleName = IdentityRoleName
|
|
16254
|
+
|
|
16255
|
+
@property
|
|
16256
|
+
def IdentityRoleAliasName(self):
|
|
16257
|
+
"""身份的角色别名。
|
|
16258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16259
|
+
:rtype: str
|
|
16260
|
+
"""
|
|
16261
|
+
return self._IdentityRoleAliasName
|
|
16262
|
+
|
|
16263
|
+
@IdentityRoleAliasName.setter
|
|
16264
|
+
def IdentityRoleAliasName(self, IdentityRoleAliasName):
|
|
16265
|
+
self._IdentityRoleAliasName = IdentityRoleAliasName
|
|
16266
|
+
|
|
16267
|
+
@property
|
|
16268
|
+
def CreateTime(self):
|
|
16269
|
+
"""创建时间。
|
|
16270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16271
|
+
:rtype: str
|
|
16272
|
+
"""
|
|
16273
|
+
return self._CreateTime
|
|
16274
|
+
|
|
16275
|
+
@CreateTime.setter
|
|
16276
|
+
def CreateTime(self, CreateTime):
|
|
16277
|
+
self._CreateTime = CreateTime
|
|
16278
|
+
|
|
16279
|
+
@property
|
|
16280
|
+
def PolicyId(self):
|
|
16281
|
+
"""成员访问策略Id。
|
|
16282
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16283
|
+
:rtype: int
|
|
16284
|
+
"""
|
|
16285
|
+
return self._PolicyId
|
|
16286
|
+
|
|
16287
|
+
@PolicyId.setter
|
|
16288
|
+
def PolicyId(self, PolicyId):
|
|
16289
|
+
self._PolicyId = PolicyId
|
|
16290
|
+
|
|
16291
|
+
@property
|
|
16292
|
+
def PolicyName(self):
|
|
16293
|
+
"""成员访问策略名称。
|
|
16294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16295
|
+
:rtype: str
|
|
16296
|
+
"""
|
|
16297
|
+
return self._PolicyName
|
|
16298
|
+
|
|
16299
|
+
@PolicyName.setter
|
|
16300
|
+
def PolicyName(self, PolicyName):
|
|
16301
|
+
self._PolicyName = PolicyName
|
|
16302
|
+
|
|
16303
|
+
@property
|
|
16304
|
+
def MemberUin(self):
|
|
16305
|
+
"""成员uin。
|
|
16306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16307
|
+
:rtype: int
|
|
16308
|
+
"""
|
|
16309
|
+
return self._MemberUin
|
|
16310
|
+
|
|
16311
|
+
@MemberUin.setter
|
|
16312
|
+
def MemberUin(self, MemberUin):
|
|
16313
|
+
self._MemberUin = MemberUin
|
|
16314
|
+
|
|
16315
|
+
@property
|
|
16316
|
+
def MemberName(self):
|
|
16317
|
+
"""成员名称。
|
|
16318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16319
|
+
:rtype: str
|
|
16320
|
+
"""
|
|
16321
|
+
return self._MemberName
|
|
16322
|
+
|
|
16323
|
+
@MemberName.setter
|
|
16324
|
+
def MemberName(self, MemberName):
|
|
16325
|
+
self._MemberName = MemberName
|
|
16326
|
+
|
|
16327
|
+
@property
|
|
16328
|
+
def OrgSubAccountUin(self):
|
|
16329
|
+
"""子账号uin或者用户组Id。
|
|
16330
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16331
|
+
:rtype: int
|
|
16332
|
+
"""
|
|
16333
|
+
return self._OrgSubAccountUin
|
|
16334
|
+
|
|
16335
|
+
@OrgSubAccountUin.setter
|
|
16336
|
+
def OrgSubAccountUin(self, OrgSubAccountUin):
|
|
16337
|
+
self._OrgSubAccountUin = OrgSubAccountUin
|
|
16338
|
+
|
|
16339
|
+
@property
|
|
16340
|
+
def OrgSubAccountName(self):
|
|
16341
|
+
"""子账号名称或者用户组名称。
|
|
16342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16343
|
+
:rtype: str
|
|
16344
|
+
"""
|
|
16345
|
+
return self._OrgSubAccountName
|
|
16346
|
+
|
|
16347
|
+
@OrgSubAccountName.setter
|
|
16348
|
+
def OrgSubAccountName(self, OrgSubAccountName):
|
|
16349
|
+
self._OrgSubAccountName = OrgSubAccountName
|
|
16350
|
+
|
|
16351
|
+
@property
|
|
16352
|
+
def BindType(self):
|
|
16353
|
+
"""绑定类型。1-子账号、2-用户组
|
|
16354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16355
|
+
:rtype: int
|
|
16356
|
+
"""
|
|
16357
|
+
return self._BindType
|
|
16358
|
+
|
|
16359
|
+
@BindType.setter
|
|
16360
|
+
def BindType(self, BindType):
|
|
16361
|
+
self._BindType = BindType
|
|
16362
|
+
|
|
16363
|
+
@property
|
|
16364
|
+
def Members(self):
|
|
16365
|
+
"""成员信息。
|
|
16366
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16367
|
+
:rtype: list of MemberMainInfo
|
|
16368
|
+
"""
|
|
16369
|
+
return self._Members
|
|
16370
|
+
|
|
16371
|
+
@Members.setter
|
|
16372
|
+
def Members(self, Members):
|
|
16373
|
+
self._Members = Members
|
|
16374
|
+
|
|
16375
|
+
|
|
16376
|
+
def _deserialize(self, params):
|
|
16377
|
+
self._IdentityId = params.get("IdentityId")
|
|
16378
|
+
self._IdentityRoleName = params.get("IdentityRoleName")
|
|
16379
|
+
self._IdentityRoleAliasName = params.get("IdentityRoleAliasName")
|
|
16380
|
+
self._CreateTime = params.get("CreateTime")
|
|
16381
|
+
self._PolicyId = params.get("PolicyId")
|
|
16382
|
+
self._PolicyName = params.get("PolicyName")
|
|
16383
|
+
self._MemberUin = params.get("MemberUin")
|
|
16384
|
+
self._MemberName = params.get("MemberName")
|
|
16385
|
+
self._OrgSubAccountUin = params.get("OrgSubAccountUin")
|
|
16386
|
+
self._OrgSubAccountName = params.get("OrgSubAccountName")
|
|
16387
|
+
self._BindType = params.get("BindType")
|
|
16388
|
+
if params.get("Members") is not None:
|
|
16389
|
+
self._Members = []
|
|
16390
|
+
for item in params.get("Members"):
|
|
16391
|
+
obj = MemberMainInfo()
|
|
16392
|
+
obj._deserialize(item)
|
|
16393
|
+
self._Members.append(obj)
|
|
16394
|
+
memeber_set = set(params.keys())
|
|
16395
|
+
for name, value in vars(self).items():
|
|
16396
|
+
property_name = name[1:]
|
|
16397
|
+
if property_name in memeber_set:
|
|
16398
|
+
memeber_set.remove(property_name)
|
|
16399
|
+
if len(memeber_set) > 0:
|
|
16400
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16401
|
+
|
|
16402
|
+
|
|
16403
|
+
|
|
16011
16404
|
class OrgNode(AbstractModel):
|
|
16012
16405
|
"""企业组织单元
|
|
16013
16406
|
|
|
@@ -1406,6 +1406,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1406
1406
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1407
1407
|
|
|
1408
1408
|
|
|
1409
|
+
def DescribeOrganizationMembersAuthPolicy(self, request):
|
|
1410
|
+
"""查询组织成员访问策略列表
|
|
1411
|
+
|
|
1412
|
+
:param request: Request instance for DescribeOrganizationMembersAuthPolicy.
|
|
1413
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationMembersAuthPolicyRequest`
|
|
1414
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationMembersAuthPolicyResponse`
|
|
1415
|
+
|
|
1416
|
+
"""
|
|
1417
|
+
try:
|
|
1418
|
+
params = request._serialize()
|
|
1419
|
+
headers = request.headers
|
|
1420
|
+
body = self.call("DescribeOrganizationMembersAuthPolicy", params, headers=headers)
|
|
1421
|
+
response = json.loads(body)
|
|
1422
|
+
model = models.DescribeOrganizationMembersAuthPolicyResponse()
|
|
1423
|
+
model._deserialize(response["Response"])
|
|
1424
|
+
return model
|
|
1425
|
+
except Exception as e:
|
|
1426
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1427
|
+
raise
|
|
1428
|
+
else:
|
|
1429
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1430
|
+
|
|
1431
|
+
|
|
1409
1432
|
def DescribeOrganizationNodes(self, request):
|
|
1410
1433
|
"""获取组织节点列表
|
|
1411
1434
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1447
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1443
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|