tencentcloud-sdk-billing 3.0.1000 → 3.0.1001

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: 1cd4e856d8eea3ebf6a7b1e923f1e7530f8f1369
4
- data.tar.gz: 387ee67276c7ca3d3660b9cca393b81e8b4b712e
3
+ metadata.gz: 41cf66556d14f4dbb127a201b90b49c0d2110580
4
+ data.tar.gz: 6b762f4c92eb5cbeac517d930bbb1621e388dcd4
5
5
  SHA512:
6
- metadata.gz: 18f3c596cb4a0f0a96fad312e834e8c282187d597a10b68bb35143a66769ed57271bda5d487bd9c28ee9aa022c99c116ab477dac26244ce4e21359a92ec1424d
7
- data.tar.gz: 75ff187897f3efdb5215923eae2e0318f6f11b4b3f84f0c3ee705c77c9339982bbeb6412acf53c82f9b0c92d976e1375e8c60cb727f7d238d3a41df97dd3aab0
6
+ metadata.gz: 47fd7cddf1e5b491698686bfc982bf444588acd2f280d20add274230efc227f6c8b45a1b1ea91d370fd908cef9a747d782c42047bcbc7beabb4a8486edce2d5d
7
+ data.tar.gz: c41bc7cbfa31919626ae9d6a477a9d2dcfbd6671970f2747a81d84dccb18d3ff03c5773e308765d5fce37c895db7ddc5e629d6711a84267e22ee532f2e53b891
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1000
1
+ 3.0.1001
@@ -53,32 +53,6 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
- # 接口迁移到其他业务
57
-
58
- # 创建节省计划订单,创建订单完成需调用PayDeals接口完成订单支付
59
-
60
- # @param request: Request instance for CreateSavingPlanOrder.
61
- # @type request: :class:`Tencentcloud::billing::V20180709::CreateSavingPlanOrderRequest`
62
- # @rtype: :class:`Tencentcloud::billing::V20180709::CreateSavingPlanOrderResponse`
63
- def CreateSavingPlanOrder(request)
64
- body = send_request('CreateSavingPlanOrder', request.serialize)
65
- response = JSON.parse(body)
66
- if response['Response'].key?('Error') == false
67
- model = CreateSavingPlanOrderResponse.new
68
- model.deserialize(response['Response'])
69
- model
70
- else
71
- code = response['Response']['Error']['Code']
72
- message = response['Response']['Error']['Message']
73
- reqid = response['Response']['RequestId']
74
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
75
- end
76
- rescue TencentCloud::Common::TencentCloudSDKException => e
77
- raise e
78
- rescue StandardError => e
79
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
80
- end
81
-
82
56
  # 批量取消设置分账标签
83
57
 
84
58
  # @param request: Request instance for DeleteAllocationTag.
@@ -974,32 +948,6 @@ module TencentCloud
974
948
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
975
949
  end
976
950
 
977
- # 接口迁移到其他业务
978
-
979
- # 查用当前用户明细节省计划总览查询时段内的使用情况
980
-
981
- # @param request: Request instance for DescribeSavingPlanOverview.
982
- # @type request: :class:`Tencentcloud::billing::V20180709::DescribeSavingPlanOverviewRequest`
983
- # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeSavingPlanOverviewResponse`
984
- def DescribeSavingPlanOverview(request)
985
- body = send_request('DescribeSavingPlanOverview', request.serialize)
986
- response = JSON.parse(body)
987
- if response['Response'].key?('Error') == false
988
- model = DescribeSavingPlanOverviewResponse.new
989
- model.deserialize(response['Response'])
990
- model
991
- else
992
- code = response['Response']['Error']['Code']
993
- message = response['Response']['Error']['Message']
994
- reqid = response['Response']['RequestId']
995
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
996
- end
997
- rescue TencentCloud::Common::TencentCloudSDKException => e
998
- raise e
999
- rescue StandardError => e
1000
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1001
- end
1002
-
1003
951
  # 查询节省计划详情
1004
952
 
