tencentcloud-sdk-antiddos 3.0.440 → 3.0.442

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: ca4c4ceef5e6d28acbf41d334233cc08511dc5d9
4
- data.tar.gz: baf7d32bdbcc78af83e9711731f333be20ae9158
3
+ metadata.gz: 53e62d66c86ccc860ab9ccdd1111264e3502d5b1
4
+ data.tar.gz: 7cbfdde81b7ce867d3471fe3ca10c0a09dd9ebdb
5
5
  SHA512:
6
- metadata.gz: 87a200e4bb068eb533e680ffaca087b3ed0462ca2ae0c3dd81c79202f7927d8406c216cf8bcd262d2ee3950d48de4b8a49f54f3480f76c0e0a93ca8a2513a13d
7
- data.tar.gz: ecf93fb7aca99a0601834ed5c41e56db0675e953fad1c182b4403426c96110c54268af910c9d87d374ea3cfb202341252546ded35bf14ecb9bbc522721d2e26c
6
+ metadata.gz: e0d6f440ac1d49946b2f44c2812ee02de92d24a238bc3c5747d0dc6abeab13d6f4d49c2e818180e8bdd0d7b10fcd5ed960e4d3066d7c735ddcec27c69ee50c59
7
+ data.tar.gz: 6045141d4eaa1d1e9642337abdea09d684b6ea852e0b555361a6aefb28f97b6101b80c02744c8ac5841c4d942e2fe8d51baab49f966630cd3495e6f70c1d3ae5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.440
1
+ 3.0.442
@@ -1829,6 +1829,30 @@ module TencentCloud
1829
1829
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1830
1830
  end
1831
1831
 
1832
+ # 查询账号维度待处理风险信息,包括是否为付费用户,查询攻击中、封堵中、过期资源数量等
1833
+
1834
+ # @param request: Request instance for DescribePendingRiskInfo.
1835
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribePendingRiskInfoRequest`
1836
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribePendingRiskInfoResponse`
1837
+ def DescribePendingRiskInfo(request)
1838
+ body = send_request('DescribePendingRiskInfo', request.serialize)
1839
+ response = JSON.parse(body)
1840
+ if response['Response'].key?('Error') == false
1841
+ model = DescribePendingRiskInfoResponse.new
1842
+ model.deserialize(response['Response'])
1843
+ model
1844
+ else
1845
+ code = response['Response']['Error']['Code']
1846
+ message = response['Response']['Error']['Message']
1847
+ reqid = response['Response']['RequestId']
1848
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1849
+ end
1850
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1851
+ raise e
1852
+ rescue StandardError => e
1853
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1854
+ end
1855
+
1832
1856
  # 本接口 (DisassociateDDoSEipAddress) 用于解绑高防弹性公网IP。
1833
1857
 
1834
1858
  # @param request: Request instance for DisassociateDDoSEipAddress.
@@ -5420,6 +5420,53 @@ module TencentCloud
5420
5420
  end
5421
5421
  end
5422
5422
 
5423
+ # DescribePendingRiskInfo请求参数结构体
5424
+ class DescribePendingRiskInfoRequest < TencentCloud::Common::AbstractModel
5425
+
5426
+
5427
+ def initialize()
5428
+ end
5429
+
5430
+ def deserialize(params)
5431
+ end
5432
+ end
5433
+
5434
+ # DescribePendingRiskInfo返回参数结构体
5435
+ class DescribePendingRiskInfoResponse < TencentCloud::Common::AbstractModel
5436
+ # @param IsPaidUsr: 是否为付费用户
5437
+ # @type IsPaidUsr: Boolean
5438
+ # @param AttackingCount: 攻击中的资源数量
5439
+ # @type AttackingCount: Integer
5440
+ # @param BlockingCount: 封堵中的资源数量
5441
+ # @type BlockingCount: Integer
5442
+ # @param ExpiredCount: 已过期的资源数量
5443
+ # @type ExpiredCount: Integer
5444
+ # @param Total: 所有待处理风险事件总数
5445
+ # @type Total: Integer
5446
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5447
+ # @type RequestId: String
5448
+
5449
+ attr_accessor :IsPaidUsr, :AttackingCount, :BlockingCount, :ExpiredCount, :Total, :RequestId
5450
+
5451
+ def initialize(ispaidusr=nil, attackingcount=nil, blockingcount=nil, expiredcount=nil, total=nil, requestid=nil)
5452
+ @IsPaidUsr = ispaidusr
5453
+ @AttackingCount = attackingcount
5454
+ @BlockingCount = blockingcount
5455
+ @ExpiredCount = expiredcount
5456
+ @Total = total
5457
+ @RequestId = requestid
5458
+ end
5459
+
5460
+ def deserialize(params)
5461
+ @IsPaidUsr = params['IsPaidUsr']
5462
+ @AttackingCount = params['AttackingCount']
5463
+ @BlockingCount = params['BlockingCount']
5464
+ @ExpiredCount = params['ExpiredCount']
5465
+ @Total = params['Total']
5466
+ @RequestId = params['RequestId']
5467
+ end
5468
+ end
5469
+
5423
5470
  # DisassociateDDoSEipAddress请求参数结构体
5424
5471
  class DisassociateDDoSEipAddressRequest < TencentCloud::Common::AbstractModel
5425
5472
  # @param InstanceId: 资源实例ID,实例ID形如:bgpip-0000011x。只能填写高防IP实例。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-antiddos
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.440
4
+ version: 3.0.442
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-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common