tencentcloud-sdk-python-organization 3.0.1409__tar.gz → 3.0.1441__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 (20) hide show
  1. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/setup.py +1 -1
  3. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/v20181225/errorcodes.py +1 -1
  5. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/v20181225/models.py +1 -1
  6. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/v20181225/organization_client.py +1 -1
  7. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/v20210331/errorcodes.py +1 -1
  8. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/v20210331/models.py +307 -1
  9. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/v20210331/organization_client.py +24 -1
  10. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +1 -1
  11. tencentcloud-sdk-python-organization-3.0.1441/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
  12. tencentcloud-sdk-python-organization-3.0.1409/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
  13. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/README.rst +0 -0
  14. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/setup.cfg +0 -0
  15. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/__init__.py +0 -0
  16. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/v20181225/__init__.py +0 -0
  17. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud/organization/v20210331/__init__.py +0 -0
  18. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-organization-3.0.1409 → tencentcloud-sdk-python-organization-3.0.1441}/tencentcloud_sdk_python_organization.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.0.1409
3
+ Version: 3.0.1441
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
@@ -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.1409"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1441,<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(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1409'
17
+ __version__ = '3.0.1441'
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -7532,6 +7532,184 @@ class DescribePolicyResponse(AbstractModel):
7532
7532
  self._RequestId = params.get("RequestId")
7533
7533
 
7534
7534
 
7535
+ class DescribeResourceToShareMemberRequest(AbstractModel):
7536
+ """DescribeResourceToShareMember请求参数结构体
7537
+
7538
+ """
7539
+
7540
+ def __init__(self):
7541
+ r"""
7542
+ :param _Area: 地域
7543
+ :type Area: str
7544
+ :param _Offset: 偏移量
7545
+ :type Offset: int
7546
+ :param _Limit: 每页条数
7547
+ :type Limit: int
7548
+ :param _SearchKey: 搜索关键字,支持业务资源ID搜索
7549
+ :type SearchKey: str
7550
+ :param _Type: 资源类型
7551
+ :type Type: str
7552
+ :param _ProductResourceIds: 业务资源ID。最大50个
7553
+ :type ProductResourceIds: list of str
7554
+ """
7555
+ self._Area = None
7556
+ self._Offset = None
7557
+ self._Limit = None
7558
+ self._SearchKey = None
7559
+ self._Type = None
7560
+ self._ProductResourceIds = None
7561
+
7562
+ @property
7563
+ def Area(self):
7564
+ """地域
7565
+ :rtype: str
7566
+ """
7567
+ return self._Area
7568
+
7569
+ @Area.setter
7570
+ def Area(self, Area):
7571
+ self._Area = Area
7572
+
7573
+ @property
7574
+ def Offset(self):
7575
+ """偏移量
7576
+ :rtype: int
7577
+ """
7578
+ return self._Offset
7579
+
7580
+ @Offset.setter
7581
+ def Offset(self, Offset):
7582
+ self._Offset = Offset
7583
+
7584
+ @property
7585
+ def Limit(self):
7586
+ """每页条数
7587
+ :rtype: int
7588
+ """
7589
+ return self._Limit
7590
+
7591
+ @Limit.setter
7592
+ def Limit(self, Limit):
7593
+ self._Limit = Limit
7594
+
7595
+ @property
7596
+ def SearchKey(self):
7597
+ """搜索关键字,支持业务资源ID搜索
7598
+ :rtype: str
7599
+ """
7600
+ return self._SearchKey
7601
+
7602
+ @SearchKey.setter
7603
+ def SearchKey(self, SearchKey):
7604
+ self._SearchKey = SearchKey
7605
+
7606
+ @property
7607
+ def Type(self):
7608
+ """资源类型
7609
+ :rtype: str
7610
+ """
7611
+ return self._Type
7612
+
7613
+ @Type.setter
7614
+ def Type(self, Type):
7615
+ self._Type = Type
7616
+
7617
+ @property
7618
+ def ProductResourceIds(self):
7619
+ """业务资源ID。最大50个
7620
+ :rtype: list of str
7621
+ """
7622
+ return self._ProductResourceIds
7623
+
7624
+ @ProductResourceIds.setter
7625
+ def ProductResourceIds(self, ProductResourceIds):
7626
+ self._ProductResourceIds = ProductResourceIds
7627
+
7628
+
7629
+ def _deserialize(self, params):
7630
+ self._Area = params.get("Area")
7631
+ self._Offset = params.get("Offset")
7632
+ self._Limit = params.get("Limit")
7633
+ self._SearchKey = params.get("SearchKey")
7634
+ self._Type = params.get("Type")
7635
+ self._ProductResourceIds = params.get("ProductResourceIds")
7636
+ memeber_set = set(params.keys())
7637
+ for name, value in vars(self).items():
7638
+ property_name = name[1:]
7639
+ if property_name in memeber_set:
7640
+ memeber_set.remove(property_name)
7641
+ if len(memeber_set) > 0:
7642
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7643
+
7644
+
7645
+
7646
+ class DescribeResourceToShareMemberResponse(AbstractModel):
7647
+ """DescribeResourceToShareMember返回参数结构体
7648
+
7649
+ """
7650
+
7651
+ def __init__(self):
7652
+ r"""
7653
+ :param _Total: 总数
7654
+ 注意:此字段可能返回 null,表示取不到有效值。
7655
+ :type Total: int
7656
+ :param _Items: 详情
7657
+ 注意:此字段可能返回 null,表示取不到有效值。
7658
+ :type Items: list of ShareResourceToMember
7659
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7660
+ :type RequestId: str
7661
+ """
7662
+ self._Total = None
7663
+ self._Items = None
7664
+ self._RequestId = None
7665
+
7666
+ @property
7667
+ def Total(self):
7668
+ """总数
7669
+ 注意:此字段可能返回 null,表示取不到有效值。
7670
+ :rtype: int
7671
+ """
7672
+ return self._Total
7673
+
7674
+ @Total.setter
7675
+ def Total(self, Total):
7676
+ self._Total = Total
7677
+
7678
+ @property
7679
+ def Items(self):
7680
+ """详情
7681
+ 注意:此字段可能返回 null,表示取不到有效值。
7682
+ :rtype: list of ShareResourceToMember
7683
+ """
7684
+ return self._Items
7685
+
7686
+ @Items.setter
7687
+ def Items(self, Items):
7688
+ self._Items = Items
7689
+
7690
+ @property
7691
+ def RequestId(self):
7692
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7693
+ :rtype: str
7694
+ """
7695
+ return self._RequestId
7696
+
7697
+ @RequestId.setter
7698
+ def RequestId(self, RequestId):
7699
+ self._RequestId = RequestId
7700
+
7701
+
7702
+ def _deserialize(self, params):
7703
+ self._Total = params.get("Total")
7704
+ if params.get("Items") is not None:
7705
+ self._Items = []
7706
+ for item in params.get("Items"):
7707
+ obj = ShareResourceToMember()
7708
+ obj._deserialize(item)
7709
+ self._Items.append(obj)
7710
+ self._RequestId = params.get("RequestId")
7711
+
7712
+
7535
7713
  class DescribeShareAreasRequest(AbstractModel):
7536
7714
  """DescribeShareAreas请求参数结构体
