tencentcloud-sdk-waf 3.0.675 → 3.0.676
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180125/client.rb +96 -0
- data/lib/v20180125/models.rb +302 -0
- 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: 4d4eb95bede19cb1c41ce90fae3c9ce5b20bb7c0
|
4
|
+
data.tar.gz: ac78cc1cfb2e4e0e9159fc8d89e7e033385bd4ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b95e770548235026c3f17ab3fd2f819f728e8add88bff2a5c881284ff97a56eec83fa8503564b5596f014b3fab2694d405bf0d697e7b453f66b7cce15e553f6
|
7
|
+
data.tar.gz: 416d8405bab337e6367d7fd77510de01b73766a1e03557671b4c8b41989e4b6c5915035a732d1e384c43f8defab3491c0966ddf4f921b27a7a97505f25e04efe
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.676
|
data/lib/v20180125/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 供用户控制台调用,增加Tiga规则引擎白名单。
|
81
|
+
|
82
|
+
# @param request: Request instance for AddAttackWhiteRule.
|
83
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::AddAttackWhiteRuleRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::AddAttackWhiteRuleResponse`
|
85
|
+
def AddAttackWhiteRule(request)
|
86
|
+
body = send_request('AddAttackWhiteRule', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = AddAttackWhiteRuleResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 增加访问控制(自定义策略)
|
81
105
|
|
82
106
|
# @param request: Request instance for AddCustomRule.
|
@@ -317,6 +341,30 @@ module TencentCloud
|
|
317
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
342
|
end
|
319
343
|
|
344
|
+
# 供用户控制台调用,删除Tiga规则引擎白名单。
|
345
|
+
|
346
|
+
# @param request: Request instance for DeleteAttackWhiteRule.
|
347
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::DeleteAttackWhiteRuleRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::DeleteAttackWhiteRuleResponse`
|
349
|
+
def DeleteAttackWhiteRule(request)
|
350
|
+
body = send_request('DeleteAttackWhiteRule', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = DeleteAttackWhiteRuleResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
320
368
|
# Waf CC V2 Delete接口
|
321
369
|
|
322
370
|
# @param request: Request instance for DeleteCCRule.
|
@@ -752,6 +800,30 @@ module TencentCloud
|
|
752
800
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
753
801
|
end
|
754
802
|
|
803
|
+
# 获取用户规则白名单列表
|
804
|
+
|
805
|
+
# @param request: Request instance for DescribeAttackWhiteRule.
|
806
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::DescribeAttackWhiteRuleRequest`
|
807
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::DescribeAttackWhiteRuleResponse`
|
808
|
+
def DescribeAttackWhiteRule(request)
|
809
|
+
body = send_request('DescribeAttackWhiteRule', request.serialize)
|
810
|
+
response = JSON.parse(body)
|
811
|
+
if response['Response'].key?('Error') == false
|
812
|
+
model = DescribeAttackWhiteRuleResponse.new
|
813
|
+
model.deserialize(response['Response'])
|
814
|
+
model
|
815
|
+
else
|
816
|
+
code = response['Response']['Error']['Code']
|
817
|
+
message = response['Response']['Error']['Message']
|
818
|
+
reqid = response['Response']['RequestId']
|
819
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
820
|
+
end
|
821
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
822
|
+
raise e
|
823
|
+
rescue StandardError => e
|
824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
825
|
+
end
|
826
|
+
|
755
827
|
# 接口已废弃
|
756
828
|
|
757
829
|
# 描述WAF自动封禁IP详情,对齐自动封堵状态
|
@@ -2028,6 +2100,30 @@ module TencentCloud
|
|
2028
2100
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2029
2101
|
end
|
2030
2102
|
|
2103
|
+
# 供用户控制台调用,修改Tiga规则引擎白名单。
|
2104
|
+
|
2105
|
+
# @param request: Request instance for ModifyAttackWhiteRule.
|
2106
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::ModifyAttackWhiteRuleRequest`
|
2107
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::ModifyAttackWhiteRuleResponse`
|
2108
|
+
def ModifyAttackWhiteRule(request)
|
2109
|
+
body = send_request('ModifyAttackWhiteRule', request.serialize)
|
2110
|
+
response = JSON.parse(body)
|
2111
|
+
if response['Response'].key?('Error') == false
|
2112
|
+
model = ModifyAttackWhiteRuleResponse.new
|
2113
|
+
model.deserialize(response['Response'])
|
2114
|
+
model
|
2115
|
+
else
|
2116
|
+
code = response['Response']['Error']['Code']
|
2117
|
+
message = response['Response']['Error']['Message']
|
2118
|
+
reqid = response['Response']['RequestId']
|
2119
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2120
|
+
end
|
2121
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2122
|
+
raise e
|
2123
|
+
rescue StandardError => e
|
2124
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2125
|
+
end
|
2126
|
+
|
2031
2127
|
# Bot_V2 bot总开关更新
|
2032
2128
|
|
2033
2129
|
# @param request: Request instance for ModifyBotStatus.
|
data/lib/v20180125/models.rb
CHANGED
@@ -426,6 +426,65 @@ module TencentCloud
|
|
426
426
|
end
|
427
427
|
end
|
428
428
|
|
429
|
+
# AddAttackWhiteRule请求参数结构体
|
430
|
+
class AddAttackWhiteRuleRequest < TencentCloud::Common::AbstractModel
|
431
|
+
# @param Domain: 域名
|
432
|
+
# @type Domain: String
|
433
|
+
# @param SignatureId: 规则Id
|
434
|
+
# @type SignatureId: String
|
435
|
+
# @param Status: 规则状态
|
436
|
+
# @type Status: Integer
|
437
|
+
# @param Rules: 匹配规则项列表
|
438
|
+
# @type Rules: Array
|
439
|
+
# @param RuleId: 规则序号
|
440
|
+
# @type RuleId: Integer
|
441
|
+
|
442
|
+
attr_accessor :Domain, :SignatureId, :Status, :Rules, :RuleId
|
443
|
+
|
444
|
+
def initialize(domain=nil, signatureid=nil, status=nil, rules=nil, ruleid=nil)
|
445
|
+
@Domain = domain
|
446
|
+
@SignatureId = signatureid
|
447
|
+
@Status = status
|
448
|
+
@Rules = rules
|
449
|
+
@RuleId = ruleid
|
450
|
+
end
|
451
|
+
|
452
|
+
def deserialize(params)
|
453
|
+
@Domain = params['Domain']
|
454
|
+
@SignatureId = params['SignatureId']
|
455
|
+
@Status = params['Status']
|
456
|
+
unless params['Rules'].nil?
|
457
|
+
@Rules = []
|
458
|
+
params['Rules'].each do |i|
|
459
|
+
userwhiteruleitem_tmp = UserWhiteRuleItem.new
|
460
|
+
userwhiteruleitem_tmp.deserialize(i)
|
461
|
+
@Rules << userwhiteruleitem_tmp
|
462
|
+
end
|
463
|
+
end
|
464
|
+
@RuleId = params['RuleId']
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# AddAttackWhiteRule返回参数结构体
|
469
|
+
class AddAttackWhiteRuleResponse < TencentCloud::Common::AbstractModel
|
470
|
+
# @param RuleId: 规则总数
|
471
|
+
# @type RuleId: Integer
|
472
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
473
|
+
# @type RequestId: String
|
474
|
+
|
475
|
+
attr_accessor :RuleId, :RequestId
|
476
|
+
|
477
|
+
def initialize(ruleid=nil, requestid=nil)
|
478
|
+
@RuleId = ruleid
|
479
|
+
@RequestId = requestid
|
480
|
+
end
|
481
|
+
|
482
|
+
def deserialize(params)
|
483
|
+
@RuleId = params['RuleId']
|
484
|
+
@RequestId = params['RequestId']
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
429
488
|
# AddCustomRule请求参数结构体
|
430
489
|
class AddCustomRuleRequest < TencentCloud::Common::AbstractModel
|
431
490
|
# @param Name: 规则名称
|
@@ -1796,6 +1855,47 @@ module TencentCloud
|
|
1796
1855
|
end
|
1797
1856
|
end
|
1798
1857
|
|
1858
|
+
# DeleteAttackWhiteRule请求参数结构体
|
1859
|
+
class DeleteAttackWhiteRuleRequest < TencentCloud::Common::AbstractModel
|
1860
|
+
# @param Ids: 规则序号组
|
1861
|
+
# @type Ids: Array
|
1862
|
+
# @param Domain: 用户域名
|
1863
|
+
# @type Domain: String
|
1864
|
+
|
1865
|
+
attr_accessor :Ids, :Domain
|
1866
|
+
|
1867
|
+
def initialize(ids=nil, domain=nil)
|
1868
|
+
@Ids = ids
|
1869
|
+
@Domain = domain
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
def deserialize(params)
|
1873
|
+
@Ids = params['Ids']
|
1874
|
+
@Domain = params['Domain']
|
1875
|
+
end
|
1876
|
+
end
|
1877
|
+
|
1878
|
+
# DeleteAttackWhiteRule返回参数结构体
|
1879
|
+
class DeleteAttackWhiteRuleResponse < TencentCloud::Common::AbstractModel
|
1880
|
+
# @param FailIds: 删除失败的规则序号组
|
1881
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1882
|
+
# @type FailIds: Array
|
1883
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1884
|
+
# @type RequestId: String
|
1885
|
+
|
1886
|
+
attr_accessor :FailIds, :RequestId
|
1887
|
+
|
1888
|
+
def initialize(failids=nil, requestid=nil)
|
1889
|
+
@FailIds = failids
|
1890
|
+
@RequestId = requestid
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
def deserialize(params)
|
1894
|
+
@FailIds = params['FailIds']
|
1895
|
+
@RequestId = params['RequestId']
|
1896
|
+
end
|
1897
|
+
end
|
1898
|
+
|
1799
1899
|
# DeleteCCRule请求参数结构体
|
1800
1900
|
class DeleteCCRuleRequest < TencentCloud::Common::AbstractModel
|
1801
1901
|
# @param Domain: 域名
|
@@ -2860,6 +2960,81 @@ module TencentCloud
|
|
2860
2960
|
end
|
2861
2961
|
end
|
2862
2962
|
|
2963
|
+
# DescribeAttackWhiteRule请求参数结构体
|
2964
|
+
class DescribeAttackWhiteRuleRequest < TencentCloud::Common::AbstractModel
|
2965
|
+
# @param Domain: 需要查询的域名
|
2966
|
+
# @type Domain: String
|
2967
|
+
# @param Offset: 分页
|
2968
|
+
# @type Offset: Integer
|
2969
|
+
# @param Limit: 每页容量
|
2970
|
+
# @type Limit: Integer
|
2971
|
+
# @param By: 排序字段,支持user_id, signature_id, modify_time
|
2972
|
+
# @type By: String
|
2973
|
+
# @param Order: 排序方式
|
2974
|
+
# @type Order: String
|
2975
|
+
# @param Filters: 筛选条件,支持SignatureId, MatchContent
|
2976
|
+
# @type Filters: Array
|
2977
|
+
|
2978
|
+
attr_accessor :Domain, :Offset, :Limit, :By, :Order, :Filters
|
2979
|
+
|
2980
|
+
def initialize(domain=nil, offset=nil, limit=nil, by=nil, order=nil, filters=nil)
|
2981
|
+
@Domain = domain
|
2982
|
+
@Offset = offset
|
2983
|
+
@Limit = limit
|
2984
|
+
@By = by
|
2985
|
+
@Order = order
|
2986
|
+
@Filters = filters
|
2987
|
+
end
|
2988
|
+
|
2989
|
+
def deserialize(params)
|
2990
|
+
@Domain = params['Domain']
|
2991
|
+
@Offset = params['Offset']
|
2992
|
+
@Limit = params['Limit']
|
2993
|
+
@By = params['By']
|
2994
|
+
@Order = params['Order']
|
2995
|
+
unless params['Filters'].nil?
|
2996
|
+
@Filters = []
|
2997
|
+
params['Filters'].each do |i|
|
2998
|
+
filtersitemnew_tmp = FiltersItemNew.new
|
2999
|
+
filtersitemnew_tmp.deserialize(i)
|
3000
|
+
@Filters << filtersitemnew_tmp
|
3001
|
+
end
|
3002
|
+
end
|
3003
|
+
end
|
3004
|
+
end
|
3005
|
+
|
3006
|
+
# DescribeAttackWhiteRule返回参数结构体
|
3007
|
+
class DescribeAttackWhiteRuleResponse < TencentCloud::Common::AbstractModel
|
3008
|
+
# @param Total: 规则总数
|
3009
|
+
# @type Total: Integer
|
3010
|
+
# @param List: 规则白名单列表
|
3011
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3012
|
+
# @type List: Array
|
3013
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3014
|
+
# @type RequestId: String
|
3015
|
+
|
3016
|
+
attr_accessor :Total, :List, :RequestId
|
3017
|
+
|
3018
|
+
def initialize(total=nil, list=nil, requestid=nil)
|
3019
|
+
@Total = total
|
3020
|
+
@List = list
|
3021
|
+
@RequestId = requestid
|
3022
|
+
end
|
3023
|
+
|
3024
|
+
def deserialize(params)
|
3025
|
+
@Total = params['Total']
|
3026
|
+
unless params['List'].nil?
|
3027
|
+
@List = []
|
3028
|
+
params['List'].each do |i|
|
3029
|
+
userwhiterule_tmp = UserWhiteRule.new
|
3030
|
+
userwhiterule_tmp.deserialize(i)
|
3031
|
+
@List << userwhiterule_tmp
|
3032
|
+
end
|
3033
|
+
end
|
3034
|
+
@RequestId = params['RequestId']
|
3035
|
+
end
|
3036
|
+
end
|
3037
|
+
|
2863
3038
|
# DescribeAutoDenyIP请求参数结构体
|
2864
3039
|
class DescribeAutoDenyIPRequest < TencentCloud::Common::AbstractModel
|
2865
3040
|
# @param Domain: 域名
|
@@ -7248,6 +7423,65 @@ module TencentCloud
|
|
7248
7423
|
end
|
7249
7424
|
end
|
7250
7425
|
|
7426
|
+
# ModifyAttackWhiteRule请求参数结构体
|
7427
|
+
class ModifyAttackWhiteRuleRequest < TencentCloud::Common::AbstractModel
|
7428
|
+
# @param RuleId: 规则序号
|
7429
|
+
# @type RuleId: Integer
|
7430
|
+
# @param Domain: 域名
|
7431
|
+
# @type Domain: String
|
7432
|
+
# @param SignatureId: 规则Id
|
7433
|
+
# @type SignatureId: String
|
7434
|
+
# @param Status: 规则状态
|
7435
|
+
# @type Status: Integer
|
7436
|
+
# @param Rules: 匹配规则项列表
|
7437
|
+
# @type Rules: Array
|
7438
|
+
|
7439
|
+
attr_accessor :RuleId, :Domain, :SignatureId, :Status, :Rules
|
7440
|
+
|
7441
|
+
def initialize(ruleid=nil, domain=nil, signatureid=nil, status=nil, rules=nil)
|
7442
|
+
@RuleId = ruleid
|
7443
|
+
@Domain = domain
|
7444
|
+
@SignatureId = signatureid
|
7445
|
+
@Status = status
|
7446
|
+
@Rules = rules
|
7447
|
+
end
|
7448
|
+
|
7449
|
+
def deserialize(params)
|
7450
|
+
@RuleId = params['RuleId']
|
7451
|
+
@Domain = params['Domain']
|
7452
|
+
@SignatureId = params['SignatureId']
|
7453
|
+
@Status = params['Status']
|
7454
|
+
unless params['Rules'].nil?
|
7455
|
+
@Rules = []
|
7456
|
+
params['Rules'].each do |i|
|
7457
|
+
userwhiteruleitem_tmp = UserWhiteRuleItem.new
|
7458
|
+
userwhiteruleitem_tmp.deserialize(i)
|
7459
|
+
@Rules << userwhiteruleitem_tmp
|
7460
|
+
end
|
7461
|
+
end
|
7462
|
+
end
|
7463
|
+
end
|
7464
|
+
|
7465
|
+
# ModifyAttackWhiteRule返回参数结构体
|
7466
|
+
class ModifyAttackWhiteRuleResponse < TencentCloud::Common::AbstractModel
|
7467
|
+
# @param RuleId: 规则总数
|
7468
|
+
# @type RuleId: Integer
|
7469
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7470
|
+
# @type RequestId: String
|
7471
|
+
|
7472
|
+
attr_accessor :RuleId, :RequestId
|
7473
|
+
|
7474
|
+
def initialize(ruleid=nil, requestid=nil)
|
7475
|
+
@RuleId = ruleid
|
7476
|
+
@RequestId = requestid
|
7477
|
+
end
|
7478
|
+
|
7479
|
+
def deserialize(params)
|
7480
|
+
@RuleId = params['RuleId']
|
7481
|
+
@RequestId = params['RequestId']
|
7482
|
+
end
|
7483
|
+
end
|
7484
|
+
|
7251
7485
|
# ModifyBotStatus请求参数结构体
|
7252
7486
|
class ModifyBotStatusRequest < TencentCloud::Common::AbstractModel
|
7253
7487
|
# @param Domain: 域名
|
@@ -10035,6 +10269,74 @@ module TencentCloud
|
|
10035
10269
|
end
|
10036
10270
|
end
|
10037
10271
|
|
10272
|
+
# 用户规则白名单
|
10273
|
+
class UserWhiteRule < TencentCloud::Common::AbstractModel
|
10274
|
+
# @param WhiteRuleId: 白名单的id
|
10275
|
+
# @type WhiteRuleId: Integer
|
10276
|
+
# @param SignatureId: 规则id
|
10277
|
+
# @type SignatureId: String
|
10278
|
+
# @param Status: 状态
|
10279
|
+
# @type Status: Integer
|
10280
|
+
# @param MatchField: 匹配域
|
10281
|
+
# @type MatchField: String
|
10282
|
+
# @param MatchMethod: 匹配方法
|
10283
|
+
# @type MatchMethod: String
|
10284
|
+
# @param MatchContent: 匹配内容
|
10285
|
+
# @type MatchContent: String
|
10286
|
+
# @param CreateTime: 创建时间
|
10287
|
+
# @type CreateTime: String
|
10288
|
+
# @param ModifyTime: 修改时间
|
10289
|
+
# @type ModifyTime: String
|
10290
|
+
|
10291
|
+
attr_accessor :WhiteRuleId, :SignatureId, :Status, :MatchField, :MatchMethod, :MatchContent, :CreateTime, :ModifyTime
|
10292
|
+
|
10293
|
+
def initialize(whiteruleid=nil, signatureid=nil, status=nil, matchfield=nil, matchmethod=nil, matchcontent=nil, createtime=nil, modifytime=nil)
|
10294
|
+
@WhiteRuleId = whiteruleid
|
10295
|
+
@SignatureId = signatureid
|
10296
|
+
@Status = status
|
10297
|
+
@MatchField = matchfield
|
10298
|
+
@MatchMethod = matchmethod
|
10299
|
+
@MatchContent = matchcontent
|
10300
|
+
@CreateTime = createtime
|
10301
|
+
@ModifyTime = modifytime
|
10302
|
+
end
|
10303
|
+
|
10304
|
+
def deserialize(params)
|
10305
|
+
@WhiteRuleId = params['WhiteRuleId']
|
10306
|
+
@SignatureId = params['SignatureId']
|
10307
|
+
@Status = params['Status']
|
10308
|
+
@MatchField = params['MatchField']
|
10309
|
+
@MatchMethod = params['MatchMethod']
|
10310
|
+
@MatchContent = params['MatchContent']
|
10311
|
+
@CreateTime = params['CreateTime']
|
10312
|
+
@ModifyTime = params['ModifyTime']
|
10313
|
+
end
|
10314
|
+
end
|
10315
|
+
|
10316
|
+
# 用户规则白名单规则子项
|
10317
|
+
class UserWhiteRuleItem < TencentCloud::Common::AbstractModel
|
10318
|
+
# @param MatchField: 匹配域
|
10319
|
+
# @type MatchField: String
|
10320
|
+
# @param MatchMethod: 匹配方法
|
10321
|
+
# @type MatchMethod: String
|
10322
|
+
# @param MatchContent: 匹配内容
|
10323
|
+
# @type MatchContent: String
|
10324
|
+
|
10325
|
+
attr_accessor :MatchField, :MatchMethod, :MatchContent
|
10326
|
+
|
10327
|
+
def initialize(matchfield=nil, matchmethod=nil, matchcontent=nil)
|
10328
|
+
@MatchField = matchfield
|
10329
|
+
@MatchMethod = matchmethod
|
10330
|
+
@MatchContent = matchcontent
|
10331
|
+
end
|
10332
|
+
|
10333
|
+
def deserialize(params)
|
10334
|
+
@MatchField = params['MatchField']
|
10335
|
+
@MatchMethod = params['MatchMethod']
|
10336
|
+
@MatchContent = params['MatchContent']
|
10337
|
+
end
|
10338
|
+
end
|
10339
|
+
|
10038
10340
|
# Vip信息
|
10039
10341
|
class VipInfo < TencentCloud::Common::AbstractModel
|
10040
10342
|
# @param Vip: Virtual IP
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-waf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.676
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|