tencentcloud-sdk-waf 1.0.361 → 1.0.362
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 -24
- data/lib/v20180125/models.rb +0 -68
- 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: 582a413c5f68dbcfa7a7a1108c2a256695dab101
|
4
|
+
data.tar.gz: b88c474ba08d98109c9bb29d5d9aa8b90db561bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21000d210ab54f6d6e420a46c428de22dff7583a2da7c4042a888a145d06e5f9440cbab21259528b01b3ff37bdcd4761bd206796a6689576302f3796830a499d
|
7
|
+
data.tar.gz: fb93c7d52014e2bac6aee1690ddedd9def7a2a089623176a255ff9cfa4acd477d7f9b2c2b94aa0fbda949bc5a1dcfafda51796556d86294b69706729fb2956b8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.362
|
data/lib/v20180125/client.rb
CHANGED
@@ -125,30 +125,6 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
-
# 创建攻击日志下载任务
|
129
|
-
|
130
|
-
# @param request: Request instance for CreateAttackDownloadTask.
|
131
|
-
# @type request: :class:`Tencentcloud::waf::V20180125::CreateAttackDownloadTaskRequest`
|
132
|
-
# @rtype: :class:`Tencentcloud::waf::V20180125::CreateAttackDownloadTaskResponse`
|
133
|
-
def CreateAttackDownloadTask(request)
|
134
|
-
body = send_request('CreateAttackDownloadTask', request.serialize)
|
135
|
-
response = JSON.parse(body)
|
136
|
-
if response['Response'].key?('Error') == false
|
137
|
-
model = CreateAttackDownloadTaskResponse.new
|
138
|
-
model.deserialize(response['Response'])
|
139
|
-
model
|
140
|
-
else
|
141
|
-
code = response['Response']['Error']['Code']
|
142
|
-
message = response['Response']['Error']['Message']
|
143
|
-
reqid = response['Response']['RequestId']
|
144
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
-
end
|
146
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
-
raise e
|
148
|
-
rescue StandardError => e
|
149
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
-
end
|
151
|
-
|
152
128
|
# 本接口用于删除访问日志导出
|
153
129
|
|
154
130
|
# @param request: Request instance for DeleteAccessExport.
|
data/lib/v20180125/models.rb
CHANGED
@@ -736,74 +736,6 @@ module TencentCloud
|
|
736
736
|
end
|
737
737
|
end
|
738
738
|
|
739
|
-
# CreateAttackDownloadTask请求参数结构体
|
740
|
-
class CreateAttackDownloadTaskRequest < TencentCloud::Common::AbstractModel
|
741
|
-
# @param Domain: 域名,所有域名填写all
|
742
|
-
# @type Domain: String
|
743
|
-
# @param FromTime: 查询起始时间
|
744
|
-
# @type FromTime: String
|
745
|
-
# @param ToTime: 查询结束时间
|
746
|
-
# @type ToTime: String
|
747
|
-
# @param Name: 下载任务名字
|
748
|
-
# @type Name: String
|
749
|
-
# @param RiskLevel: 风险等级
|
750
|
-
# @type RiskLevel: Integer
|
751
|
-
# @param Status: 拦截状态
|
752
|
-
# @type Status: Integer
|
753
|
-
# @param RuleId: 自定义策略ID
|
754
|
-
# @type RuleId: Integer
|
755
|
-
# @param AttackIp: 攻击者IP
|
756
|
-
# @type AttackIp: String
|
757
|
-
# @param AttackType: 攻击类型
|
758
|
-
# @type AttackType: String
|
759
|
-
|
760
|
-
attr_accessor :Domain, :FromTime, :ToTime, :Name, :RiskLevel, :Status, :RuleId, :AttackIp, :AttackType
|
761
|
-
|
762
|
-
def initialize(domain=nil, fromtime=nil, totime=nil, name=nil, risklevel=nil, status=nil, ruleid=nil, attackip=nil, attacktype=nil)
|
763
|
-
@Domain = domain
|
764
|
-
@FromTime = fromtime
|
765
|
-
@ToTime = totime
|
766
|
-
@Name = name
|
767
|
-
@RiskLevel = risklevel
|
768
|
-
@Status = status
|
769
|
-
@RuleId = ruleid
|
770
|
-
@AttackIp = attackip
|
771
|
-
@AttackType = attacktype
|
772
|
-
end
|
773
|
-
|
774
|
-
def deserialize(params)
|
775
|
-
@Domain = params['Domain']
|
776
|
-
@FromTime = params['FromTime']
|
777
|
-
@ToTime = params['ToTime']
|
778
|
-
@Name = params['Name']
|
779
|
-
@RiskLevel = params['RiskLevel']
|
780
|
-
@Status = params['Status']
|
781
|
-
@RuleId = params['RuleId']
|
782
|
-
@AttackIp = params['AttackIp']
|
783
|
-
@AttackType = params['AttackType']
|
784
|
-
end
|
785
|
-
end
|
786
|
-
|
787
|
-
# CreateAttackDownloadTask返回参数结构体
|
788
|
-
class CreateAttackDownloadTaskResponse < TencentCloud::Common::AbstractModel
|
789
|
-
# @param Flow: 任务ID
|
790
|
-
# @type Flow: String
|
791
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
792
|
-
# @type RequestId: String
|
793
|
-
|
794
|
-
attr_accessor :Flow, :RequestId
|
795
|
-
|
796
|
-
def initialize(flow=nil, requestid=nil)
|
797
|
-
@Flow = flow
|
798
|
-
@RequestId = requestid
|
799
|
-
end
|
800
|
-
|
801
|
-
def deserialize(params)
|
802
|
-
@Flow = params['Flow']
|
803
|
-
@RequestId = params['RequestId']
|
804
|
-
end
|
805
|
-
end
|
806
|
-
|
807
739
|
# DeleteAccessExport请求参数结构体
|
808
740
|
class DeleteAccessExportRequest < TencentCloud::Common::AbstractModel
|
809
741
|
# @param ExportId: 日志导出ID
|
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: 1.0.
|
4
|
+
version: 1.0.362
|
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-07-
|
11
|
+
date: 2022-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|