tencentcloud-sdk-python-dsgc 3.0.1215__tar.gz → 3.0.1217__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.
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/setup.py +1 -1
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud/dsgc/v20190723/models.py +115 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud_sdk_python_dsgc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dsgc-3.0.1217/tencentcloud_sdk_python_dsgc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dsgc-3.0.1215/tencentcloud_sdk_python_dsgc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/README.rst +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud/dsgc/__init__.py +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud/dsgc/v20190723/__init__.py +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud/dsgc/v20190723/dsgc_client.py +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud/dsgc/v20190723/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud_sdk_python_dsgc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud_sdk_python_dsgc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1215 → tencentcloud-sdk-python-dsgc-3.0.1217}/tencentcloud_sdk_python_dsgc.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dsgc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1217"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dsgc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1929,6 +1929,12 @@ class CategoryRule(AbstractModel):
|
|
|
1929
1929
|
:param _AliasRuleName: 别名规则名称
|
|
1930
1930
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1931
1931
|
:type AliasRuleName: str
|
|
1932
|
+
:param _RuleEffectItems: 各类分类分级规则数量
|
|
1933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1934
|
+
:type RuleEffectItems: list of RuleEffectItem
|
|
1935
|
+
:param _RuleStatus: 规则状态
|
|
1936
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1937
|
+
:type RuleStatus: int
|
|
1932
1938
|
"""
|
|
1933
1939
|
self._CategoryId = None
|
|
1934
1940
|
self._RuleId = None
|
|
@@ -1938,6 +1944,8 @@ class CategoryRule(AbstractModel):
|
|
|
1938
1944
|
self._Id = None
|
|
1939
1945
|
self._AliasRuleId = None
|
|
1940
1946
|
self._AliasRuleName = None
|
|
1947
|
+
self._RuleEffectItems = None
|
|
1948
|
+
self._RuleStatus = None
|
|
1941
1949
|
|
|
1942
1950
|
@property
|
|
1943
1951
|
def CategoryId(self):
|
|
@@ -2003,6 +2011,22 @@ class CategoryRule(AbstractModel):
|
|
|
2003
2011
|
def AliasRuleName(self, AliasRuleName):
|
|
2004
2012
|
self._AliasRuleName = AliasRuleName
|
|
2005
2013
|
|
|
2014
|
+
@property
|
|
2015
|
+
def RuleEffectItems(self):
|
|
2016
|
+
return self._RuleEffectItems
|
|
2017
|
+
|
|
2018
|
+
@RuleEffectItems.setter
|
|
2019
|
+
def RuleEffectItems(self, RuleEffectItems):
|
|
2020
|
+
self._RuleEffectItems = RuleEffectItems
|
|
2021
|
+
|
|
2022
|
+
@property
|
|
2023
|
+
def RuleStatus(self):
|
|
2024
|
+
return self._RuleStatus
|
|
2025
|
+
|
|
2026
|
+
@RuleStatus.setter
|
|
2027
|
+
def RuleStatus(self, RuleStatus):
|
|
2028
|
+
self._RuleStatus = RuleStatus
|
|
2029
|
+
|
|
2006
2030
|
|
|
2007
2031
|
def _deserialize(self, params):
|
|
2008
2032
|
self._CategoryId = params.get("CategoryId")
|
|
@@ -2013,6 +2037,13 @@ class CategoryRule(AbstractModel):
|
|
|
2013
2037
|
self._Id = params.get("Id")
|
|
2014
2038
|
self._AliasRuleId = params.get("AliasRuleId")
|
|
2015
2039
|
self._AliasRuleName = params.get("AliasRuleName")
|
|
2040
|
+
if params.get("RuleEffectItems") is not None:
|
|
2041
|
+
self._RuleEffectItems = []
|
|
2042
|
+
for item in params.get("RuleEffectItems"):
|
|
2043
|
+
obj = RuleEffectItem()
|
|
2044
|
+
obj._deserialize(item)
|
|
2045
|
+
self._RuleEffectItems.append(obj)
|
|
2046
|
+
self._RuleStatus = params.get("RuleStatus")
|
|
2016
2047
|
memeber_set = set(params.keys())
|
|
2017
2048
|
for name, value in vars(self).items():
|
|
2018
2049
|
property_name = name[1:]
|
|
@@ -4306,12 +4337,15 @@ class CreateDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
4306
4337
|
:type RDBRules: :class:`tencentcloud.dsgc.v20190723.models.DspaDiscoveryRDBRules`
|
|
4307
4338
|
:param _COSRules: COS类敏感数据识别规则
|
|
4308
4339
|
:type COSRules: :class:`tencentcloud.dsgc.v20190723.models.DspaDiscoveryCOSRules`
|
|
4340
|
+
:param _Status: 规则状态;0 不启用, 1 启用
|
|
4341
|
+
:type Status: int
|
|
4309
4342
|
"""
|
|
4310
4343
|
self._DspaId = None
|
|
4311
4344
|
self._Name = None
|
|
4312
4345
|
self._Description = None
|
|
4313
4346
|
self._RDBRules = None
|
|
4314
4347
|
self._COSRules = None
|
|
4348
|
+
self._Status = None
|
|
4315
4349
|
|
|
4316
4350
|
@property
|
|
4317
4351
|
def DspaId(self):
|
|
@@ -4353,6 +4387,14 @@ class CreateDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
4353
4387
|
def COSRules(self, COSRules):
|
|
4354
4388
|
self._COSRules = COSRules
|
|
4355
4389
|
|
|
4390
|
+
@property
|
|
4391
|
+
def Status(self):
|
|
4392
|
+
return self._Status
|
|
4393
|
+
|
|
4394
|
+
@Status.setter
|
|
4395
|
+
def Status(self, Status):
|
|
4396
|
+
self._Status = Status
|
|
4397
|
+
|
|
4356
4398
|
|
|
4357
4399
|
def _deserialize(self, params):
|
|
4358
4400
|
self._DspaId = params.get("DspaId")
|
|
@@ -4364,6 +4406,7 @@ class CreateDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
4364
4406
|
if params.get("COSRules") is not None:
|
|
4365
4407
|
self._COSRules = DspaDiscoveryCOSRules()
|
|
4366
4408
|
self._COSRules._deserialize(params.get("COSRules"))
|
|
4409
|
+
self._Status = params.get("Status")
|
|
4367
4410
|
memeber_set = set(params.keys())
|
|
4368
4411
|
for name, value in vars(self).items():
|
|
4369
4412
|
property_name = name[1:]
|
|
@@ -18630,6 +18673,9 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
|
18630
18673
|
:param _COSRules: COS规则详情
|
|
18631
18674
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18632
18675
|
:type COSRules: :class:`tencentcloud.dsgc.v20190723.models.DspaDiscoveryCOSRules`
|
|
18676
|
+
:param _Status: 0关闭,1开启
|
|
18677
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18678
|
+
:type Status: int
|
|
18633
18679
|
"""
|
|
18634
18680
|
self._RuleId = None
|
|
18635
18681
|
self._Name = None
|
|
@@ -18637,6 +18683,7 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
|
18637
18683
|
self._Source = None
|
|
18638
18684
|
self._RDBRules = None
|
|
18639
18685
|
self._COSRules = None
|
|
18686
|
+
self._Status = None
|
|
18640
18687
|
|
|
18641
18688
|
@property
|
|
18642
18689
|
def RuleId(self):
|
|
@@ -18686,6 +18733,14 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
|
18686
18733
|
def COSRules(self, COSRules):
|
|
18687
18734
|
self._COSRules = COSRules
|
|
18688
18735
|
|
|
18736
|
+
@property
|
|
18737
|
+
def Status(self):
|
|
18738
|
+
return self._Status
|
|
18739
|
+
|
|
18740
|
+
@Status.setter
|
|
18741
|
+
def Status(self, Status):
|
|
18742
|
+
self._Status = Status
|
|
18743
|
+
|
|
18689
18744
|
|
|
18690
18745
|
def _deserialize(self, params):
|
|
18691
18746
|
self._RuleId = params.get("RuleId")
|
|
@@ -18698,6 +18753,7 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
|
18698
18753
|
if params.get("COSRules") is not None:
|
|
18699
18754
|
self._COSRules = DspaDiscoveryCOSRules()
|
|
18700
18755
|
self._COSRules._deserialize(params.get("COSRules"))
|
|
18756
|
+
self._Status = params.get("Status")
|
|
18701
18757
|
memeber_set = set(params.keys())
|
|
18702
18758
|
for name, value in vars(self).items():
|
|
18703
18759
|
property_name = name[1:]
|
|
@@ -24074,6 +24130,8 @@ class ModifyDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
24074
24130
|
:type RDBRules: :class:`tencentcloud.dsgc.v20190723.models.ScanTaskRDBRules`
|
|
24075
24131
|
:param _COSRules: COS类敏感数据识别规则
|
|
24076
24132
|
:type COSRules: :class:`tencentcloud.dsgc.v20190723.models.ScanTaskCOSRules`
|
|
24133
|
+
:param _Status: 规则状态
|
|
24134
|
+
:type Status: int
|
|
24077
24135
|
"""
|
|
24078
24136
|
self._DspaId = None
|
|
24079
24137
|
self._Name = None
|
|
@@ -24081,6 +24139,7 @@ class ModifyDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
24081
24139
|
self._Description = None
|
|
24082
24140
|
self._RDBRules = None
|
|
24083
24141
|
self._COSRules = None
|
|
24142
|
+
self._Status = None
|
|
24084
24143
|
|
|
24085
24144
|
@property
|
|
24086
24145
|
def DspaId(self):
|
|
@@ -24130,6 +24189,14 @@ class ModifyDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
24130
24189
|
def COSRules(self, COSRules):
|
|
24131
24190
|
self._COSRules = COSRules
|
|
24132
24191
|
|
|
24192
|
+
@property
|
|
24193
|
+
def Status(self):
|
|
24194
|
+
return self._Status
|
|
24195
|
+
|
|
24196
|
+
@Status.setter
|
|
24197
|
+
def Status(self, Status):
|
|
24198
|
+
self._Status = Status
|
|
24199
|
+
|
|
24133
24200
|
|
|
24134
24201
|
def _deserialize(self, params):
|
|
24135
24202
|
self._DspaId = params.get("DspaId")
|
|
@@ -24142,6 +24209,7 @@ class ModifyDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
24142
24209
|
if params.get("COSRules") is not None:
|
|
24143
24210
|
self._COSRules = ScanTaskCOSRules()
|
|
24144
24211
|
self._COSRules._deserialize(params.get("COSRules"))
|
|
24212
|
+
self._Status = params.get("Status")
|
|
24145
24213
|
memeber_set = set(params.keys())
|
|
24146
24214
|
for name, value in vars(self).items():
|
|
24147
24215
|
property_name = name[1:]
|
|
@@ -27018,6 +27086,53 @@ class RuleDistribution(AbstractModel):
|
|
|
27018
27086
|
|
|
27019
27087
|
|
|
27020
27088
|
|
|
27089
|
+
class RuleEffectItem(AbstractModel):
|
|
27090
|
+
"""分类分级规则数量
|
|
27091
|
+
|
|
27092
|
+
"""
|
|
27093
|
+
|
|
27094
|
+
def __init__(self):
|
|
27095
|
+
r"""
|
|
27096
|
+
:param _Name: 规则描述
|
|
27097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27098
|
+
:type Name: str
|
|
27099
|
+
:param _Value: 规则值
|
|
27100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27101
|
+
:type Value: int
|
|
27102
|
+
"""
|
|
27103
|
+
self._Name = None
|
|
27104
|
+
self._Value = None
|
|
27105
|
+
|
|
27106
|
+
@property
|
|
27107
|
+
def Name(self):
|
|
27108
|
+
return self._Name
|
|
27109
|
+
|
|
27110
|
+
@Name.setter
|
|
27111
|
+
def Name(self, Name):
|
|
27112
|
+
self._Name = Name
|
|
27113
|
+
|
|
27114
|
+
@property
|
|
27115
|
+
def Value(self):
|
|
27116
|
+
return self._Value
|
|
27117
|
+
|
|
27118
|
+
@Value.setter
|
|
27119
|
+
def Value(self, Value):
|
|
27120
|
+
self._Value = Value
|
|
27121
|
+
|
|
27122
|
+
|
|
27123
|
+
def _deserialize(self, params):
|
|
27124
|
+
self._Name = params.get("Name")
|
|
27125
|
+
self._Value = params.get("Value")
|
|
27126
|
+
memeber_set = set(params.keys())
|
|
27127
|
+
for name, value in vars(self).items():
|
|
27128
|
+
property_name = name[1:]
|
|
27129
|
+
if property_name in memeber_set:
|
|
27130
|
+
memeber_set.remove(property_name)
|
|
27131
|
+
if len(memeber_set) > 0:
|
|
27132
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27133
|
+
|
|
27134
|
+
|
|
27135
|
+
|
|
27021
27136
|
class ScanTaskCOSRules(AbstractModel):
|
|
27022
27137
|
"""敏感识别任务COS识别规则
|
|
27023
27138
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1217
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1215
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|