tencentcloud-sdk-vod 1.0.312 → 1.0.313
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/v20180717/client.rb +27 -0
- data/lib/v20180717/models.rb +76 -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: a47caf1b364f7c1e3dc74611daba8021072f5db1
|
4
|
+
data.tar.gz: 91f5c45762d3ef74a54a15397bba92fe641929b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a98f2529d97fd30ae09900976164d2e39082747a0d070f5b7bebb2615252a2f59359e19e11098ee4316c6869430108da5f0dc9e340b084d709b8eb70e1af243
|
7
|
+
data.tar.gz: 7904e293ccdd0cbf34ea67adfa77492848e4a624b6d848ad6f9ae14d29161485dde52582124fbc39bbb0cfc5c3858affac02725ff7419245df171044c669dc12
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.313
|
data/lib/v20180717/client.rb
CHANGED
@@ -1596,6 +1596,33 @@ module TencentCloud
|
|
1596
1596
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1597
1597
|
end
|
1598
1598
|
|
1599
|
+
# 该接口返回查询时间范围内每天 License 请求次数信息。
|
1600
|
+
# 1. 可以查询最近365天内的 License 请求次数统计数据。
|
1601
|
+
# 2. 查询时间跨度不超过90天。
|
1602
|
+
# 3. 查询时间跨度超过1天的,返回以天为粒度的数据,否则,返回以5分钟为粒度的数据。
|
1603
|
+
|
1604
|
+
# @param request: Request instance for DescribeLicenseUsageData.
|
1605
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeLicenseUsageDataRequest`
|
1606
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeLicenseUsageDataResponse`
|
1607
|
+
def DescribeLicenseUsageData(request)
|
1608
|
+
body = send_request('DescribeLicenseUsageData', request.serialize)
|
1609
|
+
response = JSON.parse(body)
|
1610
|
+
if response['Response'].key?('Error') == false
|
1611
|
+
model = DescribeLicenseUsageDataResponse.new
|
1612
|
+
model.deserialize(response['Response'])
|
1613
|
+
model
|
1614
|
+
else
|
1615
|
+
code = response['Response']['Error']['Code']
|
1616
|
+
message = response['Response']['Error']['Message']
|
1617
|
+
reqid = response['Response']['RequestId']
|
1618
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1619
|
+
end
|
1620
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1621
|
+
raise e
|
1622
|
+
rescue StandardError => e
|
1623
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1624
|
+
end
|
1625
|
+
|
1599
1626
|
# 1. 该接口可以获取多个媒体文件的多种信息,包括:
|
1600
1627
|
# 1. 基础信息(basicInfo):包括媒体名称、分类、播放地址、封面图片等。
|
1601
1628
|
# 2. 元信息(metaData):包括大小、时长、视频流信息、音频流信息等。
|
data/lib/v20180717/models.rb
CHANGED
@@ -8317,6 +8317,62 @@ module TencentCloud
|
|
8317
8317
|
end
|
8318
8318
|
end
|
8319
8319
|
|
8320
|
+
# DescribeLicenseUsageData请求参数结构体
|
8321
|
+
class DescribeLicenseUsageDataRequest < TencentCloud::Common::AbstractModel
|
8322
|
+
# @param StartTime: 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
8323
|
+
# @type StartTime: String
|
8324
|
+
# @param EndTime: 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
8325
|
+
# @type EndTime: String
|
8326
|
+
# @param LicenseType: License 类型,默认为 DRM 。目前支持的 License 类型包括:
|
8327
|
+
# <li> DRM: DRM 加密播放 License</li>
|
8328
|
+
# @type LicenseType: String
|
8329
|
+
# @param SubAppId: 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
8330
|
+
# @type SubAppId: Integer
|
8331
|
+
|
8332
|
+
attr_accessor :StartTime, :EndTime, :LicenseType, :SubAppId
|
8333
|
+
|
8334
|
+
def initialize(starttime=nil, endtime=nil, licensetype=nil, subappid=nil)
|
8335
|
+
@StartTime = starttime
|
8336
|
+
@EndTime = endtime
|
8337
|
+
@LicenseType = licensetype
|
8338
|
+
@SubAppId = subappid
|
8339
|
+
end
|
8340
|
+
|
8341
|
+
def deserialize(params)
|
8342
|
+
@StartTime = params['StartTime']
|
8343
|
+
@EndTime = params['EndTime']
|
8344
|
+
@LicenseType = params['LicenseType']
|
8345
|
+
@SubAppId = params['SubAppId']
|
8346
|
+
end
|
8347
|
+
end
|
8348
|
+
|
8349
|
+
# DescribeLicenseUsageData返回参数结构体
|
8350
|
+
class DescribeLicenseUsageDataResponse < TencentCloud::Common::AbstractModel
|
8351
|
+
# @param LicenseUsageDataSet: License 查询次数统计数据,展示所查询 License 次数的明细数据。
|
8352
|
+
# @type LicenseUsageDataSet: Array
|
8353
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8354
|
+
# @type RequestId: String
|
8355
|
+
|
8356
|
+
attr_accessor :LicenseUsageDataSet, :RequestId
|
8357
|
+
|
8358
|
+
def initialize(licenseusagedataset=nil, requestid=nil)
|
8359
|
+
@LicenseUsageDataSet = licenseusagedataset
|
8360
|
+
@RequestId = requestid
|
8361
|
+
end
|
8362
|
+
|
8363
|
+
def deserialize(params)
|
8364
|
+
unless params['LicenseUsageDataSet'].nil?
|
8365
|
+
@LicenseUsageDataSet = []
|
8366
|
+
params['LicenseUsageDataSet'].each do |i|
|
8367
|
+
licenseusagedataitem_tmp = LicenseUsageDataItem.new
|
8368
|
+
licenseusagedataitem_tmp.deserialize(i)
|
8369
|
+
@LicenseUsageDataSet << licenseusagedataitem_tmp
|
8370
|
+
end
|
8371
|
+
end
|
8372
|
+
@RequestId = params['RequestId']
|
8373
|
+
end
|
8374
|
+
end
|
8375
|
+
|
8320
8376
|
# DescribeMediaInfos请求参数结构体
|
8321
8377
|
class DescribeMediaInfosRequest < TencentCloud::Common::AbstractModel
|
8322
8378
|
# @param FileIds: 媒体文件 ID 列表,N 从 0 开始取值,最大 19。
|
@@ -11311,6 +11367,26 @@ module TencentCloud
|
|
11311
11367
|
end
|
11312
11368
|
end
|
11313
11369
|
|
11370
|
+
# License 请求次数统计数据。
|
11371
|
+
class LicenseUsageDataItem < TencentCloud::Common::AbstractModel
|
11372
|
+
# @param Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
|
11373
|
+
# @type Time: String
|
11374
|
+
# @param Count: License 请求次数。
|
11375
|
+
# @type Count: Integer
|
11376
|
+
|
11377
|
+
attr_accessor :Time, :Count
|
11378
|
+
|
11379
|
+
def initialize(time=nil, count=nil)
|
11380
|
+
@Time = time
|
11381
|
+
@Count = count
|
11382
|
+
end
|
11383
|
+
|
11384
|
+
def deserialize(params)
|
11385
|
+
@Time = params['Time']
|
11386
|
+
@Count = params['Count']
|
11387
|
+
end
|
11388
|
+
end
|
11389
|
+
|
11314
11390
|
# 即时剪辑后媒资的片段信息。
|
11315
11391
|
class LiveRealTimeClipMediaSegmentInfo < TencentCloud::Common::AbstractModel
|
11316
11392
|
# @param StartTime: 片段的起始时间。格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.313
|
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-05-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|