tencentcloud-sdk-billing 3.0.1036 → 3.0.1038
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/client.rb +0 -26
- data/lib/v20180709/models.rb +38 -215
- 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: 783c404fb76da06fccd736b1ce4affcc79f898b4
|
4
|
+
data.tar.gz: 92ad5deb38257d17670a69c4f5e1b6ae4fd6d321
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d86760b8be236161988846f831bc89273b22c55a538542fe60619d96b4cebc55b2d9deb4d2a40ba8441fa80a680615f819fdd1a70eed3260835ccc20ee07a50
|
7
|
+
data.tar.gz: d101ab8bf9098fc5a5003ff9b9f5c049e7fd840a96f8070457c776e40d3674b6aa6f89a5b51451d5b179191bbab7374800282168f7892308df0a462f4d6882b8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1038
|
data/lib/v20180709/client.rb
CHANGED
@@ -924,32 +924,6 @@ module TencentCloud
|
|
924
924
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
925
925
|
end
|
926
926
|
|
927
|
-
# 当前接口已迁移至svp产品
|
928
|
-
|
929
|
-
# 查询当前用户节省计划覆盖率明细数据,如无特别说明,金额单位均为元(国内站)或者美元(国际站)。
|
930
|
-
|
931
|
-
# @param request: Request instance for DescribeSavingPlanCoverage.
|
932
|
-
# @type request: :class:`Tencentcloud::billing::V20180709::DescribeSavingPlanCoverageRequest`
|
933
|
-
# @rtype: :class:`Tencentcloud::billing::V20180709::DescribeSavingPlanCoverageResponse`
|
934
|
-
def DescribeSavingPlanCoverage(request)
|
935
|
-
body = send_request('DescribeSavingPlanCoverage', request.serialize)
|
936
|
-
response = JSON.parse(body)
|
937
|
-
if response['Response'].key?('Error') == false
|
938
|
-
model = DescribeSavingPlanCoverageResponse.new
|
939
|
-
model.deserialize(response['Response'])
|
940
|
-
model
|
941
|
-
else
|
942
|
-
code = response['Response']['Error']['Code']
|
943
|
-
message = response['Response']['Error']['Message']
|
944
|
-
reqid = response['Response']['RequestId']
|
945
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
946
|
-
end
|
947
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
948
|
-
raise e
|
949
|
-
rescue StandardError => e
|
950
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
951
|
-
end
|
952
|
-
|
953
927
|
# 查询节省计划详情
|
954
928
|
|
955
929
|
# @param request: Request instance for DescribeSavingPlanResourceInfo.
|
data/lib/v20180709/models.rb
CHANGED
@@ -312,10 +312,10 @@ module TencentCloud
|
|
312
312
|
|
313
313
|
attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :BusinessCodeName, :PayMode, :PayModeName, :ProjectId, :ProjectName, :RegionId, :RegionName, :ZoneId, :ZoneName, :ResourceId, :ResourceName, :InstanceType, :InstanceTypeName, :SplitItemId, :SplitItemName, :ProductCode, :ProductCodeName, :ActionType, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentCode, :ComponentCodeName, :SinglePrice, :ContractPrice, :SinglePriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnit, :ReserveDetail, :SplitRatio, :TotalCost, :RITimeSpan, :RICost, :SPCost, :Discount, :BlendedDiscount, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :Tag, :RegionType, :RegionTypeName, :ItemCode, :ItemCodeName, :AssociatedOrder, :PriceInfo, :Formula, :FormulaUrl, :RealTotalMeasure, :DeductedMeasure, :ComponentConfig, :AllocationType, :DiscountObject, :DiscountType, :DiscountContent, :SPDeduction, :SPDeductionRate, :BillMonth
|
314
314
|
extend Gem::Deprecate
|
315
|
-
deprecate :SplitItemId, :none, 2025,
|
316
|
-
deprecate :SplitItemId=, :none, 2025,
|
317
|
-
deprecate :SplitItemName, :none, 2025,
|
318
|
-
deprecate :SplitItemName=, :none, 2025,
|
315
|
+
deprecate :SplitItemId, :none, 2025, 4
|
316
|
+
deprecate :SplitItemId=, :none, 2025, 4
|
317
|
+
deprecate :SplitItemName, :none, 2025, 4
|
318
|
+
deprecate :SplitItemName=, :none, 2025, 4
|
319
319
|
|
320
320
|
def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, businesscodename=nil, paymode=nil, paymodename=nil, projectid=nil, projectname=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, resourceid=nil, resourcename=nil, instancetype=nil, instancetypename=nil, splititemid=nil, splititemname=nil, productcode=nil, productcodename=nil, actiontype=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentcode=nil, componentcodename=nil, singleprice=nil, contractprice=nil, singlepriceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunit=nil, reservedetail=nil, splitratio=nil, totalcost=nil, ritimespan=nil, ricost=nil, spcost=nil, discount=nil, blendeddiscount=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, tag=nil, regiontype=nil, regiontypename=nil, itemcode=nil, itemcodename=nil, associatedorder=nil, priceinfo=nil, formula=nil, formulaurl=nil, realtotalmeasure=nil, deductedmeasure=nil, componentconfig=nil, allocationtype=nil, discountobject=nil, discounttype=nil, discountcontent=nil, spdeduction=nil, spdeductionrate=nil, billmonth=nil)
|
321
321
|
@TreeNodeUniqKey = treenodeuniqkey
|
@@ -1074,10 +1074,10 @@ module TencentCloud
|
|
1074
1074
|
|
1075
1075
|
attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :BusinessCode, :BusinessCodeName, :ProductCode, :ProductCodeName, :RegionId, :RegionName, :ZoneId, :ZoneName, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :Tag, :ProjectId, :ProjectName, :AllocationType, :TotalCost, :RiTimeSpan, :RiCost, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ItemCodeName, :ComponentCode, :ComponentCodeName, :SplitItemId, :SplitItemName, :FeeBeginTime, :FeeEndTime, :SPCost, :RegionType, :RegionTypeName, :SinglePrice, :ContractPrice, :SinglePriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnit, :ReserveDetail, :RealTotalMeasure, :DeductedMeasure, :Discount, :BlendedDiscount, :PriceInfo, :Formula, :FormulaUrl, :ComponentConfig, :SPDeduction, :SPDeductionRate, :AssociatedOrder, :DiscountObject, :DiscountType, :DiscountContent, :BillMonth
|
1076
1076
|
extend Gem::Deprecate
|
1077
|
-
deprecate :SplitItemId, :none, 2025,
|
1078
|
-
deprecate :SplitItemId=, :none, 2025,
|
1079
|
-
deprecate :SplitItemName, :none, 2025,
|
1080
|
-
deprecate :SplitItemName=, :none, 2025,
|
1077
|
+
deprecate :SplitItemId, :none, 2025, 4
|
1078
|
+
deprecate :SplitItemId=, :none, 2025, 4
|
1079
|
+
deprecate :SplitItemName, :none, 2025, 4
|
1080
|
+
deprecate :SplitItemName=, :none, 2025, 4
|
1081
1081
|
|
1082
1082
|
def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, businesscode=nil, businesscodename=nil, productcode=nil, productcodename=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, tag=nil, projectid=nil, projectname=nil, allocationtype=nil, totalcost=nil, ritimespan=nil, ricost=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, itemcode=nil, itemcodename=nil, componentcode=nil, componentcodename=nil, splititemid=nil, splititemname=nil, feebegintime=nil, feeendtime=nil, spcost=nil, regiontype=nil, regiontypename=nil, singleprice=nil, contractprice=nil, singlepriceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunit=nil, reservedetail=nil, realtotalmeasure=nil, deductedmeasure=nil, discount=nil, blendeddiscount=nil, priceinfo=nil, formula=nil, formulaurl=nil, componentconfig=nil, spdeduction=nil, spdeductionrate=nil, associatedorder=nil, discountobject=nil, discounttype=nil, discountcontent=nil, billmonth=nil)
|
1083
1083
|
@TreeNodeUniqKey = treenodeuniqkey
|
@@ -1327,10 +1327,10 @@ module TencentCloud
|
|
1327
1327
|
|
1328
1328
|
attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :BusinessCode, :BusinessCodeName, :ProductCode, :ProductCodeName, :RegionId, :RegionName, :ZoneId, :ZoneName, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :Tag, :ProjectId, :ProjectName, :AllocationType, :TotalCost, :RiTimeSpan, :RiCost, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :SplitItemId, :SplitItemName, :FeeBeginTime, :FeeEndTime, :SPCost, :RegionType, :RegionTypeName, :ComponentConfig, :SPDeduction, :BillMonth
|
1329
1329
|
extend Gem::Deprecate
|
1330
|
-
deprecate :SplitItemId, :none, 2025,
|
1331
|
-
deprecate :SplitItemId=, :none, 2025,
|
1332
|
-
deprecate :SplitItemName, :none, 2025,
|
1333
|
-
deprecate :SplitItemName=, :none, 2025,
|
1330
|
+
deprecate :SplitItemId, :none, 2025, 4
|
1331
|
+
deprecate :SplitItemId=, :none, 2025, 4
|
1332
|
+
deprecate :SplitItemName, :none, 2025, 4
|
1333
|
+
deprecate :SplitItemName=, :none, 2025, 4
|
1334
1334
|
|
1335
1335
|
def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, businesscode=nil, businesscodename=nil, productcode=nil, productcodename=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, tag=nil, projectid=nil, projectname=nil, allocationtype=nil, totalcost=nil, ritimespan=nil, ricost=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, splititemid=nil, splititemname=nil, feebegintime=nil, feeendtime=nil, spcost=nil, regiontype=nil, regiontypename=nil, componentconfig=nil, spdeduction=nil, billmonth=nil)
|
1336
1336
|
@TreeNodeUniqKey = treenodeuniqkey
|
@@ -2283,10 +2283,10 @@ module TencentCloud
|
|
2283
2283
|
|
2284
2284
|
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :RealTotalMeasure, :DeductedMeasure, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount, :ComponentConfig
|
2285
2285
|
extend Gem::Deprecate
|
2286
|
-
deprecate :SpecifiedPrice, :none, 2025,
|
2287
|
-
deprecate :SpecifiedPrice=, :none, 2025,
|
2288
|
-
deprecate :SPDeduction, :none, 2025,
|
2289
|
-
deprecate :SPDeduction=, :none, 2025,
|
2286
|
+
deprecate :SpecifiedPrice, :none, 2025, 4
|
2287
|
+
deprecate :SpecifiedPrice=, :none, 2025, 4
|
2288
|
+
deprecate :SPDeduction, :none, 2025, 4
|
2289
|
+
deprecate :SPDeduction=, :none, 2025, 4
|
2290
2290
|
|
2291
2291
|
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, realtotalmeasure=nil, deductedmeasure=nil, timespan=nil, timeunitname=nil, cost=nil, discount=nil, reducetype=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, itemcode=nil, componentcode=nil, contractprice=nil, instancetype=nil, ritimespan=nil, originalcostwithri=nil, spdeductionrate=nil, spdeduction=nil, originalcostwithsp=nil, blendeddiscount=nil, componentconfig=nil)
|
2292
2292
|
@ComponentCodeName = componentcodename
|
@@ -2463,8 +2463,8 @@ module TencentCloud
|
|
2463
2463
|
|
2464
2464
|
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, :TransferPayAmount, :ExtendField3, :ExtendField4, :ExtendField5, :Tags, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP, :BillMonth
|
2465
2465
|
extend Gem::Deprecate
|
2466
|
-
deprecate :SPDeduction, :none, 2025,
|
2467
|
-
deprecate :SPDeduction=, :none, 2025,
|
2466
|
+
deprecate :SPDeduction, :none, 2025, 4
|
2467
|
+
deprecate :SPDeduction=, :none, 2025, 4
|
2468
2468
|
|
2469
2469
|
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, transferpayamount=nil, extendfield3=nil, extendfield4=nil, extendfield5=nil, tags=nil, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil, instancetype=nil, originalcostwithri=nil, spdeduction=nil, originalcostwithsp=nil, billmonth=nil)
|
2470
2470
|
@BusinessCodeName = businesscodename
|
@@ -2822,8 +2822,8 @@ module TencentCloud
|
|
2822
2822
|
|
2823
2823
|
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, :TransferPayAmount, :ExtendField3, :ExtendField4, :ExtendField5, :Tags, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP, :BillMonth
|
2824
2824
|
extend Gem::Deprecate
|
2825
|
-
deprecate :SPDeduction, :none, 2025,
|
2826
|
-
deprecate :SPDeduction=, :none, 2025,
|
2825
|
+
deprecate :SPDeduction, :none, 2025, 4
|
2826
|
+
deprecate :SPDeduction=, :none, 2025, 4
|
2827
2827
|
|
2828
2828
|
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, transferpayamount=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, billmonth=nil)
|
2829
2829
|
@BusinessCodeName = businesscodename
|
@@ -4191,10 +4191,10 @@ module TencentCloud
|
|
4191
4191
|
|
4192
4192
|
attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :RequestId
|
4193
4193
|
extend Gem::Deprecate
|
4194
|
-
deprecate :IsAllowArrears, :none, 2025,
|
4195
|
-
deprecate :IsAllowArrears=, :none, 2025,
|
4196
|
-
deprecate :IsCreditLimited, :none, 2025,
|
4197
|
-
deprecate :IsCreditLimited=, :none, 2025,
|
4194
|
+
deprecate :IsAllowArrears, :none, 2025, 4
|
4195
|
+
deprecate :IsAllowArrears=, :none, 2025, 4
|
4196
|
+
deprecate :IsCreditLimited, :none, 2025, 4
|
4197
|
+
deprecate :IsCreditLimited=, :none, 2025, 4
|
4198
4198
|
|
4199
4199
|
def initialize(balance=nil, uin=nil, realbalance=nil, cashaccountbalance=nil, incomeintoaccountbalance=nil, presentaccountbalance=nil, freezeamount=nil, oweamount=nil, isallowarrears=nil, iscreditlimited=nil, creditamount=nil, creditbalance=nil, realcreditbalance=nil, requestid=nil)
|
4200
4200
|
@Balance = balance
|
@@ -4992,8 +4992,8 @@ module TencentCloud
|
|
4992
4992
|
|
4993
4993
|
attr_accessor :Limit, :Offset, :Month, :PeriodType, :TreeNodeUniqKeys, :SortType, :Sort, :BillDates, :BusinessCodes, :SearchKey
|
4994
4994
|
extend Gem::Deprecate
|
4995
|
-
deprecate :SearchKey, :none, 2025,
|
4996
|
-
deprecate :SearchKey=, :none, 2025,
|
4995
|
+
deprecate :SearchKey, :none, 2025, 4
|
4996
|
+
deprecate :SearchKey=, :none, 2025, 4
|
4997
4997
|
|
4998
4998
|
def initialize(limit=nil, offset=nil, month=nil, periodtype=nil, treenodeuniqkeys=nil, sorttype=nil, sort=nil, billdates=nil, businesscodes=nil, searchkey=nil)
|
4999
4999
|
@Limit = limit
|
@@ -5550,8 +5550,8 @@ module TencentCloud
|
|
5550
5550
|
|
5551
5551
|
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context
|
5552
5552
|
extend Gem::Deprecate
|
5553
|
-
deprecate :PeriodType, :none, 2025,
|
5554
|
-
deprecate :PeriodType=, :none, 2025,
|
5553
|
+
deprecate :PeriodType, :none, 2025, 4
|
5554
|
+
deprecate :PeriodType=, :none, 2025, 4
|
5555
5555
|
|
5556
5556
|
def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil, businesscode=nil, context=nil)
|
5557
5557
|
@Offset = offset
|
@@ -5687,8 +5687,8 @@ module TencentCloud
|
|
5687
5687
|
|
5688
5688
|
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context, :PayerUin
|
5689
5689
|
extend Gem::Deprecate
|
5690
|
-
deprecate :PeriodType, :none, 2025,
|
5691
|
-
deprecate :PeriodType=, :none, 2025,
|
5690
|
+
deprecate :PeriodType, :none, 2025, 4
|
5691
|
+
deprecate :PeriodType=, :none, 2025, 4
|
5692
5692
|
|
5693
5693
|
def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, productcode=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil, businesscode=nil, context=nil, payeruin=nil)
|
5694
5694
|
@Offset = offset
|
@@ -6010,8 +6010,8 @@ module TencentCloud
|
|
6010
6010
|
|
6011
6011
|
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :TagKey, :TagValue
|
6012
6012
|
extend Gem::Deprecate
|
6013
|
-
deprecate :PeriodType, :none, 2025,
|
6014
|
-
deprecate :PeriodType=, :none, 2025,
|
6013
|
+
deprecate :PeriodType, :none, 2025, 4
|
6014
|
+
deprecate :PeriodType=, :none, 2025, 4
|
6015
6015
|
|
6016
6016
|
def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil, tagkey=nil, tagvalue=nil)
|
6017
6017
|
@Offset = offset
|
@@ -6134,8 +6134,8 @@ module TencentCloud
|
|
6134
6134
|
|
6135
6135
|
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :PayerUin, :TagKey, :TagValue
|
6136
6136
|
extend Gem::Deprecate
|
6137
|
-
deprecate :PeriodType, :none, 2025,
|
6138
|
-
deprecate :PeriodType=, :none, 2025,
|
6137
|
+
deprecate :PeriodType, :none, 2025, 4
|
6138
|
+
deprecate :PeriodType=, :none, 2025, 4
|
6139
6139
|
|
6140
6140
|
def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil, payeruin=nil, tagkey=nil, tagvalue=nil)
|
6141
6141
|
@Offset = offset
|
@@ -7702,80 +7702,6 @@ module TencentCloud
|
|
7702
7702
|
end
|
7703
7703
|
end
|
7704
7704
|
|
7705
|
-
# DescribeSavingPlanCoverage请求参数结构体
|
7706
|
-
class DescribeSavingPlanCoverageRequest < TencentCloud::Common::AbstractModel
|
7707
|
-
# @param StartDate: 费用起始日期,格式yyyy-MM-dd
|
7708
|
-
# @type StartDate: String
|
7709
|
-
# @param EndDate: 费用结束日期,格式yyyy-MM-dd
|
7710
|
-
# @type EndDate: String
|
7711
|
-
# @param Offset: 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,以此类推
|
7712
|
-
# @type Offset: Integer
|
7713
|
-
# @param Limit: 数量,最大值为200
|
7714
|
-
# @type Limit: Integer
|
7715
|
-
# @param PeriodType: 取值包括1(缺省值)和2,1表示按天统计覆盖率,2表示按月统计覆盖率,此参数仅影响返回的RateSet聚合粒度,不影响返回的DetailSet
|
7716
|
-
# @type PeriodType: Integer
|
7717
|
-
|
7718
|
-
attr_accessor :StartDate, :EndDate, :Offset, :Limit, :PeriodType
|
7719
|
-
|
7720
|
-
def initialize(startdate=nil, enddate=nil, offset=nil, limit=nil, periodtype=nil)
|
7721
|
-
@StartDate = startdate
|
7722
|
-
@EndDate = enddate
|
7723
|
-
@Offset = offset
|
7724
|
-
@Limit = limit
|
7725
|
-
@PeriodType = periodtype
|
7726
|
-
end
|
7727
|
-
|
7728
|
-
def deserialize(params)
|
7729
|
-
@StartDate = params['StartDate']
|
7730
|
-
@EndDate = params['EndDate']
|
7731
|
-
@Offset = params['Offset']
|
7732
|
-
@Limit = params['Limit']
|
7733
|
-
@PeriodType = params['PeriodType']
|
7734
|
-
end
|
7735
|
-
end
|
7736
|
-
|
7737
|
-
# DescribeSavingPlanCoverage返回参数结构体
|
7738
|
-
class DescribeSavingPlanCoverageResponse < TencentCloud::Common::AbstractModel
|
7739
|
-
# @param DetailSet: 节省计划覆盖率明细数据
|
7740
|
-
# @type DetailSet: Array
|
7741
|
-
# @param RateSet: 节省计划覆盖率聚合数据
|
7742
|
-
# @type RateSet: Array
|
7743
|
-
# @param TotalCount: 查询命中的节省计划覆盖率明细数据总条数
|
7744
|
-
# @type TotalCount: Integer
|
7745
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7746
|
-
# @type RequestId: String
|
7747
|
-
|
7748
|
-
attr_accessor :DetailSet, :RateSet, :TotalCount, :RequestId
|
7749
|
-
|
7750
|
-
def initialize(detailset=nil, rateset=nil, totalcount=nil, requestid=nil)
|
7751
|
-
@DetailSet = detailset
|
7752
|
-
@RateSet = rateset
|
7753
|
-
@TotalCount = totalcount
|
7754
|
-
@RequestId = requestid
|
7755
|
-
end
|
7756
|
-
|
7757
|
-
def deserialize(params)
|
7758
|
-
unless params['DetailSet'].nil?
|
7759
|
-
@DetailSet = []
|
7760
|
-
params['DetailSet'].each do |i|
|
7761
|
-
savingplancoveragedetail_tmp = SavingPlanCoverageDetail.new
|
7762
|
-
savingplancoveragedetail_tmp.deserialize(i)
|
7763
|
-
@DetailSet << savingplancoveragedetail_tmp
|
7764
|
-
end
|
7765
|
-
end
|
7766
|
-
unless params['RateSet'].nil?
|
7767
|
-
@RateSet = []
|
7768
|
-
params['RateSet'].each do |i|
|
7769
|
-
savingplancoveragerate_tmp = SavingPlanCoverageRate.new
|
7770
|
-
savingplancoveragerate_tmp.deserialize(i)
|
7771
|
-
@RateSet << savingplancoveragerate_tmp
|
7772
|
-
end
|
7773
|
-
end
|
7774
|
-
@TotalCount = params['TotalCount']
|
7775
|
-
@RequestId = params['RequestId']
|
7776
|
-
end
|
7777
|
-
end
|
7778
|
-
|
7779
7705
|
# DescribeSavingPlanResourceInfo请求参数结构体
|
7780
7706
|
class DescribeSavingPlanResourceInfoRequest < TencentCloud::Common::AbstractModel
|
7781
7707
|
# @param Limit: 数量,最大值为100
|
@@ -8391,10 +8317,10 @@ module TencentCloud
|
|
8391
8317
|
|
8392
8318
|
attr_accessor :PayerUin, :OwnerUin, :OperateUin, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :TreeNodeUniqKey, :TreeNodeUniqKeyName, :RuleId, :RuleName, :BusinessCode, :BusinessCodeName, :ItemCode, :ItemCodeName, :RegionId, :RegionName, :Tag, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :AllocationType, :BelongTreeNodeUniqKey, :BelongRule, :OtherTreeNodeUniqKeys, :OtherRules, :ProjectId, :ProjectName, :ProductCode, :ProductCodeName, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :SplitItemId, :SplitItemName
|
8393
8319
|
extend Gem::Deprecate
|
8394
|
-
deprecate :SplitItemId, :none, 2025,
|
8395
|
-
deprecate :SplitItemId=, :none, 2025,
|
8396
|
-
deprecate :SplitItemName, :none, 2025,
|
8397
|
-
deprecate :SplitItemName=, :none, 2025,
|
8320
|
+
deprecate :SplitItemId, :none, 2025, 4
|
8321
|
+
deprecate :SplitItemId=, :none, 2025, 4
|
8322
|
+
deprecate :SplitItemName, :none, 2025, 4
|
8323
|
+
deprecate :SplitItemName=, :none, 2025, 4
|
8398
8324
|
|
8399
8325
|
def initialize(payeruin=nil, owneruin=nil, operateuin=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, treenodeuniqkey=nil, treenodeuniqkeyname=nil, ruleid=nil, rulename=nil, businesscode=nil, businesscodename=nil, itemcode=nil, itemcodename=nil, regionid=nil, regionname=nil, tag=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, allocationtype=nil, belongtreenodeuniqkey=nil, belongrule=nil, othertreenodeuniqkeys=nil, otherrules=nil, projectid=nil, projectname=nil, productcode=nil, productcodename=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, splititemid=nil, splititemname=nil)
|
8400
8326
|
@PayerUin = payeruin
|
@@ -8773,109 +8699,6 @@ module TencentCloud
|
|
8773
8699
|
end
|
8774
8700
|
end
|
8775
8701
|
|
8776
|
-
# 节省计划覆盖率数据
|
8777
|
-
class SavingPlanCoverageDetail < TencentCloud::Common::AbstractModel
|
8778
|
-
# @param ResourceId: 资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID
|
8779
|
-
# @type ResourceId: String
|
8780
|
-
# @param RegionId: 地域ID
|
8781
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8782
|
-
# @type RegionId: Integer
|
8783
|
-
# @param ProductCode: 产品编码
|
8784
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8785
|
-
# @type ProductCode: String
|
8786
|
-
# @param SubProductCode: 子产品编码
|
8787
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8788
|
-
# @type SubProductCode: String
|
8789
|
-
# @param StartDate: 费用起始日期,格式yyyy-MM-dd
|
8790
|
-
# @type StartDate: String
|
8791
|
-
# @param EndDate: 费用结束日期,格式yyyy-MM-dd,目前与StartDate相等
|
8792
|
-
# @type EndDate: String
|
8793
|
-
# @param SpCoveredAmount: 节省计划覆盖金额(即节省计划支付金额)
|
8794
|
-
# @type SpCoveredAmount: Float
|
8795
|
-
# @param SpUncoveredAmount: 节省计划未覆盖金额(即优惠后总价)
|
8796
|
-
# @type SpUncoveredAmount: Float
|
8797
|
-
# @param TotalRealAmount: 总支出(即节省计划未覆盖金额 + 节省计划覆盖金额)
|
8798
|
-
# @type TotalRealAmount: Float
|
8799
|
-
# @param ExpectedAmount: 按量计费预期金额(即折前价 * 折扣)
|
8800
|
-
# @type ExpectedAmount: Float
|
8801
|
-
# @param SpCoverage: 覆盖率结果,取值[0, 100]
|
8802
|
-
# @type SpCoverage: Float
|
8803
|
-
# @param PayerUinName: 支付者昵称
|
8804
|
-
# @type PayerUinName: String
|
8805
|
-
# @param OwnerUinName: 使用者昵称
|
8806
|
-
# @type OwnerUinName: String
|
8807
|
-
# @param PayerUin: 支付者uin
|
8808
|
-
# @type PayerUin: String
|
8809
|
-
# @param SubBillingItemName: 计费项名称
|
8810
|
-
# @type SubBillingItemName: String
|
8811
|
-
# @param BillingItemName: 计费细项名称
|
8812
|
-
# @type BillingItemName: String
|
8813
|
-
# @param SubProductName: 子产品名称
|
8814
|
-
# @type SubProductName: String
|
8815
|
-
|
8816
|
-
attr_accessor :ResourceId, :RegionId, :ProductCode, :SubProductCode, :StartDate, :EndDate, :SpCoveredAmount, :SpUncoveredAmount, :TotalRealAmount, :ExpectedAmount, :SpCoverage, :PayerUinName, :OwnerUinName, :PayerUin, :SubBillingItemName, :BillingItemName, :SubProductName
|
8817
|
-
|
8818
|
-
def initialize(resourceid=nil, regionid=nil, productcode=nil, subproductcode=nil, startdate=nil, enddate=nil, spcoveredamount=nil, spuncoveredamount=nil, totalrealamount=nil, expectedamount=nil, spcoverage=nil, payeruinname=nil, owneruinname=nil, payeruin=nil, subbillingitemname=nil, billingitemname=nil, subproductname=nil)
|
8819
|
-
@ResourceId = resourceid
|
8820
|
-
@RegionId = regionid
|
8821
|
-
@ProductCode = productcode
|
8822
|
-
@SubProductCode = subproductcode
|
8823
|
-
@StartDate = startdate
|
8824
|
-
@EndDate = enddate
|
8825
|
-
@SpCoveredAmount = spcoveredamount
|
8826
|
-
@SpUncoveredAmount = spuncoveredamount
|
8827
|
-
@TotalRealAmount = totalrealamount
|
8828
|
-
@ExpectedAmount = expectedamount
|
8829
|
-
@SpCoverage = spcoverage
|
8830
|
-
@PayerUinName = payeruinname
|
8831
|
-
@OwnerUinName = owneruinname
|
8832
|
-
@PayerUin = payeruin
|
8833
|
-
@SubBillingItemName = subbillingitemname
|
8834
|
-
@BillingItemName = billingitemname
|
8835
|
-
@SubProductName = subproductname
|
8836
|
-
end
|
8837
|
-
|
8838
|
-
def deserialize(params)
|
8839
|
-
@ResourceId = params['ResourceId']
|
8840
|
-
@RegionId = params['RegionId']
|
8841
|
-
@ProductCode = params['ProductCode']
|
8842
|
-
@SubProductCode = params['SubProductCode']
|
8843
|
-
@StartDate = params['StartDate']
|
8844
|
-
@EndDate = params['EndDate']
|
8845
|
-
@SpCoveredAmount = params['SpCoveredAmount']
|
8846
|
-
@SpUncoveredAmount = params['SpUncoveredAmount']
|
8847
|
-
@TotalRealAmount = params['TotalRealAmount']
|
8848
|
-
@ExpectedAmount = params['ExpectedAmount']
|
8849
|
-
@SpCoverage = params['SpCoverage']
|
8850
|
-
@PayerUinName = params['PayerUinName']
|
8851
|
-
@OwnerUinName = params['OwnerUinName']
|
8852
|
-
@PayerUin = params['PayerUin']
|
8853
|
-
@SubBillingItemName = params['SubBillingItemName']
|
8854
|
-
@BillingItemName = params['BillingItemName']
|
8855
|
-
@SubProductName = params['SubProductName']
|
8856
|
-
end
|
8857
|
-
end
|
8858
|
-
|
8859
|
-
# 节省计划覆盖率聚合数据
|
8860
|
-
class SavingPlanCoverageRate < TencentCloud::Common::AbstractModel
|
8861
|
-
# @param DatePoint: 聚合时间维度,按天聚合格式为yyyy-MM-dd,按月聚合格式为yyyy-MM
|
8862
|
-
# @type DatePoint: String
|
8863
|
-
# @param Rate: 覆盖率结果,取值[0, 100]
|
8864
|
-
# @type Rate: Float
|
8865
|
-
|
8866
|
-
attr_accessor :DatePoint, :Rate
|
8867
|
-
|
8868
|
-
def initialize(datepoint=nil, rate=nil)
|
8869
|
-
@DatePoint = datepoint
|
8870
|
-
@Rate = rate
|
8871
|
-
end
|
8872
|
-
|
8873
|
-
def deserialize(params)
|
8874
|
-
@DatePoint = params['DatePoint']
|
8875
|
-
@Rate = params['Rate']
|
8876
|
-
end
|
8877
|
-
end
|
8878
|
-
|
8879
8702
|
# 账单多维度汇总消费详情
|
8880
8703
|
class SummaryDetail < TencentCloud::Common::AbstractModel
|
8881
8704
|
# @param GroupKey: 账单维度编码
|
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.
|
4
|
+
version: 3.0.1038
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|