tencentcloud-sdk-python-dsgc 3.0.1211__tar.gz → 3.0.1223__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.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/setup.py +1 -1
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud/dsgc/v20190723/models.py +139 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud_sdk_python_dsgc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dsgc-3.0.1223/tencentcloud_sdk_python_dsgc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dsgc-3.0.1211/tencentcloud_sdk_python_dsgc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/README.rst +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud/dsgc/__init__.py +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud/dsgc/v20190723/__init__.py +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud/dsgc/v20190723/dsgc_client.py +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud/dsgc/v20190723/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud_sdk_python_dsgc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/tencentcloud_sdk_python_dsgc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dsgc-3.0.1211 → tencentcloud-sdk-python-dsgc-3.0.1223}/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.1223"],
|
|
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:]
|
|
@@ -14513,12 +14556,18 @@ class DescribeDSPARDBDataAssetDetailRequest(AbstractModel):
|
|
|
14513
14556
|
:type DspaId: str
|
|
14514
14557
|
:param _ComplianceId: 合规组Id
|
|
14515
14558
|
:type ComplianceId: int
|
|
14559
|
+
:param _Offset: 偏移量,默认为0。
|
|
14560
|
+
:type Offset: int
|
|
14561
|
+
:param _Limit: 返回数量,默认为20,最大值为100。
|
|
14562
|
+
:type Limit: int
|
|
14516
14563
|
:param _CreditScore: 可信分排序,ASC-升序
|
|
14517
14564
|
DESC降序
|
|
14518
14565
|
:type CreditScore: str
|
|
14519
14566
|
"""
|
|
14520
14567
|
self._DspaId = None
|
|
14521
14568
|
self._ComplianceId = None
|
|
14569
|
+
self._Offset = None
|
|
14570
|
+
self._Limit = None
|
|
14522
14571
|
self._CreditScore = None
|
|
14523
14572
|
|
|
14524
14573
|
@property
|
|
@@ -14537,6 +14586,22 @@ DESC降序
|
|
|
14537
14586
|
def ComplianceId(self, ComplianceId):
|
|
14538
14587
|
self._ComplianceId = ComplianceId
|
|
14539
14588
|
|
|
14589
|
+
@property
|
|
14590
|
+
def Offset(self):
|
|
14591
|
+
return self._Offset
|
|
14592
|
+
|
|
14593
|
+
@Offset.setter
|
|
14594
|
+
def Offset(self, Offset):
|
|
14595
|
+
self._Offset = Offset
|
|
14596
|
+
|
|
14597
|
+
@property
|
|
14598
|
+
def Limit(self):
|
|
14599
|
+
return self._Limit
|
|
14600
|
+
|
|
14601
|
+
@Limit.setter
|
|
14602
|
+
def Limit(self, Limit):
|
|
14603
|
+
self._Limit = Limit
|
|
14604
|
+
|
|
14540
14605
|
@property
|
|
14541
14606
|
def CreditScore(self):
|
|
14542
14607
|
return self._CreditScore
|
|
@@ -14549,6 +14614,8 @@ DESC降序
|
|
|
14549
14614
|
def _deserialize(self, params):
|
|
14550
14615
|
self._DspaId = params.get("DspaId")
|
|
14551
14616
|
self._ComplianceId = params.get("ComplianceId")
|
|
14617
|
+
self._Offset = params.get("Offset")
|
|
14618
|
+
self._Limit = params.get("Limit")
|
|
14552
14619
|
self._CreditScore = params.get("CreditScore")
|
|
14553
14620
|
memeber_set = set(params.keys())
|
|
14554
14621
|
for name, value in vars(self).items():
|
|
@@ -18630,6 +18697,9 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
|
18630
18697
|
:param _COSRules: COS规则详情
|
|
18631
18698
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18632
18699
|
:type COSRules: :class:`tencentcloud.dsgc.v20190723.models.DspaDiscoveryCOSRules`
|
|
18700
|
+
:param _Status: 0关闭,1开启
|
|
18701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18702
|
+
:type Status: int
|
|
18633
18703
|
"""
|
|
18634
18704
|
self._RuleId = None
|
|
18635
18705
|
self._Name = None
|
|
@@ -18637,6 +18707,7 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
|
18637
18707
|
self._Source = None
|
|
18638
18708
|
self._RDBRules = None
|
|
18639
18709
|
self._COSRules = None
|
|
18710
|
+
self._Status = None
|
|
18640
18711
|
|
|
18641
18712
|
@property
|
|
18642
18713
|
def RuleId(self):
|
|
@@ -18686,6 +18757,14 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
|
18686
18757
|
def COSRules(self, COSRules):
|
|
18687
18758
|
self._COSRules = COSRules
|
|
18688
18759
|
|
|
18760
|
+
@property
|
|
18761
|
+
def Status(self):
|
|
18762
|
+
return self._Status
|
|
18763
|
+
|
|
18764
|
+
@Status.setter
|
|
18765
|
+
def Status(self, Status):
|
|
18766
|
+
self._Status = Status
|
|
18767
|
+
|
|
18689
18768
|
|
|
18690
18769
|
def _deserialize(self, params):
|
|
18691
18770
|
self._RuleId = params.get("RuleId")
|
|
@@ -18698,6 +18777,7 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
|
18698
18777
|
if params.get("COSRules") is not None:
|
|
18699
18778
|
self._COSRules = DspaDiscoveryCOSRules()
|
|
18700
18779
|
self._COSRules._deserialize(params.get("COSRules"))
|
|
18780
|
+
self._Status = params.get("Status")
|
|
18701
18781
|
memeber_set = set(params.keys())
|
|
18702
18782
|
for name, value in vars(self).items():
|
|
18703
18783
|
property_name = name[1:]
|
|
@@ -24074,6 +24154,8 @@ class ModifyDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
24074
24154
|
:type RDBRules: :class:`tencentcloud.dsgc.v20190723.models.ScanTaskRDBRules`
|
|
24075
24155
|
:param _COSRules: COS类敏感数据识别规则
|
|
24076
24156
|
:type COSRules: :class:`tencentcloud.dsgc.v20190723.models.ScanTaskCOSRules`
|
|
24157
|
+
:param _Status: 规则状态
|
|
24158
|
+
:type Status: int
|
|
24077
24159
|
"""
|
|
24078
24160
|
self._DspaId = None
|
|
24079
24161
|
self._Name = None
|
|
@@ -24081,6 +24163,7 @@ class ModifyDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
24081
24163
|
self._Description = None
|
|
24082
24164
|
self._RDBRules = None
|
|
24083
24165
|
self._COSRules = None
|
|
24166
|
+
self._Status = None
|
|
24084
24167
|
|
|
24085
24168
|
@property
|
|
24086
24169
|
def DspaId(self):
|
|
@@ -24130,6 +24213,14 @@ class ModifyDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
24130
24213
|
def COSRules(self, COSRules):
|
|
24131
24214
|
self._COSRules = COSRules
|
|
24132
24215
|
|
|
24216
|
+
@property
|
|
24217
|
+
def Status(self):
|
|
24218
|
+
return self._Status
|
|
24219
|
+
|
|
24220
|
+
@Status.setter
|
|
24221
|
+
def Status(self, Status):
|
|
24222
|
+
self._Status = Status
|
|
24223
|
+
|
|
24133
24224
|
|
|
24134
24225
|
def _deserialize(self, params):
|
|
24135
24226
|
self._DspaId = params.get("DspaId")
|
|
@@ -24142,6 +24233,7 @@ class ModifyDSPADiscoveryRuleRequest(AbstractModel):
|
|
|
24142
24233
|
if params.get("COSRules") is not None:
|
|
24143
24234
|
self._COSRules = ScanTaskCOSRules()
|
|
24144
24235
|
self._COSRules._deserialize(params.get("COSRules"))
|
|
24236
|
+
self._Status = params.get("Status")
|
|
24145
24237
|
memeber_set = set(params.keys())
|
|
24146
24238
|
for name, value in vars(self).items():
|
|
24147
24239
|
property_name = name[1:]
|
|
@@ -27018,6 +27110,53 @@ class RuleDistribution(AbstractModel):
|
|
|
27018
27110
|
|
|
27019
27111
|
|
|
27020
27112
|
|
|
27113
|
+
class RuleEffectItem(AbstractModel):
|
|
27114
|
+
"""分类分级规则数量
|
|
27115
|
+
|
|
27116
|
+
"""
|
|
27117
|
+
|
|
27118
|
+
def __init__(self):
|
|
27119
|
+
r"""
|
|
27120
|
+
:param _Name: 规则描述
|
|
27121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27122
|
+
:type Name: str
|
|
27123
|
+
:param _Value: 规则值
|
|
27124
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27125
|
+
:type Value: int
|
|
27126
|
+
"""
|
|
27127
|
+
self._Name = None
|
|
27128
|
+
self._Value = None
|
|
27129
|
+
|
|
27130
|
+
@property
|
|
27131
|
+
def Name(self):
|
|
27132
|
+
return self._Name
|
|
27133
|
+
|
|
27134
|
+
@Name.setter
|
|
27135
|
+
def Name(self, Name):
|
|
27136
|
+
self._Name = Name
|
|
27137
|
+
|
|
27138
|
+
@property
|
|
27139
|
+
def Value(self):
|
|
27140
|
+
return self._Value
|
|
27141
|
+
|
|
27142
|
+
@Value.setter
|
|
27143
|
+
def Value(self, Value):
|
|
27144
|
+
self._Value = Value
|
|
27145
|
+
|
|
27146
|
+
|
|
27147
|
+
def _deserialize(self, params):
|
|
27148
|
+
self._Name = params.get("Name")
|
|
27149
|
+
self._Value = params.get("Value")
|
|
27150
|
+
memeber_set = set(params.keys())
|
|
27151
|
+
for name, value in vars(self).items():
|
|
27152
|
+
property_name = name[1:]
|
|
27153
|
+
if property_name in memeber_set:
|
|
27154
|
+
memeber_set.remove(property_name)
|
|
27155
|
+
if len(memeber_set) > 0:
|
|
27156
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27157
|
+
|
|
27158
|
+
|
|
27159
|
+
|
|
27021
27160
|
class ScanTaskCOSRules(AbstractModel):
|
|
27022
27161
|
"""敏感识别任务COS识别规则
|
|
27023
27162
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1223
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1211
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|