tencentcloud-sdk-live 3.0.781 → 3.0.783
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +24 -0
- data/lib/v20180801/models.rb +83 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04f85d1b84fb4b680d7c8cbc86e9771fcf9b9c7c
|
4
|
+
data.tar.gz: 43514285539a92d3f2dfd8925465c3b80f0bc953
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80b53c041cde3650cc91d2e67829347f170c052cda07b7eb5cccaee5562d389b55e237cb80eb8cbfdb648398ce05cff57e70a32243a2ca08d7cd3e14fc7ccb65
|
7
|
+
data.tar.gz: 9a6af9afe4897fee441bb0c4e11ebfeed75cd91861f1028c4b1cdeb01ee63970c87ecd39c79f39c2eb6856af045a58442137881665c9be6ec37e03e902e1d275
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.783
|
data/lib/v20180801/client.rb
CHANGED
@@ -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
|
|
data/lib/v20180801/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.783
|
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-
|
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
|