tencentcloud-sdk-waf 3.0.653 → 3.0.654
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 405055a77caa60b4529935ae2295aec68e0a4d19
|
4
|
+
data.tar.gz: bb5cbc666f378a6f979043d8686f3e48b88c64a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17e64feccd9a05b3471050b54e65d06f906c61cfe0b7cf084862315e8a5405e3efffba5428b79a5c208ee6730231eeefcf131df9692258fd0b5e8ce7037a2991
|
7
|
+
data.tar.gz: c40f5a0589a03c3d452c7954a31770f2ffd9cf52feda526757c8dff86d76c5ca5c87dfe810938b9c3ae637599372c70d07c72261d97e42e94cc361351b91bee8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.654
|
data/lib/v20180125/client.rb
CHANGED
@@ -1620,6 +1620,30 @@ module TencentCloud
|
|
1620
1620
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1621
1621
|
end
|
1622
1622
|
|
1623
|
+
# 刷新防篡改url
|
1624
|
+
|
1625
|
+
# @param request: Request instance for FreshAntiFakeUrl.
|
1626
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::FreshAntiFakeUrlRequest`
|
1627
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::FreshAntiFakeUrlResponse`
|
1628
|
+
def FreshAntiFakeUrl(request)
|
1629
|
+
body = send_request('FreshAntiFakeUrl', request.serialize)
|
1630
|
+
response = JSON.parse(body)
|
1631
|
+
if response['Response'].key?('Error') == false
|
1632
|
+
model = FreshAntiFakeUrlResponse.new
|
1633
|
+
model.deserialize(response['Response'])
|
1634
|
+
model
|
1635
|
+
else
|
1636
|
+
code = response['Response']['Error']['Code']
|
1637
|
+
message = response['Response']['Error']['Message']
|
1638
|
+
reqid = response['Response']['RequestId']
|
1639
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1640
|
+
end
|
1641
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1642
|
+
raise e
|
1643
|
+
rescue StandardError => e
|
1644
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1645
|
+
end
|
1646
|
+
|
1623
1647
|
# 查询下载攻击日志任务记录列表
|
1624
1648
|
|
1625
1649
|
# @param request: Request instance for GetAttackDownloadRecords.
|
data/lib/v20180125/models.rb
CHANGED
@@ -5253,6 +5253,46 @@ module TencentCloud
|
|
5253
5253
|
end
|
5254
5254
|
end
|
5255
5255
|
|
5256
|
+
# FreshAntiFakeUrl请求参数结构体
|
5257
|
+
class FreshAntiFakeUrlRequest < TencentCloud::Common::AbstractModel
|
5258
|
+
# @param Domain: 域名
|
5259
|
+
# @type Domain: String
|
5260
|
+
# @param Id: Id
|
5261
|
+
# @type Id: Integer
|
5262
|
+
|
5263
|
+
attr_accessor :Domain, :Id
|
5264
|
+
|
5265
|
+
def initialize(domain=nil, id=nil)
|
5266
|
+
@Domain = domain
|
5267
|
+
@Id = id
|
5268
|
+
end
|
5269
|
+
|
5270
|
+
def deserialize(params)
|
5271
|
+
@Domain = params['Domain']
|
5272
|
+
@Id = params['Id']
|
5273
|
+
end
|
5274
|
+
end
|
5275
|
+
|
5276
|
+
# FreshAntiFakeUrl返回参数结构体
|
5277
|
+
class FreshAntiFakeUrlResponse < TencentCloud::Common::AbstractModel
|
5278
|
+
# @param Result: 结果成功与否
|
5279
|
+
# @type Result: String
|
5280
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5281
|
+
# @type RequestId: String
|
5282
|
+
|
5283
|
+
attr_accessor :Result, :RequestId
|
5284
|
+
|
5285
|
+
def initialize(result=nil, requestid=nil)
|
5286
|
+
@Result = result
|
5287
|
+
@RequestId = requestid
|
5288
|
+
end
|
5289
|
+
|
5290
|
+
def deserialize(params)
|
5291
|
+
@Result = params['Result']
|
5292
|
+
@RequestId = params['RequestId']
|
5293
|
+
end
|
5294
|
+
end
|
5295
|
+
|
5256
5296
|
# GetAttackDownloadRecords请求参数结构体
|
5257
5297
|
class GetAttackDownloadRecordsRequest < TencentCloud::Common::AbstractModel
|
5258
5298
|
|
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.654
|
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-09-
|
11
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20180125/client.rb
|
37
36
|
- lib/v20180125/models.rb
|
37
|
+
- lib/v20180125/client.rb
|
38
38
|
- lib/tencentcloud-sdk-waf.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|