tencentcloud-sdk-billing 3.0.1188 → 3.0.1189

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69bd13f8f32358353b64f7b407f3ebcb6103b6e4
4
- data.tar.gz: 0d2916ca822eb2a3d706d93f570ed55425793ddc
3
+ metadata.gz: 1dd5c79108a6806a126be55e5c560956987f7323
4
+ data.tar.gz: c39ed5eb7338f5f26c226e349387e57389f508a9
5
5
  SHA512:
6
- metadata.gz: c418109d4b7a561871684b94dceb85084de45c4d2592b38ad1f07f1652ed78bf6f24de5c45ec379402519bf6eb472bd6ea0c49b06d9ad445f34b425da673f780
7
- data.tar.gz: e2219434195469c00d0b7086d63f2e9065690064529a51ea2237292ac2e8b4b4281f07f7f729160cd78d6a899db16da79f073632d556149ebe07bb77c43f612f
6
+ metadata.gz: 19f7ad78e186e0f45fc98f562cbd185f52c82c6ca90ffddd7a0add31f037d442ed22aa36ed98764fe4957820979a1555a7fcfc11e93289344a1842bab0d8f284
7
+ data.tar.gz: abab8656f377624d8d721f67164f8adea3f5203f9f3185713d91c93682d773e2d21cbb7aad149442dc06d1f00e7c1ad7930d8ceb9238fb27a4f48b11764ca2c7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1188
1
+ 3.0.1189
@@ -1164,6 +1164,30 @@ module TencentCloud
1164
1164
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1165
1165
  end
1166
1166
 
1167
+ # 获取按标签汇总消耗详情
1168
+
1169
+ # @param request: Request instance for DescribeCostSummaryByTag.
1170
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeCostSummaryByTagRequest`
1171
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeCostSummaryByTagResponse`
1172
+ def DescribeCostSummaryByTag(request)
1173
+ body = send_request('DescribeCostSummaryByTag', request.serialize)
1174
+ response = JSON.parse(body)
1175
+ if response['Response'].key?('Error') == false
1176
+ model = DescribeCostSummaryByTagResponse.new
1177
+ model.deserialize(response['Response'])
1178
+ model
1179
+ else
1180
+ code = response['Response']['Error']['Code']
1181
+ message = response['Response']['Error']['Message']
1182
+ reqid = response['Response']['RequestId']
1183
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1184
+ end
1185
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1186
+ raise e
1187
+ rescue StandardError => e
1188
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1189
+ end
1190
+
1167
1191
  # 查询订单
1168
1192
 
1169
1193
  # @param request: Request instance for DescribeDealsByCond.
@@ -8954,6 +8954,68 @@ module TencentCloud
8954
8954
  end
8955
8955
  end
8956
8956
 
8957
+ # DescribeCostSummaryByTag请求参数结构体
8958
+ class DescribeCostSummaryByTagRequest < TencentCloud::Common::AbstractModel
8959
+ # @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2025-12,EndTime 为 2025-12,查询结果是 2025 年 12 月数据。
8960
+ # @type BeginTime: String
8961
+ # @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2025-12,EndTime 为 2025-12,查询结果是 2025 年 12 月数据。
8962
+ # @type EndTime: String
8963
+ # @param TagKey: 分账标签键,用户自定义
8964
+ # @type TagKey: String
8965
+
8966
+ attr_accessor :BeginTime, :EndTime, :TagKey
8967
+
8968
+ def initialize(begintime=nil, endtime=nil, tagkey=nil)
8969
+ @BeginTime = begintime
8970
+ @EndTime = endtime
8971
+ @TagKey = tagkey
8972
+ end
8973
+
8974
+ def deserialize(params)
8975
+ @BeginTime = params['BeginTime']
8976
+ @EndTime = params['EndTime']
8977
+ @TagKey = params['TagKey']
8978
+ end
8979
+ end
8980
+
8981
+ # DescribeCostSummaryByTag返回参数结构体
8982
+ class DescribeCostSummaryByTagResponse < TencentCloud::Common::AbstractModel
8983
+ # @param Ready: 数据是否准备好,0准备中,1已就绪。
8984
+ # @type Ready: Integer
8985
+ # @param SummaryOverview: 各标签值消耗分布详情
8986
+ # @type SummaryOverview: Array
8987
+ # @param SummaryTotal: 总计
8988
+ # @type SummaryTotal: :class:`Tencentcloud::Billing.v20180709.models.SummaryTotal`
8989
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8990
+ # @type RequestId: String
8991
+
8992
+ attr_accessor :Ready, :SummaryOverview, :SummaryTotal, :RequestId
8993
+
8994
+ def initialize(ready=nil, summaryoverview=nil, summarytotal=nil, requestid=nil)
8995
+ @Ready = ready
8996
+ @SummaryOverview = summaryoverview
8997
+ @SummaryTotal = summarytotal
8998
+ @RequestId = requestid
8999
+ end
9000
+
9001
+ def deserialize(params)
9002
+ @Ready = params['Ready']
9003
+ unless params['SummaryOverview'].nil?
9004
+ @SummaryOverview = []
9005
+ params['SummaryOverview'].each do |i|
9006
+ tagsummaryoverviewitem_tmp = TagSummaryOverviewItem.new
9007
+ tagsummaryoverviewitem_tmp.deserialize(i)
9008
+ @SummaryOverview << tagsummaryoverviewitem_tmp
9009
+ end
9010
+ end
9011
+ unless params['SummaryTotal'].nil?
9012
+ @SummaryTotal = SummaryTotal.new
9013
+ @SummaryTotal.deserialize(params['SummaryTotal'])
9014
+ end
9015
+ @RequestId = params['RequestId']
9016
+ end
9017
+ end
9018
+
8957
9019
  # DescribeDealsByCond请求参数结构体
8958
9020
  class DescribeDealsByCondRequest < TencentCloud::Common::AbstractModel
8959
9021
  # @param StartTime: 开始时间 2016-01-01 00:00:00
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.1188
4
+ version: 3.0.1189
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-23 00:00:00.000000000 Z
11
+ date: 2025-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common