tencentcloud-sdk-waf 1.0.356 → 1.0.357

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8869f6e4bdb294a71c29a2d08c0ecb60dcb8f7c8
4
- data.tar.gz: e3b5f99b1910f9f60c4ea501f22a0233666c24da
3
+ metadata.gz: 12f6735f9bdb9bd8bb61a23691c8816ac00cedbc
4
+ data.tar.gz: 98630b33176d884340b07523a1d73b062d41559b
5
5
  SHA512:
6
- metadata.gz: 2401eaa27eae5bffcf98097a2fe719a998f73b7d330c6d4189184b08542051111ac0c4d27f6fce96a5394d0d6633f8121c72bb7a5ce0a7ff9badd8796e51feb0
7
- data.tar.gz: 3a6345466d1af1435cb540d1eb3c3b1ee8cf12201d37ccfbfe3d977be7f903ab4786552a6dd6ced189c361b5eba11fc389c5b68e101538ac8fdf8944befbe445
6
+ metadata.gz: de5e79f7815e99e46e6f7f77f4f3a363ad4b368fc17a09310d9bfe80b38f59261c5f9e27c8c0f460117dbdcab095d227a22faaeafa999b327695432002a28adc
7
+ data.tar.gz: 5416a2f718bb56b9f49f987629a510bce1053ce1ed15444068b9a335f404dbaeebf1e87f3cbffdac972ce99a9cbcdf8a98f8215af1455ef7554df3d51cf0ab0a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.356
1
+ 1.0.357
@@ -631,6 +631,30 @@ module TencentCloud
631
631
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
632
632
  end
633
633
 
634
+ # 查询下载攻击日志任务记录列表
635
+
636
+ # @param request: Request instance for GetAttackDownloadRecords.
637
+ # @type request: :class:`Tencentcloud::waf::V20180125::GetAttackDownloadRecordsRequest`
638
+ # @rtype: :class:`Tencentcloud::waf::V20180125::GetAttackDownloadRecordsResponse`
639
+ def GetAttackDownloadRecords(request)
640
+ body = send_request('GetAttackDownloadRecords', request.serialize)
641
+ response = JSON.parse(body)
642
+ if response['Response'].key?('Error') == false
643
+ model = GetAttackDownloadRecordsResponse.new
644
+ model.deserialize(response['Response'])
645
+ model
646
+ else
647
+ code = response['Response']['Error']['Code']
648
+ message = response['Response']['Error']['Message']
649
+ reqid = response['Response']['RequestId']
650
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
651
+ end
652
+ rescue TencentCloud::Common::TencentCloudSDKException => e
653
+ raise e
654
+ rescue StandardError => e
655
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
656
+ end
657
+
634
658
  # 本接口用于修改访问日志保存期限
635
659
 
636
660
  # @param request: Request instance for ModifyAccessPeriod.
@@ -2006,6 +2006,33 @@ module TencentCloud
2006
2006
  end
2007
2007
  end
2008
2008
 
2009
+ # GetAttackDownloadRecords请求参数结构体
2010
+ class GetAttackDownloadRecordsRequest < TencentCloud::Common::AbstractModel
2011
+
2012
+
2013
+ def initialize()
2014
+ end
2015
+
2016
+ def deserialize(params)
2017
+ end
2018
+ end
2019
+
2020
+ # GetAttackDownloadRecords返回参数结构体
2021
+ class GetAttackDownloadRecordsResponse < TencentCloud::Common::AbstractModel
2022
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2023
+ # @type RequestId: String
2024
+
2025
+ attr_accessor :RequestId
2026
+
2027
+ def initialize(requestid=nil)
2028
+ @RequestId = requestid
2029
+ end
2030
+
2031
+ def deserialize(params)
2032
+ @RequestId = params['RequestId']
2033
+ end
2034
+ end
2035
+
2009
2036
  # 一个实例的详细信息
2010
2037
  class InstanceInfo < TencentCloud::Common::AbstractModel
2011
2038
  # @param InstanceId: 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.356
4
+ version: 1.0.357
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-14 00:00:00.000000000 Z
11
+ date: 2022-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common