1005
953
  # @param request: Request instance for DescribeSavingPlanResourceInfo.
@@ -1024,32 +972,6 @@ module TencentCloud
1024
972
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1025
973
  end
1026
974
 
1027
- # 接口迁移到其他业务
1028
-
1029
- # 查用当前用户明细节省计划查询时段内的使用情况
1030
-
1031
- # @param request: Request instance for DescribeSavingPlanUsage.
1032
- # @type request: :class:`Tencentcloud::billing::V20180709::DescribeSavingPlanUsageRequest`
1033
- # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeSavingPlanUsageResponse`
1034
- def DescribeSavingPlanUsage(request)
1035
- body = send_request('DescribeSavingPlanUsage', request.serialize)
1036
- response = JSON.parse(body)
1037
- if response['Response'].key?('Error') == false
1038
- model = DescribeSavingPlanUsageResponse.new
1039
- model.deserialize(response['Response'])
1040
- model
1041
- else
1042
- code = response['Response']['Error']['Code']
1043
- message = response['Response']['Error']['Message']
1044
- reqid = response['Response']['RequestId']
1045
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1046
- end
1047
- rescue TencentCloud::Common::TencentCloudSDKException => e
1048
- raise e
1049
- rescue StandardError => e
1050
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1051
- end
1052
-
1053
975
  # 获取分账标签
1054
976
 
1055
977
  # @param request: Request instance for DescribeTagList.
@@ -4297,74 +4297,6 @@ module TencentCloud
4297
4297
  end
4298
4298
  end
4299
4299
 
4300
- # CreateSavingPlanOrder请求参数结构体
4301
- class CreateSavingPlanOrderRequest < TencentCloud::Common::AbstractModel
4302
- # @param RegionId: 地域编码
4303
- # @type RegionId: Integer
4304
- # @param ZoneId: 区域编码
4305
- # @type ZoneId: Integer
4306
- # @param PrePayType: 预付费类型
4307
- # @type PrePayType: String
4308
- # @param TimeSpan: 时长
4309
- # @type TimeSpan: Integer
4310
- # @param TimeUnit: 时长单位
4311
- # @type TimeUnit: String
4312
- # @param CommodityCode: 商品唯一标识
4313
- # @type CommodityCode: String
4314
- # @param PromiseUseAmount: 承诺时长内的小额金额(单位:元)
4315
- # @type PromiseUseAmount: Integer
4316
- # @param SpecifyEffectTime: 节省计划的指定生效时间,若不传则为当前下单时间。传参数格式:"2023-10-01 00:00:00",仅支持指定日期的0点时刻
4317
- # @type SpecifyEffectTime: String
4318
- # @param ClientToken: 可重入ID
4319
- # @type ClientToken: String
4320
-
4321
- attr_accessor :RegionId, :ZoneId, :PrePayType, :TimeSpan, :TimeUnit, :CommodityCode, :PromiseUseAmount, :SpecifyEffectTime, :ClientToken
4322
-
4323
- def initialize(regionid=nil, zoneid=nil, prepaytype=nil, timespan=nil, timeunit=nil, commoditycode=nil, promiseuseamount=nil, specifyeffecttime=nil, clienttoken=nil)
4324
- @RegionId = regionid
4325
- @ZoneId = zoneid
4326
- @PrePayType = prepaytype
4327
- @TimeSpan = timespan
4328
- @TimeUnit = timeunit
4329
- @CommodityCode = commoditycode
4330
- @PromiseUseAmount = promiseuseamount
4331
- @SpecifyEffectTime = specifyeffecttime
4332
- @ClientToken = clienttoken
4333
- end
4334
-
4335
- def deserialize(params)
4336
- @RegionId = params['RegionId']
4337
- @ZoneId = params['ZoneId']
4338
- @PrePayType = params['PrePayType']
4339
- @TimeSpan = params['TimeSpan']
4340
- @TimeUnit = params['TimeUnit']
4341
- @CommodityCode = params['CommodityCode']
4342
- @PromiseUseAmount = params['PromiseUseAmount']
4343
- @SpecifyEffectTime = params['SpecifyEffectTime']
4344
- @ClientToken = params['ClientToken']
4345
- end
4346
- end
4347
-
4348
- # CreateSavingPlanOrder返回参数结构体
4349
- class CreateSavingPlanOrderResponse < TencentCloud::Common::AbstractModel
4350
- # @param BigDealId: 订单号
4351
- # @type BigDealId: String
4352
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4353
- # @type RequestId: String
4354
-
4355
- attr_accessor :BigDealId, :RequestId
4356
-
4357
- def initialize(bigdealid=nil, requestid=nil)
4358
- @BigDealId = bigdealid
4359
- @RequestId = requestid
4360
- end
4361
-
4362
- def deserialize(params)
4363
- @BigDealId = params['BigDealId']
4364
- @RequestId = params['RequestId']
4365
- end
4366
- end
4367
-
4368
4300
  # 订单数据对象
