tencentcloud-sdk-python-organization 3.1.191__tar.gz → 3.1.214__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.191 → tencentcloud_sdk_python_organization-3.1.214}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/setup.py +1 -1
  3. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20210331/errorcodes.py +6 -0
  5. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20210331/models.py +326 -66
  6. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_organization-3.1.214/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_organization-3.1.191/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/README.rst +0 -0
  10. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/__init__.py +0 -0
  12. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20181225/__init__.py +0 -0
  13. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
  14. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20181225/models.py +0 -0
  15. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20181225/organization_client.py +0 -0
  16. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20181225/organization_client_async.py +0 -0
  17. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20210331/__init__.py +0 -0
  18. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20210331/organization_client.py +0 -0
  19. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud/organization/v20210331/organization_client_async.py +0 -0
  20. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_organization-3.1.191 → tencentcloud_sdk_python_organization-3.1.214}/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.191
3
+ Version: 3.1.214
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.191
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.214
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.191,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.214,<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.191'
17
+ __version__ = '3.1.214'
@@ -80,6 +80,9 @@ FAILEDOPERATION_DBOPERATIONERROR = 'FailedOperation.DBOperationError'
80
80
  # 解码元数据文档失败。
81
81
  FAILEDOPERATION_DECODEMETADATADOCUMENTFAILED = 'FailedOperation.DecodeMetadataDocumentFailed'
82
82
 
83
+ # 委派管理员不能修改已部署到集团管理账号的配置
84
+ FAILEDOPERATION_DELEGATEDADMINCANNOTMODIFYDEPLOYEDCONFIG = 'FailedOperation.DelegatedAdminCannotModifyDeployedConfig'
85
+
83
86
  # 委派管理员不能操作策略(添加、编辑、删除)
84
87
  FAILEDOPERATION_DELEGATEDADMINCANNOTMODIFYPOLICY = 'FailedOperation.DelegatedAdminCannotModifyPolicy'
85
88
 
@@ -599,6 +602,9 @@ INVALIDPARAMETER_PRINCIPALQCSNOTEXIST = 'InvalidParameter.PrincipalQcsNotExist'
599
602
  # PrincipalService不存在。
600
603
  INVALIDPARAMETER_PRINCIPALSERVICENOTEXIST = 'InvalidParameter.PrincipalServiceNotExist'
601
604
 
605
+ # RelayState格式错误或域名不允许
606
+ INVALIDPARAMETER_RELAYSTATEFORMATERROR = 'InvalidParameter.RelayStateFormatError'
607
+
602
608
  # 系统预留标签键 qcloud、tencent和project 禁止创建。
603
609
  INVALIDPARAMETER_RESERVEDTAGKEY = 'InvalidParameter.ReservedTagKey'
604
610
 
@@ -7691,9 +7691,9 @@ class DescribeOrganizationRequest(AbstractModel):
7691
7691
 
7692
7692
  def __init__(self):
7693
7693
  r"""
7694
- :param _Lang: 国际站:en,国内站:zh
7694
+ :param _Lang: <p>国际站:en,国内站:zh</p>
7695
7695
  :type Lang: str
7696
- :param _Product: 可信服务产品简称。查询是否该可信服务管理员时必须指定
7696
+ :param _Product: <p>可信服务产品简称。查询是否该可信服务管理员时必须指定</p>
7697
7697
  :type Product: str
7698
7698
  """
7699
7699
  self._Lang = None
@@ -7701,7 +7701,7 @@ class DescribeOrganizationRequest(AbstractModel):
7701
7701
 
7702
7702
  @property
7703
7703
  def Lang(self):
7704
- r"""国际站:en,国内站:zh
7704
+ r"""<p>国际站:en,国内站:zh</p>
7705
7705
  :rtype: str
7706
7706
  """
7707
7707
  return self._Lang
@@ -7712,7 +7712,7 @@ class DescribeOrganizationRequest(AbstractModel):
7712
7712
 
7713
7713
  @property
7714
7714
  def Product(self):
7715
- r"""可信服务产品简称。查询是否该可信服务管理员时必须指定
7715
+ r"""<p>可信服务产品简称。查询是否该可信服务管理员时必须指定</p>
7716
7716
  :rtype: str
7717
7717
  """
7718
7718
  return self._Product
@@ -7742,38 +7742,42 @@ class DescribeOrganizationResponse(AbstractModel):
7742
7742
 
7743
7743
  def __init__(self):
7744
7744
  r"""
7745
- :param _OrgId: 企业组织ID。
7745
+ :param _OrgId: <p>企业组织ID。</p>
7746
7746
  :type OrgId: int
7747
- :param _HostUin: 创建者UIN。
7747
+ :param _HostUin: <p>创建者UIN。</p>
7748
7748
  :type HostUin: int
7749
- :param _NickName: 创建者昵称。
7749
+ :param _NickName: <p>创建者昵称。</p>
7750
7750
  :type NickName: str
7751
- :param _OrgType: 企业组织类型。
7751
+ :param _OrgType: <p>企业组织类型。</p>
7752
7752
  :type OrgType: int
7753
- :param _IsManager: 是否组织管理员。是:true ,否:false
7753
+ :param _IsManager: <p>是否组织管理员。是:true ,否:false</p>
7754
7754
  :type IsManager: bool
7755
- :param _OrgPolicyType: 策略类型。财务管理:Financial
7755
+ :param _OrgPolicyType: <p>策略类型。财务管理:Financial</p>
7756
7756
  :type OrgPolicyType: str
7757
- :param _OrgPolicyName: 策略名。
7757
+ :param _OrgPolicyName: <p>策略名。</p>
7758
7758
  :type OrgPolicyName: str
7759
- :param _OrgPermission: 成员财务权限列表。
7759
+ :param _OrgPermission: <p>成员财务权限列表。</p>
7760
7760
  :type OrgPermission: list of OrgPermission
7761
- :param _RootNodeId: 组织根节点ID。
7761
+ :param _RootNodeId: <p>组织根节点ID。</p>
7762
7762
  :type RootNodeId: int
7763
- :param _CreateTime: 组织创建时间。
7763
+ :param _CreateTime: <p>组织创建时间。</p>
7764
7764
  :type CreateTime: str
7765
- :param _JoinTime: 成员加入时间。
7765
+ :param _JoinTime: <p>成员加入时间。</p>
7766
7766
  :type JoinTime: str
7767
- :param _IsAllowQuit: 成员是否允许退出。允许:Allow,不允许:Denied
7767
+ :param _IsAllowQuit: <p>成员是否允许退出。允许:Allow,不允许:Denied</p>
7768
7768
  :type IsAllowQuit: str
7769
- :param _PayUin: 代付者Uin。
7769
+ :param _PayUin: <p>代付者Uin。</p>
7770
7770
  :type PayUin: str
7771
- :param _PayName: 代付者名称。
7771
+ :param _PayName: <p>代付者名称。</p>
7772
7772
  :type PayName: str
7773
- :param _IsAssignManager: 是否可信服务管理员。是:true,否:false
7773
+ :param _IsAssignManager: <p>是否可信服务管理员。是:true,否:false</p>
7774
7774
  :type IsAssignManager: bool
7775
- :param _IsAuthManager: 是否实名主体管理员。是:true,否:false
7775
+ :param _IsAuthManager: <p>是否实名主体管理员。是:true,否:false</p>
7776
7776
  :type IsAuthManager: bool
7777
+ :param _MemberPermissionOptions: <p>创建/邀请成员时可设置的财务权限列表</p>
7778
+ :type MemberPermissionOptions: list of MemberPermissionOption
7779
+ :param _DefaultPayType: <p>创建/邀请成员时的默认付费方式。</p><p>枚举值:</p><ul><li>SelfPay: 自付</li><li>BehalfPay: 代付</li></ul>
7780
+ :type DefaultPayType: str
7777
7781
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7778
7782
  :type RequestId: str
7779
7783
  """
@@ -7793,11 +7797,13 @@ class DescribeOrganizationResponse(AbstractModel):
7793
7797
  self._PayName = None
7794
7798
  self._IsAssignManager = None
7795
7799
  self._IsAuthManager = None
7800
+ self._MemberPermissionOptions = None
7801
+ self._DefaultPayType = None
7796
7802
  self._RequestId = None
7797
7803
 
7798
7804
  @property
7799
7805
  def OrgId(self):
7800
- r"""企业组织ID。
7806
+ r"""<p>企业组织ID。</p>
7801
7807
  :rtype: int
7802
7808
  """
7803
7809
  return self._OrgId
@@ -7808,7 +7814,7 @@ class DescribeOrganizationResponse(AbstractModel):
7808
7814
 
7809
7815
  @property
7810
7816
  def HostUin(self):
7811
- r"""创建者UIN。
7817
+ r"""<p>创建者UIN。</p>
7812
7818
  :rtype: int
7813
7819
  """
7814
7820
  return self._HostUin
@@ -7819,7 +7825,7 @@ class DescribeOrganizationResponse(AbstractModel):
7819
7825
 
7820
7826
  @property
7821
7827
  def NickName(self):
7822
- r"""创建者昵称。
7828
+ r"""<p>创建者昵称。</p>
7823
7829
  :rtype: str
7824
7830
  """
7825
7831
  return self._NickName
@@ -7830,7 +7836,7 @@ class DescribeOrganizationResponse(AbstractModel):
7830
7836
 
7831
7837
  @property
7832
7838
  def OrgType(self):
7833
- r"""企业组织类型。
7839
+ r"""<p>企业组织类型。</p>
7834
7840
  :rtype: int
7835
7841
  """
7836
7842
  return self._OrgType
@@ -7841,7 +7847,7 @@ class DescribeOrganizationResponse(AbstractModel):
7841
7847
 
7842
7848
  @property
7843
7849
  def IsManager(self):
7844
- r"""是否组织管理员。是:true ,否:false
7850
+ r"""<p>是否组织管理员。是:true ,否:false</p>
7845
7851
  :rtype: bool
7846
7852
  """
7847
7853
  return self._IsManager
@@ -7852,7 +7858,7 @@ class DescribeOrganizationResponse(AbstractModel):
7852
7858
 
7853
7859
  @property
7854
7860
  def OrgPolicyType(self):
7855
- r"""策略类型。财务管理:Financial
7861
+ r"""<p>策略类型。财务管理:Financial</p>
7856
7862
  :rtype: str
7857
7863
  """
