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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f086a7bd30a0efe787054933ffa43bc955b9a10
4
- data.tar.gz: 5c3bdcb83ba79683f60e68712ac46a6194040400
3
+ metadata.gz: d6b3247ae077a19798722c26a5b81912a0f49eb7
4
+ data.tar.gz: a2d6bc0ef322004781bfedf099b1d89f9bf4d1a8
5
5
  SHA512:
6
- metadata.gz: 14b27be08c6f6db5530db5e73b3d936125afc85bb15c0130b881591a7925de557ea2363687918457cc6b581ae88a5ecb4fc114f3cb13e16eed4a9e2204db0c61
7
- data.tar.gz: 9890997f19c9fa1066acf79160717d0743f09976ca68f832bdaca0c3efc3c6fe37decdb05b589f4f812b45a9f122feffa7f6ef32b8f53fd89b61694264cbb27d
6
+ metadata.gz: a675162a50717b7be963544a759bb3425bb4afa2d61822854de64368f1290c9d2db207085e0f5070902485b0c7b31be9a952614ac10117d18b9f1f593ef96a5e
7
+ data.tar.gz: eb57bfdfc3fe0948857448c77e3f8e780036cfb57cef77e178ab63eed16c32d531e66ce028ba84e8fcc422f53a603c97ea24d50c6c4ed2f2cb0f8e2692f6a2a7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.695
1
+ 3.0.697
@@ -852,8 +852,6 @@ module TencentCloud
852
852
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
853
853
  end
854
854
 
855
- # 接口已废弃
856
-
857
855
  # 描述WAF自动封禁IP详情,对齐自动封堵状态
858
856
 
859
857
  # @param request: Request instance for DescribeAutoDenyIP.
@@ -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.695
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-07 00:00:00.000000000 Z
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: