tencentcloud-sdk-cwp 3.0.850 → 3.0.851
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/v20180228/client.rb +0 -26
- data/lib/v20180228/models.rb +4 -40
- 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: 5931e224f7bc781fda4da6bc6686e5f880029c49
|
4
|
+
data.tar.gz: 2b678067ae9b5c6622c79a713d933b716fbb8384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63f277e08c8d870fa2c18a6bc5982ffdb993f8b6cc7f79016d09a9fc06749b7f9bb8844ae892f12a6ef7d671df04377dbb23ae69f11084e3336b44d10fd08838
|
7
|
+
data.tar.gz: 2f74ac735a3985f9ce4b519ce641615d103ef5fe803e8786cf27005ed19c05524a788156a60da41f02cd681111a4a920a05b70731eba1551c687c907cfcfbf3b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.851
|
data/lib/v20180228/client.rb
CHANGED
@@ -728,32 +728,6 @@ module TencentCloud
|
|
728
728
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
729
729
|
end
|
730
730
|
|
731
|
-
# ModifyEventAttackStatus 接口替代
|
732
|
-
|
733
|
-
# 删除网络攻击日志
|
734
|
-
|
735
|
-
# @param request: Request instance for DeleteAttackLogs.
|
736
|
-
# @type request: :class:`Tencentcloud::cwp::V20180228::DeleteAttackLogsRequest`
|
737
|
-
# @rtype: :class:`Tencentcloud::cwp::V20180228::DeleteAttackLogsResponse`
|
738
|
-
def DeleteAttackLogs(request)
|
739
|
-
body = send_request('DeleteAttackLogs', request.serialize)
|
740
|
-
response = JSON.parse(body)
|
741
|
-
if response['Response'].key?('Error') == false
|
742
|
-
model = DeleteAttackLogsResponse.new
|
743
|
-
model.deserialize(response['Response'])
|
744
|
-
model
|
745
|
-
else
|
746
|
-
code = response['Response']['Error']['Code']
|
747
|
-
message = response['Response']['Error']['Message']
|
748
|
-
reqid = response['Response']['RequestId']
|
749
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
750
|
-
end
|
751
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
752
|
-
raise e
|
753
|
-
rescue StandardError => e
|
754
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
755
|
-
end
|
756
|
-
|
757
731
|
# 删除阻断白名单列表
|
758
732
|
|
759
733
|
# @param request: Request instance for DeleteBanWhiteList.
|
data/lib/v20180228/models.rb
CHANGED
@@ -4756,8 +4756,8 @@ module TencentCloud
|
|
4756
4756
|
|
4757
4757
|
attr_accessor :Id, :Uuid, :Name, :Level, :Rule, :Decription, :Operator, :IsGlobal, :Status, :CreateTime, :ModifyTime, :Hostip, :Uuids, :White, :DealOldEvents, :Description
|
4758
4758
|
extend Gem::Deprecate
|
4759
|
-
deprecate :Decription, :none, 2024,
|
4760
|
-
deprecate :Decription=, :none, 2024,
|
4759
|
+
deprecate :Decription, :none, 2024, 6
|
4760
|
+
deprecate :Decription=, :none, 2024, 6
|
4761
4761
|
|
4762
4762
|
def initialize(id=nil, uuid=nil, name=nil, level=nil, rule=nil, decription=nil, operator=nil, isglobal=nil, status=nil, createtime=nil, modifytime=nil, hostip=nil, uuids=nil, white=nil, dealoldevents=nil, description=nil)
|
4763
4763
|
@Id = id
|
@@ -6842,42 +6842,6 @@ module TencentCloud
|
|
6842
6842
|
end
|
6843
6843
|
end
|
6844
6844
|
|
6845
|
-
# DeleteAttackLogs请求参数结构体
|
6846
|
-
class DeleteAttackLogsRequest < TencentCloud::Common::AbstractModel
|
6847
|
-
# @param Ids: 日志ID数组,最大100条。
|
6848
|
-
# @type Ids: Array
|
6849
|
-
# @param IsAll: 是否全部删除
|
6850
|
-
# @type IsAll: Boolean
|
6851
|
-
|
6852
|
-
attr_accessor :Ids, :IsAll
|
6853
|
-
|
6854
|
-
def initialize(ids=nil, isall=nil)
|
6855
|
-
@Ids = ids
|
6856
|
-
@IsAll = isall
|
6857
|
-
end
|
6858
|
-
|
6859
|
-
def deserialize(params)
|
6860
|
-
@Ids = params['Ids']
|
6861
|
-
@IsAll = params['IsAll']
|
6862
|
-
end
|
6863
|
-
end
|
6864
|
-
|
6865
|
-
# DeleteAttackLogs返回参数结构体
|
6866
|
-
class DeleteAttackLogsResponse < TencentCloud::Common::AbstractModel
|
6867
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6868
|
-
# @type RequestId: String
|
6869
|
-
|
6870
|
-
attr_accessor :RequestId
|
6871
|
-
|
6872
|
-
def initialize(requestid=nil)
|
6873
|
-
@RequestId = requestid
|
6874
|
-
end
|
6875
|
-
|
6876
|
-
def deserialize(params)
|
6877
|
-
@RequestId = params['RequestId']
|
6878
|
-
end
|
6879
|
-
end
|
6880
|
-
|
6881
6845
|
# DeleteBanWhiteList请求参数结构体
|
6882
6846
|
class DeleteBanWhiteListRequest < TencentCloud::Common::AbstractModel
|
6883
6847
|
# @param Ids: 要删除的白名单ID列表 (最大100条)
|
@@ -28493,8 +28457,8 @@ module TencentCloud
|
|
28493
28457
|
|
28494
28458
|
attr_accessor :Filters, :Fileds, :Fields
|
28495
28459
|
extend Gem::Deprecate
|
28496
|
-
deprecate :Fileds, :none, 2024,
|
28497
|
-
deprecate :Fileds=, :none, 2024,
|
28460
|
+
deprecate :Fileds, :none, 2024, 6
|
28461
|
+
deprecate :Fileds=, :none, 2024, 6
|
28498
28462
|
|
28499
28463
|
def initialize(filters=nil, fileds=nil, fields=nil)
|
28500
28464
|
@Filters = filters
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cwp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.851
|
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-06-
|
11
|
+
date: 2024-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|