4369
4301
  class Deal < TencentCloud::Common::AbstractModel
4370
4302
  # @param OrderId: 订单号
@@ -8260,65 +8192,6 @@ module TencentCloud
8260
8192
  end
8261
8193
  end
8262
8194
 
8263
- # DescribeSavingPlanOverview请求参数结构体
8264
- class DescribeSavingPlanOverviewRequest < TencentCloud::Common::AbstractModel
8265
- # @param StartDate: 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
8266
- # @type StartDate: String
8267
- # @param EndDate: 结束时间,格式yyyy-MM-dd
8268
- # @type EndDate: String
8269
- # @param Offset: 分页偏移量
8270
- # @type Offset: Integer
8271
- # @param Limit: 每页数量,最大值为200
8272
- # @type Limit: Integer
8273
-
8274
- attr_accessor :StartDate, :EndDate, :Offset, :Limit
8275
-
8276
- def initialize(startdate=nil, enddate=nil, offset=nil, limit=nil)
8277
- @StartDate = startdate
8278
- @EndDate = enddate
8279
- @Offset = offset
8280
- @Limit = limit
8281
- end
8282
-
8283
- def deserialize(params)
8284
- @StartDate = params['StartDate']
8285
- @EndDate = params['EndDate']
8286
- @Offset = params['Offset']
8287
- @Limit = params['Limit']
8288
- end
8289
- end
8290
-
8291
- # DescribeSavingPlanOverview返回参数结构体
8292
- class DescribeSavingPlanOverviewResponse < TencentCloud::Common::AbstractModel
8293
- # @param Overviews: 节省计划总览明细数据
8294
- # @type Overviews: Array
8295
- # @param Total: 查询命中的节省计划总览明细数据总条数
8296
- # @type Total: Integer
8297
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8298
- # @type RequestId: String
8299
-
8300
- attr_accessor :Overviews, :Total, :RequestId
8301
-
8302
- def initialize(overviews=nil, total=nil, requestid=nil)
8303
- @Overviews = overviews
8304
- @Total = total
8305
- @RequestId = requestid
8306
- end
8307
-
8308
- def deserialize(params)
8309
- unless params['Overviews'].nil?
8310
- @Overviews = []
8311
- params['Overviews'].each do |i|
8312
- savingplanoverviewdetail_tmp = SavingPlanOverviewDetail.new
8313
- savingplanoverviewdetail_tmp.deserialize(i)
8314
- @Overviews << savingplanoverviewdetail_tmp
8315
- end
8316
- end
8317
- @Total = params['Total']
8318
- @RequestId = params['RequestId']
8319
- end
8320
- end
8321
-
8322
8195
  # DescribeSavingPlanResourceInfo请求参数结构体
8323
8196
  class DescribeSavingPlanResourceInfoRequest < TencentCloud::Common::AbstractModel
8324
8197
  # @param Limit: 数量,最大值为100
@@ -8367,69 +8240,6 @@ module TencentCloud
8367
8240
  end
8368
8241
  end
8369
8242
 
