tencentcloud-sdk-billing 3.0.751 → 3.0.752

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: 3325ab78f6f88eb312a697d5dea29abb2fc5f47a
4
- data.tar.gz: b010ccf0f43319be84c730ca450530c456091081
3
+ metadata.gz: 48c2549b01ca182164034d357876ea48a4cccddc
4
+ data.tar.gz: 4a4128a4b9855b7a1620d2e06ef9ee3e90bc458c
5
5
  SHA512:
6
- metadata.gz: a4f3bf9bba0e188d4632d9f16495cd4bb305cc06c33f20fc254f4c13f03bc973efa9edeeab8071ed3187dffd3aa8feaee71223b491e7e399055b243ccd902e38
7
- data.tar.gz: b1ef59e0e874c0c8f6d25cf29e2773cf754f20ed762f2774153672634f4e5f6ebf4103ae947e4a8c0ae96ab01baf11d546a277c4f2ff7480e4219c1667146464
6
+ metadata.gz: 03de3bf487ee4fd27fc236a962b576447d17091891add3408382a8a37be56d87753aaa260fcededce2322e6203a12eb3eed95919907313583b5e711700df259e
7
+ data.tar.gz: daf2bd9960f6589a9c5efce3f0bb1ed5f93c0449b0aa658cd150f271a83729a7e78d981e3cec200d5c5337ac037903d3d76f7aa04dae02163275218843eca0bd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.751
1
+ 3.0.752
@@ -705,6 +705,30 @@ module TencentCloud
705
705
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
706
706
  end
707
707
 
708
+ # 查询节省计划详情
709
+
710
+ # @param request: Request instance for DescribeSavingPlanResourceInfo.
711
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeSavingPlanResourceInfoRequest`
712
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeSavingPlanResourceInfoResponse`
713
+ def DescribeSavingPlanResourceInfo(request)
714
+ body = send_request('DescribeSavingPlanResourceInfo', request.serialize)
715
+ response = JSON.parse(body)
716
+ if response['Response'].key?('Error') == false
717
+ model = DescribeSavingPlanResourceInfoResponse.new
718
+ model.deserialize(response['Response'])
719
+ model
720
+ else
721
+ code = response['Response']['Error']['Code']
722
+ message = response['Response']['Error']['Message']
723
+ reqid = response['Response']['RequestId']
724
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
725
+ end
726
+ rescue TencentCloud::Common::TencentCloudSDKException => e
727
+ raise e
728
+ rescue StandardError => e
729
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
730
+ end
731
+
708
732
  # 查用当前用户明细节省计划查询时段内的使用情况
709
733
 
710
734
  # @param request: Request instance for DescribeSavingPlanUsage.
@@ -4230,6 +4230,54 @@ module TencentCloud
4230
4230
  end
4231
4231
  end
4232
4232
 
4233
+ # DescribeSavingPlanResourceInfo请求参数结构体
4234
+ class DescribeSavingPlanResourceInfoRequest < TencentCloud::Common::AbstractModel
4235
+ # @param Limit: 数量,最大值为100
4236
+ # @type Limit: Integer
4237
+ # @param Offset: 偏移量
4238
+ # @type Offset: Integer
4239
+ # @param CreateStartDate: 购买开始时间,格式yyyy-MM-dd
4240
+ # @type CreateStartDate: String
4241
+ # @param CreateEndDate: 购买结束时间,格式yyyy-MM-dd
4242
+ # @type CreateEndDate: String
4243
+
4244
+ attr_accessor :Limit, :Offset, :CreateStartDate, :CreateEndDate
4245
+
4246
+ def initialize(limit=nil, offset=nil, createstartdate=nil, createenddate=nil)
4247
+ @Limit = limit
4248
+ @Offset = offset
4249
+ @CreateStartDate = createstartdate
4250
+ @CreateEndDate = createenddate
4251
+ end
4252
+
4253
+ def deserialize(params)
4254
+ @Limit = params['Limit']
4255
+ @Offset = params['Offset']
4256
+ @CreateStartDate = params['CreateStartDate']
4257
+ @CreateEndDate = params['CreateEndDate']
4258
+ end
4259
+ end
4260
+
4261
+ # DescribeSavingPlanResourceInfo返回参数结构体
4262
+ class DescribeSavingPlanResourceInfoResponse < TencentCloud::Common::AbstractModel
4263
+ # @param Total: 记录数
4264
+ # @type Total: Integer
4265
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4266
+ # @type RequestId: String
4267
+
4268
+ attr_accessor :Total, :RequestId
4269
+
4270
+ def initialize(total=nil, requestid=nil)
4271
+ @Total = total
4272
+ @RequestId = requestid
4273
+ end
4274
+
4275
+ def deserialize(params)
4276
+ @Total = params['Total']
4277
+ @RequestId = params['RequestId']
4278
+ end
4279
+ end
4280
+
4233
4281
  # DescribeSavingPlanUsage请求参数结构体
4234
4282
  class DescribeSavingPlanUsageRequest < TencentCloud::Common::AbstractModel
4235
4283
  # @param StartDate: 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.751
4
+ version: 3.0.752
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-01-16 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common