tencentcloud-sdk-privatedns 1.0.280 → 1.0.281

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: f67b9fb8d1bd90a110ec103afc46b4224ba03e95
4
- data.tar.gz: f4a170494befbd7687836e8d81d75453704423f4
3
+ metadata.gz: ded8a14b6720fcaa1f210a7d6e52a210bf0436fe
4
+ data.tar.gz: 1badf5f409a0fe0f4cf419eff8cc4612f3583592
5
5
  SHA512:
6
- metadata.gz: 095cb380ddfe5f8aff68b505505a3e5804626179c3ad461086df23e23ab115fb3d66695864b02393b5f4d1b7dd90b6ed71d4ecdc32380c5e84c8c1b001660c95
7
- data.tar.gz: fb30c4705b64ab657ca77e0e728aa5dd5d8d512d3098238a3d55e27fe363f4d8c91781ecf75d856a197997d01a0f7f36ded838ad43587eaf5f05f4afbc75d17f
6
+ metadata.gz: 3c3b0664635acf8eb7d2fe6e8802e80ffcf3ed483c6295be62e3ee9adbf354ce501870f5303a2f7c1b546e07c957b4ac31d41ed67e174cf7971606052b5e54ba
7
+ data.tar.gz: 9fa5e25f549f5e9c471bc5e44ebc242b45895065a9d3a11429062058a961400607ce00b14e9a20872547d46a3d6887b4b7e15aa20e718e97edde6b5139be23a9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.280
1
+ 1.0.281
@@ -365,6 +365,30 @@ module TencentCloud
365
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
366
  end
367
367
 
368
+ # 查询额度使用情况
369
+
370
+ # @param request: Request instance for DescribeQuotaUsage.
371
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeQuotaUsageRequest`
372
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeQuotaUsageResponse`
373
+ def DescribeQuotaUsage(request)
374
+ body = send_request('DescribeQuotaUsage', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DescribeQuotaUsageResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
368
392
  # 获取私有域解析请求量
369
393
 
370
394
  # @param request: Request instance for DescribeRequestData.
@@ -919,6 +919,40 @@ module TencentCloud
919
919
  end
920
920
  end
921
921
 
922
+ # DescribeQuotaUsage请求参数结构体
923
+ class DescribeQuotaUsageRequest < TencentCloud::Common::AbstractModel
924
+
925
+
926
+ def initialize()
927
+ end
928
+
929
+ def deserialize(params)
930
+ end
931
+ end
932
+
933
+ # DescribeQuotaUsage返回参数结构体
934
+ class DescribeQuotaUsageResponse < TencentCloud::Common::AbstractModel
935
+ # @param TldQuota: Tld额度使用情况
936
+ # @type TldQuota: :class:`Tencentcloud::Privatedns.v20201028.models.TldQuota`
937
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
938
+ # @type RequestId: String
939
+
940
+ attr_accessor :TldQuota, :RequestId
941
+
942
+ def initialize(tldquota=nil, requestid=nil)
943
+ @TldQuota = tldquota
944
+ @RequestId = requestid
945
+ end
946
+
947
+ def deserialize(params)
948
+ unless params['TldQuota'].nil?
949
+ @TldQuota = TldQuota.new
950
+ @TldQuota.deserialize(params['TldQuota'])
951
+ end
952
+ @RequestId = params['RequestId']
953
+ end
954
+ end
955
+
922
956
  # DescribeRequestData请求参数结构体
923
957
  class DescribeRequestDataRequest < TencentCloud::Common::AbstractModel
924
958
  # @param TimeRangeBegin: 请求量统计起始时间,格式:2020-11-22 00:00:00
@@ -1457,6 +1491,34 @@ module TencentCloud
1457
1491
  end
1458
1492
  end
1459
1493
 
1494
+ # Tld额度
1495
+ class TldQuota < TencentCloud::Common::AbstractModel
1496
+ # @param Total: 总共额度
1497
+ # @type Total: Integer
1498
+ # @param Used: 已使用额度
1499
+ # @type Used: Integer
1500
+ # @param Stock: 库存
1501
+ # @type Stock: Integer
1502
+ # @param Quota: 用户限额
1503
+ # @type Quota: Integer
1504
+
1505
+ attr_accessor :Total, :Used, :Stock, :Quota
1506
+
1507
+ def initialize(total=nil, used=nil, stock=nil, quota=nil)
1508
+ @Total = total
1509
+ @Used = used
1510
+ @Stock = stock
1511
+ @Quota = quota
1512
+ end
1513
+
1514
+ def deserialize(params)
1515
+ @Total = params['Total']
1516
+ @Used = params['Used']
1517
+ @Stock = params['Stock']
1518
+ @Quota = params['Quota']
1519
+ end
1520
+ end
1521
+
1460
1522
  # Vpc信息
1461
1523
  class VpcInfo < TencentCloud::Common::AbstractModel
1462
1524
  # @param UniqVpcId: VpcId: vpc-xadsafsdasd
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-privatedns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.280
4
+ version: 1.0.281
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-03-21 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common