tencentcloud-sdk-billing 1.0.327 → 1.0.328
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180709/models.rb +63 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a11eefac8aa5f7d886e15ff75c8f754c268d1dfc
|
4
|
+
data.tar.gz: 484c6d2ee709d2c61a35f0d244c4527b715d5b67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55ef428d3c6533334e212d66985e470f4fe6bcce3a98ef83d8b500e9434bb82d9931f056f14e8dea75c6983fd50d39b629a64de98a2d7d43aa15594b45ccae96
|
7
|
+
data.tar.gz: 7a22396ecac599b47255b7c66af9fbafbf7755006c02ef5e88ab74ae64b97a9b39daad44e8d668fec9423650310db9716092dcc74b7444287f1df9a80f6d7757
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.328
|
data/lib/v20180709/models.rb
CHANGED
@@ -255,10 +255,31 @@ module TencentCloud
|
|
255
255
|
# @param ContractPrice: 合同价
|
256
256
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
257
257
|
# @type ContractPrice: String
|
258
|
+
# @param InstanceType: 资源包、预留实例、节省计划、竞价实例这四类特殊实例本身的扣费行为,此字段体现对应的实例类型。枚举值如下:
|
259
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
260
|
+
# @type InstanceType: String
|
261
|
+
# @param RiTimeSpan: 预留实例抵扣的使用时长,时长单位与被抵扣的时长单位保持一致
|
262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
263
|
+
# @type RiTimeSpan: String
|
264
|
+
# @param OriginalCostWithRI: 按组件原价的口径换算的预留实例抵扣金额
|
265
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
266
|
+
# @type OriginalCostWithRI: String
|
267
|
+
# @param SPDeductionRate: 节省计划可用余额额度范围内,节省计划对于此组件打的折扣率
|
268
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
269
|
+
# @type SPDeductionRate: String
|
270
|
+
# @param SPDeduction: 节省计划抵扣的SP包面值
|
271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
272
|
+
# @type SPDeduction: String
|
273
|
+
# @param OriginalCostWithSP: 按组件原价的口径换算的节省计划抵扣金额
|
274
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
275
|
+
# @type OriginalCostWithSP: String
|
276
|
+
# @param BlendedDiscount: 综合了官网折扣、预留实例抵扣、节省计划抵扣的混合折扣率。若没有预留实例抵扣、节省计划抵扣,混合折扣率等于折扣率
|
277
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
278
|
+
# @type BlendedDiscount: String
|
258
279
|
|
259
|
-
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :ItemCode, :ComponentCode, :ContractPrice
|
280
|
+
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount
|
260
281
|
|
261
|
-
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunitname=nil, cost=nil, discount=nil, reducetype=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, itemcode=nil, componentcode=nil, contractprice=nil)
|
282
|
+
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunitname=nil, cost=nil, discount=nil, reducetype=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, itemcode=nil, componentcode=nil, contractprice=nil, instancetype=nil, ritimespan=nil, originalcostwithri=nil, spdeductionrate=nil, spdeduction=nil, originalcostwithsp=nil, blendeddiscount=nil)
|
262
283
|
@ComponentCodeName = componentcodename
|
263
284
|
@ItemCodeName = itemcodename
|
264
285
|
@SinglePrice = singleprice
|
@@ -278,6 +299,13 @@ module TencentCloud
|
|
278
299
|
@ItemCode = itemcode
|
279
300
|
@ComponentCode = componentcode
|
280
301
|
@ContractPrice = contractprice
|
302
|
+
@InstanceType = instancetype
|
303
|
+
@RiTimeSpan = ritimespan
|
304
|
+
@OriginalCostWithRI = originalcostwithri
|
305
|
+
@SPDeductionRate = spdeductionrate
|
306
|
+
@SPDeduction = spdeduction
|
307
|
+
@OriginalCostWithSP = originalcostwithsp
|
308
|
+
@BlendedDiscount = blendeddiscount
|
281
309
|
end
|
282
310
|
|
283
311
|
def deserialize(params)
|
@@ -300,6 +328,13 @@ module TencentCloud
|
|
300
328
|
@ItemCode = params['ItemCode']
|
301
329
|
@ComponentCode = params['ComponentCode']
|
302
330
|
@ContractPrice = params['ContractPrice']
|
331
|
+
@InstanceType = params['InstanceType']
|
332
|
+
@RiTimeSpan = params['RiTimeSpan']
|
333
|
+
@OriginalCostWithRI = params['OriginalCostWithRI']
|
334
|
+
@SPDeductionRate = params['SPDeductionRate']
|
335
|
+
@SPDeduction = params['SPDeduction']
|
336
|
+
@OriginalCostWithSP = params['OriginalCostWithSP']
|
337
|
+
@BlendedDiscount = params['BlendedDiscount']
|
303
338
|
end
|
304
339
|
end
|
305
340
|
|
@@ -373,10 +408,26 @@ module TencentCloud
|
|
373
408
|
# @type ProductCode: String
|
374
409
|
# @param RegionId: 区域ID
|
375
410
|
# @type RegionId: Integer
|
411
|
+
# @param InstanceType: 资源包、预留实例、节省计划、竞价实例这四类特殊实例本身的扣费行为,此字段体现对应的实例类型。枚举值如下:
|
412
|
+
|
413
|
+
# ri=Standard RI
|
414
|
+
|
415
|
+
# svp=Savings Plan
|
416
|
+
|
417
|
+
# si=Spot Instances
|
376
418
|
|
377
|
-
|
419
|
+
# rp=Resource Pack
|
420
|
+
# @type InstanceType: String
|
421
|
+
# @param OriginalCostWithRI: 按组件原价的口径换算的预留实例抵扣金额
|
422
|
+
# @type OriginalCostWithRI: String
|
423
|
+
# @param SPDeduction: 节省计划抵扣的SP包面值
|
424
|
+
# @type SPDeduction: String
|
425
|
+
# @param OriginalCostWithSP: 按组件原价的口径换算的节省计划抵扣金额
|
426
|
+
# @type OriginalCostWithSP: String
|
427
|
+
|
428
|
+
attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :PayTime, :FeeBeginTime, :FeeEndTime, :ConfigDesc, :ExtendField1, :ExtendField2, :TotalCost, :Discount, :ReduceType, :RealTotalCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :ExtendField3, :ExtendField4, :ExtendField5, :Tags, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP
|
378
429
|
|
379
|
-
def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, configdesc=nil, extendfield1=nil, extendfield2=nil, totalcost=nil, discount=nil, reducetype=nil, realtotalcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, extendfield3=nil, extendfield4=nil, extendfield5=nil, tags=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil)
|
430
|
+
def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, configdesc=nil, extendfield1=nil, extendfield2=nil, totalcost=nil, discount=nil, reducetype=nil, realtotalcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, extendfield3=nil, extendfield4=nil, extendfield5=nil, tags=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil, instancetype=nil, originalcostwithri=nil, spdeduction=nil, originalcostwithsp=nil)
|
380
431
|
@BusinessCodeName = businesscodename
|
381
432
|
@ProductCodeName = productcodename
|
382
433
|
@PayModeName = paymodename
|
@@ -410,6 +461,10 @@ module TencentCloud
|
|
410
461
|
@BusinessCode = businesscode
|
411
462
|
@ProductCode = productcode
|
412
463
|
@RegionId = regionid
|
464
|
+
@InstanceType = instancetype
|
465
|
+
@OriginalCostWithRI = originalcostwithri
|
466
|
+
@SPDeduction = spdeduction
|
467
|
+
@OriginalCostWithSP = originalcostwithsp
|
413
468
|
end
|
414
469
|
|
415
470
|
def deserialize(params)
|
@@ -453,6 +508,10 @@ module TencentCloud
|
|
453
508
|
@BusinessCode = params['BusinessCode']
|
454
509
|
@ProductCode = params['ProductCode']
|
455
510
|
@RegionId = params['RegionId']
|
511
|
+
@InstanceType = params['InstanceType']
|
512
|
+
@OriginalCostWithRI = params['OriginalCostWithRI']
|
513
|
+
@SPDeduction = params['SPDeduction']
|
514
|
+
@OriginalCostWithSP = params['OriginalCostWithSP']
|
456
515
|
end
|
457
516
|
end
|
458
517
|
|
@@ -1507,10 +1566,6 @@ module TencentCloud
|
|
1507
1566
|
# 小时费用
|
1508
1567
|
# 预留实例退款
|
1509
1568
|
# 按量计费冲正
|
1510
|
-
# 按量计费冲正
|
1511
|
-
# 按量计费冲正
|
1512
|
-
# 按量计费冲正
|
1513
|
-
# 按量计费冲正
|
1514
1569
|
# 包年包月转按量
|
1515
1570
|
# @type ActionType: String
|
1516
1571
|
# @param ProjectId: 项目ID:资源所属项目ID
|
@@ -1759,10 +1814,6 @@ module TencentCloud
|
|
1759
1814
|
# 小时费用
|
1760
1815
|
# 预留实例退款
|
1761
1816
|
# 按量计费冲正
|
1762
|
-
# 按量计费冲正
|
1763
|
-
# 按量计费冲正
|
1764
|
-
# 按量计费冲正
|
1765
|
-
# 按量计费冲正
|
1766
1817
|
# 包年包月转按量
|
1767
1818
|
# @type ActionType: String
|
1768
1819
|
# @param ResourceId: 查询指定资源信息
|
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: 1.0.
|
4
|
+
version: 1.0.328
|
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-06-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|