tencentcloud-sdk-cbs 3.0.863 → 3.0.865

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: 8ab53b1aaf40f0208018d0f2af09aa01895cb60c
4
- data.tar.gz: 6190a1e91753e4681de88be5c82f5fa157f69d30
3
+ metadata.gz: 484291e3f2bad0d50576d07313fb7441b69a6603
4
+ data.tar.gz: fc9bae28e42cbc6a7fd246f63babecef05b41de9
5
5
  SHA512:
6
- metadata.gz: 3b14ee47e26a324ed97f892ba2232723e39c7c106a55a42f3bad92a7dce5f8b10479f2439485bcb8cea3db2a1c95d9961695da2ad35ff70a3782e3a4330ee15e
7
- data.tar.gz: 414d8cef608ca57bbc73d4bf8a80fa5356b019fb797cd91f017d35dd6e3973c91afa6867bcfecaf1b22a2813d99ddc66de4e7b2b0cc0db7cd181531ecd754fc7
6
+ metadata.gz: ca023a1165d887228123a9cb3e37faf8ddc75cfc00d29ad328060127d96b97968cb0c345285b3ae1bd7aada0952fc2dd67cbf74be12e88fde5c93983ccb78ecc
7
+ data.tar.gz: 847bd77fd1b72822eb59c209b13b4eb964f65b046949dfb30980faefd0db1f4e6502eddab081c4314ba72aaecce518a123290fb012c9e7d8226e782fd84e75fd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.863
1
+ 3.0.865
@@ -532,6 +532,30 @@ module TencentCloud
532
532
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
533
533
  end
534
534
 
535
+ # 该接口用于查询用户快照使用概览,包括快照总容量、计费容量等信息。
536
+
537
+ # @param request: Request instance for DescribeSnapshotOverview.
538
+ # @type request: :class:`Tencentcloud::cbs::V20170312::DescribeSnapshotOverviewRequest`
539
+ # @rtype: :class:`Tencentcloud::cbs::V20170312::DescribeSnapshotOverviewResponse`
540
+ def DescribeSnapshotOverview(request)
541
+ body = send_request('DescribeSnapshotOverview', request.serialize)
542
+ response = JSON.parse(body)
543
+ if response['Response'].key?('Error') == false
544
+ model = DescribeSnapshotOverviewResponse.new
545
+ model.deserialize(response['Response'])
546
+ model
547
+ else
548
+ code = response['Response']['Error']['Code']
549
+ message = response['Response']['Error']['Message']
550
+ reqid = response['Response']['RequestId']
551
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
552
+ end
553
+ rescue TencentCloud::Common::TencentCloudSDKException => e
554
+ raise e
555
+ rescue StandardError => e
556
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
557
+ end
558
+
535
559
  # 本接口(DescribeSnapshotSharePermission)用于查询快照的分享信息。
536
560
 
537
561
  # @param request: Request instance for DescribeSnapshotSharePermission.
@@ -610,6 +634,8 @@ module TencentCloud
610
634
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
611
635
  end
612
636
 
637
+ # 为进一步规范化API命名,该接口决定预下线,新接口命名为:DescribeSnapshotOverview
638
+
613
639
  # 获取快照概览信息
614
640
 
615
641
  # @param request: Request instance for GetSnapOverview.
@@ -1350,6 +1350,49 @@ module TencentCloud
1350
1350
  end
1351
1351
  end
1352
1352
 
1353
+ # DescribeSnapshotOverview请求参数结构体
1354
+ class DescribeSnapshotOverviewRequest < TencentCloud::Common::AbstractModel
1355
+
1356
+
1357
+ def initialize()
1358
+ end
1359
+
1360
+ def deserialize(params)
1361
+ end
1362
+ end
1363
+
1364
+ # DescribeSnapshotOverview返回参数结构体
1365
+ class DescribeSnapshotOverviewResponse < TencentCloud::Common::AbstractModel
1366
+ # @param TotalNums: 当前总有效快照数量
1367
+ # @type TotalNums: Integer
1368
+ # @param TotalSize: 已使用快照总容量大小,容量单位为GiB
1369
+ # @type TotalSize: Float
1370
+ # @param FreeQuota: 快照免费额度大小,额度单位为GiB
1371
+ # @type FreeQuota: Float
1372
+ # @param RealTradeSize: 快照真实产生计费的总容量大小,单位为GiB
1373
+ # @type RealTradeSize: Float
1374
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1375
+ # @type RequestId: String
1376
+
1377
+ attr_accessor :TotalNums, :TotalSize, :FreeQuota, :RealTradeSize, :RequestId
1378
+
1379
+ def initialize(totalnums=nil, totalsize=nil, freequota=nil, realtradesize=nil, requestid=nil)
1380
+ @TotalNums = totalnums
1381
+ @TotalSize = totalsize
1382
+ @FreeQuota = freequota
1383
+ @RealTradeSize = realtradesize
1384
+ @RequestId = requestid
1385
+ end
1386
+
1387
+ def deserialize(params)
1388
+ @TotalNums = params['TotalNums']
1389
+ @TotalSize = params['TotalSize']
1390
+ @FreeQuota = params['FreeQuota']
1391
+ @RealTradeSize = params['RealTradeSize']
1392
+ @RequestId = params['RequestId']
1393
+ end
1394
+ end
1395
+
1353
1396
  # DescribeSnapshotSharePermission请求参数结构体
1354
1397
  class DescribeSnapshotSharePermissionRequest < TencentCloud::Common::AbstractModel
1355
1398
  # @param SnapshotId: 要查询快照的ID。可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.863
4
+ version: 3.0.865
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-07-11 00:00:00.000000000 Z
11
+ date: 2024-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common