tencentcloud-sdk-live 3.0.952 → 3.0.953

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: ad400f9a709f405bc5e73dc0bac38fec39806020
4
- data.tar.gz: d093ae0bd99ce50ea4444e558ab5e2150c800c85
3
+ metadata.gz: 47bd1e31efd54c2fc099bc80f7a3c7f2f8445346
4
+ data.tar.gz: afcc269dbc4275d59622c32016a5166bbc48e8f0
5
5
  SHA512:
6
- metadata.gz: a0f87de168f339dbda25eb289263cb639684ef33dfb71b5bdee0daaee9457d1224e6750ec2b7ad01d4d2553b00192b72130d2e044eb96b4e73cfb84f8bf0592c
7
- data.tar.gz: c10f6da44c918800890b5fdc57703532e7eee21b3cdd9bf096a0bc0e55eca06e22670012c3422190a97ce52a287a70a00c5a4f4f83b46823b2816a893319b7cf
6
+ metadata.gz: 9c4f89defd7db142788fb14addb81f63e7995db3ca106d0c5900ea220b6ccbd8efa3496521260fb5faba7e0b632d101075372ba34cdd00d14cc5627d5c6fdbc0
7
+ data.tar.gz: e2bd02aa633a989febddb9db6e2dfb64573591967f2c0d16a34bb918900080b8d18cae8bb2739b0290a03be91bf20c878f1ffff45f8e7b60d1950456362fe87f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.952
1
+ 3.0.953
@@ -2408,6 +2408,30 @@ module TencentCloud
2408
2408
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2409
2409
  end
2410
2410
 
2411
+ # 查询直播增强用量明细信息。
2412
+
2413
+ # @param request: Request instance for DescribeLiveEnhanceInfoList.
2414
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeLiveEnhanceInfoListRequest`
2415
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeLiveEnhanceInfoListResponse`
2416
+ def DescribeLiveEnhanceInfoList(request)
2417
+ body = send_request('DescribeLiveEnhanceInfoList', request.serialize)
2418
+ response = JSON.parse(body)
2419
+ if response['Response'].key?('Error') == false
2420
+ model = DescribeLiveEnhanceInfoListResponse.new
2421
+ model.deserialize(response['Response'])
2422
+ model
2423
+ else
2424
+ code = response['Response']['Error']['Code']
2425
+ message = response['Response']['Error']['Message']
2426
+ reqid = response['Response']['RequestId']
2427
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2428
+ end
2429
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2430
+ raise e
2431
+ rescue StandardError => e
2432
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2433
+ end
2434
+
2411
2435
  # 获取禁推流列表。
2412
2436
 
2413
2437
  # 注意:该接口仅作为直播辅助查询接口,重要业务场景不可强依赖该接口。
@@ -6537,6 +6537,79 @@ module TencentCloud
6537
6537
  end
6538
6538
  end
6539
6539
 
