tencentcloud-sdk-waf 3.0.695 → 3.0.696
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 +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: 477c975b3cafd9569b355916737093a059b67096
|
4
|
+
data.tar.gz: 2960a113ed2b2520905dd7b5932cbcc2c8474637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8edbe1cb2e08ff8a16a7116ba5eabf6c894238d517665ce994448cd3985281dba7ea0cb435944142c135ce34040ad80b95c36ec36333abe262c4280bb01f3ac6
|
7
|
+
data.tar.gz: b5dbc650f4a74c36e92a033ab55153a6453e0f6dc6f4de3594bfde84bfdbe33e7ed18d6ba1925fb8bdd3440df4ade1e97355553dc945e1f129571f88fe96aace
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.696
|
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.696
|
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-08 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:
|