7858
7864
  return self._OrgPolicyType
@@ -7863,7 +7869,7 @@ class DescribeOrganizationResponse(AbstractModel):
7863
7869
 
7864
7870
  @property
7865
7871
  def OrgPolicyName(self):
7866
- r"""策略名。
7872
+ r"""<p>策略名。</p>
7867
7873
  :rtype: str
7868
7874
  """
7869
7875
  return self._OrgPolicyName
@@ -7874,7 +7880,7 @@ class DescribeOrganizationResponse(AbstractModel):
7874
7880
 
7875
7881
  @property
7876
7882
  def OrgPermission(self):
7877
- r"""成员财务权限列表。
7883
+ r"""<p>成员财务权限列表。</p>
7878
7884
  :rtype: list of OrgPermission
7879
7885
  """
7880
7886
  return self._OrgPermission
@@ -7885,7 +7891,7 @@ class DescribeOrganizationResponse(AbstractModel):
7885
7891
 
7886
7892
  @property
7887
7893
  def RootNodeId(self):
7888
- r"""组织根节点ID。
7894
+ r"""<p>组织根节点ID。</p>
7889
7895
  :rtype: int
7890
7896
  """
7891
7897
  return self._RootNodeId
@@ -7896,7 +7902,7 @@ class DescribeOrganizationResponse(AbstractModel):
7896
7902
 
7897
7903
  @property
7898
7904
  def CreateTime(self):
7899
- r"""组织创建时间。
7905
+ r"""<p>组织创建时间。</p>
7900
7906
  :rtype: str
7901
7907
  """
7902
7908
  return self._CreateTime
@@ -7907,7 +7913,7 @@ class DescribeOrganizationResponse(AbstractModel):
7907
7913
 
7908
7914
  @property
7909
7915
  def JoinTime(self):
7910
- r"""成员加入时间。
7916
+ r"""<p>成员加入时间。</p>
7911
7917
  :rtype: str
7912
7918
  """
7913
7919
  return self._JoinTime
@@ -7918,7 +7924,7 @@ class DescribeOrganizationResponse(AbstractModel):
7918
7924
 
7919
7925
  @property
7920
7926
  def IsAllowQuit(self):
7921
- r"""成员是否允许退出。允许:Allow,不允许:Denied
7927
+ r"""<p>成员是否允许退出。允许:Allow,不允许:Denied</p>
7922
7928
  :rtype: str
7923
7929
  """
7924
7930
  return self._IsAllowQuit
@@ -7929,7 +7935,7 @@ class DescribeOrganizationResponse(AbstractModel):
7929
7935
 
7930
7936
  @property
7931
7937
  def PayUin(self):
7932
- r"""代付者Uin。
7938
+ r"""<p>代付者Uin。</p>
7933
7939
  :rtype: str
7934
7940
  """
7935
7941
  return self._PayUin
@@ -7940,7 +7946,7 @@ class DescribeOrganizationResponse(AbstractModel):
7940
7946
 
7941
7947
  @property
7942
7948
  def PayName(self):
7943
- r"""代付者名称。
7949
+ r"""<p>代付者名称。</p>
7944
7950
  :rtype: str
7945
7951
  """
7946
7952
  return self._PayName
@@ -7951,7 +7957,7 @@ class DescribeOrganizationResponse(AbstractModel):
7951
7957
 
7952
7958
  @property
7953
7959
  def IsAssignManager(self):
7954
- r"""是否可信服务管理员。是:true,否:false
7960
+ r"""<p>是否可信服务管理员。是:true,否:false</p>
7955
7961
  :rtype: bool
7956
7962
  """
7957
7963
  return self._IsAssignManager
@@ -7962,7 +7968,7 @@ class DescribeOrganizationResponse(AbstractModel):
7962
7968
 
7963
7969
  @property
7964
7970
  def IsAuthManager(self):
7965
- r"""是否实名主体管理员。是:true,否:false
7971
+ r"""<p>是否实名主体管理员。是:true,否:false</p>
7966
7972
  :rtype: bool
7967
7973
  """
7968
7974
  return self._IsAuthManager
@@ -7971,6 +7977,28 @@ class DescribeOrganizationResponse(AbstractModel):
7971
7977
  def IsAuthManager(self, IsAuthManager):
7972
7978
  self._IsAuthManager = IsAuthManager
7973
7979
 
7980
+ @property
7981
+ def MemberPermissionOptions(self):
7982
+ r"""<p>创建/邀请成员时可设置的财务权限列表</p>
7983
+ :rtype: list of MemberPermissionOption
7984
+ """
7985
+ return self._MemberPermissionOptions
7986
+
7987
+ @MemberPermissionOptions.setter
7988
+ def MemberPermissionOptions(self, MemberPermissionOptions):
7989
+ self._MemberPermissionOptions = MemberPermissionOptions
7990
+
7991
+ @property
7992
+ def DefaultPayType(self):
7993
+ r"""<p>创建/邀请成员时的默认付费方式。</p><p>枚举值:</p><ul><li>SelfPay: 自付</li><li>BehalfPay: 代付</li></ul>
7994
+ :rtype: str
7995
+ """
7996
+ return self._DefaultPayType
7997
+
7998
+ @DefaultPayType.setter
7999
+ def DefaultPayType(self, DefaultPayType):
8000
+ self._DefaultPayType = DefaultPayType
8001
+
7974
8002
  @property