6540
+ # DescribeLiveEnhanceInfoList请求参数结构体
6541
+ class DescribeLiveEnhanceInfoListRequest < TencentCloud::Common::AbstractModel
6542
+ # @param StartTime: 起始时间点,使用ISO格式时间,
6543
+ # 例如:2019-01-08T10:00:00Z。
6544
+ # 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见[ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)。
6545
+ # 接口支持最近三个月的查询,开始时间和结束时间查询跨度不能超过三十天。
6546
+ # @type StartTime: String
6547
+ # @param EndTime: 结束时间点,使用ISO格式时间,
6548
+ # 例如:2019-01-08T10:00:00Z。
6549
+ # 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见[ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)。
6550
+ # 接口支持最近三个月的查询,开始时间和结束时间查询跨度不能超过三十天。
6551
+ # @type EndTime: String
6552
+ # @param Granularity: 查询粒度,支持5,60分钟。
6553
+ # @type Granularity: Integer
6554
+ # @param DomainNames: 查询域名,如果不填则默认查全部的数据。
6555
+ # @type DomainNames: Array
6556
+ # @param Type: 增强服务类型,如果不填则默认查全部的数据。
6557
+ # @type Type: Array
6558
+ # @param Resolution: 分辨率,如果不填则默认查全部的数据。
6559
+ # @type Resolution: Array
6560
+ # @param Fps: 帧率,如果不填则默认查全部的数据。
6561
+ # @type Fps: Array
6562
+
6563
+ attr_accessor :StartTime, :EndTime, :Granularity, :DomainNames, :Type, :Resolution, :Fps
6564
+
6565
+ def initialize(starttime=nil, endtime=nil, granularity=nil, domainnames=nil, type=nil, resolution=nil, fps=nil)
6566
+ @StartTime = starttime
6567
+ @EndTime = endtime
6568
+ @Granularity = granularity
6569
+ @DomainNames = domainnames
6570
+ @Type = type
6571
+ @Resolution = resolution
6572
+ @Fps = fps
6573
+ end
6574
+
6575
+ def deserialize(params)
6576
+ @StartTime = params['StartTime']
6577
+ @EndTime = params['EndTime']
6578
+ @Granularity = params['Granularity']
6579
+ @DomainNames = params['DomainNames']
6580
+ @Type = params['Type']
6581
+ @Resolution = params['Resolution']
6582
+ @Fps = params['Fps']
6583
+ end
6584
+ end
6585
+
6586
+ # DescribeLiveEnhanceInfoList返回参数结构体
6587
+ class DescribeLiveEnhanceInfoListResponse < TencentCloud::Common::AbstractModel
6588
+ # @param DataInfoList: 直播增强统计信息列表。
6589
+ # @type DataInfoList: Array
6590
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6591
+ # @type RequestId: String
6592
+
6593
+ attr_accessor :DataInfoList, :RequestId
6594
+
6595
+ def initialize(datainfolist=nil, requestid=nil)
6596
+ @DataInfoList = datainfolist
6597
+ @RequestId = requestid
6598
+ end
6599
+
6600
+ def deserialize(params)
6601
+ unless params['DataInfoList'].nil?
6602
+ @DataInfoList = []
6603
+ params['DataInfoList'].each do |i|
6604
+ liveenhanceinfo_tmp = LiveEnhanceInfo.new
6605
+ liveenhanceinfo_tmp.deserialize(i)
6606
+ @DataInfoList << liveenhanceinfo_tmp
6607
+ end
6608
+ end
6609
+ @RequestId = params['RequestId']
6610
+ end
6611
+ end
6612
+
6540
6613
  # DescribeLiveForbidStreamList请求参数结构体
6541
6614
  class DescribeLiveForbidStreamListRequest < TencentCloud::Common::AbstractModel
6542
6615
  # @param PageNum: 取得第几页,默认1。
@@ -10793,6 +10866,42 @@ module TencentCloud
10793
10866
  end
10794
10867
  end
10795
10868
 
10869
+ # 直播增强计费信息。
10870
+ class LiveEnhanceInfo < TencentCloud::Common::AbstractModel
10871
+ # @param Domain: 域名。
10872
+ # @type Domain: String
10873
+ # @param Time: 时间。
10874
+ # @type Time: String
10875
+ # @param Duration: 计费时长,单位分钟。
10876
+ # @type Duration: Integer
10877
+ # @param Fps: 帧率。
10878
+ # @type Fps: String
10879
+ # @param Resolution: 分辨率。
10880
+ # @type Resolution: String
10881
+ # @param Type: 增强服务类型。
10882
+ # @type Type: String
10883
+
10884
+ attr_accessor :Domain, :Time, :Duration, :Fps, :Resolution, :Type
10885
+
10886
+ def initialize(domain=nil, time=nil, duration=nil, fps=nil, resolution=nil, type=nil)
10887
+ @Domain = domain
10888
+ @Time = time
10889
+ @Duration = duration
10890
+ @Fps = fps
10891
+ @Resolution = resolution
10892
+ @Type = type
10893
+ end
10894
+
10895
+ def deserialize(params)
10896
+ @Domain = params['Domain']
10897
+ @Time = params['Time']
10898
+ @Duration = params['Duration']
10899
+ @Fps = params['Fps']
10900
+ @Resolution = params['Resolution']
10901
+ @Type = params['Type']
10902
+ end
10903
+ end
10904
+
10796
10905
  # 直播包信息。
10797
10906
  class LivePackageInfo < TencentCloud::Common::AbstractModel
10798
10907
  # @param Id: 包 ID。
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: 3.0.952
4
+ version: 3.0.953
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-12-01 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common