tencentcloud-sdk-live 3.0.781 → 3.0.782

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: 14b7d0245f2719765d479f99254471c7cafb3df4
4
- data.tar.gz: c409822e01bc576fa61807d605f4f698f452f160
3
+ metadata.gz: e235ba8a37d1637dea1d60b22a0ee653470752d4
4
+ data.tar.gz: ba15d5ad483c25876b9c63239c35f6033ba8b551
5
5
  SHA512:
6
- metadata.gz: 73e47d05f62cd1f78d3253f42a019824d8547cbc98525dd56e1264b2738b5c83d245ac4e00f58c60b43ecfa3f055e2f72dda5c42a98128783d701d2bd024c74b
7
- data.tar.gz: de24019dca955d120cee5b116e032e3a3e87737dd5bf4543e026f505c86cac8cb7bf168b5d981279d9343e258d6b6a4d00a029ffc2b204860cf925b24d08261a
6
+ metadata.gz: 43e36fb243b38aa6a282e396fe9162122e24e2ef0859f2fdc5ee5c40aadfabf8ae8072781a23b81d8ec283efebbabf5e224db3242be3dc3a9c67d28012ef93cb
7
+ data.tar.gz: b0005344dca18725f57863f0aa9469296628d896a8c47f216e954752b3d1acb61480f51314b7add90813582dc56fd4fa4c48897323f17e131f0639d56b9b9d07
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.781
1
+ 3.0.782
@@ -2747,6 +2747,30 @@ module TencentCloud
2747
2747
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2748
2748
  end
2749
2749
 
2750
+ # 查询拉流转推任务的时长信息。
2751
+
2752
+ # @param request: Request instance for DescribePullTransformPushInfo.
2753
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribePullTransformPushInfoRequest`
2754
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribePullTransformPushInfoResponse`
2755
+ def DescribePullTransformPushInfo(request)
2756
+ body = send_request('DescribePullTransformPushInfo', request.serialize)
2757
+ response = JSON.parse(body)
2758
+ if response['Response'].key?('Error') == false
2759
+ model = DescribePullTransformPushInfoResponse.new
2760
+ model.deserialize(response['Response'])
2761
+ model
2762
+ else
2763
+ code = response['Response']['Error']['Code']
2764
+ message = response['Response']['Error']['Message']
2765
+ reqid = response['Response']['RequestId']
2766
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2767
+ end
2768
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2769
+ raise e
2770
+ rescue StandardError => e
2771
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2772
+ end
2773
+
2750
2774
  # 直播推流带宽和流量数据查询。
2751
2775
  # 推流计费会先取全球推流用量和全球播放用量进行比较,满足计费条件后再按各地区用量出账。详情参见[计费文档](https://cloud.tencent.com/document/product/267/34175)。
2752
2776
 
@@ -7015,6 +7015,69 @@ module TencentCloud
7015
7015
  end
7016
7016
  end
7017
7017
 
7018
+ # DescribePullTransformPushInfo请求参数结构体
7019
+ class DescribePullTransformPushInfoRequest < TencentCloud::Common::AbstractModel
7020
+ # @param StartTime: 起始时间点,接口查询支持两种时间格式:
7021
+ # 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
7022
+ # 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
7023
+ # @type StartTime: String
7024
+ # @param EndTime: 结束时间点,接口查询支持两种时间格式:
7025
+ # 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
7026
+ # 2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
7027
+ # 支持最近三年的查询,查询开始和结束时间跨度不支持超过31天。
7028
+ # @type EndTime: String
7029
+ # @param MainlandOrOversea: 可选值:
7030
+ # Mainland:查询国内数据,
7031
+ # Oversea:则查询国外数据,
7032
+ # 默认:查询国内+国外的数据。
7033
+ # @type MainlandOrOversea: String
7034
+
7035
+ attr_accessor :StartTime, :EndTime, :MainlandOrOversea
7036
+
7037
+ def initialize(starttime=nil, endtime=nil, mainlandoroversea=nil)
7038
+ @StartTime = starttime
7039
+ @EndTime = endtime
7040
+ @MainlandOrOversea = mainlandoroversea
7041
+ end
7042
+
7043
+ def deserialize(params)
7044
+ @StartTime = params['StartTime']
7045
+ @EndTime = params['EndTime']
7046
+ @MainlandOrOversea = params['MainlandOrOversea']
7047
+ end
7048
+ end
7049
+
7050
+ # DescribePullTransformPushInfo返回参数结构体
7051
+ class DescribePullTransformPushInfoResponse < TencentCloud::Common::AbstractModel
7052
+ # @param DataInfoList: 时长统计数据列表
7053
+ # @type DataInfoList: Array
7054
+ # @param TotalDuration: 拉流转推得总时长
7055
+ # @type TotalDuration: Integer
7056
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7057
+ # @type RequestId: String
7058
+
7059
+ attr_accessor :DataInfoList, :TotalDuration, :RequestId
7060
+
7061
+ def initialize(datainfolist=nil, totalduration=nil, requestid=nil)
7062
+ @DataInfoList = datainfolist
7063
+ @TotalDuration = totalduration
7064
+ @RequestId = requestid
7065
+ end
7066
+
7067
+ def deserialize(params)
7068
+ unless params['DataInfoList'].nil?
7069
+ @DataInfoList = []
7070
+ params['DataInfoList'].each do |i|
7071
+ taskdurationinfo_tmp = TaskDurationInfo.new
7072
+ taskdurationinfo_tmp.deserialize(i)
7073
+ @DataInfoList << taskdurationinfo_tmp
7074
+ end
7075
+ end
7076
+ @TotalDuration = params['TotalDuration']
7077
+ @RequestId = params['RequestId']
7078
+ end
7079
+ end
7080
+
7018
7081
  # DescribePushBandwidthAndFluxList请求参数结构体
7019
7082
  class DescribePushBandwidthAndFluxListRequest < TencentCloud::Common::AbstractModel
7020
7083
  # @param StartTime: 查询开始时间点,精确到分钟粒度,接口查询支持两种时间格式:
@@ -11990,6 +12053,26 @@ module TencentCloud
11990
12053
  end
11991
12054
  end
11992
12055
 
12056
+ # 拉流转推任务的时长分布信息
12057
+ class TaskDurationInfo < TencentCloud::Common::AbstractModel
12058
+ # @param Time: 拉流转推任务的时间点
12059
+ # @type Time: String
12060
+ # @param Duration: 拉流转推任务的时长,单位为分钟
12061
+ # @type Duration: Integer
12062
+
12063
+ attr_accessor :Time, :Duration
12064
+
12065
+ def initialize(time=nil, duration=nil)
12066
+ @Time = time
12067
+ @Duration = duration
12068
+ end
12069
+
12070
+ def deserialize(params)
12071
+ @Time = params['Time']
12072
+ @Duration = params['Duration']
12073
+ end
12074
+ end
12075
+
11993
12076
  # 直播拉流任务状态信息。
11994
12077
  class TaskStatusInfo < TencentCloud::Common::AbstractModel
11995
12078
  # @param FileUrl: 当前使用的源 URL。
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.781
4
+ version: 3.0.782
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-03-13 00:00:00.000000000 Z
11
+ date: 2024-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common