tencentcloud-sdk-waf 3.0.756 → 3.0.758
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 +24 -0
- data/lib/v20180125/models.rb +40 -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: 81f457b2679f089c0aa3b66795c519d92bc25bb8
|
4
|
+
data.tar.gz: bbc05a78cf1b0b4110c8376abf778b160b6cb578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3ed782e1af552ea3c3c58dc0079230d568f1de4202a4433cd46aca01b6767030bcde0351e487121591aa207b09495a146016ea6eade253dc225221feb4874af
|
7
|
+
data.tar.gz: d79299c638adbf5d1faccab75779e81108decceb5ad1e992a9d3a33481a70edc79f7e66016b578814ec7b5fe780e15e24b9b40d7123a85762507a4fad52d1431
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.758
|
data/lib/v20180125/client.rb
CHANGED
@@ -2461,6 +2461,30 @@ module TencentCloud
|
|
2461
2461
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2462
2462
|
end
|
2463
2463
|
|
2464
|
+
# 修改域名投递状态
|
2465
|
+
|
2466
|
+
# @param request: Request instance for ModifyDomainPostAction.
|
2467
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::ModifyDomainPostActionRequest`
|
2468
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::ModifyDomainPostActionResponse`
|
2469
|
+
def ModifyDomainPostAction(request)
|
2470
|
+
body = send_request('ModifyDomainPostAction', request.serialize)
|
2471
|
+
response = JSON.parse(body)
|
2472
|
+
if response['Response'].key?('Error') == false
|
2473
|
+
model = ModifyDomainPostActionResponse.new
|
2474
|
+
model.deserialize(response['Response'])
|
2475
|
+
model
|
2476
|
+
else
|
2477
|
+
code = response['Response']['Error']['Code']
|
2478
|
+
message = response['Response']['Error']['Message']
|
2479
|
+
reqid = response['Response']['RequestId']
|
2480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2481
|
+
end
|
2482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2483
|
+
raise e
|
2484
|
+
rescue StandardError => e
|
2485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2486
|
+
end
|
2487
|
+
|
2464
2488
|
# 更改某一条规则
|
2465
2489
|
|
2466
2490
|
# @param request: Request instance for ModifyDomainWhiteRule.
|
data/lib/v20180125/models.rb
CHANGED
@@ -9222,6 +9222,46 @@ module TencentCloud
|
|
9222
9222
|
end
|
9223
9223
|
end
|
9224
9224
|
|
9225
|
+
# ModifyDomainPostAction请求参数结构体
|
9226
|
+
class ModifyDomainPostActionRequest < TencentCloud::Common::AbstractModel
|
9227
|
+
# @param Domain: www.tx.com
|
9228
|
+
# @type Domain: String
|
9229
|
+
# @param PostCLSAction: 0-关闭投递,1-开启投递
|
9230
|
+
# @type PostCLSAction: Integer
|
9231
|
+
# @param PostCKafkaAction: 0-关闭投递,1-开启投递
|
9232
|
+
# @type PostCKafkaAction: Integer
|
9233
|
+
|
9234
|
+
attr_accessor :Domain, :PostCLSAction, :PostCKafkaAction
|
9235
|
+
|
9236
|
+
def initialize(domain=nil, postclsaction=nil, postckafkaaction=nil)
|
9237
|
+
@Domain = domain
|
9238
|
+
@PostCLSAction = postclsaction
|
9239
|
+
@PostCKafkaAction = postckafkaaction
|
9240
|
+
end
|
9241
|
+
|
9242
|
+
def deserialize(params)
|
9243
|
+
@Domain = params['Domain']
|
9244
|
+
@PostCLSAction = params['PostCLSAction']
|
9245
|
+
@PostCKafkaAction = params['PostCKafkaAction']
|
9246
|
+
end
|
9247
|
+
end
|
9248
|
+
|
9249
|
+
# ModifyDomainPostAction返回参数结构体
|
9250
|
+
class ModifyDomainPostActionResponse < TencentCloud::Common::AbstractModel
|
9251
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9252
|
+
# @type RequestId: String
|
9253
|
+
|
9254
|
+
attr_accessor :RequestId
|
9255
|
+
|
9256
|
+
def initialize(requestid=nil)
|
9257
|
+
@RequestId = requestid
|
9258
|
+
end
|
9259
|
+
|
9260
|
+
def deserialize(params)
|
9261
|
+
@RequestId = params['RequestId']
|
9262
|
+
end
|
9263
|
+
end
|
9264
|
+
|
9225
9265
|
# ModifyDomainWhiteRule请求参数结构体
|
9226
9266
|
class ModifyDomainWhiteRuleRequest < TencentCloud::Common::AbstractModel
|
9227
9267
|
# @param Domain: 需要更改的规则的域名
|
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.758
|
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-01-
|
11
|
+
date: 2024-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|