7975
8003
  def RequestId(self):
7976
8004
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -8005,6 +8033,13 @@ class DescribeOrganizationResponse(AbstractModel):
8005
8033
  self._PayName = params.get("PayName")
8006
8034
  self._IsAssignManager = params.get("IsAssignManager")
8007
8035
  self._IsAuthManager = params.get("IsAuthManager")
8036
+ if params.get("MemberPermissionOptions") is not None:
8037
+ self._MemberPermissionOptions = []
8038
+ for item in params.get("MemberPermissionOptions"):
8039
+ obj = MemberPermissionOption()
8040
+ obj._deserialize(item)
8041
+ self._MemberPermissionOptions.append(obj)
8042
+ self._DefaultPayType = params.get("DefaultPayType")
8008
8043
  self._RequestId = params.get("RequestId")
8009
8044
 
8010
8045
 
@@ -9643,6 +9678,57 @@ class EnablePolicyTypeResponse(AbstractModel):
9643
9678
  self._RequestId = params.get("RequestId")
9644
9679
 
9645
9680
 
9681
+ class FailedAccount(AbstractModel):
9682
+ r"""失败账号信息
9683
+
9684
+ """
9685
+
9686
+ def __init__(self):
9687
+ r"""
9688
+ :param _TargetUin: <p>下发失败的成员账号 UIN</p>
9689
+ :type TargetUin: int
9690
+ :param _TargetName: <p>下发失败的成员账号名</p>
9691
+ :type TargetName: str
9692
+ """
9693
+ self._TargetUin = None
9694
+ self._TargetName = None
9695
+
9696
+ @property
9697
+ def TargetUin(self):
9698
+ r"""<p>下发失败的成员账号 UIN</p>
9699
+ :rtype: int
9700
+ """
9701
+ return self._TargetUin
9702
+
9703
+ @TargetUin.setter
9704
+ def TargetUin(self, TargetUin):
9705
+ self._TargetUin = TargetUin
9706
+
9707
+ @property
9708
+ def TargetName(self):
9709
+ r"""<p>下发失败的成员账号名</p>
9710
+ :rtype: str
9711
+ """
9712
+ return self._TargetName
9713
+
9714
+ @TargetName.setter
9715
+ def TargetName(self, TargetName):
9716
+ self._TargetName = TargetName
9717
+
9718
+
9719
+ def _deserialize(self, params):
9720
+ self._TargetUin = params.get("TargetUin")
9721
+ self._TargetName = params.get("TargetName")
9722
+ memeber_set = set(params.keys())
9723
+ for name, value in vars(self).items():
9724
+ property_name = name[1:]
9725
+ if property_name in memeber_set:
9726
+ memeber_set.remove(property_name)
9727
+ if len(memeber_set) > 0:
9728
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9729
+
9730
+
9731
+
9646
9732
  class GetExternalSAMLIdentityProviderRequest(AbstractModel):
9647
9733
  r"""GetExternalSAMLIdentityProvider请求参数结构体
9648
9734
 
@@ -16051,6 +16137,102 @@ class MemberMainInfo(AbstractModel):
16051
16137
 
16052
16138
 
16053
16139
 
16140
+ class MemberPermissionOption(AbstractModel):
16141
+ r"""创建/邀请成员时可设置的财务权限
16142
+
16143
+ """
16144
+
16145
+ def __init__(self):
16146
+ r"""
16147
+ :param _Id: <p>权限 ID</p>
16148
+ :type Id: int
16149
+ :param _Name: <p>权限名</p>
16150
+ :type Name: str
16151
+ :param _Status: <p>展示状态</p><p>枚举值:</p><ul><li>FIXED: 已勾选且置灰,不可修改</li><li>OPTIONAL: 正常可选</li><li>DISABLE: 置灰不可选,悬浮展示原因</li></ul><p>默认值:OPTIONAL</p>
16152
+ :type Status: str
16153
+ :param _DefaultChecked: <p>是否默认勾选</p>
16154
+ :type DefaultChecked: bool
16155
+ :param _DisabledCode: <p>置灰原因码</p><p>枚举值:</p><ul><li>TransferNotAllowAdd: 资金划拨权限未命中白名单</li><li>CreditAmountsNotAllowAdd: 信用额度设置权限未命中白名单</li><li>AddDiscountInheritNotAllow: 校验不通过或异常</li></ul>
16156
+ :type DisabledCode: str
16157
+ """
16158
+ self._Id = None
16159
+ self._Name = None
16160
+ self._Status = None
16161
+ self._DefaultChecked = None
16162
+ self._DisabledCode = None
16163
+
16164
+ @property
16165
+ def Id(self):
16166
+ r"""<p>权限 ID</p>
16167
+ :rtype: int
16168
+ """
16169
+ return self._Id
16170
+
16171
+ @Id.setter
16172
+ def Id(self, Id):
16173
+ self._Id = Id
16174
+
16175
+ @property
16176
+ def Name(self):
16177
+ r"""<p>权限名</p>
16178
+ :rtype: str
16179
+ """
16180
+ return self._Name
16181
+
16182
+ @Name.setter
16183
+ def Name(self, Name):
16184
+ self._Name = Name
16185
+
16186
+ @property
16187
+ def Status(self):
16188
+ r"""<p>展示状态</p><p>枚举值:</p><ul><li>FIXED: 已勾选且置灰,不可修改</li><li>OPTIONAL: 正常可选</li><li>DISABLE: 置灰不可选,悬浮展示原因</li></ul><p>默认值:OPTIONAL</p>
16189
+ :rtype: str
16190
+ """
16191
+ return self._Status
16192
+
16193
+ @Status.setter
16194
+ def Status(self, Status):
16195
+ self._Status = Status
16196
+
16197
+ @property
16198
+ def DefaultChecked(self):
16199
+ r"""<p>是否默认勾选</p>
16200
+ :rtype: bool
16201
+ """
16202
+ return self._DefaultChecked
16203
+
16204
+ @DefaultChecked.setter
16205
+ def DefaultChecked(self, DefaultChecked):
16206
+ self._DefaultChecked = DefaultChecked
16207
+
16208
+ @property
16209
+ def DisabledCode(self):
16210
+ r"""<p>置灰原因码</p><p>枚举值:</p><ul><li>TransferNotAllowAdd: 资金划拨权限未命中白名单</li><li>CreditAmountsNotAllowAdd: 信用额度设置权限未命中白名单</li><li>AddDiscountInheritNotAllow: 校验不通过或异常</li></ul>
16211
+ :rtype: str
16212
+ """
16213
+ return self._DisabledCode
16214
+
16215
+ @DisabledCode.setter
16216
+ def DisabledCode(self, DisabledCode):
16217
+ self._DisabledCode = DisabledCode
16218
+
16219
+
16220
+ def _deserialize(self, params):
16221
+ self._Id = params.get("Id")
16222
+ self._Name = params.get("Name")
16223
+ self._Status = params.get("Status")
16224
+ self._DefaultChecked = params.get("DefaultChecked")
16225
+ self._DisabledCode = params.get("DisabledCode")
16226
+ memeber_set = set(params.keys())
16227
+ for name, value in vars(self).items():
16228
+ property_name = name[1:]
16229
+ if property_name in memeber_set:
16230
+ memeber_set.remove(property_name)
16231
+ if len(memeber_set) > 0:
16232
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16233
+
16234
+
16235
+
16054
16236
  class MoveOrganizationNodeMembersRequest(AbstractModel):
16055
16237
  r"""MoveOrganizationNodeMembers请求参数结构体
16056
16238
 
@@ -19582,23 +19764,30 @@ class RoleConfiguration(AbstractModel):
19582
19764
 
19583
19765
  def __init__(self):
19584
19766
  r"""
19585
- :param _RoleConfigurationId: 权限配置配置ID。
19767
+ :param _RoleConfigurationId: <p>权限配置配置ID。</p>
19586
19768
  :type RoleConfigurationId: str
19587
- :param _RoleConfigurationName: 权限配置配名称。
19769
+ :param _RoleConfigurationName: <p>权限配置配名称。</p>
19588
19770
  :type RoleConfigurationName: str
19589
- :param _Description: 权限配置的描述。
19771
+ :param _Description: <p>权限配置的描述。</p>
19590
19772
  :type Description: str
19591
- :param _SessionDuration: 会话持续时间。CIC 用户使用访问配置访问成员账号时,会话最多保持的时间。
19592
- 单位:秒。
19773
+ :param _SessionDuration: <p>会话持续时间。CIC 用户使用访问配置访问成员账号时,会话最多保持的时间。<br>单位:秒。</p>
19593
19774
  :type SessionDuration: int
19594
- :param _RelayState: 初始访问页面。CIC 用户使用访问配置访问成员账号时,初始访问的页面地址。
19775
+ :param _RelayState: <p>初始访问页面。CIC 用户使用访问配置访问成员账号时,初始访问的页面地址。</p>
19595
19776
  :type RelayState: str
19596
- :param _CreateTime: 权限配置的创建时间。
19777
+ :param _CreateTime: <p>权限配置的创建时间。</p>
19597
19778
  :type CreateTime: str
19598
- :param _UpdateTime: 权限配置的更新时间。
19779
+ :param _UpdateTime: <p>权限配置的更新时间。</p>
19599
19780
  :type UpdateTime: str
19600
- :param _IsSelected: 如果有入参FilterTargets查询成员账号是否配置过权限,配置了返回true,否则返回false。
19781
+ :param _IsSelected: <p>如果有入参FilterTargets查询成员账号是否配置过权限,配置了返回true,否则返回false。</p>
19601
19782
  :type IsSelected: bool
19783
+ :param _ApplyStatus: <p>会话时长应用状态</p><p>枚举值:</p><ul><li>Success: 全部账号应用成功</li><li>Failed: 存在失败账号</li><li>Applying: 任务在途</li><li>Unknown: 已部署账号超查询上限</li></ul>
19784
+ :type ApplyStatus: str
19785
+ :param _AppliedSessionDuration: <p>当前已真实下发到 CAM 的会话时长</p><p>取值范围:[900, 43200]</p><p>单位:秒</p>
19786
+ :type AppliedSessionDuration: int
19787
+ :param _SessionDurationUpdateTime: <p>最近一次成功下发时间</p><p>参数格式: YYYY-MM-DD hh:mm:ss</p>
19788
+ :type SessionDurationUpdateTime: str
19789
+ :param _FailedAccounts: <p>未成功应用的账号明细</p><p>仅 Failed 态返回</p>
19790
+ :type FailedAccounts: list of FailedAccount
19602
19791
  """
