tencentcloud-sdk-waf 3.0.695 → 3.0.697
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/v20180125/client.rb +0 -2
- data/lib/v20180125/models.rb +62 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6b3247ae077a19798722c26a5b81912a0f49eb7
|
4
|
+
data.tar.gz: a2d6bc0ef322004781bfedf099b1d89f9bf4d1a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a675162a50717b7be963544a759bb3425bb4afa2d61822854de64368f1290c9d2db207085e0f5070902485b0c7b31be9a952614ac10117d18b9f1f593ef96a5e
|
7
|
+
data.tar.gz: eb57bfdfc3fe0948857448c77e3f8e780036cfb57cef77e178ab63eed16c32d531e66ce028ba84e8fcc422f53a603c97ea24d50c6c4ed2f2cb0f8e2692f6a2a7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.697
|
data/lib/v20180125/client.rb
CHANGED
data/lib/v20180125/models.rb
CHANGED
@@ -4747,27 +4747,56 @@ module TencentCloud
|
|
4747
4747
|
|
4748
4748
|
# DescribeModuleStatus请求参数结构体
|
4749
4749
|
class DescribeModuleStatusRequest < TencentCloud::Common::AbstractModel
|
4750
|
+
# @param Domain: 要查询状态的域名
|
4751
|
+
# @type Domain: String
|
4750
4752
|
|
4753
|
+
attr_accessor :Domain
|
4751
4754
|
|
4752
|
-
def initialize()
|
4755
|
+
def initialize(domain=nil)
|
4756
|
+
@Domain = domain
|
4753
4757
|
end
|
4754
4758
|
|
4755
4759
|
def deserialize(params)
|
4760
|
+
@Domain = params['Domain']
|
4756
4761
|
end
|
4757
4762
|
end
|
4758
4763
|
|
4759
4764
|
# DescribeModuleStatus返回参数结构体
|
4760
4765
|
class DescribeModuleStatusResponse < TencentCloud::Common::AbstractModel
|
4766
|
+
# @param WebSecurity: WEB安全规则是否开启
|
4767
|
+
# @type WebSecurity: Integer
|
4768
|
+
# @param AccessControl: 访问控制规则是否开启
|
4769
|
+
# @type AccessControl: Integer
|
4770
|
+
# @param CcProtection: CC防护是否开启
|
4771
|
+
# @type CcProtection: Integer
|
4772
|
+
# @param AntiTamper: 网页防篡改是否开启
|
4773
|
+
# @type AntiTamper: Integer
|
4774
|
+
# @param AntiLeakage: 信息防泄漏是否开启
|
4775
|
+
# @type AntiLeakage: Integer
|
4776
|
+
# @param ApiProtection: API安全是否开启
|
4777
|
+
# @type ApiProtection: Integer
|
4761
4778
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4762
4779
|
# @type RequestId: String
|
4763
4780
|
|
4764
|
-
attr_accessor :RequestId
|
4781
|
+
attr_accessor :WebSecurity, :AccessControl, :CcProtection, :AntiTamper, :AntiLeakage, :ApiProtection, :RequestId
|
4765
4782
|
|
4766
|
-
def initialize(requestid=nil)
|
4783
|
+
def initialize(websecurity=nil, accesscontrol=nil, ccprotection=nil, antitamper=nil, antileakage=nil, apiprotection=nil, requestid=nil)
|
4784
|
+
@WebSecurity = websecurity
|
4785
|
+
@AccessControl = accesscontrol
|
4786
|
+
@CcProtection = ccprotection
|
4787
|
+
@AntiTamper = antitamper
|
4788
|
+
@AntiLeakage = antileakage
|
4789
|
+
@ApiProtection = apiprotection
|
4767
4790
|
@RequestId = requestid
|
4768
4791
|
end
|
4769
4792
|
|
4770
4793
|
def deserialize(params)
|
4794
|
+
@WebSecurity = params['WebSecurity']
|
4795
|
+
@AccessControl = params['AccessControl']
|
4796
|
+
@CcProtection = params['CcProtection']
|
4797
|
+
@AntiTamper = params['AntiTamper']
|
4798
|
+
@AntiLeakage = params['AntiLeakage']
|
4799
|
+
@ApiProtection = params['ApiProtection']
|
4771
4800
|
@RequestId = params['RequestId']
|
4772
4801
|
end
|
4773
4802
|
end
|
@@ -9144,12 +9173,41 @@ module TencentCloud
|
|
9144
9173
|
|
9145
9174
|
# ModifyModuleStatus请求参数结构体
|
9146
9175
|
class ModifyModuleStatusRequest < TencentCloud::Common::AbstractModel
|
9176
|
+
# @param Domain: 需要设置的domain
|
9177
|
+
# @type Domain: String
|
9178
|
+
# @param WebSecurity: WEB 安全模块开关,0或1
|
9179
|
+
# @type WebSecurity: Integer
|
9180
|
+
# @param AccessControl: 访问控制模块开关,0或者1
|
9181
|
+
# @type AccessControl: Integer
|
9182
|
+
# @param CcProtection: CC模块开关,0或者1
|
9183
|
+
# @type CcProtection: Integer
|
9184
|
+
# @param ApiProtection: API安全模块开关,0或者1
|
9185
|
+
# @type ApiProtection: Integer
|
9186
|
+
# @param AntiTamper: 防篡改模块开关,0或者1
|
9187
|
+
# @type AntiTamper: Integer
|
9188
|
+
# @param AntiLeakage: 防泄漏模块开关,0或者1
|
9189
|
+
# @type AntiLeakage: Integer
|
9147
9190
|
|
9191
|
+
attr_accessor :Domain, :WebSecurity, :AccessControl, :CcProtection, :ApiProtection, :AntiTamper, :AntiLeakage
|
9148
9192
|
|
9149
|
-
def initialize()
|
9193
|
+
def initialize(domain=nil, websecurity=nil, accesscontrol=nil, ccprotection=nil, apiprotection=nil, antitamper=nil, antileakage=nil)
|
9194
|
+
@Domain = domain
|
9195
|
+
@WebSecurity = websecurity
|
9196
|
+
@AccessControl = accesscontrol
|
9197
|
+
@CcProtection = ccprotection
|
9198
|
+
@ApiProtection = apiprotection
|
9199
|
+
@AntiTamper = antitamper
|
9200
|
+
@AntiLeakage = antileakage
|
9150
9201
|
end
|
9151
9202
|
|
9152
9203
|
def deserialize(params)
|
9204
|
+
@Domain = params['Domain']
|
9205
|
+
@WebSecurity = params['WebSecurity']
|
9206
|
+
@AccessControl = params['AccessControl']
|
9207
|
+
@CcProtection = params['CcProtection']
|
9208
|
+
@ApiProtection = params['ApiProtection']
|
9209
|
+
@AntiTamper = params['AntiTamper']
|
9210
|
+
@AntiLeakage = params['AntiLeakage']
|
9153
9211
|
end
|
9154
9212
|
end
|
9155
9213
|
|
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.697
|
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-11-
|
11
|
+
date: 2023-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20180125/models.rb
|
37
|
-
- lib/v20180125/client.rb
|
38
36
|
- lib/tencentcloud-sdk-waf.rb
|
37
|
+
- lib/v20180125/client.rb
|
38
|
+
- lib/v20180125/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|