tencentcloud-sdk-dsgc 3.0.889 → 3.0.890
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190723/models.rb +60 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bd6e4f0d71fc169b769f5e1d028bf1adcd46d9e
|
4
|
+
data.tar.gz: 5f4463d916e34c7682150d8ba0d6d24c40131309
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f23306ad00259059ddc9bde8205ec0cde4ff9bfe6ee87579b920e04e325e5f8efd74f54eb385541eb880621b4fb51dac865dfcfe041089c6349e818b07f77475
|
7
|
+
data.tar.gz: dbe815af0dc3ccf04ac271ef5fe086a43f8345c1c49171fe7e7c13e632d160c217c5c9f37262ba990efe29107ad45b46cdc92650e0e370f460d4eab006f8d375
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.890
|
data/lib/v20190723/models.rb
CHANGED
@@ -880,10 +880,16 @@ module TencentCloud
|
|
880
880
|
# @param AliasRuleName: 别名规则名称
|
881
881
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
882
882
|
# @type AliasRuleName: String
|
883
|
+
# @param RuleEffectItems: 各类分类分级规则数量
|
884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
885
|
+
# @type RuleEffectItems: Array
|
886
|
+
# @param RuleStatus: 规则状态
|
887
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
888
|
+
# @type RuleStatus: Integer
|
883
889
|
|
884
|
-
attr_accessor :CategoryId, :RuleId, :RuleName, :LevelId, :LevelName, :Id, :AliasRuleId, :AliasRuleName
|
890
|
+
attr_accessor :CategoryId, :RuleId, :RuleName, :LevelId, :LevelName, :Id, :AliasRuleId, :AliasRuleName, :RuleEffectItems, :RuleStatus
|
885
891
|
|
886
|
-
def initialize(categoryid=nil, ruleid=nil, rulename=nil, levelid=nil, levelname=nil, id=nil, aliasruleid=nil, aliasrulename=nil)
|
892
|
+
def initialize(categoryid=nil, ruleid=nil, rulename=nil, levelid=nil, levelname=nil, id=nil, aliasruleid=nil, aliasrulename=nil, ruleeffectitems=nil, rulestatus=nil)
|
887
893
|
@CategoryId = categoryid
|
888
894
|
@RuleId = ruleid
|
889
895
|
@RuleName = rulename
|
@@ -892,6 +898,8 @@ module TencentCloud
|
|
892
898
|
@Id = id
|
893
899
|
@AliasRuleId = aliasruleid
|
894
900
|
@AliasRuleName = aliasrulename
|
901
|
+
@RuleEffectItems = ruleeffectitems
|
902
|
+
@RuleStatus = rulestatus
|
895
903
|
end
|
896
904
|
|
897
905
|
def deserialize(params)
|
@@ -903,6 +911,15 @@ module TencentCloud
|
|
903
911
|
@Id = params['Id']
|
904
912
|
@AliasRuleId = params['AliasRuleId']
|
905
913
|
@AliasRuleName = params['AliasRuleName']
|
914
|
+
unless params['RuleEffectItems'].nil?
|
915
|
+
@RuleEffectItems = []
|
916
|
+
params['RuleEffectItems'].each do |i|
|
917
|
+
ruleeffectitem_tmp = RuleEffectItem.new
|
918
|
+
ruleeffectitem_tmp.deserialize(i)
|
919
|
+
@RuleEffectItems << ruleeffectitem_tmp
|
920
|
+
end
|
921
|
+
end
|
922
|
+
@RuleStatus = params['RuleStatus']
|
906
923
|
end
|
907
924
|
end
|
908
925
|
|
@@ -1969,15 +1986,18 @@ module TencentCloud
|
|
1969
1986
|
# @type RDBRules: :class:`Tencentcloud::Dsgc.v20190723.models.DspaDiscoveryRDBRules`
|
1970
1987
|
# @param COSRules: COS类敏感数据识别规则
|
1971
1988
|
# @type COSRules: :class:`Tencentcloud::Dsgc.v20190723.models.DspaDiscoveryCOSRules`
|
1989
|
+
# @param Status: 规则状态;0 不启用, 1 启用
|
1990
|
+
# @type Status: Integer
|
1972
1991
|
|
1973
|
-
attr_accessor :DspaId, :Name, :Description, :RDBRules, :COSRules
|
1992
|
+
attr_accessor :DspaId, :Name, :Description, :RDBRules, :COSRules, :Status
|
1974
1993
|
|
1975
|
-
def initialize(dspaid=nil, name=nil, description=nil, rdbrules=nil, cosrules=nil)
|
1994
|
+
def initialize(dspaid=nil, name=nil, description=nil, rdbrules=nil, cosrules=nil, status=nil)
|
1976
1995
|
@DspaId = dspaid
|
1977
1996
|
@Name = name
|
1978
1997
|
@Description = description
|
1979
1998
|
@RDBRules = rdbrules
|
1980
1999
|
@COSRules = cosrules
|
2000
|
+
@Status = status
|
1981
2001
|
end
|
1982
2002
|
|
1983
2003
|
def deserialize(params)
|
@@ -1992,6 +2012,7 @@ module TencentCloud
|
|
1992
2012
|
@COSRules = DspaDiscoveryCOSRules.new
|
1993
2013
|
@COSRules.deserialize(params['COSRules'])
|
1994
2014
|
end
|
2015
|
+
@Status = params['Status']
|
1995
2016
|
end
|
1996
2017
|
end
|
1997
2018
|
|
@@ -8944,16 +8965,20 @@ module TencentCloud
|
|
8944
8965
|
# @param COSRules: COS规则详情
|
8945
8966
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8946
8967
|
# @type COSRules: :class:`Tencentcloud::Dsgc.v20190723.models.DspaDiscoveryCOSRules`
|
8968
|
+
# @param Status: 0关闭,1开启
|
8969
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8970
|
+
# @type Status: Integer
|
8947
8971
|
|
8948
|
-
attr_accessor :RuleId, :Name, :Description, :Source, :RDBRules, :COSRules
|
8972
|
+
attr_accessor :RuleId, :Name, :Description, :Source, :RDBRules, :COSRules, :Status
|
8949
8973
|
|
8950
|
-
def initialize(ruleid=nil, name=nil, description=nil, source=nil, rdbrules=nil, cosrules=nil)
|
8974
|
+
def initialize(ruleid=nil, name=nil, description=nil, source=nil, rdbrules=nil, cosrules=nil, status=nil)
|
8951
8975
|
@RuleId = ruleid
|
8952
8976
|
@Name = name
|
8953
8977
|
@Description = description
|
8954
8978
|
@Source = source
|
8955
8979
|
@RDBRules = rdbrules
|
8956
8980
|
@COSRules = cosrules
|
8981
|
+
@Status = status
|
8957
8982
|
end
|
8958
8983
|
|
8959
8984
|
def deserialize(params)
|
@@ -8969,6 +8994,7 @@ module TencentCloud
|
|
8969
8994
|
@COSRules = DspaDiscoveryCOSRules.new
|
8970
8995
|
@COSRules.deserialize(params['COSRules'])
|
8971
8996
|
end
|
8997
|
+
@Status = params['Status']
|
8972
8998
|
end
|
8973
8999
|
end
|
8974
9000
|
|
@@ -11353,16 +11379,19 @@ module TencentCloud
|
|
11353
11379
|
# @type RDBRules: :class:`Tencentcloud::Dsgc.v20190723.models.ScanTaskRDBRules`
|
11354
11380
|
# @param COSRules: COS类敏感数据识别规则
|
11355
11381
|
# @type COSRules: :class:`Tencentcloud::Dsgc.v20190723.models.ScanTaskCOSRules`
|
11382
|
+
# @param Status: 规则状态
|
11383
|
+
# @type Status: Integer
|
11356
11384
|
|
11357
|
-
attr_accessor :DspaId, :Name, :RuleId, :Description, :RDBRules, :COSRules
|
11385
|
+
attr_accessor :DspaId, :Name, :RuleId, :Description, :RDBRules, :COSRules, :Status
|
11358
11386
|
|
11359
|
-
def initialize(dspaid=nil, name=nil, ruleid=nil, description=nil, rdbrules=nil, cosrules=nil)
|
11387
|
+
def initialize(dspaid=nil, name=nil, ruleid=nil, description=nil, rdbrules=nil, cosrules=nil, status=nil)
|
11360
11388
|
@DspaId = dspaid
|
11361
11389
|
@Name = name
|
11362
11390
|
@RuleId = ruleid
|
11363
11391
|
@Description = description
|
11364
11392
|
@RDBRules = rdbrules
|
11365
11393
|
@COSRules = cosrules
|
11394
|
+
@Status = status
|
11366
11395
|
end
|
11367
11396
|
|
11368
11397
|
def deserialize(params)
|
@@ -11378,6 +11407,7 @@ module TencentCloud
|
|
11378
11407
|
@COSRules = ScanTaskCOSRules.new
|
11379
11408
|
@COSRules.deserialize(params['COSRules'])
|
11380
11409
|
end
|
11410
|
+
@Status = params['Status']
|
11381
11411
|
end
|
11382
11412
|
end
|
11383
11413
|
|
@@ -12705,6 +12735,28 @@ module TencentCloud
|
|
12705
12735
|
end
|
12706
12736
|
end
|
12707
12737
|
|
12738
|
+
# 分类分级规则数量
|
12739
|
+
class RuleEffectItem < TencentCloud::Common::AbstractModel
|
12740
|
+
# @param Name: 规则描述
|
12741
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12742
|
+
# @type Name: String
|
12743
|
+
# @param Value: 规则值
|
12744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12745
|
+
# @type Value: Integer
|
12746
|
+
|
12747
|
+
attr_accessor :Name, :Value
|
12748
|
+
|
12749
|
+
def initialize(name=nil, value=nil)
|
12750
|
+
@Name = name
|
12751
|
+
@Value = value
|
12752
|
+
end
|
12753
|
+
|
12754
|
+
def deserialize(params)
|
12755
|
+
@Name = params['Name']
|
12756
|
+
@Value = params['Value']
|
12757
|
+
end
|
12758
|
+
end
|
12759
|
+
|
12708
12760
|
# 敏感识别任务COS识别规则
|
12709
12761
|
class ScanTaskCOSRules < TencentCloud::Common::AbstractModel
|
12710
12762
|
# @param RegexRule: regex规则内容
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dsgc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.890
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|