tencentcloud-sdk-live 3.0.1161 → 3.0.1174
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +0 -26
- data/lib/v20180801/models.rb +0 -105
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49043afcd07d4688aa591d5b956026f04eaeb618
|
|
4
|
+
data.tar.gz: 0d1ff28f17b911873aaac17407932ffded3fcd53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26bc4e5b444df82580acd870703e501760c6ed7ea117217a71e78aaa25e42c9c82aa86516911eab26000ae0bed94c7abdd6e56181a80fafa950adcd91e16407a
|
|
7
|
+
data.tar.gz: a62f780e5991204e7e351588ec131c4ed70cb9e9913367698419e4f4423a4051fe154c8fc3ca129dea4035200d99bb6d46daf3d3d458ab421c293d6829c478e5
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1174
|
data/lib/v20180801/client.rb
CHANGED
|
@@ -2528,32 +2528,6 @@ module TencentCloud
|
|
|
2528
2528
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2529
2529
|
end
|
|
2530
2530
|
|
|
2531
|
-
# 获取禁推流列表。
|
|
2532
|
-
|
|
2533
|
-
# 注意:该接口仅作为直播辅助查询接口,重要业务场景不可强依赖该接口。
|
|
2534
|
-
|
|
2535
|
-
# @param request: Request instance for DescribeLiveForbidStreamList.
|
|
2536
|
-
# @type request: :class:`Tencentcloud::live::V20180801::DescribeLiveForbidStreamListRequest`
|
|
2537
|
-
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeLiveForbidStreamListResponse`
|
|
2538
|
-
def DescribeLiveForbidStreamList(request)
|
|
2539
|
-
body = send_request('DescribeLiveForbidStreamList', request.serialize)
|
|
2540
|
-
response = JSON.parse(body)
|
|
2541
|
-
if response['Response'].key?('Error') == false
|
|
2542
|
-
model = DescribeLiveForbidStreamListResponse.new
|
|
2543
|
-
model.deserialize(response['Response'])
|
|
2544
|
-
model
|
|
2545
|
-
else
|
|
2546
|
-
code = response['Response']['Error']['Code']
|
|
2547
|
-
message = response['Response']['Error']['Message']
|
|
2548
|
-
reqid = response['Response']['RequestId']
|
|
2549
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2550
|
-
end
|
|
2551
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2552
|
-
raise e
|
|
2553
|
-
rescue StandardError => e
|
|
2554
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2555
|
-
end
|
|
2556
|
-
|
|
2557
2531
|
# 查询用户套餐包总量、使用量、剩余量、包状态、购买时间和过期时间等。
|
|
2558
2532
|
|
|
2559
2533
|
# @param request: Request instance for DescribeLivePackageInfo.
|
data/lib/v20180801/models.rb
CHANGED
|
@@ -7051,75 +7051,6 @@ module TencentCloud
|
|
|
7051
7051
|
end
|
|
7052
7052
|
end
|
|
7053
7053
|
|
|
7054
|
-
# DescribeLiveForbidStreamList请求参数结构体
|
|
7055
|
-
class DescribeLiveForbidStreamListRequest < TencentCloud::Common::AbstractModel
|
|
7056
|
-
# @param PageNum: 取得第几页,默认1。
|
|
7057
|
-
# @type PageNum: Integer
|
|
7058
|
-
# @param PageSize: 每页大小,最大100。
|
|
7059
|
-
# 取值:1~100之前的任意整数。
|
|
7060
|
-
# 默认值:10。
|
|
7061
|
-
# @type PageSize: Integer
|
|
7062
|
-
# @param StreamName: 按流名称查询。
|
|
7063
|
-
# @type StreamName: String
|
|
7064
|
-
|
|
7065
|
-
attr_accessor :PageNum, :PageSize, :StreamName
|
|
7066
|
-
|
|
7067
|
-
def initialize(pagenum=nil, pagesize=nil, streamname=nil)
|
|
7068
|
-
@PageNum = pagenum
|
|
7069
|
-
@PageSize = pagesize
|
|
7070
|
-
@StreamName = streamname
|
|
7071
|
-
end
|
|
7072
|
-
|
|
7073
|
-
def deserialize(params)
|
|
7074
|
-
@PageNum = params['PageNum']
|
|
7075
|
-
@PageSize = params['PageSize']
|
|
7076
|
-
@StreamName = params['StreamName']
|
|
7077
|
-
end
|
|
7078
|
-
end
|
|
7079
|
-
|
|
7080
|
-
# DescribeLiveForbidStreamList返回参数结构体
|
|
7081
|
-
class DescribeLiveForbidStreamListResponse < TencentCloud::Common::AbstractModel
|
|
7082
|
-
# @param TotalNum: 符合条件的总个数。
|
|
7083
|
-
# @type TotalNum: Integer
|
|
7084
|
-
# @param TotalPage: 总页数。
|
|
7085
|
-
# @type TotalPage: Integer
|
|
7086
|
-
# @param PageNum: 分页的页码。
|
|
7087
|
-
# @type PageNum: Integer
|
|
7088
|
-
# @param PageSize: 每页显示的条数。
|
|
7089
|
-
# @type PageSize: Integer
|
|
7090
|
-
# @param ForbidStreamList: 禁推流列表。
|
|
7091
|
-
# @type ForbidStreamList: Array
|
|
7092
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7093
|
-
# @type RequestId: String
|
|
7094
|
-
|
|
7095
|
-
attr_accessor :TotalNum, :TotalPage, :PageNum, :PageSize, :ForbidStreamList, :RequestId
|
|
7096
|
-
|
|
7097
|
-
def initialize(totalnum=nil, totalpage=nil, pagenum=nil, pagesize=nil, forbidstreamlist=nil, requestid=nil)
|
|
7098
|
-
@TotalNum = totalnum
|
|
7099
|
-
@TotalPage = totalpage
|
|
7100
|
-
@PageNum = pagenum
|
|
7101
|
-
@PageSize = pagesize
|
|
7102
|
-
@ForbidStreamList = forbidstreamlist
|
|
7103
|
-
@RequestId = requestid
|
|
7104
|
-
end
|
|
7105
|
-
|
|
7106
|
-
def deserialize(params)
|
|
7107
|
-
@TotalNum = params['TotalNum']
|
|
7108
|
-
@TotalPage = params['TotalPage']
|
|
7109
|
-
@PageNum = params['PageNum']
|
|
7110
|
-
@PageSize = params['PageSize']
|
|
7111
|
-
unless params['ForbidStreamList'].nil?
|
|
7112
|
-
@ForbidStreamList = []
|
|
7113
|
-
params['ForbidStreamList'].each do |i|
|
|
7114
|
-
forbidstreaminfo_tmp = ForbidStreamInfo.new
|
|
7115
|
-
forbidstreaminfo_tmp.deserialize(i)
|
|
7116
|
-
@ForbidStreamList << forbidstreaminfo_tmp
|
|
7117
|
-
end
|
|
7118
|
-
end
|
|
7119
|
-
@RequestId = params['RequestId']
|
|
7120
|
-
end
|
|
7121
|
-
end
|
|
7122
|
-
|
|
7123
7054
|
# DescribeLivePackageInfo请求参数结构体
|
|
7124
7055
|
class DescribeLivePackageInfoRequest < TencentCloud::Common::AbstractModel
|
|
7125
7056
|
# @param PackageType: 包类型,可选值:
|
|
@@ -11058,42 +10989,6 @@ module TencentCloud
|
|
|
11058
10989
|
end
|
|
11059
10990
|
end
|
|
11060
10991
|
|
|
11061
|
-
# 禁推流列表
|
|
11062
|
-
class ForbidStreamInfo < TencentCloud::Common::AbstractModel
|
|
11063
|
-
# @param StreamName: 流名称。
|
|
11064
|
-
# @type StreamName: String
|
|
11065
|
-
# @param CreateTime: 创建时间。
|
|
11066
|
-
# 注:此字段为北京时间(UTC+8时区)。
|
|
11067
|
-
# @type CreateTime: String
|
|
11068
|
-
# @param ExpireTime: 禁推过期时间。
|
|
11069
|
-
# 注:此字段为北京时间(UTC+8时区)。
|
|
11070
|
-
# @type ExpireTime: String
|
|
11071
|
-
# @param AppName: 推流路径。
|
|
11072
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11073
|
-
# @type AppName: String
|
|
11074
|
-
# @param DomainName: 推流域名。
|
|
11075
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11076
|
-
# @type DomainName: String
|
|
11077
|
-
|
|
11078
|
-
attr_accessor :StreamName, :CreateTime, :ExpireTime, :AppName, :DomainName
|
|
11079
|
-
|
|
11080
|
-
def initialize(streamname=nil, createtime=nil, expiretime=nil, appname=nil, domainname=nil)
|
|
11081
|
-
@StreamName = streamname
|
|
11082
|
-
@CreateTime = createtime
|
|
11083
|
-
@ExpireTime = expiretime
|
|
11084
|
-
@AppName = appname
|
|
11085
|
-
@DomainName = domainname
|
|
11086
|
-
end
|
|
11087
|
-
|
|
11088
|
-
def deserialize(params)
|
|
11089
|
-
@StreamName = params['StreamName']
|
|
11090
|
-
@CreateTime = params['CreateTime']
|
|
11091
|
-
@ExpireTime = params['ExpireTime']
|
|
11092
|
-
@AppName = params['AppName']
|
|
11093
|
-
@DomainName = params['DomainName']
|
|
11094
|
-
end
|
|
11095
|
-
end
|
|
11096
|
-
|
|
11097
10992
|
# 某省份某运营商在某段时间内的带宽,流量,请求数和并发数
|
|
11098
10993
|
class GroupProIspDataInfo < TencentCloud::Common::AbstractModel
|
|
11099
10994
|
# @param ProvinceName: 省份。
|
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.1174
|
|
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-11-
|
|
11
|
+
date: 2025-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/tencentcloud-sdk-live.rb
|
|
37
|
-
- lib/v20180801/client.rb
|
|
38
36
|
- lib/v20180801/models.rb
|
|
37
|
+
- lib/v20180801/client.rb
|
|
38
|
+
- lib/tencentcloud-sdk-live.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|