tencentcloud-sdk-billing 3.0.742 → 3.0.744
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 +231 -16
- 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: 9b8735198df21aaa286c5492bff514a06984ca41
|
4
|
+
data.tar.gz: 09b50c4024b2fb366ee85cc8743d989ceaa894cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6d71e415fa2c30007a384fb40aaf5b82f560935c5dc365531586be249ea48faaa3c7eca9b8fe66420776464f0de2974df606a050e9172f9ee53186d9f8f1e5f
|
7
|
+
data.tar.gz: ebf1e0be039600ff9272ab936dfdcdac71c8ccd2ec39636d9ce19f3ce630a5084d78c4356439d105a0c225f175506a2e9c8c47663cd9ec6e8621b8f7bd3cc78b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.744
|
data/lib/v20180709/client.rb
CHANGED
@@ -633,6 +633,30 @@ module TencentCloud
|
|
633
633
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
634
634
|
end
|
635
635
|
|
636
|
+
# 获取已接入标准用量明细模板产品的用量明细数据,目前已接入并支持查询的产品包括:云联络中心、实时音视频、实时音视频、智能媒资托管、CODING DevOps、全球IP应用加速
|
637
|
+
|
638
|
+
# @param request: Request instance for DescribeDosageDetailList.
|
639
|
+
# @type request: :class:`Tencentcloud::billing::V20180709::DescribeDosageDetailListRequest`
|
640
|
+
# @rtype: :class:`Tencentcloud::billing::V20180709::DescribeDosageDetailListResponse`
|
641
|
+
def DescribeDosageDetailList(request)
|
642
|
+
body = send_request('DescribeDosageDetailList', request.serialize)
|
643
|
+
response = JSON.parse(body)
|
644
|
+
if response['Response'].key?('Error') == false
|
645
|
+
model = DescribeDosageDetailListResponse.new
|
646
|
+
model.deserialize(response['Response'])
|
647
|
+
model
|
648
|
+
else
|
649
|
+
code = response['Response']['Error']['Code']
|
650
|
+
message = response['Response']['Error']['Message']
|
651
|
+
reqid = response['Response']['RequestId']
|
652
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
653
|
+
end
|
654
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
655
|
+
raise e
|
656
|
+
rescue StandardError => e
|
657
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
658
|
+
end
|
659
|
+
|
636
660
|
# 查询当前用户节省计划覆盖率明细数据,如无特别说明,金额单位均为元(国内站)或者美元(国际站)。
|
637
661
|
|
638
662
|
# @param request: Request instance for DescribeSavingPlanCoverage.
|
data/lib/v20180709/models.rb
CHANGED
@@ -376,10 +376,10 @@ module TencentCloud
|
|
376
376
|
|
377
377
|
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
|
378
378
|
extend Gem::Deprecate
|
379
|
-
deprecate :SpecifiedPrice, :none,
|
380
|
-
deprecate :SpecifiedPrice=, :none,
|
381
|
-
deprecate :SPDeduction, :none,
|
382
|
-
deprecate :SPDeduction=, :none,
|
379
|
+
deprecate :SpecifiedPrice, :none, 2024, 1
|
380
|
+
deprecate :SpecifiedPrice=, :none, 2024, 1
|
381
|
+
deprecate :SPDeduction, :none, 2024, 1
|
382
|
+
deprecate :SPDeduction=, :none, 2024, 1
|
383
383
|
|
384
384
|
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)
|
385
385
|
@ComponentCodeName = componentcodename
|
@@ -561,8 +561,8 @@ module TencentCloud
|
|
561
561
|
|
562
562
|
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
|
563
563
|
extend Gem::Deprecate
|
564
|
-
deprecate :SPDeduction, :none,
|
565
|
-
deprecate :SPDeduction=, :none,
|
564
|
+
deprecate :SPDeduction, :none, 2024, 1
|
565
|
+
deprecate :SPDeduction=, :none, 2024, 1
|
566
566
|
|
567
567
|
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)
|
568
568
|
@BusinessCodeName = businesscodename
|
@@ -740,8 +740,8 @@ module TencentCloud
|
|
740
740
|
|
741
741
|
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
|
742
742
|
extend Gem::Deprecate
|
743
|
-
deprecate :SPDeduction, :none,
|
744
|
-
deprecate :SPDeduction=, :none,
|
743
|
+
deprecate :SPDeduction, :none, 2024, 1
|
744
|
+
deprecate :SPDeduction=, :none, 2024, 1
|
745
745
|
|
746
746
|
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)
|
747
747
|
@BusinessCodeName = businesscodename
|
@@ -2169,8 +2169,8 @@ module TencentCloud
|
|
2169
2169
|
|
2170
2170
|
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context
|
2171
2171
|
extend Gem::Deprecate
|
2172
|
-
deprecate :PeriodType, :none,
|
2173
|
-
deprecate :PeriodType=, :none,
|
2172
|
+
deprecate :PeriodType, :none, 2024, 1
|
2173
|
+
deprecate :PeriodType=, :none, 2024, 1
|
2174
2174
|
|
2175
2175
|
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)
|
2176
2176
|
@Offset = offset
|
@@ -2307,8 +2307,8 @@ module TencentCloud
|
|
2307
2307
|
|
2308
2308
|
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context, :PayerUin
|
2309
2309
|
extend Gem::Deprecate
|
2310
|
-
deprecate :PeriodType, :none,
|
2311
|
-
deprecate :PeriodType=, :none,
|
2310
|
+
deprecate :PeriodType, :none, 2024, 1
|
2311
|
+
deprecate :PeriodType=, :none, 2024, 1
|
2312
2312
|
|
2313
2313
|
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)
|
2314
2314
|
@Offset = offset
|
@@ -2632,8 +2632,8 @@ module TencentCloud
|
|
2632
2632
|
|
2633
2633
|
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :TagKey, :TagValue
|
2634
2634
|
extend Gem::Deprecate
|
2635
|
-
deprecate :PeriodType, :none,
|
2636
|
-
deprecate :PeriodType=, :none,
|
2635
|
+
deprecate :PeriodType, :none, 2024, 1
|
2636
|
+
deprecate :PeriodType=, :none, 2024, 1
|
2637
2637
|
|
2638
2638
|
def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil, tagkey=nil, tagvalue=nil)
|
2639
2639
|
@Offset = offset
|
@@ -2756,8 +2756,8 @@ module TencentCloud
|
|
2756
2756
|
|
2757
2757
|
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :PayerUin, :TagKey, :TagValue
|
2758
2758
|
extend Gem::Deprecate
|
2759
|
-
deprecate :PeriodType, :none,
|
2760
|
-
deprecate :PeriodType=, :none,
|
2759
|
+
deprecate :PeriodType, :none, 2024, 1
|
2760
|
+
deprecate :PeriodType=, :none, 2024, 1
|
2761
2761
|
|
2762
2762
|
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)
|
2763
2763
|
@Offset = offset
|
@@ -3802,6 +3802,126 @@ module TencentCloud
|
|
3802
3802
|
end
|
3803
3803
|
end
|
3804
3804
|
|
3805
|
+
# 计量标准接入类产品支持API接口获取用量明细返回数据结构
|
3806
|
+
class DescribeDosageDetail < TencentCloud::Common::AbstractModel
|
3807
|
+
# @param Date: 日期
|
3808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3809
|
+
# @type Date: String
|
3810
|
+
# @param Uin: 账号 ID 是用户在腾讯云的唯一账号标识
|
3811
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3812
|
+
# @type Uin: String
|
3813
|
+
# @param DosageType: 用量统计类型
|
3814
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3815
|
+
# @type DosageType: String
|
3816
|
+
# @param ProductCode: 产品编码
|
3817
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3818
|
+
# @type ProductCode: String
|
3819
|
+
# @param SubProductCode: 子产品编码
|
3820
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3821
|
+
# @type SubProductCode: String
|
3822
|
+
# @param BillingItemCode: 组件类型编码
|
3823
|
+
|
3824
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3825
|
+
# @type BillingItemCode: String
|
3826
|
+
# @param SubBillingItemCode: 组件编码
|
3827
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3828
|
+
# @type SubBillingItemCode: String
|
3829
|
+
# @param ProductCodeName: 产品名称
|
3830
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3831
|
+
# @type ProductCodeName: String
|
3832
|
+
# @param SubProductCodeName: 子产品名称
|
3833
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3834
|
+
# @type SubProductCodeName: String
|
3835
|
+
# @param BillingItemCodeName: 组件类型
|
3836
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3837
|
+
# @type BillingItemCodeName: String
|
3838
|
+
# @param SubBillingItemCodeName: 组件
|
3839
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3840
|
+
# @type SubBillingItemCodeName: String
|
3841
|
+
# @param DosageUnit: 用量单位
|
3842
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3843
|
+
# @type DosageUnit: String
|
3844
|
+
# @param DosageBeginTime: 用量起始时间
|
3845
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3846
|
+
# @type DosageBeginTime: String
|
3847
|
+
# @param DosageEndTime: 用量截止时间
|
3848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3849
|
+
# @type DosageEndTime: String
|
3850
|
+
# @param DosageValue: 标准用量
|
3851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3852
|
+
# @type DosageValue: Float
|
3853
|
+
# @param DeductValue: 抵扣用量
|
3854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3855
|
+
# @type DeductValue: Float
|
3856
|
+
# @param RemainValue: 抵扣余量
|
3857
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3858
|
+
# @type RemainValue: Float
|
3859
|
+
# @param SdkAppId: sdkAppId
|
3860
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3861
|
+
# @type SdkAppId: String
|
3862
|
+
# @param AttrStr: 其他信息
|
3863
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3864
|
+
# @type AttrStr: Array
|
3865
|
+
# @param SheetName: 用量模板名称
|
3866
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3867
|
+
# @type SheetName: Array
|
3868
|
+
|
3869
|
+
attr_accessor :Date, :Uin, :DosageType, :ProductCode, :SubProductCode, :BillingItemCode, :SubBillingItemCode, :ProductCodeName, :SubProductCodeName, :BillingItemCodeName, :SubBillingItemCodeName, :DosageUnit, :DosageBeginTime, :DosageEndTime, :DosageValue, :DeductValue, :RemainValue, :SdkAppId, :AttrStr, :SheetName
|
3870
|
+
|
3871
|
+
def initialize(date=nil, uin=nil, dosagetype=nil, productcode=nil, subproductcode=nil, billingitemcode=nil, subbillingitemcode=nil, productcodename=nil, subproductcodename=nil, billingitemcodename=nil, subbillingitemcodename=nil, dosageunit=nil, dosagebegintime=nil, dosageendtime=nil, dosagevalue=nil, deductvalue=nil, remainvalue=nil, sdkappid=nil, attrstr=nil, sheetname=nil)
|
3872
|
+
@Date = date
|
3873
|
+
@Uin = uin
|
3874
|
+
@DosageType = dosagetype
|
3875
|
+
@ProductCode = productcode
|
3876
|
+
@SubProductCode = subproductcode
|
3877
|
+
@BillingItemCode = billingitemcode
|
3878
|
+
@SubBillingItemCode = subbillingitemcode
|
3879
|
+
@ProductCodeName = productcodename
|
3880
|
+
@SubProductCodeName = subproductcodename
|
3881
|
+
@BillingItemCodeName = billingitemcodename
|
3882
|
+
@SubBillingItemCodeName = subbillingitemcodename
|
3883
|
+
@DosageUnit = dosageunit
|
3884
|
+
@DosageBeginTime = dosagebegintime
|
3885
|
+
@DosageEndTime = dosageendtime
|
3886
|
+
@DosageValue = dosagevalue
|
3887
|
+
@DeductValue = deductvalue
|
3888
|
+
@RemainValue = remainvalue
|
3889
|
+
@SdkAppId = sdkappid
|
3890
|
+
@AttrStr = attrstr
|
3891
|
+
@SheetName = sheetname
|
3892
|
+
end
|
3893
|
+
|
3894
|
+
def deserialize(params)
|
3895
|
+
@Date = params['Date']
|
3896
|
+
@Uin = params['Uin']
|
3897
|
+
@DosageType = params['DosageType']
|
3898
|
+
@ProductCode = params['ProductCode']
|
3899
|
+
@SubProductCode = params['SubProductCode']
|
3900
|
+
@BillingItemCode = params['BillingItemCode']
|
3901
|
+
@SubBillingItemCode = params['SubBillingItemCode']
|
3902
|
+
@ProductCodeName = params['ProductCodeName']
|
3903
|
+
@SubProductCodeName = params['SubProductCodeName']
|
3904
|
+
@BillingItemCodeName = params['BillingItemCodeName']
|
3905
|
+
@SubBillingItemCodeName = params['SubBillingItemCodeName']
|
3906
|
+
@DosageUnit = params['DosageUnit']
|
3907
|
+
@DosageBeginTime = params['DosageBeginTime']
|
3908
|
+
@DosageEndTime = params['DosageEndTime']
|
3909
|
+
@DosageValue = params['DosageValue']
|
3910
|
+
@DeductValue = params['DeductValue']
|
3911
|
+
@RemainValue = params['RemainValue']
|
3912
|
+
@SdkAppId = params['SdkAppId']
|
3913
|
+
unless params['AttrStr'].nil?
|
3914
|
+
@AttrStr = []
|
3915
|
+
params['AttrStr'].each do |i|
|
3916
|
+
jsonobject_tmp = JsonObject.new
|
3917
|
+
jsonobject_tmp.deserialize(i)
|
3918
|
+
@AttrStr << jsonobject_tmp
|
3919
|
+
end
|
3920
|
+
end
|
3921
|
+
@SheetName = params['SheetName']
|
3922
|
+
end
|
3923
|
+
end
|
3924
|
+
|
3805
3925
|
# DescribeDosageDetailByDate请求参数结构体
|
3806
3926
|
class DescribeDosageDetailByDateRequest < TencentCloud::Common::AbstractModel
|
3807
3927
|
# @param StartDate: 查询账单开始日期,如 2019-01-01
|
@@ -3902,6 +4022,81 @@ module TencentCloud
|
|
3902
4022
|
end
|
3903
4023
|
end
|
3904
4024
|
|
4025
|
+
# DescribeDosageDetailList请求参数结构体
|
4026
|
+
class DescribeDosageDetailListRequest < TencentCloud::Common::AbstractModel
|
4027
|
+
# @param StartTime: 用量起始时间,如:2023-02-01
|
4028
|
+
# @type StartTime: String
|
4029
|
+
# @param EndTime: 用量截止时间,如:2023-02-28
|
4030
|
+
# @type EndTime: String
|
4031
|
+
# @param ProductCode: 产品编码,已支持查询的产品如下:
|
4032
|
+
# p_ccc(云联络中心)
|
4033
|
+
# p_rav(实时音视频)
|
4034
|
+
# p_pstn(号码保护)
|
4035
|
+
# p_smh(智能媒资托管)
|
4036
|
+
# p_coding_devops(CODING DevOps)
|
4037
|
+
# p_dsa(全球IP应用加速)
|
4038
|
+
# @type ProductCode: String
|
4039
|
+
# @param Offset: 数据偏移量(从0开始)
|
4040
|
+
# @type Offset: Integer
|
4041
|
+
# @param Limit: 单次数据量(最大3000)
|
4042
|
+
# @type Limit: Integer
|
4043
|
+
# @param DosageType: 用量统计类型:用量明细的数据统计汇总周期类型,包括minute-按5分钟汇总、hour-按小时汇总、day-按天汇总、month-按月汇总、comm-其他,默认查询所有类型明细,目前各产品已支持的统计类型如下:
|
4044
|
+
# p_ccc(云联络中心):comm、day
|
4045
|
+
# p_rav(实时音视频):minute、day
|
4046
|
+
# p_pstn(号码保护):comm
|
4047
|
+
# p_smh(智能媒资托管):day
|
4048
|
+
# p_coding_devops(CODING DevOps):comm、day
|
4049
|
+
# p_dsa(全球IP应用加速):minute
|
4050
|
+
# @type DosageType: String
|
4051
|
+
|
4052
|
+
attr_accessor :StartTime, :EndTime, :ProductCode, :Offset, :Limit, :DosageType
|
4053
|
+
|
4054
|
+
def initialize(starttime=nil, endtime=nil, productcode=nil, offset=nil, limit=nil, dosagetype=nil)
|
4055
|
+
@StartTime = starttime
|
4056
|
+
@EndTime = endtime
|
4057
|
+
@ProductCode = productcode
|
4058
|
+
@Offset = offset
|
4059
|
+
@Limit = limit
|
4060
|
+
@DosageType = dosagetype
|
4061
|
+
end
|
4062
|
+
|
4063
|
+
def deserialize(params)
|
4064
|
+
@StartTime = params['StartTime']
|
4065
|
+
@EndTime = params['EndTime']
|
4066
|
+
@ProductCode = params['ProductCode']
|
4067
|
+
@Offset = params['Offset']
|
4068
|
+
@Limit = params['Limit']
|
4069
|
+
@DosageType = params['DosageType']
|
4070
|
+
end
|
4071
|
+
end
|
4072
|
+
|
4073
|
+
# DescribeDosageDetailList返回参数结构体
|
4074
|
+
class DescribeDosageDetailListResponse < TencentCloud::Common::AbstractModel
|
4075
|
+
# @param Record: 用量明细集合
|
4076
|
+
# @type Record: Array
|
4077
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4078
|
+
# @type RequestId: String
|
4079
|
+
|
4080
|
+
attr_accessor :Record, :RequestId
|
4081
|
+
|
4082
|
+
def initialize(record=nil, requestid=nil)
|
4083
|
+
@Record = record
|
4084
|
+
@RequestId = requestid
|
4085
|
+
end
|
4086
|
+
|
4087
|
+
def deserialize(params)
|
4088
|
+
unless params['Record'].nil?
|
4089
|
+
@Record = []
|
4090
|
+
params['Record'].each do |i|
|
4091
|
+
describedosagedetail_tmp = DescribeDosageDetail.new
|
4092
|
+
describedosagedetail_tmp.deserialize(i)
|
4093
|
+
@Record << describedosagedetail_tmp
|
4094
|
+
end
|
4095
|
+
end
|
4096
|
+
@RequestId = params['RequestId']
|
4097
|
+
end
|
4098
|
+
end
|
4099
|
+
|
3905
4100
|
# DescribeSavingPlanCoverage请求参数结构体
|
3906
4101
|
class DescribeSavingPlanCoverageRequest < TencentCloud::Common::AbstractModel
|
3907
4102
|
# @param StartDate: 费用起始日期,格式yyyy-MM-dd
|
@@ -4569,6 +4764,26 @@ module TencentCloud
|
|
4569
4764
|
end
|
4570
4765
|
end
|
4571
4766
|
|
4767
|
+
# Json对象
|
4768
|
+
class JsonObject < TencentCloud::Common::AbstractModel
|
4769
|
+
# @param Key: key值
|
4770
|
+
# @type Key: String
|
4771
|
+
# @param Value: value值
|
4772
|
+
# @type Value: String
|
4773
|
+
|
4774
|
+
attr_accessor :Key, :Value
|
4775
|
+
|
4776
|
+
def initialize(key=nil, value=nil)
|
4777
|
+
@Key = key
|
4778
|
+
@Value = value
|
4779
|
+
end
|
4780
|
+
|
4781
|
+
def deserialize(params)
|
4782
|
+
@Key = params['Key']
|
4783
|
+
@Value = params['Value']
|
4784
|
+
end
|
4785
|
+
end
|
4786
|
+
|
4572
4787
|
# PayDeals请求参数结构体
|
4573
4788
|
class PayDealsRequest < TencentCloud::Common::AbstractModel
|
4574
4789
|
# @param OrderIds: 需要支付的一个或者多个子订单号,与BigDealIds字段两者必须且仅传一个参数
|
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.744
|
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-
|
11
|
+
date: 2024-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|