tencentcloud-sdk-python-intl-en 3.0.1289__py2.py3-none-any.whl → 3.0.1291__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/models.py +184 -0
- tencentcloud/clb/v20180317/clb_client.py +4 -4
- tencentcloud/clb/v20180317/errorcodes.py +9 -0
- tencentcloud/clb/v20180317/models.py +27 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +1286 -75
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/models.py +504 -0
- tencentcloud/mdl/v20200326/models.py +191 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +15 -0
- tencentcloud/mongodb/v20190725/models.py +1276 -463
- tencentcloud/mongodb/v20190725/mongodb_client.py +75 -6
- tencentcloud/monitor/v20180724/models.py +1351 -124
- tencentcloud/monitor/v20180724/monitor_client.py +118 -0
- tencentcloud/mps/v20190612/models.py +366 -62
- tencentcloud/quota/v20241204/models.py +17 -2
- tencentcloud/redis/v20180412/models.py +410 -168
- tencentcloud/redis/v20180412/redis_client.py +4 -4
- tencentcloud/wedata/v20250806/__init__.py +0 -0
- tencentcloud/wedata/v20250806/errorcodes.py +57 -0
- tencentcloud/wedata/v20250806/models.py +26375 -0
- tencentcloud/wedata/v20250806/wedata_client.py +1797 -0
- {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/RECORD +29 -25
- {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1289.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/top_level.txt +0 -0
|
@@ -716,6 +716,29 @@ class DlcClient(AbstractClient):
|
|
|
716
716
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
717
717
|
|
|
718
718
|
|
|
719
|
+
def DeleteDataMaskStrategy(self, request):
|
|
720
|
+
r"""This API is used to delete a data masking policy.
|
|
721
|
+
|
|
722
|
+
:param request: Request instance for DeleteDataMaskStrategy.
|
|
723
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DeleteDataMaskStrategyRequest`
|
|
724
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DeleteDataMaskStrategyResponse`
|
|
725
|
+
|
|
726
|
+
"""
|
|
727
|
+
try:
|
|
728
|
+
params = request._serialize()
|
|
729
|
+
headers = request.headers
|
|
730
|
+
body = self.call("DeleteDataMaskStrategy", params, headers=headers)
|
|
731
|
+
response = json.loads(body)
|
|
732
|
+
model = models.DeleteDataMaskStrategyResponse()
|
|
733
|
+
model._deserialize(response["Response"])
|
|
734
|
+
return model
|
|
735
|
+
except Exception as e:
|
|
736
|
+
if isinstance(e, TencentCloudSDKException):
|
|
737
|
+
raise
|
|
738
|
+
else:
|
|
739
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
|
+
|
|
741
|
+
|
|
719
742
|
def DeleteSparkApp(self, request):
|
|
720
743
|
r"""This API is used to delete a Spark job.
|
|
721
744
|
|
|
@@ -1061,6 +1084,29 @@ class DlcClient(AbstractClient):
|
|
|
1061
1084
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1062
1085
|
|
|
1063
1086
|
|
|
1087
|
+
def DescribeDataMaskStrategies(self, request):
|
|
1088
|
+
r"""This API is used to query the DMask list.
|
|
1089
|
+
|
|
1090
|
+
:param request: Request instance for DescribeDataMaskStrategies.
|
|
1091
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeDataMaskStrategiesRequest`
|
|
1092
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeDataMaskStrategiesResponse`
|
|
1093
|
+
|
|
1094
|
+
"""
|
|
1095
|
+
try:
|
|
1096
|
+
params = request._serialize()
|
|
1097
|
+
headers = request.headers
|
|
1098
|
+
body = self.call("DescribeDataMaskStrategies", params, headers=headers)
|
|
1099
|
+
response = json.loads(body)
|
|
1100
|
+
model = models.DescribeDataMaskStrategiesResponse()
|
|
1101
|
+
model._deserialize(response["Response"])
|
|
1102
|
+
return model
|
|
1103
|
+
except Exception as e:
|
|
1104
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1105
|
+
raise
|
|
1106
|
+
else:
|
|
1107
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1108
|
+
|
|
1109
|
+
|
|
1064
1110
|
def DescribeEngineUsageInfo(self, request):
|
|
1065
1111
|
r"""This API is used to query the resource usage of a data engine based on its ID.
|
|
1066
1112
|
|
|
@@ -2395,6 +2441,29 @@ class DlcClient(AbstractClient):
|
|
|
2395
2441
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2396
2442
|
|
|
2397
2443
|
|
|
2444
|
+
def UpdateDataMaskStrategy(self, request):
|
|
2445
|
+
r"""This API is used to update the DMask policy.
|
|
2446
|
+
|
|
2447
|
+
:param request: Request instance for UpdateDataMaskStrategy.
|
|
2448
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.UpdateDataMaskStrategyRequest`
|
|
2449
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.UpdateDataMaskStrategyResponse`
|
|
2450
|
+
|
|
2451
|
+
"""
|
|
2452
|
+
try:
|
|
2453
|
+
params = request._serialize()
|
|
2454
|
+
headers = request.headers
|
|
2455
|
+
body = self.call("UpdateDataMaskStrategy", params, headers=headers)
|
|
2456
|
+
response = json.loads(body)
|
|
2457
|
+
model = models.UpdateDataMaskStrategyResponse()
|
|
2458
|
+
model._deserialize(response["Response"])
|
|
2459
|
+
return model
|
|
2460
|
+
except Exception as e:
|
|
2461
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2462
|
+
raise
|
|
2463
|
+
else:
|
|
2464
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2465
|
+
|
|
2466
|
+
|
|
2398
2467
|
def UpdateRowFilter(self, request):
|
|
2399
2468
|
r"""This API is used to update row filters. Please note that it updates filters only but not catalogs, databases, or tables.
|
|
2400
2469
|
|
|
@@ -7906,6 +7906,246 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7906
7906
|
|
|
7907
7907
|
|
|
7908
7908
|
|
|
7909
|
+
class DataMaskStrategy(AbstractModel):
|
|
7910
|
+
r"""DMask policy information.
|
|
7911
|
+
|
|
7912
|
+
"""
|
|
7913
|
+
|
|
7914
|
+
def __init__(self):
|
|
7915
|
+
r"""
|
|
7916
|
+
:param _StrategyId: Policy ID
|
|
7917
|
+
|
|
7918
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7919
|
+
:type StrategyId: str
|
|
7920
|
+
:param _UserAppId: User AppId
|
|
7921
|
+
|
|
7922
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7923
|
+
:type UserAppId: str
|
|
7924
|
+
:param _Uin: User UIN
|
|
7925
|
+
|
|
7926
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7927
|
+
:type Uin: str
|
|
7928
|
+
:param _SubAccountUin: Specifies the uin of the user sub-account to operate.
|
|
7929
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7930
|
+
:type SubAccountUin: str
|
|
7931
|
+
:param _StrategyName: Policy name
|
|
7932
|
+
|
|
7933
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7934
|
+
:type StrategyName: str
|
|
7935
|
+
:param _StrategyType: MASK_SHOW_FIRST_4, MASK_SHOW_LAST_4, MASK_HASH, MASK_DATE_SHOW_YEAR, MASK_NULL, MASK_DEFAULT.
|
|
7936
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7937
|
+
:type StrategyType: str
|
|
7938
|
+
:param _StrategyDesc: Policy description
|
|
7939
|
+
|
|
7940
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7941
|
+
:type StrategyDesc: str
|
|
7942
|
+
:param _Groups: User group policy list.
|
|
7943
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7944
|
+
:type Groups: list of GroupInfo
|
|
7945
|
+
:param _Users: User sub-account uin list, concatenated by ;.
|
|
7946
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7947
|
+
:type Users: str
|
|
7948
|
+
:param _State: 1: in effect; 0: deleted.
|
|
7949
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7950
|
+
:type State: int
|
|
7951
|
+
:param _CreateTime: Policy creation time. timestamp in milliseconds.
|
|
7952
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7953
|
+
:type CreateTime: int
|
|
7954
|
+
:param _UpdateTime: Policy update time. timestamp in milliseconds.
|
|
7955
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7956
|
+
:type UpdateTime: int
|
|
7957
|
+
"""
|
|
7958
|
+
self._StrategyId = None
|
|
7959
|
+
self._UserAppId = None
|
|
7960
|
+
self._Uin = None
|
|
7961
|
+
self._SubAccountUin = None
|
|
7962
|
+
self._StrategyName = None
|
|
7963
|
+
self._StrategyType = None
|
|
7964
|
+
self._StrategyDesc = None
|
|
7965
|
+
self._Groups = None
|
|
7966
|
+
self._Users = None
|
|
7967
|
+
self._State = None
|
|
7968
|
+
self._CreateTime = None
|
|
7969
|
+
self._UpdateTime = None
|
|
7970
|
+
|
|
7971
|
+
@property
|
|
7972
|
+
def StrategyId(self):
|
|
7973
|
+
r"""Policy ID
|
|
7974
|
+
|
|
7975
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7976
|
+
:rtype: str
|
|
7977
|
+
"""
|
|
7978
|
+
return self._StrategyId
|
|
7979
|
+
|
|
7980
|
+
@StrategyId.setter
|
|
7981
|
+
def StrategyId(self, StrategyId):
|
|
7982
|
+
self._StrategyId = StrategyId
|
|
7983
|
+
|
|
7984
|
+
@property
|
|
7985
|
+
def UserAppId(self):
|
|
7986
|
+
r"""User AppId
|
|
7987
|
+
|
|
7988
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7989
|
+
:rtype: str
|
|
7990
|
+
"""
|
|
7991
|
+
return self._UserAppId
|
|
7992
|
+
|
|
7993
|
+
@UserAppId.setter
|
|
7994
|
+
def UserAppId(self, UserAppId):
|
|
7995
|
+
self._UserAppId = UserAppId
|
|
7996
|
+
|
|
7997
|
+
@property
|
|
7998
|
+
def Uin(self):
|
|
7999
|
+
r"""User UIN
|
|
8000
|
+
|
|
8001
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8002
|
+
:rtype: str
|
|
8003
|
+
"""
|
|
8004
|
+
return self._Uin
|
|
8005
|
+
|
|
8006
|
+
@Uin.setter
|
|
8007
|
+
def Uin(self, Uin):
|
|
8008
|
+
self._Uin = Uin
|
|
8009
|
+
|
|
8010
|
+
@property
|
|
8011
|
+
def SubAccountUin(self):
|
|
8012
|
+
r"""Specifies the uin of the user sub-account to operate.
|
|
8013
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8014
|
+
:rtype: str
|
|
8015
|
+
"""
|
|
8016
|
+
return self._SubAccountUin
|
|
8017
|
+
|
|
8018
|
+
@SubAccountUin.setter
|
|
8019
|
+
def SubAccountUin(self, SubAccountUin):
|
|
8020
|
+
self._SubAccountUin = SubAccountUin
|
|
8021
|
+
|
|
8022
|
+
@property
|
|
8023
|
+
def StrategyName(self):
|
|
8024
|
+
r"""Policy name
|
|
8025
|
+
|
|
8026
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8027
|
+
:rtype: str
|
|
8028
|
+
"""
|
|
8029
|
+
return self._StrategyName
|
|
8030
|
+
|
|
8031
|
+
@StrategyName.setter
|
|
8032
|
+
def StrategyName(self, StrategyName):
|
|
8033
|
+
self._StrategyName = StrategyName
|
|
8034
|
+
|
|
8035
|
+
@property
|
|
8036
|
+
def StrategyType(self):
|
|
8037
|
+
r"""MASK_SHOW_FIRST_4, MASK_SHOW_LAST_4, MASK_HASH, MASK_DATE_SHOW_YEAR, MASK_NULL, MASK_DEFAULT.
|
|
8038
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8039
|
+
:rtype: str
|
|
8040
|
+
"""
|
|
8041
|
+
return self._StrategyType
|
|
8042
|
+
|
|
8043
|
+
@StrategyType.setter
|
|
8044
|
+
def StrategyType(self, StrategyType):
|
|
8045
|
+
self._StrategyType = StrategyType
|
|
8046
|
+
|
|
8047
|
+
@property
|
|
8048
|
+
def StrategyDesc(self):
|
|
8049
|
+
r"""Policy description
|
|
8050
|
+
|
|
8051
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8052
|
+
:rtype: str
|
|
8053
|
+
"""
|
|
8054
|
+
return self._StrategyDesc
|
|
8055
|
+
|
|
8056
|
+
@StrategyDesc.setter
|
|
8057
|
+
def StrategyDesc(self, StrategyDesc):
|
|
8058
|
+
self._StrategyDesc = StrategyDesc
|
|
8059
|
+
|
|
8060
|
+
@property
|
|
8061
|
+
def Groups(self):
|
|
8062
|
+
r"""User group policy list.
|
|
8063
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8064
|
+
:rtype: list of GroupInfo
|
|
8065
|
+
"""
|
|
8066
|
+
return self._Groups
|
|
8067
|
+
|
|
8068
|
+
@Groups.setter
|
|
8069
|
+
def Groups(self, Groups):
|
|
8070
|
+
self._Groups = Groups
|
|
8071
|
+
|
|
8072
|
+
@property
|
|
8073
|
+
def Users(self):
|
|
8074
|
+
r"""User sub-account uin list, concatenated by ;.
|
|
8075
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8076
|
+
:rtype: str
|
|
8077
|
+
"""
|
|
8078
|
+
return self._Users
|
|
8079
|
+
|
|
8080
|
+
@Users.setter
|
|
8081
|
+
def Users(self, Users):
|
|
8082
|
+
self._Users = Users
|
|
8083
|
+
|
|
8084
|
+
@property
|
|
8085
|
+
def State(self):
|
|
8086
|
+
r"""1: in effect; 0: deleted.
|
|
8087
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8088
|
+
:rtype: int
|
|
8089
|
+
"""
|
|
8090
|
+
return self._State
|
|
8091
|
+
|
|
8092
|
+
@State.setter
|
|
8093
|
+
def State(self, State):
|
|
8094
|
+
self._State = State
|
|
8095
|
+
|
|
8096
|
+
@property
|
|
8097
|
+
def CreateTime(self):
|
|
8098
|
+
r"""Policy creation time. timestamp in milliseconds.
|
|
8099
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8100
|
+
:rtype: int
|
|
8101
|
+
"""
|
|
8102
|
+
return self._CreateTime
|
|
8103
|
+
|
|
8104
|
+
@CreateTime.setter
|
|
8105
|
+
def CreateTime(self, CreateTime):
|
|
8106
|
+
self._CreateTime = CreateTime
|
|
8107
|
+
|
|
8108
|
+
@property
|
|
8109
|
+
def UpdateTime(self):
|
|
8110
|
+
r"""Policy update time. timestamp in milliseconds.
|
|
8111
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8112
|
+
:rtype: int
|
|
8113
|
+
"""
|
|
8114
|
+
return self._UpdateTime
|
|
8115
|
+
|
|
8116
|
+
@UpdateTime.setter
|
|
8117
|
+
def UpdateTime(self, UpdateTime):
|
|
8118
|
+
self._UpdateTime = UpdateTime
|
|
8119
|
+
|
|
8120
|
+
|
|
8121
|
+
def _deserialize(self, params):
|
|
8122
|
+
self._StrategyId = params.get("StrategyId")
|
|
8123
|
+
self._UserAppId = params.get("UserAppId")
|
|
8124
|
+
self._Uin = params.get("Uin")
|
|
8125
|
+
self._SubAccountUin = params.get("SubAccountUin")
|
|
8126
|
+
self._StrategyName = params.get("StrategyName")
|
|
8127
|
+
self._StrategyType = params.get("StrategyType")
|
|
8128
|
+
self._StrategyDesc = params.get("StrategyDesc")
|
|
8129
|
+
if params.get("Groups") is not None:
|
|
8130
|
+
self._Groups = []
|
|
8131
|
+
for item in params.get("Groups"):
|
|
8132
|
+
obj = GroupInfo()
|
|
8133
|
+
obj._deserialize(item)
|
|
8134
|
+
self._Groups.append(obj)
|
|
8135
|
+
self._Users = params.get("Users")
|
|
8136
|
+
self._State = params.get("State")
|
|
8137
|
+
self._CreateTime = params.get("CreateTime")
|
|
8138
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
8139
|
+
memeber_set = set(params.keys())
|
|
8140
|
+
for name, value in vars(self).items():
|
|
8141
|
+
property_name = name[1:]
|
|
8142
|
+
if property_name in memeber_set:
|
|
8143
|
+
memeber_set.remove(property_name)
|
|
8144
|
+
if len(memeber_set) > 0:
|
|
8145
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8146
|
+
|
|
8147
|
+
|
|
8148
|
+
|
|
7909
8149
|
class DataMaskStrategyInfo(AbstractModel):
|
|
7910
8150
|
r"""DMask policy information.
|
|
7911
8151
|
|
|
@@ -8291,6 +8531,70 @@ class DeleteDataEngineResponse(AbstractModel):
|
|
|
8291
8531
|
self._RequestId = params.get("RequestId")
|
|
8292
8532
|
|
|
8293
8533
|
|
|
8534
|
+
class DeleteDataMaskStrategyRequest(AbstractModel):
|
|
8535
|
+
r"""DeleteDataMaskStrategy request structure.
|
|
8536
|
+
|
|
8537
|
+
"""
|
|
8538
|
+
|
|
8539
|
+
def __init__(self):
|
|
8540
|
+
r"""
|
|
8541
|
+
:param _StrategyId: DMask policy Id. specifies the Id of the data masking policy.
|
|
8542
|
+
:type StrategyId: str
|
|
8543
|
+
"""
|
|
8544
|
+
self._StrategyId = None
|
|
8545
|
+
|
|
8546
|
+
@property
|
|
8547
|
+
def StrategyId(self):
|
|
8548
|
+
r"""DMask policy Id. specifies the Id of the data masking policy.
|
|
8549
|
+
:rtype: str
|
|
8550
|
+
"""
|
|
8551
|
+
return self._StrategyId
|
|
8552
|
+
|
|
8553
|
+
@StrategyId.setter
|
|
8554
|
+
def StrategyId(self, StrategyId):
|
|
8555
|
+
self._StrategyId = StrategyId
|
|
8556
|
+
|
|
8557
|
+
|
|
8558
|
+
def _deserialize(self, params):
|
|
8559
|
+
self._StrategyId = params.get("StrategyId")
|
|
8560
|
+
memeber_set = set(params.keys())
|
|
8561
|
+
for name, value in vars(self).items():
|
|
8562
|
+
property_name = name[1:]
|
|
8563
|
+
if property_name in memeber_set:
|
|
8564
|
+
memeber_set.remove(property_name)
|
|
8565
|
+
if len(memeber_set) > 0:
|
|
8566
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8567
|
+
|
|
8568
|
+
|
|
8569
|
+
|
|
8570
|
+
class DeleteDataMaskStrategyResponse(AbstractModel):
|
|
8571
|
+
r"""DeleteDataMaskStrategy response structure.
|
|
8572
|
+
|
|
8573
|
+
"""
|
|
8574
|
+
|
|
8575
|
+
def __init__(self):
|
|
8576
|
+
r"""
|
|
8577
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8578
|
+
:type RequestId: str
|
|
8579
|
+
"""
|
|
8580
|
+
self._RequestId = None
|
|
8581
|
+
|
|
8582
|
+
@property
|
|
8583
|
+
def RequestId(self):
|
|
8584
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8585
|
+
:rtype: str
|
|
8586
|
+
"""
|
|
8587
|
+
return self._RequestId
|
|
8588
|
+
|
|
8589
|
+
@RequestId.setter
|
|
8590
|
+
def RequestId(self, RequestId):
|
|
8591
|
+
self._RequestId = RequestId
|
|
8592
|
+
|
|
8593
|
+
|
|
8594
|
+
def _deserialize(self, params):
|
|
8595
|
+
self._RequestId = params.get("RequestId")
|
|
8596
|
+
|
|
8597
|
+
|
|
8294
8598
|
class DeleteSparkAppRequest(AbstractModel):
|
|
8295
8599
|
r"""DeleteSparkApp request structure.
|
|
8296
8600
|
|
|
@@ -9984,6 +10288,140 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
9984
10288
|
self._RequestId = params.get("RequestId")
|
|
9985
10289
|
|
|
9986
10290
|
|
|
10291
|
+
class DescribeDataMaskStrategiesRequest(AbstractModel):
|
|
10292
|
+
r"""DescribeDataMaskStrategies request structure.
|
|
10293
|
+
|
|
10294
|
+
"""
|
|
10295
|
+
|
|
10296
|
+
def __init__(self):
|
|
10297
|
+
r"""
|
|
10298
|
+
:param _Limit: The pagination parameter, specifies the amount of data returned per page. it is 10 by default.
|
|
10299
|
+
:type Limit: int
|
|
10300
|
+
:param _Offset: Pagination parameters. data offset. default: 0.
|
|
10301
|
+
:type Offset: int
|
|
10302
|
+
:param _Filters: Filter field. strategy-name: search by policy name.
|
|
10303
|
+
:type Filters: list of Filter
|
|
10304
|
+
"""
|
|
10305
|
+
self._Limit = None
|
|
10306
|
+
self._Offset = None
|
|
10307
|
+
self._Filters = None
|
|
10308
|
+
|
|
10309
|
+
@property
|
|
10310
|
+
def Limit(self):
|
|
10311
|
+
r"""The pagination parameter, specifies the amount of data returned per page. it is 10 by default.
|
|
10312
|
+
:rtype: int
|
|
10313
|
+
"""
|
|
10314
|
+
return self._Limit
|
|
10315
|
+
|
|
10316
|
+
@Limit.setter
|
|
10317
|
+
def Limit(self, Limit):
|
|
10318
|
+
self._Limit = Limit
|
|
10319
|
+
|
|
10320
|
+
@property
|
|
10321
|
+
def Offset(self):
|
|
10322
|
+
r"""Pagination parameters. data offset. default: 0.
|
|
10323
|
+
:rtype: int
|
|
10324
|
+
"""
|
|
10325
|
+
return self._Offset
|
|
10326
|
+
|
|
10327
|
+
@Offset.setter
|
|
10328
|
+
def Offset(self, Offset):
|
|
10329
|
+
self._Offset = Offset
|
|
10330
|
+
|
|
10331
|
+
@property
|
|
10332
|
+
def Filters(self):
|
|
10333
|
+
r"""Filter field. strategy-name: search by policy name.
|
|
10334
|
+
:rtype: list of Filter
|
|
10335
|
+
"""
|
|
10336
|
+
return self._Filters
|
|
10337
|
+
|
|
10338
|
+
@Filters.setter
|
|
10339
|
+
def Filters(self, Filters):
|
|
10340
|
+
self._Filters = Filters
|
|
10341
|
+
|
|
10342
|
+
|
|
10343
|
+
def _deserialize(self, params):
|
|
10344
|
+
self._Limit = params.get("Limit")
|
|
10345
|
+
self._Offset = params.get("Offset")
|
|
10346
|
+
if params.get("Filters") is not None:
|
|
10347
|
+
self._Filters = []
|
|
10348
|
+
for item in params.get("Filters"):
|
|
10349
|
+
obj = Filter()
|
|
10350
|
+
obj._deserialize(item)
|
|
10351
|
+
self._Filters.append(obj)
|
|
10352
|
+
memeber_set = set(params.keys())
|
|
10353
|
+
for name, value in vars(self).items():
|
|
10354
|
+
property_name = name[1:]
|
|
10355
|
+
if property_name in memeber_set:
|
|
10356
|
+
memeber_set.remove(property_name)
|
|
10357
|
+
if len(memeber_set) > 0:
|
|
10358
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10359
|
+
|
|
10360
|
+
|
|
10361
|
+
|
|
10362
|
+
class DescribeDataMaskStrategiesResponse(AbstractModel):
|
|
10363
|
+
r"""DescribeDataMaskStrategies response structure.
|
|
10364
|
+
|
|
10365
|
+
"""
|
|
10366
|
+
|
|
10367
|
+
def __init__(self):
|
|
10368
|
+
r"""
|
|
10369
|
+
:param _TotalCount: Total DMask policies.
|
|
10370
|
+
:type TotalCount: int
|
|
10371
|
+
:param _Strategies: DMask policy list. specifies the list of data masking policies.
|
|
10372
|
+
:type Strategies: list of DataMaskStrategy
|
|
10373
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10374
|
+
:type RequestId: str
|
|
10375
|
+
"""
|
|
10376
|
+
self._TotalCount = None
|
|
10377
|
+
self._Strategies = None
|
|
10378
|
+
self._RequestId = None
|
|
10379
|
+
|
|
10380
|
+
@property
|
|
10381
|
+
def TotalCount(self):
|
|
10382
|
+
r"""Total DMask policies.
|
|
10383
|
+
:rtype: int
|
|
10384
|
+
"""
|
|
10385
|
+
return self._TotalCount
|
|
10386
|
+
|
|
10387
|
+
@TotalCount.setter
|
|
10388
|
+
def TotalCount(self, TotalCount):
|
|
10389
|
+
self._TotalCount = TotalCount
|
|
10390
|
+
|
|
10391
|
+
@property
|
|
10392
|
+
def Strategies(self):
|
|
10393
|
+
r"""DMask policy list. specifies the list of data masking policies.
|
|
10394
|
+
:rtype: list of DataMaskStrategy
|
|
10395
|
+
"""
|
|
10396
|
+
return self._Strategies
|
|
10397
|
+
|
|
10398
|
+
@Strategies.setter
|
|
10399
|
+
def Strategies(self, Strategies):
|
|
10400
|
+
self._Strategies = Strategies
|
|
10401
|
+
|
|
10402
|
+
@property
|
|
10403
|
+
def RequestId(self):
|
|
10404
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10405
|
+
:rtype: str
|
|
10406
|
+
"""
|
|
10407
|
+
return self._RequestId
|
|
10408
|
+
|
|
10409
|
+
@RequestId.setter
|
|
10410
|
+
def RequestId(self, RequestId):
|
|
10411
|
+
self._RequestId = RequestId
|
|
10412
|
+
|
|
10413
|
+
|
|
10414
|
+
def _deserialize(self, params):
|
|
10415
|
+
self._TotalCount = params.get("TotalCount")
|
|
10416
|
+
if params.get("Strategies") is not None:
|
|
10417
|
+
self._Strategies = []
|
|
10418
|
+
for item in params.get("Strategies"):
|
|
10419
|
+
obj = DataMaskStrategy()
|
|
10420
|
+
obj._deserialize(item)
|
|
10421
|
+
self._Strategies.append(obj)
|
|
10422
|
+
self._RequestId = params.get("RequestId")
|
|
10423
|
+
|
|
10424
|
+
|
|
9987
10425
|
class DescribeEngineUsageInfoRequest(AbstractModel):
|
|
9988
10426
|
r"""DescribeEngineUsageInfo request structure.
|
|
9989
10427
|
|
|
@@ -23248,6 +23686,72 @@ class UpdateDataEngineResponse(AbstractModel):
|
|
|
23248
23686
|
self._RequestId = params.get("RequestId")
|
|
23249
23687
|
|
|
23250
23688
|
|
|
23689
|
+
class UpdateDataMaskStrategyRequest(AbstractModel):
|
|
23690
|
+
r"""UpdateDataMaskStrategy request structure.
|
|
23691
|
+
|
|
23692
|
+
"""
|
|
23693
|
+
|
|
23694
|
+
def __init__(self):
|
|
23695
|
+
r"""
|
|
23696
|
+
:param _Strategy: Masking policy description.
|
|
23697
|
+
:type Strategy: :class:`tencentcloud.dlc.v20210125.models.DataMaskStrategyInfo`
|
|
23698
|
+
"""
|
|
23699
|
+
self._Strategy = None
|
|
23700
|
+
|
|
23701
|
+
@property
|
|
23702
|
+
def Strategy(self):
|
|
23703
|
+
r"""Masking policy description.
|
|
23704
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DataMaskStrategyInfo`
|
|
23705
|
+
"""
|
|
23706
|
+
return self._Strategy
|
|
23707
|
+
|
|
23708
|
+
@Strategy.setter
|
|
23709
|
+
def Strategy(self, Strategy):
|
|
23710
|
+
self._Strategy = Strategy
|
|
23711
|
+
|
|
23712
|
+
|
|
23713
|
+
def _deserialize(self, params):
|
|
23714
|
+
if params.get("Strategy") is not None:
|
|
23715
|
+
self._Strategy = DataMaskStrategyInfo()
|
|
23716
|
+
self._Strategy._deserialize(params.get("Strategy"))
|
|
23717
|
+
memeber_set = set(params.keys())
|
|
23718
|
+
for name, value in vars(self).items():
|
|
23719
|
+
property_name = name[1:]
|
|
23720
|
+
if property_name in memeber_set:
|
|
23721
|
+
memeber_set.remove(property_name)
|
|
23722
|
+
if len(memeber_set) > 0:
|
|
23723
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23724
|
+
|
|
23725
|
+
|
|
23726
|
+
|
|
23727
|
+
class UpdateDataMaskStrategyResponse(AbstractModel):
|
|
23728
|
+
r"""UpdateDataMaskStrategy response structure.
|
|
23729
|
+
|
|
23730
|
+
"""
|
|
23731
|
+
|
|
23732
|
+
def __init__(self):
|
|
23733
|
+
r"""
|
|
23734
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
23735
|
+
:type RequestId: str
|
|
23736
|
+
"""
|
|
23737
|
+
self._RequestId = None
|
|
23738
|
+
|
|
23739
|
+
@property
|
|
23740
|
+
def RequestId(self):
|
|
23741
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
23742
|
+
:rtype: str
|
|
23743
|
+
"""
|
|
23744
|
+
return self._RequestId
|
|
23745
|
+
|
|
23746
|
+
@RequestId.setter
|
|
23747
|
+
def RequestId(self, RequestId):
|
|
23748
|
+
self._RequestId = RequestId
|
|
23749
|
+
|
|
23750
|
+
|
|
23751
|
+
def _deserialize(self, params):
|
|
23752
|
+
self._RequestId = params.get("RequestId")
|
|
23753
|
+
|
|
23754
|
+
|
|
23251
23755
|
class UpdateRowFilterRequest(AbstractModel):
|
|
23252
23756
|
r"""UpdateRowFilter request structure.
|
|
23253
23757
|
|