19603
19792
  self._RoleConfigurationId = None
19604
19793
  self._RoleConfigurationName = None
@@ -19608,10 +19797,14 @@ class RoleConfiguration(AbstractModel):
19608
19797
  self._CreateTime = None
19609
19798
  self._UpdateTime = None
19610
19799
  self._IsSelected = None
19800
+ self._ApplyStatus = None
19801
+ self._AppliedSessionDuration = None
19802
+ self._SessionDurationUpdateTime = None
19803
+ self._FailedAccounts = None
19611
19804
 
19612
19805
  @property
19613
19806
  def RoleConfigurationId(self):
19614
- r"""权限配置配置ID。
19807
+ r"""<p>权限配置配置ID。</p>
19615
19808
  :rtype: str
19616
19809
  """
19617
19810
  return self._RoleConfigurationId
@@ -19622,7 +19815,7 @@ class RoleConfiguration(AbstractModel):
19622
19815
 
19623
19816
  @property
19624
19817
  def RoleConfigurationName(self):
19625
- r"""权限配置配名称。
19818
+ r"""<p>权限配置配名称。</p>
19626
19819
  :rtype: str
19627
19820
  """
19628
19821
  return self._RoleConfigurationName
@@ -19633,7 +19826,7 @@ class RoleConfiguration(AbstractModel):
19633
19826
 
19634
19827
  @property
19635
19828
  def Description(self):
19636
- r"""权限配置的描述。
19829
+ r"""<p>权限配置的描述。</p>
19637
19830
  :rtype: str
19638
19831
  """
19639
19832
  return self._Description
@@ -19644,8 +19837,7 @@ class RoleConfiguration(AbstractModel):
19644
19837
 
19645
19838
  @property
19646
19839
  def SessionDuration(self):
19647
- r"""会话持续时间。CIC 用户使用访问配置访问成员账号时,会话最多保持的时间。
19648
- 单位:秒。
19840
+ r"""<p>会话持续时间。CIC 用户使用访问配置访问成员账号时,会话最多保持的时间。<br>单位:秒。</p>
19649
19841
  :rtype: int
19650
19842
  """
19651
19843
  return self._SessionDuration
@@ -19656,7 +19848,7 @@ class RoleConfiguration(AbstractModel):
19656
19848
 
19657
19849
  @property
19658
19850
  def RelayState(self):
19659
- r"""初始访问页面。CIC 用户使用访问配置访问成员账号时,初始访问的页面地址。
19851
+ r"""<p>初始访问页面。CIC 用户使用访问配置访问成员账号时,初始访问的页面地址。</p>
19660
19852
  :rtype: str
19661
19853
  """
19662
19854
  return self._RelayState
@@ -19667,7 +19859,7 @@ class RoleConfiguration(AbstractModel):
19667
19859
 
19668
19860
  @property
19669
19861
  def CreateTime(self):
19670
- r"""权限配置的创建时间。
19862
+ r"""<p>权限配置的创建时间。</p>
19671
19863
  :rtype: str
19672
19864
  """
19673
19865
  return self._CreateTime
@@ -19678,7 +19870,7 @@ class RoleConfiguration(AbstractModel):
19678
19870
 
19679
19871
  @property
19680
19872
  def UpdateTime(self):
19681
- r"""权限配置的更新时间。
19873
+ r"""<p>权限配置的更新时间。</p>
19682
19874
  :rtype: str
19683
19875
  """
19684
19876
  return self._UpdateTime
@@ -19689,7 +19881,7 @@ class RoleConfiguration(AbstractModel):
19689
19881
 
19690
19882
  @property
19691
19883
  def IsSelected(self):
19692
- r"""如果有入参FilterTargets查询成员账号是否配置过权限,配置了返回true,否则返回false。
19884
+ r"""<p>如果有入参FilterTargets查询成员账号是否配置过权限,配置了返回true,否则返回false。</p>
19693
19885
  :rtype: bool
19694
19886
  """
19695
19887
  return self._IsSelected
@@ -19698,6 +19890,50 @@ class RoleConfiguration(AbstractModel):
19698
19890
  def IsSelected(self, IsSelected):
19699
19891
  self._IsSelected = IsSelected
19700
19892
 
