tencentcloud-sdk-billing 3.0.1184 → 3.0.1188

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180709/models.rb +54 -6
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 198a491d5b0602506e9d0e9cdb537a725be68819
4
- data.tar.gz: fc3da307e9b1904e75c6d87be789aa1f5c4afa04
3
+ metadata.gz: 69bd13f8f32358353b64f7b407f3ebcb6103b6e4
4
+ data.tar.gz: 0d2916ca822eb2a3d706d93f570ed55425793ddc
5
5
  SHA512:
6
- metadata.gz: 2586ab6e298e95cbb2995220ff297b79fe9860b854979b549e6a945058fbc56cfe99e003cfcba43756333a3db3b6c1f5fa10928bf9253dc7d599ff9152d3d17b
7
- data.tar.gz: 0b4ced211a96c40cc31c3f2a3ea5a8988780d48b0d546e1a56320b4338a42f447c7dca2a082a21364dbf96861d9bc5f943cbeb2388474170f76f54bdedb3ee1c
6
+ metadata.gz: c418109d4b7a561871684b94dceb85084de45c4d2592b38ad1f07f1652ed78bf6f24de5c45ec379402519bf6eb472bd6ea0c49b06d9ad445f34b425da673f780
7
+ data.tar.gz: e2219434195469c00d0b7086d63f2e9065690064529a51ea2237292ac2e8b4b4281f07f7f729160cd78d6a899db16da79f073632d556149ebe07bb77c43f612f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1184
1
+ 3.0.1188
@@ -5471,12 +5471,17 @@ module TencentCloud
5471
5471
 
5472
5472
  # DescribeAccountBalance请求参数结构体
5473
5473
  class DescribeAccountBalanceRequest < TencentCloud::Common::AbstractModel
5474
+ # @param TempCredit: 是否查询临时额度
5475
+ # @type TempCredit: Boolean
5474
5476
 
5477
+ attr_accessor :TempCredit
5475
5478
 
5476
- def initialize()
5479
+ def initialize(tempcredit=nil)
5480
+ @TempCredit = tempcredit
5477
5481
  end
5478
5482
 
5479
5483
  def deserialize(params)
5484
+ @TempCredit = params['TempCredit']
5480
5485
  end
5481
5486
  end
5482
5487
 
@@ -5508,17 +5513,21 @@ module TencentCloud
5508
5513
  # @type CreditBalance: Float
5509
5514
  # @param RealCreditBalance: 真实可用信用额度,单位 分
5510
5515
  # @type RealCreditBalance: Float
5516
+ # @param TempCredit: 临时额度,单位 分
5517
+ # @type TempCredit: Float
5518
+ # @param TempAmountInfoList: 临时额度详情
5519
+ # @type TempAmountInfoList: Array
5511
5520
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5512
5521
  # @type RequestId: String
5513
5522
 
5514
- attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :RequestId
5523
+ attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :TempCredit, :TempAmountInfoList, :RequestId
5515
5524
  extend Gem::Deprecate
5516
5525
  deprecate :IsAllowArrears, :none, 2025, 12
5517
5526
  deprecate :IsAllowArrears=, :none, 2025, 12
5518
5527
  deprecate :IsCreditLimited, :none, 2025, 12
5519
5528
  deprecate :IsCreditLimited=, :none, 2025, 12
5520
5529
 
5521
- 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)
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)
5522
5531
  @Balance = balance
5523
5532
  @Uin = uin
5524
5533
  @RealBalance = realbalance
@@ -5532,6 +5541,8 @@ module TencentCloud
5532
5541
  @CreditAmount = creditamount
5533
5542
  @CreditBalance = creditbalance
5534
5543
  @RealCreditBalance = realcreditbalance
5544
+ @TempCredit = tempcredit
5545
+ @TempAmountInfoList = tempamountinfolist
5535
5546
  @RequestId = requestid
5536
5547
  end
5537
5548
 
@@ -5549,6 +5560,15 @@ module TencentCloud
5549
5560
  @CreditAmount = params['CreditAmount']
5550
5561
  @CreditBalance = params['CreditBalance']
5551
5562
  @RealCreditBalance = params['RealCreditBalance']
5563
+ @TempCredit = params['TempCredit']
5564
+ unless params['TempAmountInfoList'].nil?
5565
+ @TempAmountInfoList = []
5566
+ params['TempAmountInfoList'].each do |i|
5567
+ uintempamountmodel_tmp = UinTempAmountModel.new
5568
+ uintempamountmodel_tmp.deserialize(i)
5569
+ @TempAmountInfoList << uintempamountmodel_tmp
5570
+ end
5571
+ end
5552
5572
  @RequestId = params['RequestId']
5553
5573
  end
5554
5574
  end
@@ -8403,14 +8423,14 @@ module TencentCloud
8403
8423
  # @type Limit: Integer
8404
8424
  # @param Offset: 偏移量
8405
8425
  # @type Offset: Integer
8406
- # @param BeginTime: 周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
8426
+ # @param BeginTime: 周期开始时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
8407
8427
  # @type BeginTime: String
8408
- # @param EndTime: 周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
8428
+ # @param EndTime: 周期结束时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
8409
8429
  # @type EndTime: String
8410
8430
  # @param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
8411
8431
  # 1-表示需要, 0-表示不需要
8412
8432
  # @type NeedRecordNum: Integer
8413
- # @param Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
8433
+ # @param Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通消耗账单的月份,最多可拉取18个月内的数据。
8414
8434
  # @type Month: String
8415
8435
  # @param ProductCode: 查询指定产品信息
8416
8436
  # @type ProductCode: String
@@ -11010,6 +11030,34 @@ module TencentCloud
11010
11030
  end
11011
11031
  end
11012
11032
 
11033
+ # 临时额度详情
11034
+ class UinTempAmountModel < TencentCloud::Common::AbstractModel
11035
+ # @param Uin: 用户uin
11036
+ # @type Uin: String
11037
+ # @param TempAmount: 临时额度
11038
+ # @type TempAmount: Float
11039
+ # @param StartTime: 开始时间
11040
+ # @type StartTime: String
11041
+ # @param EndTime: 结束时间
11042
+ # @type EndTime: String
11043
+
11044
+ attr_accessor :Uin, :TempAmount, :StartTime, :EndTime
11045
+
11046
+ def initialize(uin=nil, tempamount=nil, starttime=nil, endtime=nil)
11047
+ @Uin = uin
11048
+ @TempAmount = tempamount
11049
+ @StartTime = starttime
11050
+ @EndTime = endtime
11051
+ end
11052
+
11053
+ def deserialize(params)
11054
+ @Uin = params['Uin']
11055
+ @TempAmount = params['TempAmount']
11056
+ @StartTime = params['StartTime']
11057
+ @EndTime = params['EndTime']
11058
+ end
11059
+ end
11060
+
11013
11061
  # 购买商品信息
11014
11062
  class UsageDetails < TencentCloud::Common::AbstractModel
11015
11063
  # @param ProductName: 商品名
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.1184
4
+ version: 3.0.1188
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-12-18 00:00:00.000000000 Z
11
+ date: 2025-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-billing.rb
37
- - lib/v20180709/models.rb
38
36
  - lib/v20180709/client.rb
37
+ - lib/v20180709/models.rb
38
+ - lib/tencentcloud-sdk-billing.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: