tencentcloud-sdk-python 3.0.1444__py2.py3-none-any.whl → 3.0.1446__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (37) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cbs/v20170312/models.py +17 -2
  3. tencentcloud/ccc/v20200210/models.py +21 -0
  4. tencentcloud/cls/v20201016/models.py +393 -62
  5. tencentcloud/dlc/v20210125/dlc_client.py +161 -0
  6. tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  7. tencentcloud/dlc/v20210125/models.py +1019 -0
  8. tencentcloud/emr/v20190103/errorcodes.py +3 -0
  9. tencentcloud/es/v20180416/models.py +85 -0
  10. tencentcloud/ess/v20201111/models.py +137 -0
  11. tencentcloud/essbasic/v20210526/models.py +122 -0
  12. tencentcloud/ioa/v20220601/models.py +78 -50
  13. tencentcloud/lke/v20231130/lke_client.py +1 -1
  14. tencentcloud/lke/v20231130/models.py +1998 -50
  15. tencentcloud/mps/v20190612/models.py +55 -10
  16. tencentcloud/ocr/v20181119/models.py +15 -0
  17. tencentcloud/partners/v20180321/models.py +4 -4
  18. tencentcloud/postgres/v20170312/models.py +2 -2
  19. tencentcloud/sqlserver/v20180328/models.py +6 -6
  20. tencentcloud/tbaas/v20180416/models.py +12 -12
  21. tencentcloud/tcaplusdb/v20190823/models.py +0 -328
  22. tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
  23. tencentcloud/tdmq/v20200217/models.py +51 -17
  24. tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
  25. tencentcloud/trabbit/v20230418/models.py +15 -0
  26. tencentcloud/trocket/v20230308/models.py +2 -2
  27. tencentcloud/tse/v20201207/models.py +15 -0
  28. tencentcloud/tsf/v20180326/errorcodes.py +6 -0
  29. tencentcloud/tsf/v20180326/models.py +240 -82
  30. tencentcloud/tsf/v20180326/tsf_client.py +1 -1
  31. tencentcloud/vod/v20180717/models.py +505 -6
  32. tencentcloud/vod/v20180717/vod_client.py +101 -0
  33. {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/RECORD +37 -37
  35. {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/LICENSE +0 -0
  36. {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/WHEEL +0 -0
  37. {tencentcloud_sdk_python-3.0.1444.dist-info → tencentcloud_sdk_python-3.0.1446.dist-info}/top_level.txt +0 -0
@@ -1796,6 +1796,75 @@ class AssociateDatasourceHouseResponse(AbstractModel):
1796
1796
  self._RequestId = params.get("RequestId")
1797
1797
 
1798
1798
 
1799
+ class AttachDataMaskPolicyRequest(AbstractModel):
1800
+ """AttachDataMaskPolicy请求参数结构体
1801
+
1802
+ """
1803
+
1804
+ def __init__(self):
1805
+ r"""
1806
+ :param _DataMaskStrategyPolicySet: 要绑定的数据脱敏策略权限对象集合
1807
+ :type DataMaskStrategyPolicySet: list of DataMaskStrategyPolicy
1808
+ """
1809
+ self._DataMaskStrategyPolicySet = None
1810
+
1811
+ @property
1812
+ def DataMaskStrategyPolicySet(self):
1813
+ """要绑定的数据脱敏策略权限对象集合
1814
+ :rtype: list of DataMaskStrategyPolicy
1815
+ """
1816
+ return self._DataMaskStrategyPolicySet
1817
+
1818
+ @DataMaskStrategyPolicySet.setter
1819
+ def DataMaskStrategyPolicySet(self, DataMaskStrategyPolicySet):
1820
+ self._DataMaskStrategyPolicySet = DataMaskStrategyPolicySet
1821
+
1822
+
1823
+ def _deserialize(self, params):
1824
+ if params.get("DataMaskStrategyPolicySet") is not None:
1825
+ self._DataMaskStrategyPolicySet = []
1826
+ for item in params.get("DataMaskStrategyPolicySet"):
1827
+ obj = DataMaskStrategyPolicy()
1828
+ obj._deserialize(item)
1829
+ self._DataMaskStrategyPolicySet.append(obj)
1830
+ memeber_set = set(params.keys())
1831
+ for name, value in vars(self).items():
1832
+ property_name = name[1:]
1833
+ if property_name in memeber_set:
1834
+ memeber_set.remove(property_name)
1835
+ if len(memeber_set) > 0:
1836
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1837
+
1838
+
1839
+
1840
+ class AttachDataMaskPolicyResponse(AbstractModel):
1841
+ """AttachDataMaskPolicy返回参数结构体
1842
+
1843
+ """
1844
+
1845
+ def __init__(self):
1846
+ r"""
1847
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1848
+ :type RequestId: str
1849
+ """
1850
+ self._RequestId = None
1851
+
1852
+ @property
1853
+ def RequestId(self):
1854
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1855
+ :rtype: str
1856
+ """
1857
+ return self._RequestId
1858
+
1859
+ @RequestId.setter
1860
+ def RequestId(self, RequestId):
1861
+ self._RequestId = RequestId
1862
+
1863
+
1864
+ def _deserialize(self, params):
1865
+ self._RequestId = params.get("RequestId")
1866
+
1867
+
1799
1868
  class AttachUserPolicyRequest(AbstractModel):
1800
1869
  """AttachUserPolicy请求参数结构体
1801
1870
 
@@ -4945,6 +5014,72 @@ class CreateDataEngineResponse(AbstractModel):
4945
5014
  self._RequestId = params.get("RequestId")
4946
5015
 
4947
5016
 
5017
+ class CreateDataMaskStrategyRequest(AbstractModel):
5018
+ """CreateDataMaskStrategy请求参数结构体
5019
+
5020
+ """
5021
+
5022
+ def __init__(self):
5023
+ r"""
5024
+ :param _Strategy: 数据脱敏策略详情
5025
+ :type Strategy: :class:`tencentcloud.dlc.v20210125.models.DataMaskStrategyInfo`
5026
+ """
5027
+ self._Strategy = None
5028
+
5029
+ @property
5030
+ def Strategy(self):
5031
+ """数据脱敏策略详情
5032
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.DataMaskStrategyInfo`
5033
+ """
5034
+ return self._Strategy
5035
+
5036
+ @Strategy.setter
5037
+ def Strategy(self, Strategy):
5038
+ self._Strategy = Strategy
5039
+
5040
+
5041
+ def _deserialize(self, params):
5042
+ if params.get("Strategy") is not None:
5043
+ self._Strategy = DataMaskStrategyInfo()
5044
+ self._Strategy._deserialize(params.get("Strategy"))
5045
+ memeber_set = set(params.keys())
5046
+ for name, value in vars(self).items():
5047
+ property_name = name[1:]
5048
+ if property_name in memeber_set:
5049
+ memeber_set.remove(property_name)
5050
+ if len(memeber_set) > 0:
5051
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5052
+
5053
+
5054
+
5055
+ class CreateDataMaskStrategyResponse(AbstractModel):
5056
+ """CreateDataMaskStrategy返回参数结构体
5057
+
5058
+ """
5059
+
5060
+ def __init__(self):
5061
+ r"""
5062
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5063
+ :type RequestId: str
5064
+ """
5065
+ self._RequestId = None
5066
+
5067
+ @property
5068
+ def RequestId(self):
5069
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5070
+ :rtype: str
5071
+ """
5072
+ return self._RequestId
5073
+
5074
+ @RequestId.setter
5075
+ def RequestId(self, RequestId):
5076
+ self._RequestId = RequestId
5077
+
5078
+
5079
+ def _deserialize(self, params):
5080
+ self._RequestId = params.get("RequestId")
5081
+
5082
+
4948
5083
  class CreateDatabaseRequest(AbstractModel):
4949
5084
  """CreateDatabase请求参数结构体
4950
5085
 
@@ -12326,6 +12461,236 @@ class DataGovernPolicy(AbstractModel):
12326
12461
 
12327
12462
 
12328
12463
 
12464
+ class DataMaskStrategy(AbstractModel):
12465
+ """数据脱敏策略信息
12466
+
12467
+ """
12468
+
12469
+ def __init__(self):
12470
+ r"""
12471
+ :param _StrategyId: 策略ID
12472
+ 注意:此字段可能返回 null,表示取不到有效值。
12473
+ :type StrategyId: str
12474
+ :param _UserAppId: 用户AppId
12475
+ 注意:此字段可能返回 null,表示取不到有效值。
12476
+ :type UserAppId: str
12477
+ :param _Uin: 用户Uin
12478
+ 注意:此字段可能返回 null,表示取不到有效值。
12479
+ :type Uin: str
12480
+ :param _SubAccountUin: 操作用户子账号uin
12481
+ 注意:此字段可能返回 null,表示取不到有效值。
12482
+ :type SubAccountUin: str
12483
+ :param _StrategyName: 策略名称
12484
+ 注意:此字段可能返回 null,表示取不到有效值。
12485
+ :type StrategyName: str
12486
+ :param _StrategyType: MASK_SHOW_FIRST_4; MASK_SHOW_LAST_4;MASK_HASH; MASK_DATE_SHOW_YEAR; MASK_NULL; MASK_DEFAULT 等
12487
+ 注意:此字段可能返回 null,表示取不到有效值。
12488
+ :type StrategyType: str
12489
+ :param _StrategyDesc: 策略描述
12490
+ 注意:此字段可能返回 null,表示取不到有效值。
12491
+ :type StrategyDesc: str
12492
+ :param _Groups: 用户组策略列表
12493
+ 注意:此字段可能返回 null,表示取不到有效值。
12494
+ :type Groups: list of GroupInfo
12495
+ :param _Users: 用户子账号uin列表,按;拼接
12496
+ 注意:此字段可能返回 null,表示取不到有效值。
12497
+ :type Users: str
12498
+ :param _State: 1: 生效中; 0:已删除
12499
+ 注意:此字段可能返回 null,表示取不到有效值。
12500
+ :type State: int
12501
+ :param _CreateTime: 策略创建时间,毫秒时间戳
12502
+ 注意:此字段可能返回 null,表示取不到有效值。
12503
+ :type CreateTime: int
12504
+ :param _UpdateTime: 策略更新时间,毫秒时间戳
12505
+ 注意:此字段可能返回 null,表示取不到有效值。
12506
+ :type UpdateTime: int
12507
+ """
12508
+ self._StrategyId = None
12509
+ self._UserAppId = None
12510
+ self._Uin = None
12511
+ self._SubAccountUin = None
12512
+ self._StrategyName = None
12513
+ self._StrategyType = None
12514
+ self._StrategyDesc = None
12515
+ self._Groups = None
12516
+ self._Users = None
12517
+ self._State = None
12518
+ self._CreateTime = None
12519
+ self._UpdateTime = None
12520
+
12521
+ @property
12522
+ def StrategyId(self):
12523
+ """策略ID
12524
+ 注意:此字段可能返回 null,表示取不到有效值。
12525
+ :rtype: str
12526
+ """
12527
+ return self._StrategyId
12528
+
12529
+ @StrategyId.setter
12530
+ def StrategyId(self, StrategyId):
12531
+ self._StrategyId = StrategyId
12532
+
12533
+ @property
12534
+ def UserAppId(self):
12535
+ """用户AppId
12536
+ 注意:此字段可能返回 null,表示取不到有效值。
12537
+ :rtype: str
12538
+ """
12539
+ return self._UserAppId
12540
+
12541
+ @UserAppId.setter
12542
+ def UserAppId(self, UserAppId):
12543
+ self._UserAppId = UserAppId
12544
+
12545
+ @property
12546
+ def Uin(self):
12547
+ """用户Uin
12548
+ 注意:此字段可能返回 null,表示取不到有效值。
12549
+ :rtype: str
12550
+ """
12551
+ return self._Uin
12552
+
12553
+ @Uin.setter
12554
+ def Uin(self, Uin):
12555
+ self._Uin = Uin
12556
+
12557
+ @property
12558
+ def SubAccountUin(self):
12559
+ """操作用户子账号uin
12560
+ 注意:此字段可能返回 null,表示取不到有效值。
12561
+ :rtype: str
12562
+ """
12563
+ return self._SubAccountUin
12564
+
12565
+ @SubAccountUin.setter
12566
+ def SubAccountUin(self, SubAccountUin):
12567
+ self._SubAccountUin = SubAccountUin
12568
+
12569
+ @property
12570
+ def StrategyName(self):
12571
+ """策略名称
12572
+ 注意:此字段可能返回 null,表示取不到有效值。
12573
+ :rtype: str
12574
+ """
12575
+ return self._StrategyName
12576
+
12577
+ @StrategyName.setter
12578
+ def StrategyName(self, StrategyName):
12579
+ self._StrategyName = StrategyName
12580
+
12581
+ @property
12582
+ def StrategyType(self):
12583
+ """MASK_SHOW_FIRST_4; MASK_SHOW_LAST_4;MASK_HASH; MASK_DATE_SHOW_YEAR; MASK_NULL; MASK_DEFAULT 等
12584
+ 注意:此字段可能返回 null,表示取不到有效值。
12585
+ :rtype: str
12586
+ """
12587
+ return self._StrategyType
12588
+
12589
+ @StrategyType.setter
12590
+ def StrategyType(self, StrategyType):
12591
+ self._StrategyType = StrategyType
12592
+
12593
+ @property
12594
+ def StrategyDesc(self):
12595
+ """策略描述
12596
+ 注意:此字段可能返回 null,表示取不到有效值。
12597
+ :rtype: str
12598
+ """
12599
+ return self._StrategyDesc
12600
+
12601
+ @StrategyDesc.setter
12602
+ def StrategyDesc(self, StrategyDesc):
12603
+ self._StrategyDesc = StrategyDesc
12604
+
12605
+ @property
12606
+ def Groups(self):
12607
+ """用户组策略列表
12608
+ 注意:此字段可能返回 null,表示取不到有效值。
12609
+ :rtype: list of GroupInfo
12610
+ """
12611
+ return self._Groups
12612
+
12613
+ @Groups.setter
12614
+ def Groups(self, Groups):
12615
+ self._Groups = Groups
12616
+
12617
+ @property
12618
+ def Users(self):
12619
+ """用户子账号uin列表,按;拼接
12620
+ 注意:此字段可能返回 null,表示取不到有效值。
12621
+ :rtype: str
12622
+ """
12623
+ return self._Users
12624
+
12625
+ @Users.setter
12626
+ def Users(self, Users):
12627
+ self._Users = Users
12628
+
12629
+ @property
12630
+ def State(self):
12631
+ """1: 生效中; 0:已删除
12632
+ 注意:此字段可能返回 null,表示取不到有效值。
12633
+ :rtype: int
12634
+ """
12635
+ return self._State
12636
+
12637
+ @State.setter
12638
+ def State(self, State):
12639
+ self._State = State
12640
+
12641
+ @property
12642
+ def CreateTime(self):
12643
+ """策略创建时间,毫秒时间戳
12644
+ 注意:此字段可能返回 null,表示取不到有效值。
12645
+ :rtype: int
12646
+ """
12647
+ return self._CreateTime
12648
+
12649
+ @CreateTime.setter
12650
+ def CreateTime(self, CreateTime):
12651
+ self._CreateTime = CreateTime
12652
+
12653
+ @property
12654
+ def UpdateTime(self):
12655
+ """策略更新时间,毫秒时间戳
12656
+ 注意:此字段可能返回 null,表示取不到有效值。
12657
+ :rtype: int
12658
+ """
12659
+ return self._UpdateTime
12660
+
12661
+ @UpdateTime.setter
12662
+ def UpdateTime(self, UpdateTime):
12663
+ self._UpdateTime = UpdateTime
12664
+
12665
+
12666
+ def _deserialize(self, params):
12667
+ self._StrategyId = params.get("StrategyId")
12668
+ self._UserAppId = params.get("UserAppId")
12669
+ self._Uin = params.get("Uin")
12670
+ self._SubAccountUin = params.get("SubAccountUin")
12671
+ self._StrategyName = params.get("StrategyName")
12672
+ self._StrategyType = params.get("StrategyType")
12673
+ self._StrategyDesc = params.get("StrategyDesc")
12674
+ if params.get("Groups") is not None:
12675
+ self._Groups = []
12676
+ for item in params.get("Groups"):
12677
+ obj = GroupInfo()
12678
+ obj._deserialize(item)
12679
+ self._Groups.append(obj)
12680
+ self._Users = params.get("Users")
12681
+ self._State = params.get("State")
12682
+ self._CreateTime = params.get("CreateTime")
12683
+ self._UpdateTime = params.get("UpdateTime")
12684
+ memeber_set = set(params.keys())
12685
+ for name, value in vars(self).items():
12686
+ property_name = name[1:]
12687
+ if property_name in memeber_set:
12688
+ memeber_set.remove(property_name)
12689
+ if len(memeber_set) > 0:
12690
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12691
+
12692
+
12693
+
12329
12694
  class DataMaskStrategyInfo(AbstractModel):
12330
12695
  """数据脱敏策略信息
12331
12696
 
@@ -12444,6 +12809,80 @@ class DataMaskStrategyInfo(AbstractModel):
12444
12809
 
12445
12810
 
12446
12811
 
12812
+ class DataMaskStrategyPolicy(AbstractModel):
12813
+ """数据脱敏策略权限对象
12814
+
12815
+ """
12816
+
12817
+ def __init__(self):
12818
+ r"""
12819
+ :param _PolicyInfo: 数据脱敏权限对象
12820
+ 注意:此字段可能返回 null,表示取不到有效值。
12821
+ :type PolicyInfo: :class:`tencentcloud.dlc.v20210125.models.Policy`
12822
+ :param _DataMaskStrategyId: 数据脱敏策略ID
12823
+ 注意:此字段可能返回 null,表示取不到有效值。
12824
+ :type DataMaskStrategyId: str
12825
+ :param _ColumnType: 绑定字段类型
12826
+ 注意:此字段可能返回 null,表示取不到有效值。
12827
+ :type ColumnType: str
12828
+ """
12829
+ self._PolicyInfo = None
12830
+ self._DataMaskStrategyId = None
12831
+ self._ColumnType = None
12832
+
12833
+ @property
12834
+ def PolicyInfo(self):
12835
+ """数据脱敏权限对象
12836
+ 注意:此字段可能返回 null,表示取不到有效值。
12837
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.Policy`
12838
+ """
12839
+ return self._PolicyInfo
12840
+
12841
+ @PolicyInfo.setter
12842
+ def PolicyInfo(self, PolicyInfo):
12843
+ self._PolicyInfo = PolicyInfo
12844
+
12845
+ @property
12846
+ def DataMaskStrategyId(self):
12847
+ """数据脱敏策略ID
12848
+ 注意:此字段可能返回 null,表示取不到有效值。
12849
+ :rtype: str
12850
+ """
12851
+ return self._DataMaskStrategyId
12852
+
12853
+ @DataMaskStrategyId.setter
12854
+ def DataMaskStrategyId(self, DataMaskStrategyId):
12855
+ self._DataMaskStrategyId = DataMaskStrategyId
12856
+
12857
+ @property
12858
+ def ColumnType(self):
12859
+ """绑定字段类型
12860
+ 注意:此字段可能返回 null,表示取不到有效值。
12861
+ :rtype: str
12862
+ """
12863
+ return self._ColumnType
12864
+
12865
+ @ColumnType.setter
12866
+ def ColumnType(self, ColumnType):
12867
+ self._ColumnType = ColumnType
12868
+
12869
+
12870
+ def _deserialize(self, params):
12871
+ if params.get("PolicyInfo") is not None:
12872
+ self._PolicyInfo = Policy()
12873
+ self._PolicyInfo._deserialize(params.get("PolicyInfo"))
12874
+ self._DataMaskStrategyId = params.get("DataMaskStrategyId")
12875
+ self._ColumnType = params.get("ColumnType")
12876
+ memeber_set = set(params.keys())
12877
+ for name, value in vars(self).items():
12878
+ property_name = name[1:]
12879
+ if property_name in memeber_set:
12880
+ memeber_set.remove(property_name)
12881
+ if len(memeber_set) > 0:
12882
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12883
+
12884
+
12885
+
12447
12886
  class DataSourceInfo(AbstractModel):
12448
12887
  """数据源详细信息
12449
12888
 
@@ -13693,6 +14132,70 @@ class DeleteDataEngineResponse(AbstractModel):
13693
14132
  self._RequestId = params.get("RequestId")
13694
14133
 
13695
14134
 
14135
+ class DeleteDataMaskStrategyRequest(AbstractModel):
14136
+ """DeleteDataMaskStrategy请求参数结构体
14137
+
14138
+ """
14139
+
14140
+ def __init__(self):
14141
+ r"""
14142
+ :param _StrategyId: 数据脱敏策略Id
14143
+ :type StrategyId: str
14144
+ """
14145
+ self._StrategyId = None
14146
+
14147
+ @property
14148
+ def StrategyId(self):
14149
+ """数据脱敏策略Id
14150
+ :rtype: str
14151
+ """
14152
+ return self._StrategyId
14153
+
14154
+ @StrategyId.setter
14155
+ def StrategyId(self, StrategyId):
14156
+ self._StrategyId = StrategyId
14157
+
14158
+
14159
+ def _deserialize(self, params):
14160
+ self._StrategyId = params.get("StrategyId")
14161
+ memeber_set = set(params.keys())
14162
+ for name, value in vars(self).items():
14163
+ property_name = name[1:]
14164
+ if property_name in memeber_set:
14165
+ memeber_set.remove(property_name)
14166
+ if len(memeber_set) > 0:
14167
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14168
+
14169
+
14170
+
14171
+ class DeleteDataMaskStrategyResponse(AbstractModel):
14172
+ """DeleteDataMaskStrategy返回参数结构体
14173
+
14174
+ """
14175
+
14176
+ def __init__(self):
14177
+ r"""
14178
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14179
+ :type RequestId: str
14180
+ """
14181
+ self._RequestId = None
14182
+
14183
+ @property
14184
+ def RequestId(self):
14185
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14186
+ :rtype: str
14187
+ """
14188
+ return self._RequestId
14189
+
14190
+ @RequestId.setter
14191
+ def RequestId(self, RequestId):
14192
+ self._RequestId = RequestId
14193
+
14194
+
14195
+ def _deserialize(self, params):
14196
+ self._RequestId = params.get("RequestId")
14197
+
14198
+
13696
14199
  class DeleteNativeSparkSessionRequest(AbstractModel):
13697
14200
  """DeleteNativeSparkSession请求参数结构体
13698
14201
 
@@ -17163,6 +17666,140 @@ class DescribeDataEnginesScaleDetailResponse(AbstractModel):
17163
17666
  self._RequestId = params.get("RequestId")
17164
17667
 
17165
17668
 
17669
+ class DescribeDataMaskStrategiesRequest(AbstractModel):
17670
+ """DescribeDataMaskStrategies请求参数结构体
17671
+
17672
+ """
17673
+
17674
+ def __init__(self):
17675
+ r"""
17676
+ :param _Limit: 分页参数,单页返回数据量,默认10
17677
+ :type Limit: int
17678
+ :param _Offset: 分页参数,数据便偏移量,默认0
17679
+ :type Offset: int
17680
+ :param _Filters: 过滤字段,strategy-name: 按策略名称搜索
17681
+ :type Filters: list of Filter
17682
+ """
17683
+ self._Limit = None
17684
+ self._Offset = None
17685
+ self._Filters = None
17686
+
17687
+ @property
17688
+ def Limit(self):
17689
+ """分页参数,单页返回数据量,默认10
17690
+ :rtype: int
17691
+ """
17692
+ return self._Limit
17693
+
17694
+ @Limit.setter
17695
+ def Limit(self, Limit):
17696
+ self._Limit = Limit
17697
+
17698
+ @property
17699
+ def Offset(self):
17700
+ """分页参数,数据便偏移量,默认0
17701
+ :rtype: int
17702
+ """
17703
+ return self._Offset
17704
+
17705
+ @Offset.setter
17706
+ def Offset(self, Offset):
17707
+ self._Offset = Offset
17708
+
17709
+ @property
17710
+ def Filters(self):
17711
+ """过滤字段,strategy-name: 按策略名称搜索
17712
+ :rtype: list of Filter
17713
+ """
17714
+ return self._Filters
17715
+
17716
+ @Filters.setter
17717
+ def Filters(self, Filters):
17718
+ self._Filters = Filters
17719
+
17720
+
17721
+ def _deserialize(self, params):
17722
+ self._Limit = params.get("Limit")
17723
+ self._Offset = params.get("Offset")
17724
+ if params.get("Filters") is not None:
17725
+ self._Filters = []
17726
+ for item in params.get("Filters"):
17727
+ obj = Filter()
17728
+ obj._deserialize(item)
17729
+ self._Filters.append(obj)
17730
+ memeber_set = set(params.keys())
17731
+ for name, value in vars(self).items():
17732
+ property_name = name[1:]
17733
+ if property_name in memeber_set:
17734
+ memeber_set.remove(property_name)
17735
+ if len(memeber_set) > 0:
17736
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17737
+
17738
+
17739
+
17740
+ class DescribeDataMaskStrategiesResponse(AbstractModel):
17741
+ """DescribeDataMaskStrategies返回参数结构体
17742
+
17743
+ """
17744
+
17745
+ def __init__(self):
17746
+ r"""
17747
+ :param _TotalCount: 总数据脱敏策略数
17748
+ :type TotalCount: int
17749
+ :param _Strategies: 数据脱敏策略列表
17750
+ :type Strategies: list of DataMaskStrategy
17751
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17752
+ :type RequestId: str
17753
+ """
17754
+ self._TotalCount = None
17755
+ self._Strategies = None
17756
+ self._RequestId = None
17757
+
17758
+ @property
17759
+ def TotalCount(self):
17760
+ """总数据脱敏策略数
17761
+ :rtype: int
17762
+ """
17763
+ return self._TotalCount
17764
+
17765
+ @TotalCount.setter
17766
+ def TotalCount(self, TotalCount):
17767
+ self._TotalCount = TotalCount
17768
+
17769
+ @property
17770
+ def Strategies(self):
17771
+ """数据脱敏策略列表
17772
+ :rtype: list of DataMaskStrategy
17773
+ """
17774
+ return self._Strategies
17775
+
17776
+ @Strategies.setter
17777
+ def Strategies(self, Strategies):
17778
+ self._Strategies = Strategies
17779
+
17780
+ @property
17781
+ def RequestId(self):
17782
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17783
+ :rtype: str
17784
+ """
17785
+ return self._RequestId
17786
+
17787
+ @RequestId.setter
17788
+ def RequestId(self, RequestId):
17789
+ self._RequestId = RequestId
17790
+
17791
+
17792
+ def _deserialize(self, params):
17793
+ self._TotalCount = params.get("TotalCount")
17794
+ if params.get("Strategies") is not None:
17795
+ self._Strategies = []
17796
+ for item in params.get("Strategies"):
17797
+ obj = DataMaskStrategy()
17798
+ obj._deserialize(item)
17799
+ self._Strategies.append(obj)
17800
+ self._RequestId = params.get("RequestId")
17801
+
17802
+
17166
17803
  class DescribeDatabasesRequest(AbstractModel):
17167
17804
  """DescribeDatabases请求参数结构体
17168
17805
 
@@ -23289,6 +23926,120 @@ class DescribeThirdPartyAccessUserResponse(AbstractModel):
23289
23926
  self._RequestId = params.get("RequestId")
23290
23927
 
23291
23928
 
23929
+ class DescribeUDFPolicyRequest(AbstractModel):
23930
+ """DescribeUDFPolicy请求参数结构体
23931
+
23932
+ """
23933
+
23934
+ def __init__(self):
23935
+ r"""
23936
+ :param _Name: udf名称
23937
+ :type Name: str
23938
+ :param _DatabaseName: 数据库名(全局UDF:global-function)
23939
+ :type DatabaseName: str
23940
+ :param _CatalogName: 数据目录名
23941
+ :type CatalogName: str
23942
+ """
23943
+ self._Name = None
23944
+ self._DatabaseName = None
23945
+ self._CatalogName = None
23946
+
23947
+ @property
23948
+ def Name(self):
23949
+ """udf名称
23950
+ :rtype: str
23951
+ """
23952
+ return self._Name
23953
+
23954
+ @Name.setter
23955
+ def Name(self, Name):
23956
+ self._Name = Name
23957
+
23958
+ @property
23959
+ def DatabaseName(self):
23960
+ """数据库名(全局UDF:global-function)
23961
+ :rtype: str
23962
+ """
23963
+ return self._DatabaseName
23964
+
23965
+ @DatabaseName.setter
23966
+ def DatabaseName(self, DatabaseName):
23967
+ self._DatabaseName = DatabaseName
23968
+
23969
+ @property
23970
+ def CatalogName(self):
23971
+ """数据目录名
23972
+ :rtype: str
23973
+ """
23974
+ return self._CatalogName
23975
+
23976
+ @CatalogName.setter
23977
+ def CatalogName(self, CatalogName):
23978
+ self._CatalogName = CatalogName
23979
+
23980
+
23981
+ def _deserialize(self, params):
23982
+ self._Name = params.get("Name")
23983
+ self._DatabaseName = params.get("DatabaseName")
23984
+ self._CatalogName = params.get("CatalogName")
23985
+ memeber_set = set(params.keys())
23986
+ for name, value in vars(self).items():
23987
+ property_name = name[1:]
23988
+ if property_name in memeber_set:
23989
+ memeber_set.remove(property_name)
23990
+ if len(memeber_set) > 0:
23991
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23992
+
23993
+
23994
+
23995
+ class DescribeUDFPolicyResponse(AbstractModel):
23996
+ """DescribeUDFPolicy返回参数结构体
23997
+
23998
+ """
23999
+
24000
+ def __init__(self):
24001
+ r"""
24002
+ :param _UDFPolicyInfos: UDF权限信息
24003
+ :type UDFPolicyInfos: list of UDFPolicyInfo
24004
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
24005
+ :type RequestId: str
24006
+ """
24007
+ self._UDFPolicyInfos = None
24008
+ self._RequestId = None
24009
+
24010
+ @property
24011
+ def UDFPolicyInfos(self):
24012
+ """UDF权限信息
24013
+ :rtype: list of UDFPolicyInfo
24014
+ """
24015
+ return self._UDFPolicyInfos
24016
+
24017
+ @UDFPolicyInfos.setter
24018
+ def UDFPolicyInfos(self, UDFPolicyInfos):
24019
+ self._UDFPolicyInfos = UDFPolicyInfos
24020
+
24021
+ @property
24022
+ def RequestId(self):
24023
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
24024
+ :rtype: str
24025
+ """
24026
+ return self._RequestId
24027
+
24028
+ @RequestId.setter
24029
+ def RequestId(self, RequestId):
24030
+ self._RequestId = RequestId
24031
+
24032
+
24033
+ def _deserialize(self, params):
24034
+ if params.get("UDFPolicyInfos") is not None:
24035
+ self._UDFPolicyInfos = []
24036
+ for item in params.get("UDFPolicyInfos"):
24037
+ obj = UDFPolicyInfo()
24038
+ obj._deserialize(item)
24039
+ self._UDFPolicyInfos.append(obj)
24040
+ self._RequestId = params.get("RequestId")
24041
+
24042
+
23292
24043
  class DescribeUpdatableDataEnginesRequest(AbstractModel):
23293
24044
  """DescribeUpdatableDataEngines请求参数结构体
23294
24045
 
@@ -39590,6 +40341,74 @@ class TextFile(AbstractModel):
39590
40341
 
39591
40342
 
39592
40343
 
40344
+ class UDFPolicyInfo(AbstractModel):
40345
+ """UDF权限信息
40346
+
40347
+ """
40348
+
40349
+ def __init__(self):
40350
+ r"""
40351
+ :param _Accesses: 权限类型
40352
+ 示例:select,alter,drop
40353
+ :type Accesses: list of str
40354
+ :param _Users: 拥有权限的用户信息
40355
+ :type Users: list of str
40356
+ :param _Groups: 拥有权限的工作组的信息
40357
+ :type Groups: list of str
40358
+ """
40359
+ self._Accesses = None
40360
+ self._Users = None
40361
+ self._Groups = None
40362
+
40363
+ @property
40364
+ def Accesses(self):
40365
+ """权限类型
40366
+ 示例:select,alter,drop
40367
+ :rtype: list of str
40368
+ """
40369
+ return self._Accesses
40370
+
40371
+ @Accesses.setter
40372
+ def Accesses(self, Accesses):
40373
+ self._Accesses = Accesses
40374
+
40375
+ @property
40376
+ def Users(self):
40377
+ """拥有权限的用户信息
40378
+ :rtype: list of str
40379
+ """
40380
+ return self._Users
40381
+
40382
+ @Users.setter
40383
+ def Users(self, Users):
40384
+ self._Users = Users
40385
+
40386
+ @property
40387
+ def Groups(self):
40388
+ """拥有权限的工作组的信息
40389
+ :rtype: list of str
40390
+ """
40391
+ return self._Groups
40392
+
40393
+ @Groups.setter
40394
+ def Groups(self, Groups):
40395
+ self._Groups = Groups
40396
+
40397
+
40398
+ def _deserialize(self, params):
40399
+ self._Accesses = params.get("Accesses")
40400
+ self._Users = params.get("Users")
40401
+ self._Groups = params.get("Groups")
40402
+ memeber_set = set(params.keys())
40403
+ for name, value in vars(self).items():
40404
+ property_name = name[1:]
40405
+ if property_name in memeber_set:
40406
+ memeber_set.remove(property_name)
40407
+ if len(memeber_set) > 0:
40408
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40409
+
40410
+
40411
+
39593
40412
  class UnbindWorkGroupsFromUserRequest(AbstractModel):
39594
40413
  """UnbindWorkGroupsFromUser请求参数结构体
39595
40414
 
@@ -40259,6 +41078,72 @@ class UpdateDataEngineResponse(AbstractModel):
40259
41078
  self._RequestId = params.get("RequestId")
40260
41079
 
40261
41080
 
41081
+ class UpdateDataMaskStrategyRequest(AbstractModel):
41082
+ """UpdateDataMaskStrategy请求参数结构体
41083
+
41084
+ """
41085
+
41086
+ def __init__(self):
41087
+ r"""
41088
+ :param _Strategy: 数据脱敏策略详情
41089
+ :type Strategy: :class:`tencentcloud.dlc.v20210125.models.DataMaskStrategyInfo`
41090
+ """
41091
+ self._Strategy = None
41092
+
41093
+ @property
41094
+ def Strategy(self):
41095
+ """数据脱敏策略详情
41096
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.DataMaskStrategyInfo`
41097
+ """
41098
+ return self._Strategy
41099
+
41100
+ @Strategy.setter
41101
+ def Strategy(self, Strategy):
41102
+ self._Strategy = Strategy
41103
+
41104
+
41105
+ def _deserialize(self, params):
41106
+ if params.get("Strategy") is not None:
41107
+ self._Strategy = DataMaskStrategyInfo()
41108
+ self._Strategy._deserialize(params.get("Strategy"))
41109
+ memeber_set = set(params.keys())
41110
+ for name, value in vars(self).items():
41111
+ property_name = name[1:]
41112
+ if property_name in memeber_set:
41113
+ memeber_set.remove(property_name)
41114
+ if len(memeber_set) > 0:
41115
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
41116
+
41117
+
41118
+
41119
+ class UpdateDataMaskStrategyResponse(AbstractModel):
41120
+ """UpdateDataMaskStrategy返回参数结构体
41121
+
41122
+ """
41123
+
41124
+ def __init__(self):
41125
+ r"""
41126
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
41127
+ :type RequestId: str
41128
+ """
41129
+ self._RequestId = None
41130
+
41131
+ @property
41132
+ def RequestId(self):
41133
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
41134
+ :rtype: str
41135
+ """
41136
+ return self._RequestId
41137
+
41138
+ @RequestId.setter
41139
+ def RequestId(self, RequestId):
41140
+ self._RequestId = RequestId
41141
+
41142
+
41143
+ def _deserialize(self, params):
41144
+ self._RequestId = params.get("RequestId")
41145
+
41146
+
40262
41147
  class UpdateEngineResourceGroupNetworkConfigInfoRequest(AbstractModel):
40263
41148
  """UpdateEngineResourceGroupNetworkConfigInfo请求参数结构体
40264
41149
 
@@ -41044,6 +41929,140 @@ class UpdateStandardEngineResourceGroupResourceInfoResponse(AbstractModel):
41044
41929
  self._RequestId = params.get("RequestId")
41045
41930
 
41046
41931
 
41932
+ class UpdateUDFPolicyRequest(AbstractModel):
41933
+ """UpdateUDFPolicy请求参数结构体
41934
+
41935
+ """
41936
+
41937
+ def __init__(self):
41938
+ r"""
41939
+ :param _Name: UDF名称
41940
+ :type Name: str
41941
+ :param _DatabaseName: 数据库名
41942
+ :type DatabaseName: str
41943
+ :param _CatalogName: 数据目录名
41944
+ :type CatalogName: str
41945
+ :param _UDFPolicyInfos: UDF权限信息
41946
+ :type UDFPolicyInfos: list of UDFPolicyInfo
41947
+ """
41948
+ self._Name = None
41949
+ self._DatabaseName = None
41950
+ self._CatalogName = None
41951
+ self._UDFPolicyInfos = None
41952
+
41953
+ @property
41954
+ def Name(self):
41955
+ """UDF名称
41956
+ :rtype: str
41957
+ """
41958
+ return self._Name
41959
+
41960
+ @Name.setter
41961
+ def Name(self, Name):
41962
+ self._Name = Name
41963
+
41964
+ @property
41965
+ def DatabaseName(self):
41966
+ """数据库名
41967
+ :rtype: str
41968
+ """
41969
+ return self._DatabaseName
41970
+
41971
+ @DatabaseName.setter
41972
+ def DatabaseName(self, DatabaseName):
41973
+ self._DatabaseName = DatabaseName
41974
+
41975
+ @property
41976
+ def CatalogName(self):
41977
+ """数据目录名
41978
+ :rtype: str
41979
+ """
41980
+ return self._CatalogName
41981
+
41982
+ @CatalogName.setter
41983
+ def CatalogName(self, CatalogName):
41984
+ self._CatalogName = CatalogName
41985
+
41986
+ @property
41987
+ def UDFPolicyInfos(self):
41988
+ """UDF权限信息
41989
+ :rtype: list of UDFPolicyInfo
41990
+ """
41991
+ return self._UDFPolicyInfos
41992
+
41993
+ @UDFPolicyInfos.setter
41994
+ def UDFPolicyInfos(self, UDFPolicyInfos):
41995
+ self._UDFPolicyInfos = UDFPolicyInfos
41996
+
41997
+
41998
+ def _deserialize(self, params):
41999
+ self._Name = params.get("Name")
42000
+ self._DatabaseName = params.get("DatabaseName")
42001
+ self._CatalogName = params.get("CatalogName")
42002
+ if params.get("UDFPolicyInfos") is not None:
42003
+ self._UDFPolicyInfos = []
42004
+ for item in params.get("UDFPolicyInfos"):
42005
+ obj = UDFPolicyInfo()
42006
+ obj._deserialize(item)
42007
+ self._UDFPolicyInfos.append(obj)
42008
+ memeber_set = set(params.keys())
42009
+ for name, value in vars(self).items():
42010
+ property_name = name[1:]
42011
+ if property_name in memeber_set:
42012
+ memeber_set.remove(property_name)
42013
+ if len(memeber_set) > 0:
42014
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
42015
+
42016
+
42017
+
42018
+ class UpdateUDFPolicyResponse(AbstractModel):
42019
+ """UpdateUDFPolicy返回参数结构体
42020
+
42021
+ """
42022
+
42023
+ def __init__(self):
42024
+ r"""
42025
+ :param _UDFPolicyInfos: UDF权限信息
42026
+ :type UDFPolicyInfos: list of UDFPolicyInfo
42027
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
42028
+ :type RequestId: str
42029
+ """
42030
+ self._UDFPolicyInfos = None
42031
+ self._RequestId = None
42032
+
42033
+ @property
42034
+ def UDFPolicyInfos(self):
42035
+ """UDF权限信息
42036
+ :rtype: list of UDFPolicyInfo
42037
+ """
42038
+ return self._UDFPolicyInfos
42039
+
42040
+ @UDFPolicyInfos.setter
42041
+ def UDFPolicyInfos(self, UDFPolicyInfos):
42042
+ self._UDFPolicyInfos = UDFPolicyInfos
42043
+
42044
+ @property
42045
+ def RequestId(self):
42046
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
42047
+ :rtype: str
42048
+ """
42049
+ return self._RequestId
42050
+
42051
+ @RequestId.setter
42052
+ def RequestId(self, RequestId):
42053
+ self._RequestId = RequestId
42054
+
42055
+
42056
+ def _deserialize(self, params):
42057
+ if params.get("UDFPolicyInfos") is not None:
42058
+ self._UDFPolicyInfos = []
42059
+ for item in params.get("UDFPolicyInfos"):
42060
+ obj = UDFPolicyInfo()
42061
+ obj._deserialize(item)
42062
+ self._UDFPolicyInfos.append(obj)
42063
+ self._RequestId = params.get("RequestId")
42064
+
42065
+
41047
42066
  class UpdateUserDataEngineConfigRequest(AbstractModel):
41048
42067
  """UpdateUserDataEngineConfig请求参数结构体
41049
42068