8370
- # DescribeSavingPlanUsage请求参数结构体
8371
- class DescribeSavingPlanUsageRequest < TencentCloud::Common::AbstractModel
8372
- # @param StartDate: 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
8373
- # @type StartDate: String
8374
- # @param EndDate: 结束时间,格式yyyy-MM-dd
8375
- # @type EndDate: String
8376
- # @param Offset: 分页偏移量
8377
- # @type Offset: Integer
8378
- # @param Limit: 每页数量,最大值为200
8379
- # @type Limit: Integer
8380
- # @param TimeInterval: 查询结果数据的时间间隔
8381
- # @type TimeInterval: String
8382
-
8383
- attr_accessor :StartDate, :EndDate, :Offset, :Limit, :TimeInterval
8384
-
8385
- def initialize(startdate=nil, enddate=nil, offset=nil, limit=nil, timeinterval=nil)
8386
- @StartDate = startdate
8387
- @EndDate = enddate
8388
- @Offset = offset
8389
- @Limit = limit
8390
- @TimeInterval = timeinterval
8391
- end
8392
-
8393
- def deserialize(params)
8394
- @StartDate = params['StartDate']
8395
- @EndDate = params['EndDate']
8396
- @Offset = params['Offset']
8397
- @Limit = params['Limit']
8398
- @TimeInterval = params['TimeInterval']
8399
- end
8400
- end
8401
-
8402
- # DescribeSavingPlanUsage返回参数结构体
8403
- class DescribeSavingPlanUsageResponse < TencentCloud::Common::AbstractModel
8404
- # @param Usages: 节省计划使用率数据
8405
- # @type Usages: Array
8406
- # @param Total: 查询命中的节省计划总览明细数据总条数
8407
- # @type Total: Integer
8408
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8409
- # @type RequestId: String
8410
-
8411
- attr_accessor :Usages, :Total, :RequestId
8412
-
8413
- def initialize(usages=nil, total=nil, requestid=nil)
8414
- @Usages = usages
8415
- @Total = total
8416
- @RequestId = requestid
8417
- end
8418
-
8419
- def deserialize(params)
8420
- unless params['Usages'].nil?
8421
- @Usages = []
8422
- params['Usages'].each do |i|
8423
- savingplanusagedetail_tmp = SavingPlanUsageDetail.new
8424
- savingplanusagedetail_tmp.deserialize(i)
8425
- @Usages << savingplanusagedetail_tmp
8426
- end
8427
- end
8428
- @Total = params['Total']
8429
- @RequestId = params['RequestId']
8430
- end
8431
- end
8432
-
8433
8243
  # DescribeTagList请求参数结构体
8434
8244
  class DescribeTagListRequest < TencentCloud::Common::AbstractModel
8435
8245
  # @param Limit: 数量,最大值为1000
@@ -9499,107 +9309,6 @@ module TencentCloud
9499
9309
  end
9500
9310
  end
9501
9311
 