19893
+ @property
19894
+ def ApplyStatus(self):
19895
+ r"""<p>会话时长应用状态</p><p>枚举值:</p><ul><li>Success: 全部账号应用成功</li><li>Failed: 存在失败账号</li><li>Applying: 任务在途</li><li>Unknown: 已部署账号超查询上限</li></ul>
19896
+ :rtype: str
19897
+ """
19898
+ return self._ApplyStatus
19899
+
19900
+ @ApplyStatus.setter
19901
+ def ApplyStatus(self, ApplyStatus):
19902
+ self._ApplyStatus = ApplyStatus
19903
+
19904
+ @property
19905
+ def AppliedSessionDuration(self):
19906
+ r"""<p>当前已真实下发到 CAM 的会话时长</p><p>取值范围:[900, 43200]</p><p>单位:秒</p>
19907
+ :rtype: int
19908
+ """
19909
+ return self._AppliedSessionDuration
19910
+
19911
+ @AppliedSessionDuration.setter
19912
+ def AppliedSessionDuration(self, AppliedSessionDuration):
19913
+ self._AppliedSessionDuration = AppliedSessionDuration
19914
+
19915
+ @property
19916
+ def SessionDurationUpdateTime(self):
19917
+ r"""<p>最近一次成功下发时间</p><p>参数格式: YYYY-MM-DD hh:mm:ss</p>
19918
+ :rtype: str
19919
+ """
19920
+ return self._SessionDurationUpdateTime
19921
+
19922
+ @SessionDurationUpdateTime.setter
19923
+ def SessionDurationUpdateTime(self, SessionDurationUpdateTime):
19924
+ self._SessionDurationUpdateTime = SessionDurationUpdateTime
19925
+
19926
+ @property
19927
+ def FailedAccounts(self):
19928
+ r"""<p>未成功应用的账号明细</p><p>仅 Failed 态返回</p>
19929
+ :rtype: list of FailedAccount
19930
+ """
19931
+ return self._FailedAccounts
19932
+
19933
+ @FailedAccounts.setter
19934
+ def FailedAccounts(self, FailedAccounts):
19935
+ self._FailedAccounts = FailedAccounts
19936
+
19701
19937
 
19702
19938
  def _deserialize(self, params):
19703
19939
  self._RoleConfigurationId = params.get("RoleConfigurationId")
@@ -19708,6 +19944,15 @@ class RoleConfiguration(AbstractModel):
19708
19944
  self._CreateTime = params.get("CreateTime")
19709
19945
  self._UpdateTime = params.get("UpdateTime")
19710
19946
  self._IsSelected = params.get("IsSelected")
19947
+ self._ApplyStatus = params.get("ApplyStatus")
19948
+ self._AppliedSessionDuration = params.get("AppliedSessionDuration")
19949
+ self._SessionDurationUpdateTime = params.get("SessionDurationUpdateTime")
19950
+ if params.get("FailedAccounts") is not None:
19951
+ self._FailedAccounts = []
19952
+ for item in params.get("FailedAccounts"):
19953
+ obj = FailedAccount()
19954
+ obj._deserialize(item)
19955
+ self._FailedAccounts.append(obj)
19711
19956
  memeber_set = set(params.keys())
19712
19957
  for name, value in vars(self).items():
19713
19958
  property_name = name[1:]
@@ -22803,26 +23048,29 @@ class UpdateRoleConfigurationRequest(AbstractModel):
22803
23048
 
22804
23049
  def __init__(self):
22805
23050
  r"""
22806
- :param _ZoneId: 空间 ID
23051
+ :param _ZoneId: <p>空间 ID</p>
22807
23052
  :type ZoneId: str
22808
- :param _RoleConfigurationId: 权限配置 ID
23053
+ :param _RoleConfigurationId: <p>权限配置 ID</p>
22809
23054
  :type RoleConfigurationId: str
22810
- :param _NewDescription: 新的权限配置描述。 长度:最大 1024 个字符。
23055
+ :param _NewDescription: <p>新的权限配置描述。 长度:最大 1024 个字符。</p>
22811
23056
  :type NewDescription: str
22812
- :param _NewSessionDuration: 新的会话持续时间。 CIC 用户使用权限配置访问集团账号目标账号时,会话最多保持的时间。 单位:秒。 取值范围:900-43200(15 分钟-12 小时)。
23057
+ :param _NewSessionDuration: <p>新的会话持续时间。 CIC 用户使用权限配置访问集团账号目标账号时,会话最多保持的时间。 单位:秒。 取值范围:900-43200(15 分钟-12 小时)。</p>
22813
23058
  :type NewSessionDuration: int
22814
- :param _NewRelayState: 新的初始访问页面。 CIC 用户使用权限配置访问集团账号目标账号时,初始访问的页面地址。 该页面必须是腾讯云控制台页面。
23059
+ :param _NewRelayState: <p>新的初始访问页面。 CIC 用户使用权限配置访问集团账号目标账号时,初始访问的页面地址。 该页面必须是腾讯云控制台页面。</p>
22815
23060
  :type NewRelayState: str
23061
+ :param _IsApply: <p>true=保存并应用(立即下发);false/缺省=仅保存</p>
23062
+ :type IsApply: bool
22816
23063
  """
22817
23064
  self._ZoneId = None
22818
23065
  self._RoleConfigurationId = None
22819
23066
  self._NewDescription = None
22820
23067
  self._NewSessionDuration = None
22821
23068
  self._NewRelayState = None
23069
+ self._IsApply = None
22822
23070
 
22823
23071
  @property
22824
23072
  def ZoneId(self):
22825
- r"""空间 ID
23073
+ r"""<p>空间 ID</p>
22826
23074
  :rtype: str
22827
23075
  """
22828
23076
  return self._ZoneId
@@ -22833,7 +23081,7 @@ class UpdateRoleConfigurationRequest(AbstractModel):
22833
23081
 
22834
23082
  @property
22835
23083
  def RoleConfigurationId(self):
22836
- r"""权限配置 ID
23084
+ r"""<p>权限配置 ID</p>
22837
23085
  :rtype: str
22838
23086
  """
22839
23087
  return self._RoleConfigurationId
@@ -22844,7 +23092,7 @@ class UpdateRoleConfigurationRequest(AbstractModel):
22844
23092
 
22845
23093
  @property
22846
23094
  def NewDescription(self):
22847
- r"""新的权限配置描述。 长度:最大 1024 个字符。
23095
+ r"""<p>新的权限配置描述。 长度:最大 1024 个字符。</p>
22848
23096
  :rtype: str
22849
23097
  """
22850
23098
  return self._NewDescription
@@ -22855,7 +23103,7 @@ class UpdateRoleConfigurationRequest(AbstractModel):
22855
23103
 
22856
23104
  @property
22857
23105
  def NewSessionDuration(self):
22858
- r"""新的会话持续时间。 CIC 用户使用权限配置访问集团账号目标账号时,会话最多保持的时间。 单位:秒。 取值范围:900-43200(15 分钟-12 小时)。
23106
+ r"""<p>新的会话持续时间。 CIC 用户使用权限配置访问集团账号目标账号时,会话最多保持的时间。 单位:秒。 取值范围:900-43200(15 分钟-12 小时)。</p>
22859
23107
  :rtype: int
22860
23108
  """
22861
23109
  return self._NewSessionDuration
@@ -22866,7 +23114,7 @@ class UpdateRoleConfigurationRequest(AbstractModel):
22866
23114
 
22867
23115
  @property
22868
23116
  def NewRelayState(self):
22869
- r"""新的初始访问页面。 CIC 用户使用权限配置访问集团账号目标账号时,初始访问的页面地址。 该页面必须是腾讯云控制台页面。
23117
+ r"""<p>新的初始访问页面。 CIC 用户使用权限配置访问集团账号目标账号时,初始访问的页面地址。 该页面必须是腾讯云控制台页面。</p>
22870
23118
  :rtype: str
22871
23119
  """
22872
23120
  return self._NewRelayState
@@ -22875,6 +23123,17 @@ class UpdateRoleConfigurationRequest(AbstractModel):
22875
23123
  def NewRelayState(self, NewRelayState):
22876
23124
  self._NewRelayState = NewRelayState
22877
23125
 
23126
+ @property
23127
+ def IsApply(self):
23128
+ r"""<p>true=保存并应用(立即下发);false/缺省=仅保存</p>
23129
+ :rtype: bool
23130
+ """
23131
+ return self._IsApply
23132
+
23133
+ @IsApply.setter
23134
+ def IsApply(self, IsApply):
23135
+ self._IsApply = IsApply
23136
+
22878
23137
 
22879
23138
  def _deserialize(self, params):
22880
23139
  self._ZoneId = params.get("ZoneId")
@@ -22882,6 +23141,7 @@ class UpdateRoleConfigurationRequest(AbstractModel):
22882
23141
  self._NewDescription = params.get("NewDescription")
22883
23142
  self._NewSessionDuration = params.get("NewSessionDuration")
22884
23143
  self._NewRelayState = params.get("NewRelayState")
23144
+ self._IsApply = params.get("IsApply")
22885
23145
  memeber_set = set(params.keys())
22886
23146
  for name, value in vars(self).items():
22887
23147
  property_name = name[1:]
@@ -22899,7 +23159,7 @@ class UpdateRoleConfigurationResponse(AbstractModel):
22899
23159
 
22900
23160
  def __init__(self):
22901
23161
  r"""
22902
- :param _RoleConfigurationInfo: 权限配置详情
23162
+ :param _RoleConfigurationInfo: <p>权限配置详情</p>
22903
23163
  :type RoleConfigurationInfo: :class:`tencentcloud.organization.v20210331.models.RoleConfiguration`
22904
23164
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22905
23165
  :type RequestId: str
@@ -22909,7 +23169,7 @@ class UpdateRoleConfigurationResponse(AbstractModel):
22909
23169
 
22910
23170
  @property
22911
23171
  def RoleConfigurationInfo(self):
22912
- r"""权限配置详情
23172
+ r"""<p>权限配置详情</p>
22913
23173
  :rtype: :class:`tencentcloud.organization.v20210331.models.RoleConfiguration`
22914
23174
  """
22915
23175
  return self._RoleConfigurationInfo
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.1.191
3
+ Version: 3.1.214
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.191
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.214
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.214
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.191