tencentcloud-sdk-live 1.0.331 → 1.0.332

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: cb9920f38906acf7284fdbea7ec71ba9a1ad7744
4
- data.tar.gz: d1889bf34aeac742690a0ad864359eba23681aa5
3
+ metadata.gz: 14509056708640c66fa90ff273777b769e4daba4
4
+ data.tar.gz: a61f744153647a8f0f1d5114e2aeaec9d6a6f333
5
5
  SHA512:
6
- metadata.gz: d62a4882a9cfd824da91ccc9cd8ea5d62fcfe637fe17f621225440a36e6adb8c17244b1a7baf642923add4ccd4f83ef606cf52ab11d576856964b26bbdc2270e
7
- data.tar.gz: 02aaaee44e1253b9c8ae63fce8f1bfea5a26c0fc0ba620465957ccc4a85c3651ff7ca0167b74d3d6e38e81f1d92caec6109ddd82db5d898e67f2dbd18fb2fcdd
6
+ metadata.gz: 483e12dd970e95dcfdb5597b40fee1f7891e4a234c9c0dd487408fab93aef018598505260f6b99f74702a0eeac34a3d63220ab76ce518d407114be7e01991960
7
+ data.tar.gz: 95f5a78ef65c06c87aa43c07c801b3f58bad04fd668e6465f46d02388578c7585be562acdc64373f63c556224a13059cde259ddeaefb9478fb861566f41202e3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.331
1
+ 1.0.332
@@ -1865,6 +1865,30 @@ module TencentCloud
1865
1865
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1866
1866
  end
1867
1867
 
1868
+ # 提供给客户对账,按天统计,维度:推流域名、时移文件时长(累加)、配置天数(不累加)、时移总时长(累加)。
1869
+
1870
+ # @param request: Request instance for DescribeLiveTimeShiftBillInfoList.
1871
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeLiveTimeShiftBillInfoListRequest`
1872
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeLiveTimeShiftBillInfoListResponse`
1873
+ def DescribeLiveTimeShiftBillInfoList(request)
1874
+ body = send_request('DescribeLiveTimeShiftBillInfoList', request.serialize)
1875
+ response = JSON.parse(body)
1876
+ if response['Response'].key?('Error') == false
1877
+ model = DescribeLiveTimeShiftBillInfoListResponse.new
1878
+ model.deserialize(response['Response'])
1879
+ model
1880
+ else
1881
+ code = response['Response']['Error']['Code']
1882
+ message = response['Response']['Error']['Message']
1883
+ reqid = response['Response']['RequestId']
1884
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1885
+ end
1886
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1887
+ raise e
1888
+ rescue StandardError => e
1889
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1890
+ end
1891
+
1868
1892
  # 支持查询某天或某段时间的转码详细信息。
1869
1893
 
1870
1894
  # @param request: Request instance for DescribeLiveTranscodeDetailInfo.
@@ -4735,6 +4735,65 @@ module TencentCloud
4735
4735
  end
4736
4736
  end
4737
4737
 
4738
+ # DescribeLiveTimeShiftBillInfoList请求参数结构体
4739
+ class DescribeLiveTimeShiftBillInfoListRequest < TencentCloud::Common::AbstractModel
4740
+ # @param StartTime: UTC开始时间,支持最近三个月的查询,查询时间最长跨度为一个月。
4741
+
4742
+ # 使用 UTC 格式时间,
4743
+ # 例如:2019-01-08T10:00:00Z。
4744
+ # 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
4745
+ # @type StartTime: String
4746
+ # @param EndTime: UTC结束时间,支持最近三个月的查询,查询时间最长跨度为一个月。
4747
+
4748
+ # 使用 UTC 格式时间,
4749
+ # 例如:2019-01-08T10:00:00Z。
4750
+ # 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
4751
+ # @type EndTime: String
4752
+ # @param PushDomains: 推流域名列表,若不传递此参数,则表示查询总体数据。
4753
+ # @type PushDomains: Array
4754
+
4755
+ attr_accessor :StartTime, :EndTime, :PushDomains
4756
+
4757
+ def initialize(starttime=nil, endtime=nil, pushdomains=nil)
4758
+ @StartTime = starttime
4759
+ @EndTime = endtime
4760
+ @PushDomains = pushdomains
4761
+ end
4762
+
4763
+ def deserialize(params)
4764
+ @StartTime = params['StartTime']
4765
+ @EndTime = params['EndTime']
4766
+ @PushDomains = params['PushDomains']
4767
+ end
4768
+ end
4769
+
4770
+ # DescribeLiveTimeShiftBillInfoList返回参数结构体
4771
+ class DescribeLiveTimeShiftBillInfoListResponse < TencentCloud::Common::AbstractModel
4772
+ # @param DataInfoList: 时移计费明细数据。
4773
+ # @type DataInfoList: Array
4774
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4775
+ # @type RequestId: String
4776
+
4777
+ attr_accessor :DataInfoList, :RequestId
4778
+
4779
+ def initialize(datainfolist=nil, requestid=nil)
4780
+ @DataInfoList = datainfolist
4781
+ @RequestId = requestid
4782
+ end
4783
+
4784
+ def deserialize(params)
4785
+ unless params['DataInfoList'].nil?
4786
+ @DataInfoList = []
4787
+ params['DataInfoList'].each do |i|
4788
+ timeshiftbilldata_tmp = TimeShiftBillData.new
4789
+ timeshiftbilldata_tmp.deserialize(i)
4790
+ @DataInfoList << timeshiftbilldata_tmp
4791
+ end
4792
+ end
4793
+ @RequestId = params['RequestId']
4794
+ end
4795
+ end
4796
+
4738
4797
  # DescribeLiveTranscodeDetailInfo请求参数结构体
4739
4798
  class DescribeLiveTranscodeDetailInfoRequest < TencentCloud::Common::AbstractModel
4740
4799
  # @param PushDomain: 推流域名。
@@ -9406,6 +9465,34 @@ module TencentCloud
9406
9465
  end
9407
9466
  end
9408
9467
 
9468
+ # 时移计费明细数据。
9469
+ class TimeShiftBillData < TencentCloud::Common::AbstractModel
9470
+ # @param Domain: 推流域名。
9471
+ # @type Domain: String
9472
+ # @param Duration: 时移时长,单位分钟。
9473
+ # @type Duration: Float
9474
+ # @param StoragePeriod: 时移配置天数,单位天。
9475
+ # @type StoragePeriod: Float
9476
+ # @param Time: 时间点,格式: yyyy-mm-ddTHH:MM:SSZ。
9477
+ # @type Time: String
9478
+
9479
+ attr_accessor :Domain, :Duration, :StoragePeriod, :Time
9480
+
9481
+ def initialize(domain=nil, duration=nil, storageperiod=nil, time=nil)
9482
+ @Domain = domain
9483
+ @Duration = duration
9484
+ @StoragePeriod = storageperiod
9485
+ @Time = time
9486
+ end
9487
+
9488
+ def deserialize(params)
9489
+ @Domain = params['Domain']
9490
+ @Duration = params['Duration']
9491
+ @StoragePeriod = params['StoragePeriod']
9492
+ @Time = params['Time']
9493
+ end
9494
+ end
9495
+
9409
9496
  # 某个时间点的指标的数值是多少。
9410
9497
  class TimeValue < TencentCloud::Common::AbstractModel
9411
9498
  # @param Time: UTC 时间,时间格式:yyyy-mm-ddTHH:MM:SSZ。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-live
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.331
4
+ version: 1.0.332
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common