tencentcloud-sdk-python 3.0.1253__py2.py3-none-any.whl → 3.0.1255__py2.py3-none-any.whl

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 (44) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/asr/v20190614/models.py +1 -1
  3. tencentcloud/captcha/v20190722/models.py +16 -3
  4. tencentcloud/ccc/v20200210/models.py +5 -1
  5. tencentcloud/cdb/v20170320/models.py +26 -0
  6. tencentcloud/cfw/v20190904/cfw_client.py +3 -1
  7. tencentcloud/cfw/v20190904/models.py +81 -26
  8. tencentcloud/ckafka/v20190819/models.py +1 -1
  9. tencentcloud/cvm/v20170312/models.py +0 -1
  10. tencentcloud/cwp/v20180228/models.py +15 -2
  11. tencentcloud/cynosdb/v20190107/cynosdb_client.py +40 -40
  12. tencentcloud/cynosdb/v20190107/errorcodes.py +24 -0
  13. tencentcloud/cynosdb/v20190107/models.py +27 -0
  14. tencentcloud/emr/v20190103/emr_client.py +1 -1
  15. tencentcloud/ess/v20201111/ess_client.py +9 -8
  16. tencentcloud/ess/v20201111/models.py +26 -0
  17. tencentcloud/essbasic/v20210526/models.py +27 -1
  18. tencentcloud/faceid/v20180301/models.py +4 -0
  19. tencentcloud/hunyuan/v20230901/models.py +1 -1
  20. tencentcloud/lcic/v20220817/models.py +11 -3
  21. tencentcloud/lighthouse/v20200324/errorcodes.py +6 -0
  22. tencentcloud/monitor/v20180724/models.py +25 -0
  23. tencentcloud/mqtt/v20240516/models.py +4 -2
  24. tencentcloud/ses/v20201002/models.py +0 -10
  25. tencentcloud/sms/v20190711/models.py +8 -10
  26. tencentcloud/sms/v20210111/models.py +10 -13
  27. tencentcloud/sms/v20210111/sms_client.py +1 -1
  28. tencentcloud/taf/v20200210/models.py +63 -0
  29. tencentcloud/tdmq/v20200217/models.py +158 -0
  30. tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
  31. tencentcloud/tke/v20180525/models.py +27 -0
  32. tencentcloud/trocket/v20230308/models.py +160 -114
  33. tencentcloud/trocket/v20230308/trocket_client.py +6 -6
  34. tencentcloud/trtc/v20190722/models.py +3 -10
  35. tencentcloud/vpc/v20170312/models.py +12 -12
  36. tencentcloud/waf/v20180125/models.py +134 -0
  37. tencentcloud/waf/v20180125/waf_client.py +23 -0
  38. tencentcloud/wedata/v20210820/models.py +592 -0
  39. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  40. {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/METADATA +1 -1
  41. {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/RECORD +44 -44
  42. {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/LICENSE +0 -0
  43. {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/WHEEL +0 -0
  44. {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/top_level.txt +0 -0
@@ -22686,6 +22686,136 @@ class DescribeProjectResponse(AbstractModel):
22686
22686
  self._RequestId = params.get("RequestId")
22687
22687
 
22688
22688
 
22689
+ class DescribeProjectUsersRequest(AbstractModel):
22690
+ """DescribeProjectUsers请求参数结构体
22691
+
22692
+ """
22693
+
22694
+ def __init__(self):
22695
+ r"""
22696
+ :param _PageNumber: 分页号
22697
+ :type PageNumber: int
22698
+ :param _PageSize: 分页大小
22699
+ :type PageSize: int
22700
+ :param _Filters: 【过滤参数】自定义条件查询
22701
+ :type Filters: list of FilterOptional
22702
+ :param _OrderFields: 【排序参数】排序字段
22703
+ :type OrderFields: list of OrderFieldOptional
22704
+ :param _IsProjectAdmin: 是否项目管理员
22705
+ :type IsProjectAdmin: bool
22706
+ """
22707
+ self._PageNumber = None
22708
+ self._PageSize = None
22709
+ self._Filters = None
22710
+ self._OrderFields = None
22711
+ self._IsProjectAdmin = None
22712
+
22713
+ @property
22714
+ def PageNumber(self):
22715
+ return self._PageNumber
22716
+
22717
+ @PageNumber.setter
22718
+ def PageNumber(self, PageNumber):
22719
+ self._PageNumber = PageNumber
22720
+
22721
+ @property
22722
+ def PageSize(self):
22723
+ return self._PageSize
22724
+
22725
+ @PageSize.setter
22726
+ def PageSize(self, PageSize):
22727
+ self._PageSize = PageSize
22728
+
22729
+ @property
22730
+ def Filters(self):
22731
+ return self._Filters
22732
+
22733
+ @Filters.setter
22734
+ def Filters(self, Filters):
22735
+ self._Filters = Filters
22736
+
22737
+ @property
22738
+ def OrderFields(self):
22739
+ return self._OrderFields
22740
+
22741
+ @OrderFields.setter
22742
+ def OrderFields(self, OrderFields):
22743
+ self._OrderFields = OrderFields
22744
+
22745
+ @property
22746
+ def IsProjectAdmin(self):
22747
+ return self._IsProjectAdmin
22748
+
22749
+ @IsProjectAdmin.setter
22750
+ def IsProjectAdmin(self, IsProjectAdmin):
22751
+ self._IsProjectAdmin = IsProjectAdmin
22752
+
22753
+
22754
+ def _deserialize(self, params):
22755
+ self._PageNumber = params.get("PageNumber")
22756
+ self._PageSize = params.get("PageSize")
22757
+ if params.get("Filters") is not None:
22758
+ self._Filters = []
22759
+ for item in params.get("Filters"):
22760
+ obj = FilterOptional()
22761
+ obj._deserialize(item)
22762
+ self._Filters.append(obj)
22763
+ if params.get("OrderFields") is not None:
22764
+ self._OrderFields = []
22765
+ for item in params.get("OrderFields"):
22766
+ obj = OrderFieldOptional()
22767
+ obj._deserialize(item)
22768
+ self._OrderFields.append(obj)
22769
+ self._IsProjectAdmin = params.get("IsProjectAdmin")
22770
+ memeber_set = set(params.keys())
22771
+ for name, value in vars(self).items():
22772
+ property_name = name[1:]
22773
+ if property_name in memeber_set:
22774
+ memeber_set.remove(property_name)
22775
+ if len(memeber_set) > 0:
22776
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22777
+
22778
+
22779
+
22780
+ class DescribeProjectUsersResponse(AbstractModel):
22781
+ """DescribeProjectUsers返回参数结构体
22782
+
22783
+ """
22784
+
22785
+ def __init__(self):
22786
+ r"""
22787
+ :param _Data: 项目列表
22788
+ :type Data: :class:`tencentcloud.wedata.v20210820.models.ProjectUsersPage`
22789
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22790
+ :type RequestId: str
22791
+ """
22792
+ self._Data = None
22793
+ self._RequestId = None
22794
+
22795
+ @property
22796
+ def Data(self):
22797
+ return self._Data
22798
+
22799
+ @Data.setter
22800
+ def Data(self, Data):
22801
+ self._Data = Data
22802
+
22803
+ @property
22804
+ def RequestId(self):
22805
+ return self._RequestId
22806
+
22807
+ @RequestId.setter
22808
+ def RequestId(self, RequestId):
22809
+ self._RequestId = RequestId
22810
+
22811
+
22812
+ def _deserialize(self, params):
22813
+ if params.get("Data") is not None:
22814
+ self._Data = ProjectUsersPage()
22815
+ self._Data._deserialize(params.get("Data"))
22816
+ self._RequestId = params.get("RequestId")
22817
+
22818
+
22689
22819
  class DescribeQualityScoreRequest(AbstractModel):
22690
22820
  """DescribeQualityScore请求参数结构体
22691
22821
 
@@ -46478,6 +46608,214 @@ class ProjectBaseInfoOpsRequest(AbstractModel):
46478
46608
 
46479
46609
 
46480
46610
 
46611
+ class ProjectUserRole(AbstractModel):
46612
+ """项目的用户对象
46613
+
46614
+ """
46615
+
46616
+ def __init__(self):
46617
+ r"""
46618
+ :param _Roles: 用户角色对象
46619
+ 注意:此字段可能返回 null,表示取不到有效值。
46620
+ :type Roles: list of SystemRole
46621
+ :param _UserName: mc
46622
+ 注意:此字段可能返回 null,表示取不到有效值。
46623
+ :type UserName: str
46624
+ :param _UserId: 用户id
46625
+ 注意:此字段可能返回 null,表示取不到有效值。
46626
+ :type UserId: str
46627
+ :param _CreateTime: 创建时间
46628
+ 注意:此字段可能返回 null,表示取不到有效值。
46629
+ :type CreateTime: str
46630
+ :param _Creator: 是否创建者
46631
+ 注意:此字段可能返回 null,表示取不到有效值。
46632
+ :type Creator: bool
46633
+ :param _DisplayName: 显示名称
46634
+ 注意:此字段可能返回 null,表示取不到有效值。
46635
+ :type DisplayName: str
46636
+ :param _IsProjectAdmin: 是否项目管理员
46637
+ 注意:此字段可能返回 null,表示取不到有效值。
46638
+ :type IsProjectAdmin: bool
46639
+ """
46640
+ self._Roles = None
46641
+ self._UserName = None
46642
+ self._UserId = None
46643
+ self._CreateTime = None
46644
+ self._Creator = None
46645
+ self._DisplayName = None
46646
+ self._IsProjectAdmin = None
46647
+
46648
+ @property
46649
+ def Roles(self):
46650
+ return self._Roles
46651
+
46652
+ @Roles.setter
46653
+ def Roles(self, Roles):
46654
+ self._Roles = Roles
46655
+
46656
+ @property
46657
+ def UserName(self):
46658
+ return self._UserName
46659
+
46660
+ @UserName.setter
46661
+ def UserName(self, UserName):
46662
+ self._UserName = UserName
46663
+
46664
+ @property
46665
+ def UserId(self):
46666
+ return self._UserId
46667
+
46668
+ @UserId.setter
46669
+ def UserId(self, UserId):
46670
+ self._UserId = UserId
46671
+
46672
+ @property
46673
+ def CreateTime(self):
46674
+ return self._CreateTime
46675
+
46676
+ @CreateTime.setter
46677
+ def CreateTime(self, CreateTime):
46678
+ self._CreateTime = CreateTime
46679
+
46680
+ @property
46681
+ def Creator(self):
46682
+ return self._Creator
46683
+
46684
+ @Creator.setter
46685
+ def Creator(self, Creator):
46686
+ self._Creator = Creator
46687
+
46688
+ @property
46689
+ def DisplayName(self):
46690
+ return self._DisplayName
46691
+
46692
+ @DisplayName.setter
46693
+ def DisplayName(self, DisplayName):
46694
+ self._DisplayName = DisplayName
46695
+
46696
+ @property
46697
+ def IsProjectAdmin(self):
46698
+ return self._IsProjectAdmin
46699
+
46700
+ @IsProjectAdmin.setter
46701
+ def IsProjectAdmin(self, IsProjectAdmin):
46702
+ self._IsProjectAdmin = IsProjectAdmin
46703
+
46704
+
46705
+ def _deserialize(self, params):
46706
+ if params.get("Roles") is not None:
46707
+ self._Roles = []
46708
+ for item in params.get("Roles"):
46709
+ obj = SystemRole()
46710
+ obj._deserialize(item)
46711
+ self._Roles.append(obj)
46712
+ self._UserName = params.get("UserName")
46713
+ self._UserId = params.get("UserId")
46714
+ self._CreateTime = params.get("CreateTime")
46715
+ self._Creator = params.get("Creator")
46716
+ self._DisplayName = params.get("DisplayName")
46717
+ self._IsProjectAdmin = params.get("IsProjectAdmin")
46718
+ memeber_set = set(params.keys())
46719
+ for name, value in vars(self).items():
46720
+ property_name = name[1:]
46721
+ if property_name in memeber_set:
46722
+ memeber_set.remove(property_name)
46723
+ if len(memeber_set) > 0:
46724
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
46725
+
46726
+
46727
+
46728
+ class ProjectUsersPage(AbstractModel):
46729
+ """项目下的用户集合
46730
+
46731
+ """
46732
+
46733
+ def __init__(self):
46734
+ r"""
46735
+ :param _Rows: 用户集合
46736
+ 注意:此字段可能返回 null,表示取不到有效值。
46737
+ :type Rows: list of ProjectUserRole
46738
+ :param _PageSize: 分页大小
46739
+ 注意:此字段可能返回 null,表示取不到有效值。
46740
+ :type PageSize: int
46741
+ :param _PageNumber: 分页页码
46742
+ 注意:此字段可能返回 null,表示取不到有效值。
46743
+ :type PageNumber: int
46744
+ :param _TotalCount: 总数量
46745
+ 注意:此字段可能返回 null,表示取不到有效值。
46746
+ :type TotalCount: int
46747
+ :param _TotalPageNumber: 总分页页码
46748
+ 注意:此字段可能返回 null,表示取不到有效值。
46749
+ :type TotalPageNumber: int
46750
+ """
46751
+ self._Rows = None
46752
+ self._PageSize = None
46753
+ self._PageNumber = None
46754
+ self._TotalCount = None
46755
+ self._TotalPageNumber = None
46756
+
46757
+ @property
46758
+ def Rows(self):
46759
+ return self._Rows
46760
+
46761
+ @Rows.setter
46762
+ def Rows(self, Rows):
46763
+ self._Rows = Rows
46764
+
46765
+ @property
46766
+ def PageSize(self):
46767
+ return self._PageSize
46768
+
46769
+ @PageSize.setter
46770
+ def PageSize(self, PageSize):
46771
+ self._PageSize = PageSize
46772
+
46773
+ @property
46774
+ def PageNumber(self):
46775
+ return self._PageNumber
46776
+
46777
+ @PageNumber.setter
46778
+ def PageNumber(self, PageNumber):
46779
+ self._PageNumber = PageNumber
46780
+
46781
+ @property
46782
+ def TotalCount(self):
46783
+ return self._TotalCount
46784
+
46785
+ @TotalCount.setter
46786
+ def TotalCount(self, TotalCount):
46787
+ self._TotalCount = TotalCount
46788
+
46789
+ @property
46790
+ def TotalPageNumber(self):
46791
+ return self._TotalPageNumber
46792
+
46793
+ @TotalPageNumber.setter
46794
+ def TotalPageNumber(self, TotalPageNumber):
46795
+ self._TotalPageNumber = TotalPageNumber
46796
+
46797
+
46798
+ def _deserialize(self, params):
46799
+ if params.get("Rows") is not None:
46800
+ self._Rows = []
46801
+ for item in params.get("Rows"):
46802
+ obj = ProjectUserRole()
46803
+ obj._deserialize(item)
46804
+ self._Rows.append(obj)
46805
+ self._PageSize = params.get("PageSize")
46806
+ self._PageNumber = params.get("PageNumber")
46807
+ self._TotalCount = params.get("TotalCount")
46808
+ self._TotalPageNumber = params.get("TotalPageNumber")
46809
+ memeber_set = set(params.keys())
46810
+ for name, value in vars(self).items():
46811
+ property_name = name[1:]
46812
+ if property_name in memeber_set:
46813
+ memeber_set.remove(property_name)
46814
+ if len(memeber_set) > 0:
46815
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
46816
+
46817
+
46818
+
46481
46819
  class Property(AbstractModel):
46482
46820
  """dlc建表属性
46483
46821
 
@@ -48084,6 +48422,118 @@ class RobLockState(AbstractModel):
48084
48422
 
48085
48423
 
48086
48424
 
48425
+ class RolePrivilege(AbstractModel):
48426
+ """角色权限对象
48427
+
48428
+ """
48429
+
48430
+ def __init__(self):
48431
+ r"""
48432
+ :param _PrivilegeId: id
48433
+ 注意:此字段可能返回 null,表示取不到有效值。
48434
+ :type PrivilegeId: str
48435
+ :param _PrivilegeName: 名称
48436
+ 注意:此字段可能返回 null,表示取不到有效值。
48437
+ :type PrivilegeName: str
48438
+ :param _RestPath: 路径
48439
+ 注意:此字段可能返回 null,表示取不到有效值。
48440
+ :type RestPath: str
48441
+ :param _RestMethod: 方法
48442
+ 注意:此字段可能返回 null,表示取不到有效值。
48443
+ :type RestMethod: str
48444
+ :param _Description: 描述
48445
+ 注意:此字段可能返回 null,表示取不到有效值。
48446
+ :type Description: str
48447
+ :param _ModuleId: 模块id
48448
+ 注意:此字段可能返回 null,表示取不到有效值。
48449
+ :type ModuleId: str
48450
+ :param _Type: 权限类型 N、R、RW、RWD
48451
+ 注意:此字段可能返回 null,表示取不到有效值。
48452
+ :type Type: str
48453
+ """
48454
+ self._PrivilegeId = None
48455
+ self._PrivilegeName = None
48456
+ self._RestPath = None
48457
+ self._RestMethod = None
48458
+ self._Description = None
48459
+ self._ModuleId = None
48460
+ self._Type = None
48461
+
48462
+ @property
48463
+ def PrivilegeId(self):
48464
+ return self._PrivilegeId
48465
+
48466
+ @PrivilegeId.setter
48467
+ def PrivilegeId(self, PrivilegeId):
48468
+ self._PrivilegeId = PrivilegeId
48469
+
48470
+ @property
48471
+ def PrivilegeName(self):
48472
+ return self._PrivilegeName
48473
+
48474
+ @PrivilegeName.setter
48475
+ def PrivilegeName(self, PrivilegeName):
48476
+ self._PrivilegeName = PrivilegeName
48477
+
48478
+ @property
48479
+ def RestPath(self):
48480
+ return self._RestPath
48481
+
48482
+ @RestPath.setter
48483
+ def RestPath(self, RestPath):
48484
+ self._RestPath = RestPath
48485
+
48486
+ @property
48487
+ def RestMethod(self):
48488
+ return self._RestMethod
48489
+
48490
+ @RestMethod.setter
48491
+ def RestMethod(self, RestMethod):
48492
+ self._RestMethod = RestMethod
48493
+
48494
+ @property
48495
+ def Description(self):
48496
+ return self._Description
48497
+
48498
+ @Description.setter
48499
+ def Description(self, Description):
48500
+ self._Description = Description
48501
+
48502
+ @property
48503
+ def ModuleId(self):
48504
+ return self._ModuleId
48505
+
48506
+ @ModuleId.setter
48507
+ def ModuleId(self, ModuleId):
48508
+ self._ModuleId = ModuleId
48509
+
48510
+ @property
48511
+ def Type(self):
48512
+ return self._Type
48513
+
48514
+ @Type.setter
48515
+ def Type(self, Type):
48516
+ self._Type = Type
48517
+
48518
+
48519
+ def _deserialize(self, params):
48520
+ self._PrivilegeId = params.get("PrivilegeId")
48521
+ self._PrivilegeName = params.get("PrivilegeName")
48522
+ self._RestPath = params.get("RestPath")
48523
+ self._RestMethod = params.get("RestMethod")
48524
+ self._Description = params.get("Description")
48525
+ self._ModuleId = params.get("ModuleId")
48526
+ self._Type = params.get("Type")
48527
+ memeber_set = set(params.keys())
48528
+ for name, value in vars(self).items():
48529
+ property_name = name[1:]
48530
+ if property_name in memeber_set:
48531
+ memeber_set.remove(property_name)
48532
+ if len(memeber_set) > 0:
48533
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
48534
+
48535
+
48536
+
48087
48537
  class Rule(AbstractModel):
48088
48538
  """数据质量规则
48089
48539
 
@@ -56124,6 +56574,148 @@ class SuspendIntegrationTaskResponse(AbstractModel):
56124
56574
  self._RequestId = params.get("RequestId")
56125
56575
 
56126
56576
 
56577
+ class SystemRole(AbstractModel):
56578
+ """角色对象
56579
+
56580
+ """
56581
+
56582
+ def __init__(self):
56583
+ r"""
56584
+ :param _RoleId: 角色id
56585
+ :type RoleId: str
56586
+ :param _Name: 角色名称
56587
+ 注意:此字段可能返回 null,表示取不到有效值。
56588
+ :type Name: str
56589
+ :param _NameCn: 角色昵称
56590
+ 注意:此字段可能返回 null,表示取不到有效值。
56591
+ :type NameCn: str
56592
+ :param _Description: 描述
56593
+ 注意:此字段可能返回 null,表示取不到有效值。
56594
+ :type Description: str
56595
+ :param _Privileges: 角色权限
56596
+ 注意:此字段可能返回 null,表示取不到有效值。
56597
+ :type Privileges: list of RolePrivilege
56598
+ :param _MethodPaths: 方法路径
56599
+ 注意:此字段可能返回 null,表示取不到有效值。
56600
+ :type MethodPaths: list of str
56601
+ :param _RoleType: 角色类型, 分为System,Tenant,Project,Commercial
56602
+ 注意:此字段可能返回 null,表示取不到有效值。
56603
+ :type RoleType: str
56604
+ :param _SystemInit: 是否系统默认
56605
+ 注意:此字段可能返回 null,表示取不到有效值。
56606
+ :type SystemInit: bool
56607
+ :param _Params: 自定义参数
56608
+ 注意:此字段可能返回 null,表示取不到有效值。
56609
+ :type Params: str
56610
+ """
56611
+ self._RoleId = None
56612
+ self._Name = None
56613
+ self._NameCn = None
56614
+ self._Description = None
56615
+ self._Privileges = None
56616
+ self._MethodPaths = None
56617
+ self._RoleType = None
56618
+ self._SystemInit = None
56619
+ self._Params = None
56620
+
56621
+ @property
56622
+ def RoleId(self):
56623
+ return self._RoleId
56624
+
56625
+ @RoleId.setter
56626
+ def RoleId(self, RoleId):
56627
+ self._RoleId = RoleId
56628
+
56629
+ @property
56630
+ def Name(self):
56631
+ return self._Name
56632
+
56633
+ @Name.setter
56634
+ def Name(self, Name):
56635
+ self._Name = Name
56636
+
56637
+ @property
56638
+ def NameCn(self):
56639
+ return self._NameCn
56640
+
56641
+ @NameCn.setter
56642
+ def NameCn(self, NameCn):
56643
+ self._NameCn = NameCn
56644
+
56645
+ @property
56646
+ def Description(self):
56647
+ return self._Description
56648
+
56649
+ @Description.setter
56650
+ def Description(self, Description):
56651
+ self._Description = Description
56652
+
56653
+ @property
56654
+ def Privileges(self):
56655
+ return self._Privileges
56656
+
56657
+ @Privileges.setter
56658
+ def Privileges(self, Privileges):
56659
+ self._Privileges = Privileges
56660
+
56661
+ @property
56662
+ def MethodPaths(self):
56663
+ return self._MethodPaths
56664
+
56665
+ @MethodPaths.setter
56666
+ def MethodPaths(self, MethodPaths):
56667
+ self._MethodPaths = MethodPaths
56668
+
56669
+ @property
56670
+ def RoleType(self):
56671
+ return self._RoleType
56672
+
56673
+ @RoleType.setter
56674
+ def RoleType(self, RoleType):
56675
+ self._RoleType = RoleType
56676
+
56677
+ @property
56678
+ def SystemInit(self):
56679
+ return self._SystemInit
56680
+
56681
+ @SystemInit.setter
56682
+ def SystemInit(self, SystemInit):
56683
+ self._SystemInit = SystemInit
56684
+
56685
+ @property
56686
+ def Params(self):
56687
+ return self._Params
56688
+
56689
+ @Params.setter
56690
+ def Params(self, Params):
56691
+ self._Params = Params
56692
+
56693
+
56694
+ def _deserialize(self, params):
56695
+ self._RoleId = params.get("RoleId")
56696
+ self._Name = params.get("Name")
56697
+ self._NameCn = params.get("NameCn")
56698
+ self._Description = params.get("Description")
56699
+ if params.get("Privileges") is not None:
56700
+ self._Privileges = []
56701
+ for item in params.get("Privileges"):
56702
+ obj = RolePrivilege()
56703
+ obj._deserialize(item)
56704
+ self._Privileges.append(obj)
56705
+ self._MethodPaths = params.get("MethodPaths")
56706
+ self._RoleType = params.get("RoleType")
56707
+ self._SystemInit = params.get("SystemInit")
56708
+ self._Params = params.get("Params")
56709
+ memeber_set = set(params.keys())
56710
+ for name, value in vars(self).items():
56711
+ property_name = name[1:]
56712
+ if property_name in memeber_set:
56713
+ memeber_set.remove(property_name)
56714
+ if len(memeber_set) > 0:
56715
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
56716
+
56717
+
56718
+
56127
56719
  class Table(AbstractModel):
56128
56720
  """Table
56129
56721
 
@@ -2671,6 +2671,29 @@ class WedataClient(AbstractClient):
2671
2671
  raise TencentCloudSDKException(type(e).__name__, str(e))
2672
2672
 
2673
2673
 
2674
+ def DescribeProjectUsers(self, request):
2675
+ """获取项目下的用户,分页返回
2676
+
2677
+ :param request: Request instance for DescribeProjectUsers.
2678
+ :type request: :class:`tencentcloud.wedata.v20210820.models.DescribeProjectUsersRequest`
2679
+ :rtype: :class:`tencentcloud.wedata.v20210820.models.DescribeProjectUsersResponse`
2680
+
2681
+ """
2682
+ try:
2683
+ params = request._serialize()
2684
+ headers = request.headers
2685
+ body = self.call("DescribeProjectUsers", params, headers=headers)
2686
+ response = json.loads(body)
2687
+ model = models.DescribeProjectUsersResponse()
2688
+ model._deserialize(response["Response"])
2689
+ return model
2690
+ except Exception as e:
2691
+ if isinstance(e, TencentCloudSDKException):
2692
+ raise
2693
+ else:
2694
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2695
+
2696
+
2674
2697
  def DescribeQualityScore(self, request):
2675
2698
  """质量报告-质量评分
2676
2699
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1253
3
+ Version: 3.0.1255
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud