tencentcloud-sdk-waf 3.0.934 → 3.0.936

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: acefbf4e168d6c13a9d03d17001d19072a2a7dc6
4
- data.tar.gz: b73789eb10701bfc3eb9b97df2604d1f6cec5fec
3
+ metadata.gz: 65a3e5f80284080b1297f4c5a3003265fae59c49
4
+ data.tar.gz: 215c4b83c1e98f2edb98fcf1480dadabe1f86f21
5
5
  SHA512:
6
- metadata.gz: 544ed749e00889488e7c15cd8fb62dfc81a1bb4a31f192db94ff966632d567a9241f31b6766cd4e23d26bd71023b400359cfcb2985a28dc07e15ebe2fbe6f00a
7
- data.tar.gz: a3b571eeb19a7cfcb923d3b3e9ed6ede0bc3388aecdd90cefd1913adc99f170ef4686a9bea6d733386ab5b40d1ae23d79ea72ca1d45465e75ecaf9be77dde9ba
6
+ metadata.gz: d5875a88f8b041291ac69a0032e1be45d28e5d3da3c849340722d3ecd967b6c0cd09641dbb86c01ea29d7ab2e39e1277ea8b4d2b084279be6d60dc0aa512718f
7
+ data.tar.gz: efdd656e37f97b0b5b43e3519af82b78af56c6091b44ae168a249f20e6ae1318898f5f5fd4553fc54b9eae005ee38e914d23a02ee384670c2a414a943a6dccf6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.934
1
+ 3.0.936
@@ -533,32 +533,6 @@ module TencentCloud
533
533
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
534
  end
535
535
 
536
- # 废弃接口,无有效调用
537
-
538
- # 删除访问日志下载记录
539
-
540
- # @param request: Request instance for DeleteDownloadRecord.
541
- # @type request: :class:`Tencentcloud::waf::V20180125::DeleteDownloadRecordRequest`
542
- # @rtype: :class:`Tencentcloud::waf::V20180125::DeleteDownloadRecordResponse`
543
- def DeleteDownloadRecord(request)
544
- body = send_request('DeleteDownloadRecord', request.serialize)
545
- response = JSON.parse(body)
546
- if response['Response'].key?('Error') == false
547
- model = DeleteDownloadRecordResponse.new
548
- model.deserialize(response['Response'])
549
- model
550
- else
551
- code = response['Response']['Error']['Code']
552
- message = response['Response']['Error']['Message']
553
- reqid = response['Response']['RequestId']
554
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
555
- end
556
- rescue TencentCloud::Common::TencentCloudSDKException => e
557
- raise e
558
- rescue StandardError => e
559
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
560
- end
561
-
562
536
  # 删除负载均衡型域名,支持批量操作。
563
537
 
564
538
  # @param request: Request instance for DeleteHost.
@@ -799,58 +773,6 @@ module TencentCloud
799
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
800
774
  end
801
775
 
802
- # 废弃接口
803
-
804
- # 获取防篡改url
805
-
806
- # @param request: Request instance for DescribeAntiFakeUrl.
807
- # @type request: :class:`Tencentcloud::waf::V20180125::DescribeAntiFakeUrlRequest`
808
- # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeAntiFakeUrlResponse`
809
- def DescribeAntiFakeUrl(request)
810
- body = send_request('DescribeAntiFakeUrl', request.serialize)
811
- response = JSON.parse(body)
812
- if response['Response'].key?('Error') == false
813
- model = DescribeAntiFakeUrlResponse.new
814
- model.deserialize(response['Response'])
815
- model
816
- else
817
- code = response['Response']['Error']['Code']
818
- message = response['Response']['Error']['Message']
819
- reqid = response['Response']['RequestId']
820
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
821
- end
822
- rescue TencentCloud::Common::TencentCloudSDKException => e
823
- raise e
824
- rescue StandardError => e
825
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
826
- end
827
-
828
- # 老接口已经不再使用。
829
-
830
- # 获取信息防泄漏规则列表
831
-
832
- # @param request: Request instance for DescribeAntiInfoLeakRules.
833
- # @type request: :class:`Tencentcloud::waf::V20180125::DescribeAntiInfoLeakRulesRequest`
834
- # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeAntiInfoLeakRulesResponse`
835
- def DescribeAntiInfoLeakRules(request)
836
- body = send_request('DescribeAntiInfoLeakRules', request.serialize)
837
- response = JSON.parse(body)
838
- if response['Response'].key?('Error') == false
839
- model = DescribeAntiInfoLeakRulesResponse.new
840
- model.deserialize(response['Response'])
841
- model
842
- else
843
- code = response['Response']['Error']['Code']
844
- message = response['Response']['Error']['Message']
845
- reqid = response['Response']['RequestId']
846
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
847
- end
848
- rescue TencentCloud::Common::TencentCloudSDKException => e
849
- raise e
850
- rescue StandardError => e
851
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
852
- end
853
-
854
776
  # 取得信息防泄漏规则列表
855
777
 
856
778
  # @param request: Request instance for DescribeAntiInfoLeakageRules.
@@ -1835,6 +1757,30 @@ module TencentCloud
1835
1757
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1836
1758
  end
1837
1759
 
1760
+ # 查询扫描ip
1761
+
1762
+ # @param request: Request instance for DescribeScanIp.
1763
+ # @type request: :class:`Tencentcloud::waf::V20180125::DescribeScanIpRequest`
1764
+ # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeScanIpResponse`
1765
+ def DescribeScanIp(request)
1766
+ body = send_request('DescribeScanIp', request.serialize)
1767
+ response = JSON.parse(body)
1768
+ if response['Response'].key?('Error') == false
1769
+ model = DescribeScanIpResponse.new
1770
+ model.deserialize(response['Response'])
1771
+ model
1772
+ else
1773
+ code = response['Response']['Error']['Code']
1774
+ message = response['Response']['Error']['Message']
1775
+ reqid = response['Response']['RequestId']
1776
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1777
+ end
1778
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1779
+ raise e
1780
+ rescue StandardError => e
1781
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
+ end
1783
+
1838
1784
  # Waf 会话定义查询接口
1839
1785
 
1840
1786
  # @param request: Request instance for DescribeSession.