7537
7715
 
@@ -18856,6 +19034,134 @@ class ShareResource(AbstractModel):
18856
19034
 
18857
19035
 
18858
19036
 
19037
+ class ShareResourceToMember(AbstractModel):
19038
+ """与我共享的资源
19039
+
19040
+ """
19041
+
19042
+ def __init__(self):
19043
+ r"""
19044
+ :param _ResourceId: 资源ID
19045
+ :type ResourceId: str
19046
+ :param _Type: 资源类型
19047
+ :type Type: str
19048
+ :param _UnitId: 共享单元ID
19049
+ :type UnitId: str
19050
+ :param _UnitName: 共享单元名
19051
+ :type UnitName: str
19052
+ :param _CreateTime: 创建时间
19053
+ :type CreateTime: str
19054
+ :param _ProductResourceId: 业务资源ID
19055
+ :type ProductResourceId: str
19056
+ :param _ShareManagerUin: 共享管理员uin
19057
+ 注意:此字段可能返回 null,表示取不到有效值。
19058
+ :type ShareManagerUin: int
19059
+ """
19060
+ self._ResourceId = None
19061
+ self._Type = None
19062
+ self._UnitId = None
19063
+ self._UnitName = None
19064
+ self._CreateTime = None
19065
+ self._ProductResourceId = None
19066
+ self._ShareManagerUin = None
19067
+
19068
+ @property
19069
+ def ResourceId(self):
19070
+ """资源ID
19071
+ :rtype: str
19072
+ """
19073
+ return self._ResourceId
19074
+
19075
+ @ResourceId.setter
19076
+ def ResourceId(self, ResourceId):
19077
+ self._ResourceId = ResourceId
19078
+
19079
+ @property
19080
+ def Type(self):
19081
+ """资源类型
19082
+ :rtype: str
19083
+ """
19084
+ return self._Type
19085
+
19086
+ @Type.setter
19087
+ def Type(self, Type):
19088
+ self._Type = Type
19089
+
19090
+ @property
19091
+ def UnitId(self):
19092
+ """共享单元ID
19093
+ :rtype: str
19094
+ """
19095
+ return self._UnitId
19096
+
19097
+ @UnitId.setter
19098
+ def UnitId(self, UnitId):
19099
+ self._UnitId = UnitId
19100
+
19101
+ @property
19102
+ def UnitName(self):
19103
+ """共享单元名
19104
+ :rtype: str
19105
+ """
19106
+ return self._UnitName
19107
+
19108
+ @UnitName.setter
19109
+ def UnitName(self, UnitName):
19110
+ self._UnitName = UnitName
19111
+
19112
+ @property
19113
+ def CreateTime(self):
19114
+ """创建时间
19115
+ :rtype: str
19116
+ """
19117
+ return self._CreateTime
19118
+
19119
+ @CreateTime.setter
19120
+ def CreateTime(self, CreateTime):
19121
+ self._CreateTime = CreateTime
19122
+
19123
+ @property
19124
+ def ProductResourceId(self):
19125
+ """业务资源ID
19126
+ :rtype: str
19127
+ """
19128
+ return self._ProductResourceId
19129
+
19130
+ @ProductResourceId.setter
19131
+ def ProductResourceId(self, ProductResourceId):
19132
+ self._ProductResourceId = ProductResourceId
19133
+
19134
+ @property
19135
+ def ShareManagerUin(self):
19136
+ """共享管理员uin
19137
+ 注意:此字段可能返回 null,表示取不到有效值。
19138
+ :rtype: int
19139
+ """
19140
+ return self._ShareManagerUin
19141
+
19142
+ @ShareManagerUin.setter
19143
+ def ShareManagerUin(self, ShareManagerUin):
19144
+ self._ShareManagerUin = ShareManagerUin
19145
+
19146
+
19147
+ def _deserialize(self, params):
19148
+ self._ResourceId = params.get("ResourceId")
19149
+ self._Type = params.get("Type")
19150
+ self._UnitId = params.get("UnitId")
19151
+ self._UnitName = params.get("UnitName")
19152
+ self._CreateTime = params.get("CreateTime")
19153
+ self._ProductResourceId = params.get("ProductResourceId")
19154
+ self._ShareManagerUin = params.get("ShareManagerUin")
19155
+ memeber_set = set(params.keys())
19156
+ for name, value in vars(self).items():
19157
+ property_name = name[1:]
19158
+ if property_name in memeber_set:
19159
+ memeber_set.remove(property_name)
19160
+ if len(memeber_set) > 0:
19161
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19162
+
19163
+
19164
+
18859
19165
  class ShareUnitMember(AbstractModel):
18860
19166
  """共享单元成员
18861
19167
 
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1475,6 +1475,29 @@ class OrganizationClient(AbstractClient):
1475
1475
  raise TencentCloudSDKException(type(e).__name__, str(e))
1476
1476
 
1477
1477
 
1478
+ def DescribeResourceToShareMember(self, request):
1479
+ """获取与我共享的资源列表。
1480
+
1481
+ :param request: Request instance for DescribeResourceToShareMember.
1482
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeResourceToShareMemberRequest`
1483
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeResourceToShareMemberResponse`
1484
+
1485
+ """
1486
+ try:
1487
+ params = request._serialize()
1488
+ headers = request.headers
1489
+ body = self.call("DescribeResourceToShareMember", params, headers=headers)
1490
+ response = json.loads(body)
1491
+ model = models.DescribeResourceToShareMemberResponse()
1492
+ model._deserialize(response["Response"])
1493
+ return model
1494
+ except Exception as e:
1495
+ if isinstance(e, TencentCloudSDKException):
1496
+ raise
1497
+ else:
1498
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1499
+
1500
+
1478
1501
  def DescribeShareAreas(self, request):
1479
1502
  """获取可共享地域列表
1480
1503
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.0.1409
3
+ Version: 3.0.1441
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1441
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1409