tencentcloud-sdk-billing 3.0.776 → 3.0.778

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: d301be5a37345cd07932dcd131a716a5c6e1c09c
4
- data.tar.gz: 411d39e0e3dece00e6509a1fe9b5c75716948f5a
3
+ metadata.gz: ba3b9866bb6127782c8558a208d34dbab5693c56
4
+ data.tar.gz: e00df545761dbf5d3eede315f5a82faa60c26b42
5
5
  SHA512:
6
- metadata.gz: 8c09a96610e4a8d90eb347c082e5ea33f3217b6dac1746ba3dc1fa617ee817bebfbe6bfde1fc1633f514a8b53f53ba08a76222bffa3099e8095a544a7c8556f9
7
- data.tar.gz: 5bf403b45b7736bc8957cc373b06753ff2697aa0c934667407d679a85aabacacb217bba21acc1e582c0e339614254ef8345d19081046a1083e488e8446c3538e
6
+ metadata.gz: 1f32add6d5e02e437b58df10f238cf5f72c5241b95b254b83ce293c27f4441915afac37716532a3e02612c364e289073338788d2a2262a6fac9edf47a36d6450
7
+ data.tar.gz: e0bb6d3b0feae4cc6972f7688c7ca3174a6e1b4cfca1fd34357f20c63868a1314b7a049b5d4a68e196263e91f2a64ed9df2a6c8a14e52011a4d7a5b9438c74e6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.776
1
+ 3.0.778
@@ -125,6 +125,222 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 查询资源目录筛选条件
129
+
130
+ # @param request: Request instance for DescribeAllocateConditions.
131
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocateConditionsRequest`
132
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocateConditionsResponse`
133
+ def DescribeAllocateConditions(request)
134
+ body = send_request('DescribeAllocateConditions', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DescribeAllocateConditionsResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
152
+ # 查询分账账单筛选条件
153
+
154
+ # @param request: Request instance for DescribeAllocationBillConditions.
155
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocationBillConditionsRequest`
156
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocationBillConditionsResponse`
157
+ def DescribeAllocationBillConditions(request)
158
+ body = send_request('DescribeAllocationBillConditions', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = DescribeAllocationBillConditionsResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
176
+ # 查询分账账单明细
177
+
178
+ # @param request: Request instance for DescribeAllocationBillDetail.
179
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocationBillDetailRequest`
180
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocationBillDetailResponse`
181
+ def DescribeAllocationBillDetail(request)
182
+ body = send_request('DescribeAllocationBillDetail', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = DescribeAllocationBillDetailResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
200
+ # 查询分账账单月概览
201
+
202
+ # @param request: Request instance for DescribeAllocationMonthOverview.
203
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocationMonthOverviewRequest`
204
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocationMonthOverviewResponse`
205
+ def DescribeAllocationMonthOverview(request)
206
+ body = send_request('DescribeAllocationMonthOverview', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeAllocationMonthOverviewResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
224
+ # 查询分账账单日概览
225
+
226
+ # @param request: Request instance for DescribeAllocationOverview.
227
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocationOverviewRequest`
228
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocationOverviewResponse`
229
+ def DescribeAllocationOverview(request)
230
+ body = send_request('DescribeAllocationOverview', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DescribeAllocationOverviewResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
248
+ # 查询分账账单按产品汇总
249
+
250
+ # @param request: Request instance for DescribeAllocationSummaryByBusiness.
251
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocationSummaryByBusinessRequest`
252
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocationSummaryByBusinessResponse`
253
+ def DescribeAllocationSummaryByBusiness(request)
254
+ body = send_request('DescribeAllocationSummaryByBusiness', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = DescribeAllocationSummaryByBusinessResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
272
+ # 查询分账账单按组件汇总
273
+
274
+ # @param request: Request instance for DescribeAllocationSummaryByItem.
275
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocationSummaryByItemRequest`
276
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocationSummaryByItemResponse`
277
+ def DescribeAllocationSummaryByItem(request)
278
+ body = send_request('DescribeAllocationSummaryByItem', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DescribeAllocationSummaryByItemResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
296
+ # 查询分账账单按资源汇总
297
+
298
+ # @param request: Request instance for DescribeAllocationSummaryByResource.
299
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocationSummaryByResourceRequest`
300
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocationSummaryByResourceResponse`
301
+ def DescribeAllocationSummaryByResource(request)
302
+ body = send_request('DescribeAllocationSummaryByResource', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = DescribeAllocationSummaryByResourceResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
320
+ # 查询分账账单费用趋势
321
+
322
+ # @param request: Request instance for DescribeAllocationTrendByMonth.
323
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeAllocationTrendByMonthRequest`
324
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeAllocationTrendByMonthResponse`
325
+ def DescribeAllocationTrendByMonth(request)
326
+ body = send_request('DescribeAllocationTrendByMonth', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribeAllocationTrendByMonthResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
128
344
  # 获取账单明细数据。
129
345
  # 注意事项:
130
346
  # 1.在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。
@@ -681,6 +897,30 @@ module TencentCloud
681
897
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
682
898
  end
683
899
 
900
+ # 查询分账账单资源归集汇总
901
+
902
+ # @param request: Request instance for DescribeGatherResource.
903
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeGatherResourceRequest`
904
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeGatherResourceResponse`
905
+ def DescribeGatherResource(request)
906
+ body = send_request('DescribeGatherResource', request.serialize)
907
+ response = JSON.parse(body)
908
+ if response['Response'].key?('Error') == false
909
+ model = DescribeGatherResourceResponse.new
910
+ model.deserialize(response['Response'])
911
+ model
912
+ else
913
+ code = response['Response']['Error']['Code']
914
+ message = response['Response']['Error']['Message']
915
+ reqid = response['Response']['RequestId']
916
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
917
+ end
918
+ rescue TencentCloud::Common::TencentCloudSDKException => e
919
+ raise e
920
+ rescue StandardError => e
921
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
922
+ end
923
+
684
924
  # 查询当前用户节省计划覆盖率明细数据,如无特别说明,金额单位均为元(国内站)或者美元(国际站)。
685
925
 
686
926
  # @param request: Request instance for DescribeSavingPlanCoverage.