tencentcloud-sdk-waf 3.0.854 → 3.0.855
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 +12 -51
- 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: e167e22819dc15ce0740744576aac4415fc0c372
|
4
|
+
data.tar.gz: dc94399411dfb2654c210bdc50a246064139d8d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aedec76eb65a2cfbc5498318ae8540c3aa4c481c6d1e1e52a27b084592be691ce6cb748364efe91c7493291ff79ea9d8a011418e4222c0b8c9b91a78faff83e
|
7
|
+
data.tar.gz: 09761c22a0457d116190da886177c58846bc92d03f969451546b388bfdcc8eafac96077a0de1d1e3904b97c9da304d03e5a5bab51c98cd96f90a4d12569e1ec1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.855
|
data/lib/v20180125/client.rb
CHANGED
@@ -2267,30 +2267,6 @@ module TencentCloud
|
|
2267
2267
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2268
2268
|
end
|
2269
2269
|
|
2270
|
-
# 本接口用于修改访问日志保存期限等字段信息
|
2271
|
-
|
2272
|
-
# @param request: Request instance for ModifyAccessPeriod.
|
2273
|
-
# @type request: :class:`Tencentcloud::waf::V20180125::ModifyAccessPeriodRequest`
|
2274
|
-
# @rtype: :class:`Tencentcloud::waf::V20180125::ModifyAccessPeriodResponse`
|
2275
|
-
def ModifyAccessPeriod(request)
|
2276
|
-
body = send_request('ModifyAccessPeriod', request.serialize)
|
2277
|
-
response = JSON.parse(body)
|
2278
|
-
if response['Response'].key?('Error') == false
|
2279
|
-
model = ModifyAccessPeriodResponse.new
|
2280
|
-
model.deserialize(response['Response'])
|
2281
|
-
model
|
2282
|
-
else
|
2283
|
-
code = response['Response']['Error']['Code']
|
2284
|
-
message = response['Response']['Error']['Message']
|
2285
|
-
reqid = response['Response']['RequestId']
|
2286
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2287
|
-
end
|
2288
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2289
|
-
raise e
|
2290
|
-
rescue StandardError => e
|
2291
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2292
|
-
end
|
2293
|
-
|
2294
2270
|
# 编辑防篡改url
|
2295
2271
|
|
2296
2272
|
# @param request: Request instance for ModifyAntiFakeUrl.
|
data/lib/v20180125/models.rb
CHANGED
@@ -80,8 +80,8 @@ module TencentCloud
|
|
80
80
|
|
81
81
|
attr_accessor :BTime, :Count, :BeginTime
|
82
82
|
extend Gem::Deprecate
|
83
|
-
deprecate :BTime, :none, 2024,
|
84
|
-
deprecate :BTime=, :none, 2024,
|
83
|
+
deprecate :BTime, :none, 2024, 7
|
84
|
+
deprecate :BTime=, :none, 2024, 7
|
85
85
|
|
86
86
|
def initialize(btime=nil, count=nil, begintime=nil)
|
87
87
|
@BTime = btime
|
@@ -3109,8 +3109,8 @@ module TencentCloud
|
|
3109
3109
|
|
3110
3110
|
attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
|
3111
3111
|
extend Gem::Deprecate
|
3112
|
-
deprecate :TopicId, :none, 2024,
|
3113
|
-
deprecate :TopicId=, :none, 2024,
|
3112
|
+
deprecate :TopicId, :none, 2024, 7
|
3113
|
+
deprecate :TopicId=, :none, 2024, 7
|
3114
3114
|
|
3115
3115
|
def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
|
3116
3116
|
@From = from
|
@@ -5489,10 +5489,10 @@ module TencentCloud
|
|
5489
5489
|
|
5490
5490
|
attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId
|
5491
5491
|
extend Gem::Deprecate
|
5492
|
-
deprecate :VtsMin, :none, 2024,
|
5493
|
-
deprecate :VtsMin=, :none, 2024,
|
5494
|
-
deprecate :VtsMax, :none, 2024,
|
5495
|
-
deprecate :VtsMax=, :none, 2024,
|
5492
|
+
deprecate :VtsMin, :none, 2024, 7
|
5493
|
+
deprecate :VtsMin=, :none, 2024, 7
|
5494
|
+
deprecate :VtsMax, :none, 2024, 7
|
5495
|
+
deprecate :VtsMax=, :none, 2024, 7
|
5496
5496
|
|
5497
5497
|
def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil, validtimestampmin=nil, validtimestampmax=nil, ruleid=nil)
|
5498
5498
|
@Domain = domain
|
@@ -5595,10 +5595,10 @@ module TencentCloud
|
|
5595
5595
|
|
5596
5596
|
attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
|
5597
5597
|
extend Gem::Deprecate
|
5598
|
-
deprecate :VtsMin, :none, 2024,
|
5599
|
-
deprecate :VtsMin=, :none, 2024,
|
5600
|
-
deprecate :VtsMax, :none, 2024,
|
5601
|
-
deprecate :VtsMax=, :none, 2024,
|
5598
|
+
deprecate :VtsMin, :none, 2024, 7
|
5599
|
+
deprecate :VtsMin=, :none, 2024, 7
|
5600
|
+
deprecate :VtsMax, :none, 2024, 7
|
5601
|
+
deprecate :VtsMax=, :none, 2024, 7
|
5602
5602
|
|
5603
5603
|
def initialize(domain=nil, count=nil, category=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, skip=nil, limit=nil, name=nil, sort=nil, ip=nil, validtimestampmin=nil, validtimestampmax=nil)
|
5604
5604
|
@Domain = domain
|
@@ -9343,45 +9343,6 @@ module TencentCloud
|
|
9343
9343
|
end
|
9344
9344
|
end
|
9345
9345
|
|
9346
|
-
# ModifyAccessPeriod请求参数结构体
|
9347
|
-
class ModifyAccessPeriodRequest < TencentCloud::Common::AbstractModel
|
9348
|
-
# @param Period: 访问日志保存期限,范围为[1, 180]
|
9349
|
-
# @type Period: Integer
|
9350
|
-
# @param TopicId: 日志主题,新版本不需要再传
|
9351
|
-
# @type TopicId: String
|
9352
|
-
|
9353
|
-
attr_accessor :Period, :TopicId
|
9354
|
-
extend Gem::Deprecate
|
9355
|
-
deprecate :TopicId, :none, 2024, 6
|
9356
|
-
deprecate :TopicId=, :none, 2024, 6
|
9357
|
-
|
9358
|
-
def initialize(period=nil, topicid=nil)
|
9359
|
-
@Period = period
|
9360
|
-
@TopicId = topicid
|
9361
|
-
end
|
9362
|
-
|
9363
|
-
def deserialize(params)
|
9364
|
-
@Period = params['Period']
|
9365
|
-
@TopicId = params['TopicId']
|
9366
|
-
end
|
9367
|
-
end
|
9368
|
-
|
9369
|
-
# ModifyAccessPeriod返回参数结构体
|
9370
|
-
class ModifyAccessPeriodResponse < TencentCloud::Common::AbstractModel
|
9371
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9372
|
-
# @type RequestId: String
|
9373
|
-
|
9374
|
-
attr_accessor :RequestId
|
9375
|
-
|
9376
|
-
def initialize(requestid=nil)
|
9377
|
-
@RequestId = requestid
|
9378
|
-
end
|
9379
|
-
|
9380
|
-
def deserialize(params)
|
9381
|
-
@RequestId = params['RequestId']
|
9382
|
-
end
|
9383
|
-
end
|
9384
|
-
|
9385
9346
|
# ModifyAntiFakeUrl请求参数结构体
|
9386
9347
|
class ModifyAntiFakeUrlRequest < TencentCloud::Common::AbstractModel
|
9387
9348
|
# @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.855
|
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-
|
11
|
+
date: 2024-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|