tencentcloud-sdk-billing 3.0.768 → 3.0.770
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180709/client.rb +24 -0
- data/lib/v20180709/models.rb +596 -1
- 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: b31dd9279df515e8d16aed4091ec81e85b72f5bf
|
4
|
+
data.tar.gz: 31dc068eb609f5c74e38457f398cf465f4ced29c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90217bf8d8c0c13865601f85113a0ecec2023f4d69eb83a655af79acb87a132a42ccaffc0bf8b2cbe8a2768146e92fda6dd32453e6cd018220f83e49f68add15
|
7
|
+
data.tar.gz: ab0d97a19e58dda2c19224f5ba6cd0c856e4eace624d4c5213a16d19d96a0951ac5666302f2fa5f71f1cd6661a82e55fce0a87734c34bde372d9b922ae020420
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.770
|
data/lib/v20180709/client.rb
CHANGED
@@ -465,6 +465,30 @@ module TencentCloud
|
|
465
465
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
466
466
|
end
|
467
467
|
|
468
|
+
# 查看成本分析明细
|
469
|
+
|
470
|
+
# @param request: Request instance for DescribeCostExplorerSummary.
|
471
|
+
# @type request: :class:`Tencentcloud::billing::V20180709::DescribeCostExplorerSummaryRequest`
|
472
|
+
# @rtype: :class:`Tencentcloud::billing::V20180709::DescribeCostExplorerSummaryResponse`
|
473
|
+
def DescribeCostExplorerSummary(request)
|
474
|
+
body = send_request('DescribeCostExplorerSummary', request.serialize)
|
475
|
+
response = JSON.parse(body)
|
476
|
+
if response['Response'].key?('Error') == false
|
477
|
+
model = DescribeCostExplorerSummaryResponse.new
|
478
|
+
model.deserialize(response['Response'])
|
479
|
+
model
|
480
|
+
else
|
481
|
+
code = response['Response']['Error']['Code']
|
482
|
+
message = response['Response']['Error']['Message']
|
483
|
+
reqid = response['Response']['RequestId']
|
484
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
485
|
+
end
|
486
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
487
|
+
raise e
|
488
|
+
rescue StandardError => e
|
489
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
490
|
+
end
|
491
|
+
|
468
492
|
# 获取按产品汇总消耗详情
|
469
493
|
|
470
494
|
# @param request: Request instance for DescribeCostSummaryByProduct.
|
data/lib/v20180709/models.rb
CHANGED
@@ -70,6 +70,472 @@ module TencentCloud
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
+
# 成本分析交易类型复杂类型
|
74
|
+
class AnalyseActionTypeDetail < TencentCloud::Common::AbstractModel
|
75
|
+
# @param ActionType: 交易类型code
|
76
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
77
|
+
# @type ActionType: String
|
78
|
+
# @param ActionTypeName: 交易类型Name
|
79
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
80
|
+
# @type ActionTypeName: String
|
81
|
+
|
82
|
+
attr_accessor :ActionType, :ActionTypeName
|
83
|
+
|
84
|
+
def initialize(actiontype=nil, actiontypename=nil)
|
85
|
+
@ActionType = actiontype
|
86
|
+
@ActionTypeName = actiontypename
|
87
|
+
end
|
88
|
+
|
89
|
+
def deserialize(params)
|
90
|
+
@ActionType = params['ActionType']
|
91
|
+
@ActionTypeName = params['ActionTypeName']
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# 成本分析金额返回数据模型
|
96
|
+
class AnalyseAmountDetail < TencentCloud::Common::AbstractModel
|
97
|
+
# @param Key: 费用类型
|
98
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
99
|
+
# @type Key: String
|
100
|
+
# @param Display: 是否展示
|
101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
102
|
+
# @type Display: Integer
|
103
|
+
|
104
|
+
attr_accessor :Key, :Display
|
105
|
+
|
106
|
+
def initialize(key=nil, display=nil)
|
107
|
+
@Key = key
|
108
|
+
@Display = display
|
109
|
+
end
|
110
|
+
|
111
|
+
def deserialize(params)
|
112
|
+
@Key = params['Key']
|
113
|
+
@Display = params['Display']
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# 成本分析产品返回复杂类型
|
118
|
+
class AnalyseBusinessDetail < TencentCloud::Common::AbstractModel
|
119
|
+
# @param BusinessCode: 产品码code
|
120
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
121
|
+
# @type BusinessCode: String
|
122
|
+
# @param BusinessCodeName: 产品名称
|
123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
124
|
+
# @type BusinessCodeName: String
|
125
|
+
|
126
|
+
attr_accessor :BusinessCode, :BusinessCodeName
|
127
|
+
|
128
|
+
def initialize(businesscode=nil, businesscodename=nil)
|
129
|
+
@BusinessCode = businesscode
|
130
|
+
@BusinessCodeName = businesscodename
|
131
|
+
end
|
132
|
+
|
133
|
+
def deserialize(params)
|
134
|
+
@BusinessCode = params['BusinessCode']
|
135
|
+
@BusinessCodeName = params['BusinessCodeName']
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# 成本分析过滤框复杂类型
|
140
|
+
class AnalyseConditionDetail < TencentCloud::Common::AbstractModel
|
141
|
+
# @param Business: 产品
|
142
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
143
|
+
# @type Business: Array
|
144
|
+
# @param Project: 项目
|
145
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
146
|
+
# @type Project: Array
|
147
|
+
# @param Region: 地域
|
148
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
149
|
+
# @type Region: Array
|
150
|
+
# @param PayMode: 计费模式
|
151
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
152
|
+
# @type PayMode: Array
|
153
|
+
# @param ActionType: 交易类型
|
154
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
155
|
+
# @type ActionType: Array
|
156
|
+
# @param Zone: 可用区
|
157
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
158
|
+
# @type Zone: Array
|
159
|
+
# @param OwnerUin: 资源所有者Uin
|
160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
161
|
+
# @type OwnerUin: Array
|
162
|
+
# @param Amount: 费用类型
|
163
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
164
|
+
# @type Amount: Array
|
165
|
+
|
166
|
+
attr_accessor :Business, :Project, :Region, :PayMode, :ActionType, :Zone, :OwnerUin, :Amount
|
167
|
+
|
168
|
+
def initialize(business=nil, project=nil, region=nil, paymode=nil, actiontype=nil, zone=nil, owneruin=nil, amount=nil)
|
169
|
+
@Business = business
|
170
|
+
@Project = project
|
171
|
+
@Region = region
|
172
|
+
@PayMode = paymode
|
173
|
+
@ActionType = actiontype
|
174
|
+
@Zone = zone
|
175
|
+
@OwnerUin = owneruin
|
176
|
+
@Amount = amount
|
177
|
+
end
|
178
|
+
|
179
|
+
def deserialize(params)
|
180
|
+
unless params['Business'].nil?
|
181
|
+
@Business = []
|
182
|
+
params['Business'].each do |i|
|
183
|
+
analysebusinessdetail_tmp = AnalyseBusinessDetail.new
|
184
|
+
analysebusinessdetail_tmp.deserialize(i)
|
185
|
+
@Business << analysebusinessdetail_tmp
|
186
|
+
end
|
187
|
+
end
|
188
|
+
unless params['Project'].nil?
|
189
|
+
@Project = []
|
190
|
+
params['Project'].each do |i|
|
191
|
+
analyseprojectdetail_tmp = AnalyseProjectDetail.new
|
192
|
+
analyseprojectdetail_tmp.deserialize(i)
|
193
|
+
@Project << analyseprojectdetail_tmp
|
194
|
+
end
|
195
|
+
end
|
196
|
+
unless params['Region'].nil?
|
197
|
+
@Region = []
|
198
|
+
params['Region'].each do |i|
|
199
|
+
analyseregiondetail_tmp = AnalyseRegionDetail.new
|
200
|
+
analyseregiondetail_tmp.deserialize(i)
|
201
|
+
@Region << analyseregiondetail_tmp
|
202
|
+
end
|
203
|
+
end
|
204
|
+
unless params['PayMode'].nil?
|
205
|
+
@PayMode = []
|
206
|
+
params['PayMode'].each do |i|
|
207
|
+
analysepaymodedetail_tmp = AnalysePayModeDetail.new
|
208
|
+
analysepaymodedetail_tmp.deserialize(i)
|
209
|
+
@PayMode << analysepaymodedetail_tmp
|
210
|
+
end
|
211
|
+
end
|
212
|
+
unless params['ActionType'].nil?
|
213
|
+
@ActionType = []
|
214
|
+
params['ActionType'].each do |i|
|
215
|
+
analyseactiontypedetail_tmp = AnalyseActionTypeDetail.new
|
216
|
+
analyseactiontypedetail_tmp.deserialize(i)
|
217
|
+
@ActionType << analyseactiontypedetail_tmp
|
218
|
+
end
|
219
|
+
end
|
220
|
+
unless params['Zone'].nil?
|
221
|
+
@Zone = []
|
222
|
+
params['Zone'].each do |i|
|
223
|
+
analysezonedetail_tmp = AnalyseZoneDetail.new
|
224
|
+
analysezonedetail_tmp.deserialize(i)
|
225
|
+
@Zone << analysezonedetail_tmp
|
226
|
+
end
|
227
|
+
end
|
228
|
+
unless params['OwnerUin'].nil?
|
229
|
+
@OwnerUin = []
|
230
|
+
params['OwnerUin'].each do |i|
|
231
|
+
analyseowneruindetail_tmp = AnalyseOwnerUinDetail.new
|
232
|
+
analyseowneruindetail_tmp.deserialize(i)
|
233
|
+
@OwnerUin << analyseowneruindetail_tmp
|
234
|
+
end
|
235
|
+
end
|
236
|
+
unless params['Amount'].nil?
|
237
|
+
@Amount = []
|
238
|
+
params['Amount'].each do |i|
|
239
|
+
analyseamountdetail_tmp = AnalyseAmountDetail.new
|
240
|
+
analyseamountdetail_tmp.deserialize(i)
|
241
|
+
@Amount << analyseamountdetail_tmp
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# 成本分析查询条件
|
248
|
+
class AnalyseConditions < TencentCloud::Common::AbstractModel
|
249
|
+
# @param BusinessCodes: 产品名称代码
|
250
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
251
|
+
# @type BusinessCodes: String
|
252
|
+
# @param ProductCodes: 子产品名称代码
|
253
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
254
|
+
# @type ProductCodes: String
|
255
|
+
# @param ComponentCode: 组件类型代码
|
256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
257
|
+
# @type ComponentCode: String
|
258
|
+
# @param ZoneIds: 可用区ID:资源所属可用区ID
|
259
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
260
|
+
# @type ZoneIds: String
|
261
|
+
# @param RegionIds: 地域ID:资源所属地域ID
|
262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
263
|
+
# @type RegionIds: String
|
264
|
+
# @param ProjectIds: 项目ID:资源所属项目ID
|
265
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
266
|
+
# @type ProjectIds: String
|
267
|
+
# @param PayModes: 计费模式 prePay(表示包年包月)/postPay(表示按量计费)
|
268
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
269
|
+
# @type PayModes: String
|
270
|
+
# @param ActionTypes: 交易类型,查询交易类型(请使用交易类型code入参)
|
271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
272
|
+
# @type ActionTypes: String
|
273
|
+
# @param Tags: 分账标签键
|
274
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
275
|
+
# @type Tags: String
|
276
|
+
# @param FeeType: 费用类型,查询费用类型(请使用费用类型code入参)入参枚举如下:
|
277
|
+
# cashPayAmount:现金
|
278
|
+
# incentivePayAmount:赠送金
|
279
|
+
# voucherPayAmount:优惠券
|
280
|
+
# tax:税金
|
281
|
+
# costBeforeTax:税前价
|
282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
283
|
+
# @type FeeType: String
|
284
|
+
# @param PayerUins: 查询成本分析数据的用户UIN
|
285
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
286
|
+
# @type PayerUins: String
|
287
|
+
# @param OwnerUins: 使用资源的用户UIN
|
288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
289
|
+
# @type OwnerUins: String
|
290
|
+
# @param ConsumptionTypes: 消耗类型,查询消耗类型(请使用消耗类型code入参)
|
291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
292
|
+
# @type ConsumptionTypes: String
|
293
|
+
|
294
|
+
attr_accessor :BusinessCodes, :ProductCodes, :ComponentCode, :ZoneIds, :RegionIds, :ProjectIds, :PayModes, :ActionTypes, :Tags, :FeeType, :PayerUins, :OwnerUins, :ConsumptionTypes
|
295
|
+
|
296
|
+
def initialize(businesscodes=nil, productcodes=nil, componentcode=nil, zoneids=nil, regionids=nil, projectids=nil, paymodes=nil, actiontypes=nil, tags=nil, feetype=nil, payeruins=nil, owneruins=nil, consumptiontypes=nil)
|
297
|
+
@BusinessCodes = businesscodes
|
298
|
+
@ProductCodes = productcodes
|
299
|
+
@ComponentCode = componentcode
|
300
|
+
@ZoneIds = zoneids
|
301
|
+
@RegionIds = regionids
|
302
|
+
@ProjectIds = projectids
|
303
|
+
@PayModes = paymodes
|
304
|
+
@ActionTypes = actiontypes
|
305
|
+
@Tags = tags
|
306
|
+
@FeeType = feetype
|
307
|
+
@PayerUins = payeruins
|
308
|
+
@OwnerUins = owneruins
|
309
|
+
@ConsumptionTypes = consumptiontypes
|
310
|
+
end
|
311
|
+
|
312
|
+
def deserialize(params)
|
313
|
+
@BusinessCodes = params['BusinessCodes']
|
314
|
+
@ProductCodes = params['ProductCodes']
|
315
|
+
@ComponentCode = params['ComponentCode']
|
316
|
+
@ZoneIds = params['ZoneIds']
|
317
|
+
@RegionIds = params['RegionIds']
|
318
|
+
@ProjectIds = params['ProjectIds']
|
319
|
+
@PayModes = params['PayModes']
|
320
|
+
@ActionTypes = params['ActionTypes']
|
321
|
+
@Tags = params['Tags']
|
322
|
+
@FeeType = params['FeeType']
|
323
|
+
@PayerUins = params['PayerUins']
|
324
|
+
@OwnerUins = params['OwnerUins']
|
325
|
+
@ConsumptionTypes = params['ConsumptionTypes']
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
# 成本分析数据复杂类型
|
330
|
+
class AnalyseDetail < TencentCloud::Common::AbstractModel
|
331
|
+
# @param Name: 时间
|
332
|
+
# @type Name: String
|
333
|
+
# @param Total: 金额
|
334
|
+
# @type Total: String
|
335
|
+
# @param TimeDetail: 日期明细金额
|
336
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
337
|
+
# @type TimeDetail: Array
|
338
|
+
|
339
|
+
attr_accessor :Name, :Total, :TimeDetail
|
340
|
+
|
341
|
+
def initialize(name=nil, total=nil, timedetail=nil)
|
342
|
+
@Name = name
|
343
|
+
@Total = total
|
344
|
+
@TimeDetail = timedetail
|
345
|
+
end
|
346
|
+
|
347
|
+
def deserialize(params)
|
348
|
+
@Name = params['Name']
|
349
|
+
@Total = params['Total']
|
350
|
+
unless params['TimeDetail'].nil?
|
351
|
+
@TimeDetail = []
|
352
|
+
params['TimeDetail'].each do |i|
|
353
|
+
analysetimedetail_tmp = AnalyseTimeDetail.new
|
354
|
+
analysetimedetail_tmp.deserialize(i)
|
355
|
+
@TimeDetail << analysetimedetail_tmp
|
356
|
+
end
|
357
|
+
end
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
# 成本分析表头数据复杂类型
|
362
|
+
class AnalyseHeaderDetail < TencentCloud::Common::AbstractModel
|
363
|
+
# @param HeadDetail: 表头日期
|
364
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
365
|
+
# @type HeadDetail: Array
|
366
|
+
# @param Name: 时间
|
367
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
368
|
+
# @type Name: String
|
369
|
+
# @param Total: 总计
|
370
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
371
|
+
# @type Total: String
|
372
|
+
|
373
|
+
attr_accessor :HeadDetail, :Name, :Total
|
374
|
+
|
375
|
+
def initialize(headdetail=nil, name=nil, total=nil)
|
376
|
+
@HeadDetail = headdetail
|
377
|
+
@Name = name
|
378
|
+
@Total = total
|
379
|
+
end
|
380
|
+
|
381
|
+
def deserialize(params)
|
382
|
+
unless params['HeadDetail'].nil?
|
383
|
+
@HeadDetail = []
|
384
|
+
params['HeadDetail'].each do |i|
|
385
|
+
analyseheadertimedetail_tmp = AnalyseHeaderTimeDetail.new
|
386
|
+
analyseheadertimedetail_tmp.deserialize(i)
|
387
|
+
@HeadDetail << analyseheadertimedetail_tmp
|
388
|
+
end
|
389
|
+
end
|
390
|
+
@Name = params['Name']
|
391
|
+
@Total = params['Total']
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
# 成本分析header表头数据
|
396
|
+
class AnalyseHeaderTimeDetail < TencentCloud::Common::AbstractModel
|
397
|
+
# @param Name: 日期
|
398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
399
|
+
# @type Name: String
|
400
|
+
|
401
|
+
attr_accessor :Name
|
402
|
+
|
403
|
+
def initialize(name=nil)
|
404
|
+
@Name = name
|
405
|
+
end
|
406
|
+
|
407
|
+
def deserialize(params)
|
408
|
+
@Name = params['Name']
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
# 成本分析使用者uin复杂类型
|
413
|
+
class AnalyseOwnerUinDetail < TencentCloud::Common::AbstractModel
|
414
|
+
# @param OwnerUin: 使用者uin
|
415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
416
|
+
# @type OwnerUin: String
|
417
|
+
|
418
|
+
attr_accessor :OwnerUin
|
419
|
+
|
420
|
+
def initialize(owneruin=nil)
|
421
|
+
@OwnerUin = owneruin
|
422
|
+
end
|
423
|
+
|
424
|
+
def deserialize(params)
|
425
|
+
@OwnerUin = params['OwnerUin']
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
# 成本分析支付方式复杂类型
|
430
|
+
class AnalysePayModeDetail < TencentCloud::Common::AbstractModel
|
431
|
+
# @param PayMode: 计费模式code
|
432
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
433
|
+
# @type PayMode: String
|
434
|
+
# @param PayModeName: 计费模式Name
|
435
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
436
|
+
# @type PayModeName: String
|
437
|
+
|
438
|
+
attr_accessor :PayMode, :PayModeName
|
439
|
+
|
440
|
+
def initialize(paymode=nil, paymodename=nil)
|
441
|
+
@PayMode = paymode
|
442
|
+
@PayModeName = paymodename
|
443
|
+
end
|
444
|
+
|
445
|
+
def deserialize(params)
|
446
|
+
@PayMode = params['PayMode']
|
447
|
+
@PayModeName = params['PayModeName']
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
# 成本分析项目返回复杂类型
|
452
|
+
class AnalyseProjectDetail < TencentCloud::Common::AbstractModel
|
453
|
+
# @param ProjectId: 项目id
|
454
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
455
|
+
# @type ProjectId: String
|
456
|
+
# @param ProjectName: 默认项目
|
457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
458
|
+
# @type ProjectName: String
|
459
|
+
|
460
|
+
attr_accessor :ProjectId, :ProjectName
|
461
|
+
|
462
|
+
def initialize(projectid=nil, projectname=nil)
|
463
|
+
@ProjectId = projectid
|
464
|
+
@ProjectName = projectname
|
465
|
+
end
|
466
|
+
|
467
|
+
def deserialize(params)
|
468
|
+
@ProjectId = params['ProjectId']
|
469
|
+
@ProjectName = params['ProjectName']
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
473
|
+
# 成本分析地域返回复杂类型
|
474
|
+
class AnalyseRegionDetail < TencentCloud::Common::AbstractModel
|
475
|
+
# @param RegionId: 地域id
|
476
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
477
|
+
# @type RegionId: String
|
478
|
+
# @param RegionName: 地域名称
|
479
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
480
|
+
# @type RegionName: String
|
481
|
+
|
482
|
+
attr_accessor :RegionId, :RegionName
|
483
|
+
|
484
|
+
def initialize(regionid=nil, regionname=nil)
|
485
|
+
@RegionId = regionid
|
486
|
+
@RegionName = regionname
|
487
|
+
end
|
488
|
+
|
489
|
+
def deserialize(params)
|
490
|
+
@RegionId = params['RegionId']
|
491
|
+
@RegionName = params['RegionName']
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
# 成本分返回值复杂类型
|
496
|
+
class AnalyseTimeDetail < TencentCloud::Common::AbstractModel
|
497
|
+
# @param Time: 日期
|
498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
499
|
+
# @type Time: String
|
500
|
+
# @param Money: 金额
|
501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
502
|
+
# @type Money: String
|
503
|
+
|
504
|
+
attr_accessor :Time, :Money
|
505
|
+
|
506
|
+
def initialize(time=nil, money=nil)
|
507
|
+
@Time = time
|
508
|
+
@Money = money
|
509
|
+
end
|
510
|
+
|
511
|
+
def deserialize(params)
|
512
|
+
@Time = params['Time']
|
513
|
+
@Money = params['Money']
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
517
|
+
# 成本分析可用区复杂类型
|
518
|
+
class AnalyseZoneDetail < TencentCloud::Common::AbstractModel
|
519
|
+
# @param ZoneId: 可用区id
|
520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
521
|
+
# @type ZoneId: String
|
522
|
+
# @param ZoneName: 可用区Name
|
523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
524
|
+
# @type ZoneName: String
|
525
|
+
|
526
|
+
attr_accessor :ZoneId, :ZoneName
|
527
|
+
|
528
|
+
def initialize(zoneid=nil, zonename=nil)
|
529
|
+
@ZoneId = zoneid
|
530
|
+
@ZoneName = zonename
|
531
|
+
end
|
532
|
+
|
533
|
+
def deserialize(params)
|
534
|
+
@ZoneId = params['ZoneId']
|
535
|
+
@ZoneName = params['ZoneName']
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
73
539
|
# 适用商品信息
|
74
540
|
class ApplicableProducts < TencentCloud::Common::AbstractModel
|
75
541
|
# @param GoodsName: 适用商品名称,值为“全产品通用”或商品名称组成的string,以","分割。
|
@@ -3327,6 +3793,135 @@ module TencentCloud
|
|
3327
3793
|
end
|
3328
3794
|
end
|
3329
3795
|
|
3796
|
+
# DescribeCostExplorerSummary请求参数结构体
|
3797
|
+
class DescribeCostExplorerSummaryRequest < TencentCloud::Common::AbstractModel
|
3798
|
+
# @param BeginTime: 周期开始时间,格式为yyyy-mm-dd hh:ii:ss
|
3799
|
+
# @type BeginTime: String
|
3800
|
+
# @param EndTime: 周期结束时间,格式为yyyy-mm-dd hh:ii:ss
|
3801
|
+
# @type EndTime: String
|
3802
|
+
# @param BillType: 账单类型:1-费用账单、2-消耗账单
|
3803
|
+
# @type BillType: String
|
3804
|
+
# @param PeriodType: 统计周期:日-day,月-month;
|
3805
|
+
# @type PeriodType: String
|
3806
|
+
# @param Dimensions: 分类维度(数据汇总维度),查询分类维度(请使用分类维度code入参)入参枚举值:
|
3807
|
+
# default=仅总计
|
3808
|
+
# feeType=费用类型
|
3809
|
+
# billType=账单类型
|
3810
|
+
# business=产品
|
3811
|
+
# product=子产品
|
3812
|
+
# region=地域
|
3813
|
+
# zone=可用区
|
3814
|
+
# actionType=交易类型
|
3815
|
+
# payMode =计费模式
|
3816
|
+
# tags=标签
|
3817
|
+
# project =项目
|
3818
|
+
# payerUin=支付者账号
|
3819
|
+
# ownerUin=使用者账号
|
3820
|
+
# @type Dimensions: String
|
3821
|
+
# @param FeeType: 费用类型:cost-总费用,totalCost-原价费用
|
3822
|
+
# @type FeeType: String
|
3823
|
+
# @param PageSize: 数量,每页最大值为100
|
3824
|
+
# @type PageSize: Integer
|
3825
|
+
# @param PageNo: 起始页,当PageNo=1表示第一页, PageNo=2表示第二页,依次类推。
|
3826
|
+
# @type PageNo: Integer
|
3827
|
+
# @param TagKeyStr: 分账标签值
|
3828
|
+
# @type TagKeyStr: String
|
3829
|
+
# @param NeedConditionValue: 是否需要筛选框, 1-表示需要, 0-表示不需要,若不传默认不需要。
|
3830
|
+
# @type NeedConditionValue: String
|
3831
|
+
# @param Conditions: 筛选参数
|
3832
|
+
# @type Conditions: :class:`Tencentcloud::Billing.v20180709.models.AnalyseConditions`
|
3833
|
+
|
3834
|
+
attr_accessor :BeginTime, :EndTime, :BillType, :PeriodType, :Dimensions, :FeeType, :PageSize, :PageNo, :TagKeyStr, :NeedConditionValue, :Conditions
|
3835
|
+
|
3836
|
+
def initialize(begintime=nil, endtime=nil, billtype=nil, periodtype=nil, dimensions=nil, feetype=nil, pagesize=nil, pageno=nil, tagkeystr=nil, needconditionvalue=nil, conditions=nil)
|
3837
|
+
@BeginTime = begintime
|
3838
|
+
@EndTime = endtime
|
3839
|
+
@BillType = billtype
|
3840
|
+
@PeriodType = periodtype
|
3841
|
+
@Dimensions = dimensions
|
3842
|
+
@FeeType = feetype
|
3843
|
+
@PageSize = pagesize
|
3844
|
+
@PageNo = pageno
|
3845
|
+
@TagKeyStr = tagkeystr
|
3846
|
+
@NeedConditionValue = needconditionvalue
|
3847
|
+
@Conditions = conditions
|
3848
|
+
end
|
3849
|
+
|
3850
|
+
def deserialize(params)
|
3851
|
+
@BeginTime = params['BeginTime']
|
3852
|
+
@EndTime = params['EndTime']
|
3853
|
+
@BillType = params['BillType']
|
3854
|
+
@PeriodType = params['PeriodType']
|
3855
|
+
@Dimensions = params['Dimensions']
|
3856
|
+
@FeeType = params['FeeType']
|
3857
|
+
@PageSize = params['PageSize']
|
3858
|
+
@PageNo = params['PageNo']
|
3859
|
+
@TagKeyStr = params['TagKeyStr']
|
3860
|
+
@NeedConditionValue = params['NeedConditionValue']
|
3861
|
+
unless params['Conditions'].nil?
|
3862
|
+
@Conditions = AnalyseConditions.new
|
3863
|
+
@Conditions.deserialize(params['Conditions'])
|
3864
|
+
end
|
3865
|
+
end
|
3866
|
+
end
|
3867
|
+
|
3868
|
+
# DescribeCostExplorerSummary返回参数结构体
|
3869
|
+
class DescribeCostExplorerSummaryResponse < TencentCloud::Common::AbstractModel
|
3870
|
+
# @param Total: 数据条数
|
3871
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3872
|
+
# @type Total: Integer
|
3873
|
+
# @param Header: 表头信息
|
3874
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3875
|
+
# @type Header: :class:`Tencentcloud::Billing.v20180709.models.AnalyseHeaderDetail`
|
3876
|
+
# @param Detail: 数据明细
|
3877
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3878
|
+
# @type Detail: Array
|
3879
|
+
# @param TotalDetail: 数据总计
|
3880
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3881
|
+
# @type TotalDetail: :class:`Tencentcloud::Billing.v20180709.models.AnalyseDetail`
|
3882
|
+
# @param ConditionValue: 筛选框
|
3883
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3884
|
+
# @type ConditionValue: :class:`Tencentcloud::Billing.v20180709.models.AnalyseConditionDetail`
|
3885
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3886
|
+
# @type RequestId: String
|
3887
|
+
|
3888
|
+
attr_accessor :Total, :Header, :Detail, :TotalDetail, :ConditionValue, :RequestId
|
3889
|
+
|
3890
|
+
def initialize(total=nil, header=nil, detail=nil, totaldetail=nil, conditionvalue=nil, requestid=nil)
|
3891
|
+
@Total = total
|
3892
|
+
@Header = header
|
3893
|
+
@Detail = detail
|
3894
|
+
@TotalDetail = totaldetail
|
3895
|
+
@ConditionValue = conditionvalue
|
3896
|
+
@RequestId = requestid
|
3897
|
+
end
|
3898
|
+
|
3899
|
+
def deserialize(params)
|
3900
|
+
@Total = params['Total']
|
3901
|
+
unless params['Header'].nil?
|
3902
|
+
@Header = AnalyseHeaderDetail.new
|
3903
|
+
@Header.deserialize(params['Header'])
|
3904
|
+
end
|
3905
|
+
unless params['Detail'].nil?
|
3906
|
+
@Detail = []
|
3907
|
+
params['Detail'].each do |i|
|
3908
|
+
analysedetail_tmp = AnalyseDetail.new
|
3909
|
+
analysedetail_tmp.deserialize(i)
|
3910
|
+
@Detail << analysedetail_tmp
|
3911
|
+
end
|
3912
|
+
end
|
3913
|
+
unless params['TotalDetail'].nil?
|
3914
|
+
@TotalDetail = AnalyseDetail.new
|
3915
|
+
@TotalDetail.deserialize(params['TotalDetail'])
|
3916
|
+
end
|
3917
|
+
unless params['ConditionValue'].nil?
|
3918
|
+
@ConditionValue = AnalyseConditionDetail.new
|
3919
|
+
@ConditionValue.deserialize(params['ConditionValue'])
|
3920
|
+
end
|
3921
|
+
@RequestId = params['RequestId']
|
3922
|
+
end
|
3923
|
+
end
|
3924
|
+
|
3330
3925
|
# DescribeCostSummaryByProduct请求参数结构体
|
3331
3926
|
class DescribeCostSummaryByProductRequest < TencentCloud::Common::AbstractModel
|
3332
3927
|
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
@@ -3688,7 +4283,7 @@ module TencentCloud
|
|
3688
4283
|
# 11:代付拒绝
|
3689
4284
|
# 12:支付中
|
3690
4285
|
# @type Status: Integer
|
3691
|
-
# @param OrderId:
|
4286
|
+
# @param OrderId: 子订单号
|
3692
4287
|
# @type OrderId: String
|
3693
4288
|
# @param BigDealId: 大订单号
|
3694
4289
|
# @type BigDealId: String
|
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.770
|
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-02-
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|