tencentcloud-sdk-python-organization 3.0.1441__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.1441 → tencentcloud-sdk-python-organization-3.0.1447}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/setup.py +1 -1
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20210331/models.py +417 -26
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20210331/organization_client.py +23 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → 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.1441/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/README.rst +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/setup.cfg +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20181225/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20181225/models.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20181225/organization_client.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20210331/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud/organization/v20210331/errorcodes.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → tencentcloud-sdk-python-organization-3.0.1447}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-organization-3.0.1441 → 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
|
|
|
@@ -7539,15 +7702,15 @@ class DescribeResourceToShareMemberRequest(AbstractModel):
|
|
|
7539
7702
|
|
|
7540
7703
|
def __init__(self):
|
|
7541
7704
|
r"""
|
|
7542
|
-
:param _Area:
|
|
7705
|
+
:param _Area: 共享地域。可通过接口[DescribeShareAreas](https://cloud.tencent.com/document/product/850/103050)获取支持共享的地域。
|
|
7543
7706
|
:type Area: str
|
|
7544
|
-
:param _Offset:
|
|
7707
|
+
:param _Offset: 偏移量。取值是limit的整数倍。默认值 : 0。
|
|
7545
7708
|
:type Offset: int
|
|
7546
|
-
:param _Limit:
|
|
7709
|
+
:param _Limit: 限制数目。取值范围:1~50。
|
|
7547
7710
|
:type Limit: int
|
|
7548
|
-
:param _SearchKey: 搜索关键字,支持业务资源ID
|
|
7711
|
+
:param _SearchKey: 搜索关键字,支持业务资源ID搜索。
|
|
7549
7712
|
:type SearchKey: str
|
|
7550
|
-
:param _Type:
|
|
7713
|
+
:param _Type: 共享资源类型。支持共享的资源类型,请参见[资源共享概述](https://cloud.tencent.com/document/product/850/59489)
|
|
7551
7714
|
:type Type: str
|
|
7552
7715
|
:param _ProductResourceIds: 业务资源ID。最大50个
|
|
7553
7716
|
:type ProductResourceIds: list of str
|
|
@@ -7561,7 +7724,7 @@ class DescribeResourceToShareMemberRequest(AbstractModel):
|
|
|
7561
7724
|
|
|
7562
7725
|
@property
|
|
7563
7726
|
def Area(self):
|
|
7564
|
-
"""
|
|
7727
|
+
"""共享地域。可通过接口[DescribeShareAreas](https://cloud.tencent.com/document/product/850/103050)获取支持共享的地域。
|
|
7565
7728
|
:rtype: str
|
|
7566
7729
|
"""
|
|
7567
7730
|
return self._Area
|
|
@@ -7572,7 +7735,7 @@ class DescribeResourceToShareMemberRequest(AbstractModel):
|
|
|
7572
7735
|
|
|
7573
7736
|
@property
|
|
7574
7737
|
def Offset(self):
|
|
7575
|
-
"""
|
|
7738
|
+
"""偏移量。取值是limit的整数倍。默认值 : 0。
|
|
7576
7739
|
:rtype: int
|
|
7577
7740
|
"""
|
|
7578
7741
|
return self._Offset
|
|
@@ -7583,7 +7746,7 @@ class DescribeResourceToShareMemberRequest(AbstractModel):
|
|
|
7583
7746
|
|
|
7584
7747
|
@property
|
|
7585
7748
|
def Limit(self):
|
|
7586
|
-
"""
|
|
7749
|
+
"""限制数目。取值范围:1~50。
|
|
7587
7750
|
:rtype: int
|
|
7588
7751
|
"""
|
|
7589
7752
|
return self._Limit
|
|
@@ -7594,7 +7757,7 @@ class DescribeResourceToShareMemberRequest(AbstractModel):
|
|
|
7594
7757
|
|
|
7595
7758
|
@property
|
|
7596
7759
|
def SearchKey(self):
|
|
7597
|
-
"""搜索关键字,支持业务资源ID
|
|
7760
|
+
"""搜索关键字,支持业务资源ID搜索。
|
|
7598
7761
|
:rtype: str
|
|
7599
7762
|
"""
|
|
7600
7763
|
return self._SearchKey
|
|
@@ -7605,7 +7768,7 @@ class DescribeResourceToShareMemberRequest(AbstractModel):
|
|
|
7605
7768
|
|
|
7606
7769
|
@property
|
|
7607
7770
|
def Type(self):
|
|
7608
|
-
"""
|
|
7771
|
+
"""共享资源类型。支持共享的资源类型,请参见[资源共享概述](https://cloud.tencent.com/document/product/850/59489)
|
|
7609
7772
|
:rtype: str
|
|
7610
7773
|
"""
|
|
7611
7774
|
return self._Type
|
|
@@ -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
|
|
|
@@ -19041,20 +19434,19 @@ class ShareResourceToMember(AbstractModel):
|
|
|
19041
19434
|
|
|
19042
19435
|
def __init__(self):
|
|
19043
19436
|
r"""
|
|
19044
|
-
:param _ResourceId:
|
|
19437
|
+
:param _ResourceId: 共享单元资源ID。
|
|
19045
19438
|
:type ResourceId: str
|
|
19046
|
-
:param _Type:
|
|
19439
|
+
:param _Type: 资源类型。
|
|
19047
19440
|
:type Type: str
|
|
19048
|
-
:param _UnitId: 共享单元ID
|
|
19441
|
+
:param _UnitId: 共享单元ID。
|
|
19049
19442
|
:type UnitId: str
|
|
19050
|
-
:param _UnitName:
|
|
19443
|
+
:param _UnitName: 共享单元名称。
|
|
19051
19444
|
:type UnitName: str
|
|
19052
|
-
:param _CreateTime:
|
|
19445
|
+
:param _CreateTime: 创建时间。
|
|
19053
19446
|
:type CreateTime: str
|
|
19054
|
-
:param _ProductResourceId: 业务资源ID
|
|
19447
|
+
:param _ProductResourceId: 业务资源ID。
|
|
19055
19448
|
:type ProductResourceId: str
|
|
19056
|
-
:param _ShareManagerUin:
|
|
19057
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
19449
|
+
:param _ShareManagerUin: 共享账号Uin。
|
|
19058
19450
|
:type ShareManagerUin: int
|
|
19059
19451
|
"""
|
|
19060
19452
|
self._ResourceId = None
|
|
@@ -19067,7 +19459,7 @@ class ShareResourceToMember(AbstractModel):
|
|
|
19067
19459
|
|
|
19068
19460
|
@property
|
|
19069
19461
|
def ResourceId(self):
|
|
19070
|
-
"""
|
|
19462
|
+
"""共享单元资源ID。
|
|
19071
19463
|
:rtype: str
|
|
19072
19464
|
"""
|
|
19073
19465
|
return self._ResourceId
|
|
@@ -19078,7 +19470,7 @@ class ShareResourceToMember(AbstractModel):
|
|
|
19078
19470
|
|
|
19079
19471
|
@property
|
|
19080
19472
|
def Type(self):
|
|
19081
|
-
"""
|
|
19473
|
+
"""资源类型。
|
|
19082
19474
|
:rtype: str
|
|
19083
19475
|
"""
|
|
19084
19476
|
return self._Type
|
|
@@ -19089,7 +19481,7 @@ class ShareResourceToMember(AbstractModel):
|
|
|
19089
19481
|
|
|
19090
19482
|
@property
|
|
19091
19483
|
def UnitId(self):
|
|
19092
|
-
"""共享单元ID
|
|
19484
|
+
"""共享单元ID。
|
|
19093
19485
|
:rtype: str
|
|
19094
19486
|
"""
|
|
19095
19487
|
return self._UnitId
|
|
@@ -19100,7 +19492,7 @@ class ShareResourceToMember(AbstractModel):
|
|
|
19100
19492
|
|
|
19101
19493
|
@property
|
|
19102
19494
|
def UnitName(self):
|
|
19103
|
-
"""
|
|
19495
|
+
"""共享单元名称。
|
|
19104
19496
|
:rtype: str
|
|
19105
19497
|
"""
|
|
19106
19498
|
return self._UnitName
|
|
@@ -19111,7 +19503,7 @@ class ShareResourceToMember(AbstractModel):
|
|
|
19111
19503
|
|
|
19112
19504
|
@property
|
|
19113
19505
|
def CreateTime(self):
|
|
19114
|
-
"""
|
|
19506
|
+
"""创建时间。
|
|
19115
19507
|
:rtype: str
|
|
19116
19508
|
"""
|
|
19117
19509
|
return self._CreateTime
|
|
@@ -19122,7 +19514,7 @@ class ShareResourceToMember(AbstractModel):
|
|
|
19122
19514
|
|
|
19123
19515
|
@property
|
|
19124
19516
|
def ProductResourceId(self):
|
|
19125
|
-
"""业务资源ID
|
|
19517
|
+
"""业务资源ID。
|
|
19126
19518
|
:rtype: str
|
|
19127
19519
|
"""
|
|
19128
19520
|
return self._ProductResourceId
|
|
@@ -19133,8 +19525,7 @@ class ShareResourceToMember(AbstractModel):
|
|
|
19133
19525
|
|
|
19134
19526
|
@property
|
|
19135
19527
|
def ShareManagerUin(self):
|
|
19136
|
-
"""
|
|
19137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
19528
|
+
"""共享账号Uin。
|
|
19138
19529
|
:rtype: int
|
|
19139
19530
|
"""
|
|
19140
19531
|
return self._ShareManagerUin
|
|
@@ -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.1441
|
|
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
|