tencentcloud-sdk-antiddos 3.0.402 → 3.0.405
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/v20200309/client.rb +0 -24
- data/lib/v20200309/models.rb +0 -50
- 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: 785b95d4dfe93621d8d24c8073bbd960fb4a86b2
|
4
|
+
data.tar.gz: 71657481884435b86823610a1285f47c8f6d6f4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 362da7fe667aacf9b095dbe02982a22953cd44cdda887c5283b77393f717f841e9b8500a764da94efe3be08b454903110a222e8e47e5b5d8d19ae2e1ce1172e7
|
7
|
+
data.tar.gz: 390bb2cccb68723faa6568a8926e5f8756a6e0a20e620cb6d35c8d9b338b987bfe99ff8932b0d5783946036688c7b8df45609eea7a27b8d3f39b22f2cd99b461
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.405
|
data/lib/v20200309/client.rb
CHANGED
@@ -2117,30 +2117,6 @@ module TencentCloud
|
|
2117
2117
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2118
2118
|
end
|
2119
2119
|
|
2120
|
-
# 修改边界防护L7转发规则
|
2121
|
-
|
2122
|
-
# @param request: Request instance for ModifyL7RulesEdge.
|
2123
|
-
# @type request: :class:`Tencentcloud::antiddos::V20200309::ModifyL7RulesEdgeRequest`
|
2124
|
-
# @rtype: :class:`Tencentcloud::antiddos::V20200309::ModifyL7RulesEdgeResponse`
|
2125
|
-
def ModifyL7RulesEdge(request)
|
2126
|
-
body = send_request('ModifyL7RulesEdge', request.serialize)
|
2127
|
-
response = JSON.parse(body)
|
2128
|
-
if response['Response'].key?('Error') == false
|
2129
|
-
model = ModifyL7RulesEdgeResponse.new
|
2130
|
-
model.deserialize(response['Response'])
|
2131
|
-
model
|
2132
|
-
else
|
2133
|
-
code = response['Response']['Error']['Code']
|
2134
|
-
message = response['Response']['Error']['Message']
|
2135
|
-
reqid = response['Response']['RequestId']
|
2136
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2137
|
-
end
|
2138
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2139
|
-
raise e
|
2140
|
-
rescue StandardError => e
|
2141
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2142
|
-
end
|
2143
|
-
|
2144
2120
|
# 修改7层转发规则
|
2145
2121
|
|
2146
2122
|
# @param request: Request instance for ModifyNewDomainRules.
|
data/lib/v20200309/models.rb
CHANGED
@@ -6606,56 +6606,6 @@ module TencentCloud
|
|
6606
6606
|
end
|
6607
6607
|
end
|
6608
6608
|
|
6609
|
-
# ModifyL7RulesEdge请求参数结构体
|
6610
|
-
class ModifyL7RulesEdgeRequest < TencentCloud::Common::AbstractModel
|
6611
|
-
# @param Business: 大禹子产品代号(edge表示边界防护产品)
|
6612
|
-
# @type Business: String
|
6613
|
-
# @param Id: 资源ID
|
6614
|
-
# @type Id: String
|
6615
|
-
# @param Rule: 规则
|
6616
|
-
# @type Rule: :class:`Tencentcloud::Antiddos.v20200309.models.L7RuleEntry`
|
6617
|
-
|
6618
|
-
attr_accessor :Business, :Id, :Rule
|
6619
|
-
|
6620
|
-
def initialize(business=nil, id=nil, rule=nil)
|
6621
|
-
@Business = business
|
6622
|
-
@Id = id
|
6623
|
-
@Rule = rule
|
6624
|
-
end
|
6625
|
-
|
6626
|
-
def deserialize(params)
|
6627
|
-
@Business = params['Business']
|
6628
|
-
@Id = params['Id']
|
6629
|
-
unless params['Rule'].nil?
|
6630
|
-
@Rule = L7RuleEntry.new
|
6631
|
-
@Rule.deserialize(params['Rule'])
|
6632
|
-
end
|
6633
|
-
end
|
6634
|
-
end
|
6635
|
-
|
6636
|
-
# ModifyL7RulesEdge返回参数结构体
|
6637
|
-
class ModifyL7RulesEdgeResponse < TencentCloud::Common::AbstractModel
|
6638
|
-
# @param Success: 成功码
|
6639
|
-
# @type Success: :class:`Tencentcloud::Antiddos.v20200309.models.SuccessCode`
|
6640
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6641
|
-
# @type RequestId: String
|
6642
|
-
|
6643
|
-
attr_accessor :Success, :RequestId
|
6644
|
-
|
6645
|
-
def initialize(success=nil, requestid=nil)
|
6646
|
-
@Success = success
|
6647
|
-
@RequestId = requestid
|
6648
|
-
end
|
6649
|
-
|
6650
|
-
def deserialize(params)
|
6651
|
-
unless params['Success'].nil?
|
6652
|
-
@Success = SuccessCode.new
|
6653
|
-
@Success.deserialize(params['Success'])
|
6654
|
-
end
|
6655
|
-
@RequestId = params['RequestId']
|
6656
|
-
end
|
6657
|
-
end
|
6658
|
-
|
6659
6609
|
# ModifyNewDomainRules请求参数结构体
|
6660
6610
|
class ModifyNewDomainRulesRequest < TencentCloud::Common::AbstractModel
|
6661
6611
|
# @param Business: 大禹子产品代号(bgpip表示高防IP)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-antiddos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.405
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|