9502
- # 节省计划总览明细数据
9503
- class SavingPlanOverviewDetail < TencentCloud::Common::AbstractModel
9504
- # @param SpType: 节省计划类型
9505
- # @type SpType: String
9506
- # @param PayType: 支付类型
9507
- # @type PayType: Integer
9508
- # @param PayAmount: 支付金额(单位:元)
9509
- # @type PayAmount: String
9510
- # @param StartTime: 开始时间 yyyy-mm-dd HH:mm:ss格式
9511
- # @type StartTime: String
9512
- # @param EndTime: 结束时间 yyyy-mm-dd HH:mm:ss格式
9513
- # @type EndTime: String
9514
- # @param BuyTime: 购买时间 yyyy-mm-dd HH:mm:ss格式
9515
- # @type BuyTime: String
9516
- # @param Status: 状态
9517
- # @type Status: Integer
9518
- # @param SavingAmount: 累计节省金额(单位:元)
9519
- # @type SavingAmount: String
9520
- # @param Region: 地域
9521
- # @type Region: Array
9522
-
9523
- attr_accessor :SpType, :PayType, :PayAmount, :StartTime, :EndTime, :BuyTime, :Status, :SavingAmount, :Region
9524
-
9525
- def initialize(sptype=nil, paytype=nil, payamount=nil, starttime=nil, endtime=nil, buytime=nil, status=nil, savingamount=nil, region=nil)
9526
- @SpType = sptype
9527
- @PayType = paytype
9528
- @PayAmount = payamount
9529
- @StartTime = starttime
9530
- @EndTime = endtime
9531
- @BuyTime = buytime
9532
- @Status = status
9533
- @SavingAmount = savingamount
9534
- @Region = region
9535
- end
9536
-
9537
- def deserialize(params)
9538
- @SpType = params['SpType']
9539
- @PayType = params['PayType']
9540
- @PayAmount = params['PayAmount']
9541
- @StartTime = params['StartTime']
9542
- @EndTime = params['EndTime']
9543
- @BuyTime = params['BuyTime']
9544
- @Status = params['Status']
9545
- @SavingAmount = params['SavingAmount']
9546
- @Region = params['Region']
9547
- end
9548
- end
9549
-
9550
- # 节省计划使用率数据
9551
- class SavingPlanUsageDetail < TencentCloud::Common::AbstractModel
9552
- # @param SpType: 节省计划类型
9553
- # @type SpType: String
9554
- # @param Status: 节省计划状态
9555
- # @type Status: Integer
9556
- # @param DeductAmount: 累计抵扣的金额(单位:元)
9557
- # @type DeductAmount: String
9558
- # @param PromiseAmount: 累计承诺消费金额(单位:元)
9559
- # @type PromiseAmount: String
9560
- # @param NetSavings: 累计净节省金额(单位:元)
9561
- # @type NetSavings: String
9562
- # @param UtilizationRate: 使用率
9563
- # @type UtilizationRate: Float
9564
- # @param LossAmount: 累计流失金额(单位:元)
9565
- # @type LossAmount: String
9566
- # @param DosageAmount: 累计按量计费预期金额(单位:元)
9567
- # @type DosageAmount: String
9568
- # @param CostAmount: 累计成本金额(单位:元)
9569
- # @type CostAmount: String
9570
- # @param Region: 地域
9571
- # 注意:此字段可能返回 null,表示取不到有效值。
9572
- # @type Region: Array
9573
-
9574
- attr_accessor :SpType, :Status, :DeductAmount, :PromiseAmount, :NetSavings, :UtilizationRate, :LossAmount, :DosageAmount, :CostAmount, :Region
9575
-
9576
- def initialize(sptype=nil, status=nil, deductamount=nil, promiseamount=nil, netsavings=nil, utilizationrate=nil, lossamount=nil, dosageamount=nil, costamount=nil, region=nil)
9577
- @SpType = sptype
9578
- @Status = status
9579
- @DeductAmount = deductamount
9580
- @PromiseAmount = promiseamount
9581
- @NetSavings = netsavings
9582
- @UtilizationRate = utilizationrate
9583
- @LossAmount = lossamount
9584
- @DosageAmount = dosageamount
9585
- @CostAmount = costamount
9586
- @Region = region
9587
- end
9588
-
9589
- def deserialize(params)
9590
- @SpType = params['SpType']
9591
- @Status = params['Status']
9592
- @DeductAmount = params['DeductAmount']
9593
- @PromiseAmount = params['PromiseAmount']
9594
- @NetSavings = params['NetSavings']
9595
- @UtilizationRate = params['UtilizationRate']
9596
- @LossAmount = params['LossAmount']
9597
- @DosageAmount = params['DosageAmount']
9598
- @CostAmount = params['CostAmount']
9599
- @Region = params['Region']
9600
- end
9601
- end
9602
-
9603
9312
  # 账单多维度汇总消费详情
9604
9313
  class SummaryDetail < TencentCloud::Common::AbstractModel
9605
9314
  # @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.1000
4
+ version: 3.0.1001
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-02-18 00:00:00.000000000 Z
11
+ date: 2025-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common