tencentcloud-sdk-billing 3.0.1188 → 3.0.1197
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 +24 -0
- data/lib/v20180709/models.rb +102 -40
- 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: de234632311239eebdc26f2f901ec341df10c0ac
|
|
4
|
+
data.tar.gz: 5f6c1971451c3d6dde1ccb77080856cc8de98634
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68306ee67d065c6a4c9e28f56dcd55924b913fdde1ec877e8c74eec793e437edf506354a9795451f55f77494a97b85fedabe933da2f5f86940e752deed47de30
|
|
7
|
+
data.tar.gz: 345d3d57e2a71495e97f21bdd0058777f714155361442f98af12c31071dd4606fb219145ce69a65390778bfb62739fefbafc3838d189c22a36e687f112d465be
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1197
|
data/lib/v20180709/client.rb
CHANGED
|
@@ -1164,6 +1164,30 @@ module TencentCloud
|
|
|
1164
1164
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1165
1165
|
end
|
|
1166
1166
|
|
|
1167
|
+
# 获取按标签汇总消耗详情
|
|
1168
|
+
|
|
1169
|
+
# @param request: Request instance for DescribeCostSummaryByTag.
|
|
1170
|
+
# @type request: :class:`Tencentcloud::billing::V20180709::DescribeCostSummaryByTagRequest`
|
|
1171
|
+
# @rtype: :class:`Tencentcloud::billing::V20180709::DescribeCostSummaryByTagResponse`
|
|
1172
|
+
def DescribeCostSummaryByTag(request)
|
|
1173
|
+
body = send_request('DescribeCostSummaryByTag', request.serialize)
|
|
1174
|
+
response = JSON.parse(body)
|
|
1175
|
+
if response['Response'].key?('Error') == false
|
|
1176
|
+
model = DescribeCostSummaryByTagResponse.new
|
|
1177
|
+
model.deserialize(response['Response'])
|
|
1178
|
+
model
|
|
1179
|
+
else
|
|
1180
|
+
code = response['Response']['Error']['Code']
|
|
1181
|
+
message = response['Response']['Error']['Message']
|
|
1182
|
+
reqid = response['Response']['RequestId']
|
|
1183
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1184
|
+
end
|
|
1185
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1186
|
+
raise e
|
|
1187
|
+
rescue StandardError => e
|
|
1188
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1167
1191
|
# 查询订单
|
|
1168
1192
|
|
|
1169
1193
|
# @param request: Request instance for DescribeDealsByCond.
|
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,
|
|
316
|
-
deprecate :SplitItemId=, :none,
|
|
317
|
-
deprecate :SplitItemName, :none,
|
|
318
|
-
deprecate :SplitItemName=, :none,
|
|
315
|
+
deprecate :SplitItemId, :none, 2026, 1
|
|
316
|
+
deprecate :SplitItemId=, :none, 2026, 1
|
|
317
|
+
deprecate :SplitItemName, :none, 2026, 1
|
|
318
|
+
deprecate :SplitItemName=, :none, 2026, 1
|
|
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
|
|
@@ -1235,10 +1235,10 @@ module TencentCloud
|
|
|
1235
1235
|
|
|
1236
1236
|
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
|
|
1237
1237
|
extend Gem::Deprecate
|
|
1238
|
-
deprecate :SplitItemId, :none,
|
|
1239
|
-
deprecate :SplitItemId=, :none,
|
|
1240
|
-
deprecate :SplitItemName, :none,
|
|
1241
|
-
deprecate :SplitItemName=, :none,
|
|
1238
|
+
deprecate :SplitItemId, :none, 2026, 1
|
|
1239
|
+
deprecate :SplitItemId=, :none, 2026, 1
|
|
1240
|
+
deprecate :SplitItemName, :none, 2026, 1
|
|
1241
|
+
deprecate :SplitItemName=, :none, 2026, 1
|
|
1242
1242
|
|
|
1243
1243
|
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)
|
|
1244
1244
|
@TreeNodeUniqKey = treenodeuniqkey
|
|
@@ -1488,10 +1488,10 @@ module TencentCloud
|
|
|
1488
1488
|
|
|
1489
1489
|
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
|
|
1490
1490
|
extend Gem::Deprecate
|
|
1491
|
-
deprecate :SplitItemId, :none,
|
|
1492
|
-
deprecate :SplitItemId=, :none,
|
|
1493
|
-
deprecate :SplitItemName, :none,
|
|
1494
|
-
deprecate :SplitItemName=, :none,
|
|
1491
|
+
deprecate :SplitItemId, :none, 2026, 1
|
|
1492
|
+
deprecate :SplitItemId=, :none, 2026, 1
|
|
1493
|
+
deprecate :SplitItemName, :none, 2026, 1
|
|
1494
|
+
deprecate :SplitItemName=, :none, 2026, 1
|
|
1495
1495
|
|
|
1496
1496
|
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)
|
|
1497
1497
|
@TreeNodeUniqKey = treenodeuniqkey
|
|
@@ -2499,10 +2499,10 @@ module TencentCloud
|
|
|
2499
2499
|
|
|
2500
2500
|
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
|
|
2501
2501
|
extend Gem::Deprecate
|
|
2502
|
-
deprecate :SpecifiedPrice, :none,
|
|
2503
|
-
deprecate :SpecifiedPrice=, :none,
|
|
2504
|
-
deprecate :SPDeduction, :none,
|
|
2505
|
-
deprecate :SPDeduction=, :none,
|
|
2502
|
+
deprecate :SpecifiedPrice, :none, 2026, 1
|
|
2503
|
+
deprecate :SpecifiedPrice=, :none, 2026, 1
|
|
2504
|
+
deprecate :SPDeduction, :none, 2026, 1
|
|
2505
|
+
deprecate :SPDeduction=, :none, 2026, 1
|
|
2506
2506
|
|
|
2507
2507
|
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)
|
|
2508
2508
|
@ComponentCodeName = componentcodename
|
|
@@ -2679,8 +2679,8 @@ module TencentCloud
|
|
|
2679
2679
|
|
|
2680
2680
|
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
|
|
2681
2681
|
extend Gem::Deprecate
|
|
2682
|
-
deprecate :SPDeduction, :none,
|
|
2683
|
-
deprecate :SPDeduction=, :none,
|
|
2682
|
+
deprecate :SPDeduction, :none, 2026, 1
|
|
2683
|
+
deprecate :SPDeduction=, :none, 2026, 1
|
|
2684
2684
|
|
|
2685
2685
|
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)
|
|
2686
2686
|
@BusinessCodeName = businesscodename
|
|
@@ -3038,8 +3038,8 @@ module TencentCloud
|
|
|
3038
3038
|
|
|
3039
3039
|
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
|
|
3040
3040
|
extend Gem::Deprecate
|
|
3041
|
-
deprecate :SPDeduction, :none,
|
|
3042
|
-
deprecate :SPDeduction=, :none,
|
|
3041
|
+
deprecate :SPDeduction, :none, 2026, 1
|
|
3042
|
+
deprecate :SPDeduction=, :none, 2026, 1
|
|
3043
3043
|
|
|
3044
3044
|
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)
|
|
3045
3045
|
@BusinessCodeName = businesscodename
|
|
@@ -5522,10 +5522,10 @@ module TencentCloud
|
|
|
5522
5522
|
|
|
5523
5523
|
attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :TempCredit, :TempAmountInfoList, :RequestId
|
|
5524
5524
|
extend Gem::Deprecate
|
|
5525
|
-
deprecate :IsAllowArrears, :none,
|
|
5526
|
-
deprecate :IsAllowArrears=, :none,
|
|
5527
|
-
deprecate :IsCreditLimited, :none,
|
|
5528
|
-
deprecate :IsCreditLimited=, :none,
|
|
5525
|
+
deprecate :IsAllowArrears, :none, 2026, 1
|
|
5526
|
+
deprecate :IsAllowArrears=, :none, 2026, 1
|
|
5527
|
+
deprecate :IsCreditLimited, :none, 2026, 1
|
|
5528
|
+
deprecate :IsCreditLimited=, :none, 2026, 1
|
|
5529
5529
|
|
|
5530
5530
|
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, tempcredit=nil, tempamountinfolist=nil, requestid=nil)
|
|
5531
5531
|
@Balance = balance
|
|
@@ -6474,8 +6474,8 @@ module TencentCloud
|
|
|
6474
6474
|
|
|
6475
6475
|
attr_accessor :Limit, :Offset, :Month, :PeriodType, :TreeNodeUniqKeys, :SortType, :Sort, :BillDates, :BusinessCodes, :SearchKey
|
|
6476
6476
|
extend Gem::Deprecate
|
|
6477
|
-
deprecate :SearchKey, :none,
|
|
6478
|
-
deprecate :SearchKey=, :none,
|
|
6477
|
+
deprecate :SearchKey, :none, 2026, 1
|
|
6478
|
+
deprecate :SearchKey=, :none, 2026, 1
|
|
6479
6479
|
|
|
6480
6480
|
def initialize(limit=nil, offset=nil, month=nil, periodtype=nil, treenodeuniqkeys=nil, sorttype=nil, sort=nil, billdates=nil, businesscodes=nil, searchkey=nil)
|
|
6481
6481
|
@Limit = limit
|
|
@@ -7159,8 +7159,8 @@ module TencentCloud
|
|
|
7159
7159
|
|
|
7160
7160
|
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context
|
|
7161
7161
|
extend Gem::Deprecate
|
|
7162
|
-
deprecate :PeriodType, :none,
|
|
7163
|
-
deprecate :PeriodType=, :none,
|
|
7162
|
+
deprecate :PeriodType, :none, 2026, 1
|
|
7163
|
+
deprecate :PeriodType=, :none, 2026, 1
|
|
7164
7164
|
|
|
7165
7165
|
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)
|
|
7166
7166
|
@Offset = offset
|
|
@@ -7296,10 +7296,10 @@ module TencentCloud
|
|
|
7296
7296
|
|
|
7297
7297
|
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context, :PayerUin
|
|
7298
7298
|
extend Gem::Deprecate
|
|
7299
|
-
deprecate :PeriodType, :none,
|
|
7300
|
-
deprecate :PeriodType=, :none,
|
|
7301
|
-
deprecate :ProductCode, :none,
|
|
7302
|
-
deprecate :ProductCode=, :none,
|
|
7299
|
+
deprecate :PeriodType, :none, 2026, 1
|
|
7300
|
+
deprecate :PeriodType=, :none, 2026, 1
|
|
7301
|
+
deprecate :ProductCode, :none, 2026, 1
|
|
7302
|
+
deprecate :ProductCode=, :none, 2026, 1
|
|
7303
7303
|
|
|
7304
7304
|
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)
|
|
7305
7305
|
@Offset = offset
|
|
@@ -7621,8 +7621,8 @@ module TencentCloud
|
|
|
7621
7621
|
|
|
7622
7622
|
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :TagKey, :TagValue
|
|
7623
7623
|
extend Gem::Deprecate
|
|
7624
|
-
deprecate :PeriodType, :none,
|
|
7625
|
-
deprecate :PeriodType=, :none,
|
|
7624
|
+
deprecate :PeriodType, :none, 2026, 1
|
|
7625
|
+
deprecate :PeriodType=, :none, 2026, 1
|
|
7626
7626
|
|
|
7627
7627
|
def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil, tagkey=nil, tagvalue=nil)
|
|
7628
7628
|
@Offset = offset
|
|
@@ -7745,8 +7745,8 @@ module TencentCloud
|
|
|
7745
7745
|
|
|
7746
7746
|
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :PayerUin, :TagKey, :TagValue
|
|
7747
7747
|
extend Gem::Deprecate
|
|
7748
|
-
deprecate :PeriodType, :none,
|
|
7749
|
-
deprecate :PeriodType=, :none,
|
|
7748
|
+
deprecate :PeriodType, :none, 2026, 1
|
|
7749
|
+
deprecate :PeriodType=, :none, 2026, 1
|
|
7750
7750
|
|
|
7751
7751
|
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)
|
|
7752
7752
|
@Offset = offset
|
|
@@ -8954,6 +8954,68 @@ module TencentCloud
|
|
|
8954
8954
|
end
|
|
8955
8955
|
end
|
|
8956
8956
|
|
|
8957
|
+
# DescribeCostSummaryByTag请求参数结构体
|
|
8958
|
+
class DescribeCostSummaryByTagRequest < TencentCloud::Common::AbstractModel
|
|
8959
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2025-12,EndTime 为 2025-12,查询结果是 2025 年 12 月数据。
|
|
8960
|
+
# @type BeginTime: String
|
|
8961
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2025-12,EndTime 为 2025-12,查询结果是 2025 年 12 月数据。
|
|
8962
|
+
# @type EndTime: String
|
|
8963
|
+
# @param TagKey: 分账标签键,用户自定义
|
|
8964
|
+
# @type TagKey: String
|
|
8965
|
+
|
|
8966
|
+
attr_accessor :BeginTime, :EndTime, :TagKey
|
|
8967
|
+
|
|
8968
|
+
def initialize(begintime=nil, endtime=nil, tagkey=nil)
|
|
8969
|
+
@BeginTime = begintime
|
|
8970
|
+
@EndTime = endtime
|
|
8971
|
+
@TagKey = tagkey
|
|
8972
|
+
end
|
|
8973
|
+
|
|
8974
|
+
def deserialize(params)
|
|
8975
|
+
@BeginTime = params['BeginTime']
|
|
8976
|
+
@EndTime = params['EndTime']
|
|
8977
|
+
@TagKey = params['TagKey']
|
|
8978
|
+
end
|
|
8979
|
+
end
|
|
8980
|
+
|
|
8981
|
+
# DescribeCostSummaryByTag返回参数结构体
|
|
8982
|
+
class DescribeCostSummaryByTagResponse < TencentCloud::Common::AbstractModel
|
|
8983
|
+
# @param Ready: 数据是否准备好,0准备中,1已就绪。
|
|
8984
|
+
# @type Ready: Integer
|
|
8985
|
+
# @param SummaryOverview: 各标签值消耗分布详情
|
|
8986
|
+
# @type SummaryOverview: Array
|
|
8987
|
+
# @param SummaryTotal: 总计
|
|
8988
|
+
# @type SummaryTotal: :class:`Tencentcloud::Billing.v20180709.models.SummaryTotal`
|
|
8989
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8990
|
+
# @type RequestId: String
|
|
8991
|
+
|
|
8992
|
+
attr_accessor :Ready, :SummaryOverview, :SummaryTotal, :RequestId
|
|
8993
|
+
|
|
8994
|
+
def initialize(ready=nil, summaryoverview=nil, summarytotal=nil, requestid=nil)
|
|
8995
|
+
@Ready = ready
|
|
8996
|
+
@SummaryOverview = summaryoverview
|
|
8997
|
+
@SummaryTotal = summarytotal
|
|
8998
|
+
@RequestId = requestid
|
|
8999
|
+
end
|
|
9000
|
+
|
|
9001
|
+
def deserialize(params)
|
|
9002
|
+
@Ready = params['Ready']
|
|
9003
|
+
unless params['SummaryOverview'].nil?
|
|
9004
|
+
@SummaryOverview = []
|
|
9005
|
+
params['SummaryOverview'].each do |i|
|
|
9006
|
+
tagsummaryoverviewitem_tmp = TagSummaryOverviewItem.new
|
|
9007
|
+
tagsummaryoverviewitem_tmp.deserialize(i)
|
|
9008
|
+
@SummaryOverview << tagsummaryoverviewitem_tmp
|
|
9009
|
+
end
|
|
9010
|
+
end
|
|
9011
|
+
unless params['SummaryTotal'].nil?
|
|
9012
|
+
@SummaryTotal = SummaryTotal.new
|
|
9013
|
+
@SummaryTotal.deserialize(params['SummaryTotal'])
|
|
9014
|
+
end
|
|
9015
|
+
@RequestId = params['RequestId']
|
|
9016
|
+
end
|
|
9017
|
+
end
|
|
9018
|
+
|
|
8957
9019
|
# DescribeDealsByCond请求参数结构体
|
|
8958
9020
|
class DescribeDealsByCondRequest < TencentCloud::Common::AbstractModel
|
|
8959
9021
|
# @param StartTime: 开始时间 2016-01-01 00:00:00
|
|
@@ -10170,10 +10232,10 @@ module TencentCloud
|
|
|
10170
10232
|
|
|
10171
10233
|
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
|
|
10172
10234
|
extend Gem::Deprecate
|
|
10173
|
-
deprecate :SplitItemId, :none,
|
|
10174
|
-
deprecate :SplitItemId=, :none,
|
|
10175
|
-
deprecate :SplitItemName, :none,
|
|
10176
|
-
deprecate :SplitItemName=, :none,
|
|
10235
|
+
deprecate :SplitItemId, :none, 2026, 1
|
|
10236
|
+
deprecate :SplitItemId=, :none, 2026, 1
|
|
10237
|
+
deprecate :SplitItemName, :none, 2026, 1
|
|
10238
|
+
deprecate :SplitItemName=, :none, 2026, 1
|
|
10177
10239
|
|
|
10178
10240
|
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)
|
|
10179
10241
|
@PayerUin = payeruin
|
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.1197
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|