tencentcloud-sdk-python-organization 3.0.1161__tar.gz → 3.0.1168__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.1161 → tencentcloud-sdk-python-organization-3.0.1168}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/setup.py +1 -1
  3. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/v20210331/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/v20210331/models.py +37 -0
  6. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-organization-3.0.1168/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-organization-3.0.1161/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/README.rst +0 -0
  10. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/__init__.py +0 -0
  12. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/v20181225/__init__.py +0 -0
  13. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/v20181225/models.py +0 -0
  15. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/v20181225/organization_client.py +0 -0
  16. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/v20210331/__init__.py +0 -0
  17. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud/organization/v20210331/organization_client.py +0 -0
  18. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-organization-3.0.1161 → tencentcloud-sdk-python-organization-3.0.1168}/tencentcloud_sdk_python_organization.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.0.1161
3
+ Version: 3.0.1168
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.1161"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1168"],
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.1161'
17
+ __version__ = '3.0.1168'
@@ -77,6 +77,9 @@ FAILEDOPERATION_EMAILALREADYUSED = 'FailedOperation.EmailAlreadyUsed'
77
77
  # 邮箱绑定已经失效。
78
78
  FAILEDOPERATION_EMAILBINDRECORDINVALID = 'FailedOperation.EmailBindRecordInvalid'
79
79
 
80
+ # 存在不在组织内的共享成员。
81
+ FAILEDOPERATION_EXISTSHAREMEMBERNOTINORGANIZATION = 'FailedOperation.ExistShareMemberNotInOrganization'
82
+
80
83
  # 查询实名信息出错。
81
84
  FAILEDOPERATION_GETAUTHINFO = 'FailedOperation.GetAuthInfo'
82
85
 
@@ -319,10 +319,13 @@ class AddShareUnitRequest(AbstractModel):
319
319
  :type Area: str
320
320
  :param _Description: 共享单元描述。最大128个字符。
321
321
  :type Description: str
322
+ :param _ShareScope: 共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号,默认值:1
323
+ :type ShareScope: int
322
324
  """
323
325
  self._Name = None
324
326
  self._Area = None
325
327
  self._Description = None
328
+ self._ShareScope = None
326
329
 
327
330
  @property
328
331
  def Name(self):
@@ -348,11 +351,20 @@ class AddShareUnitRequest(AbstractModel):
348
351
  def Description(self, Description):
349
352
  self._Description = Description
350
353
 
354
+ @property
355
+ def ShareScope(self):
356
+ return self._ShareScope
357
+
358
+ @ShareScope.setter
359
+ def ShareScope(self, ShareScope):
360
+ self._ShareScope = ShareScope
361
+
351
362
 
352
363
  def _deserialize(self, params):
353
364
  self._Name = params.get("Name")
354
365
  self._Area = params.get("Area")
355
366
  self._Description = params.get("Description")
367
+ self._ShareScope = params.get("ShareScope")
356
368
  memeber_set = set(params.keys())
357
369
  for name, value in vars(self).items():
358
370
  property_name = name[1:]
@@ -6164,6 +6176,9 @@ class ManagerShareUnit(AbstractModel):
6164
6176
  :param _ShareMemberNum: 共享单元成员数。
6165
6177
  注意:此字段可能返回 null,表示取不到有效值。
6166
6178
  :type ShareMemberNum: int
6179
+ :param _ShareScope: 共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号
6180
+ 注意:此字段可能返回 null,表示取不到有效值。
6181
+ :type ShareScope: int
6167
6182
  """
6168
6183
  self._UnitId = None
6169
6184
  self._Name = None
@@ -6174,6 +6189,7 @@ class ManagerShareUnit(AbstractModel):
6174
6189
  self._CreateTime = None
6175
6190
  self._ShareResourceNum = None
6176
6191
  self._ShareMemberNum = None
6192
+ self._ShareScope = None
6177
6193
 
6178
6194
  @property
6179
6195
  def UnitId(self):
@@ -6247,6 +6263,14 @@ class ManagerShareUnit(AbstractModel):
6247
6263
  def ShareMemberNum(self, ShareMemberNum):
6248
6264
  self._ShareMemberNum = ShareMemberNum
6249
6265
 
6266
+ @property
6267
+ def ShareScope(self):
6268
+ return self._ShareScope
6269
+
6270
+ @ShareScope.setter
6271
+ def ShareScope(self, ShareScope):
6272
+ self._ShareScope = ShareScope
6273
+
6250
6274
 
6251
6275
  def _deserialize(self, params):
6252
6276
  self._UnitId = params.get("UnitId")
@@ -6258,6 +6282,7 @@ class ManagerShareUnit(AbstractModel):
6258
6282
  self._CreateTime = params.get("CreateTime")
6259
6283
  self._ShareResourceNum = params.get("ShareResourceNum")
6260
6284
  self._ShareMemberNum = params.get("ShareMemberNum")
6285
+ self._ShareScope = params.get("ShareScope")
6261
6286
  memeber_set = set(params.keys())
6262
6287
  for name, value in vars(self).items():
6263
6288
  property_name = name[1:]
@@ -8805,10 +8830,13 @@ class UpdateShareUnitRequest(AbstractModel):
8805
8830
  :type Name: str
8806
8831
  :param _Description: 共享单元描述。最大128个字符。
8807
8832
  :type Description: str
8833
+ :param _ShareScope: 共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号,默认值:1
8834
+ :type ShareScope: int
8808
8835
  """
8809
8836
  self._UnitId = None
8810
8837
  self._Name = None
8811
8838
  self._Description = None
8839
+ self._ShareScope = None
8812
8840
 
8813
8841
  @property
8814
8842
  def UnitId(self):
@@ -8834,11 +8862,20 @@ class UpdateShareUnitRequest(AbstractModel):
8834
8862
  def Description(self, Description):
8835
8863
  self._Description = Description
8836
8864
 
8865
+ @property
8866
+ def ShareScope(self):
8867
+ return self._ShareScope
8868
+
8869
+ @ShareScope.setter
8870
+ def ShareScope(self, ShareScope):
8871
+ self._ShareScope = ShareScope
8872
+
8837
8873
 
8838
8874
  def _deserialize(self, params):
8839
8875
  self._UnitId = params.get("UnitId")
8840
8876
  self._Name = params.get("Name")
8841
8877
  self._Description = params.get("Description")
8878
+ self._ShareScope = params.get("ShareScope")
8842
8879
  memeber_set = set(params.keys())
8843
8880
  for name, value in vars(self).items():
8844
8881
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.0.1161
3
+ Version: 3.0.1168
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
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1161