tencentcloud-sdk-vod 1.0.310 → 1.0.313
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/v20180717/client.rb +27 -0
- data/lib/v20180717/models.rb +118 -3
- 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。
|
@@ -10559,19 +10615,58 @@ module TencentCloud
|
|
10559
10615
|
end
|
10560
10616
|
end
|
10561
10617
|
|
10618
|
+
# 文件删除结果信息
|
10619
|
+
class FileDeleteResultItem < TencentCloud::Common::AbstractModel
|
10620
|
+
# @param FileId: 删除的文件 ID 。
|
10621
|
+
# @type FileId: String
|
10622
|
+
# @param DeleteParts: 本次删除的文件部分。
|
10623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10624
|
+
# @type DeleteParts: Array
|
10625
|
+
|
10626
|
+
attr_accessor :FileId, :DeleteParts
|
10627
|
+
|
10628
|
+
def initialize(fileid=nil, deleteparts=nil)
|
10629
|
+
@FileId = fileid
|
10630
|
+
@DeleteParts = deleteparts
|
10631
|
+
end
|
10632
|
+
|
10633
|
+
def deserialize(params)
|
10634
|
+
@FileId = params['FileId']
|
10635
|
+
unless params['DeleteParts'].nil?
|
10636
|
+
@DeleteParts = []
|
10637
|
+
params['DeleteParts'].each do |i|
|
10638
|
+
mediadeleteitem_tmp = MediaDeleteItem.new
|
10639
|
+
mediadeleteitem_tmp.deserialize(i)
|
10640
|
+
@DeleteParts << mediadeleteitem_tmp
|
10641
|
+
end
|
10642
|
+
end
|
10643
|
+
end
|
10644
|
+
end
|
10645
|
+
|
10562
10646
|
# 文件删除任务
|
10563
10647
|
class FileDeleteTask < TencentCloud::Common::AbstractModel
|
10564
10648
|
# @param FileIdSet: 删除文件 ID 列表。
|
10565
10649
|
# @type FileIdSet: Array
|
10650
|
+
# @param FileDeleteResultInfo: 删除文件结果信息列表。
|
10651
|
+
# @type FileDeleteResultInfo: Array
|
10566
10652
|
|
10567
|
-
attr_accessor :FileIdSet
|
10653
|
+
attr_accessor :FileIdSet, :FileDeleteResultInfo
|
10568
10654
|
|
10569
|
-
def initialize(fileidset=nil)
|
10655
|
+
def initialize(fileidset=nil, filedeleteresultinfo=nil)
|
10570
10656
|
@FileIdSet = fileidset
|
10657
|
+
@FileDeleteResultInfo = filedeleteresultinfo
|
10571
10658
|
end
|
10572
10659
|
|
10573
10660
|
def deserialize(params)
|
10574
10661
|
@FileIdSet = params['FileIdSet']
|
10662
|
+
unless params['FileDeleteResultInfo'].nil?
|
10663
|
+
@FileDeleteResultInfo = []
|
10664
|
+
params['FileDeleteResultInfo'].each do |i|
|
10665
|
+
filedeleteresultitem_tmp = FileDeleteResultItem.new
|
10666
|
+
filedeleteresultitem_tmp.deserialize(i)
|
10667
|
+
@FileDeleteResultInfo << filedeleteresultitem_tmp
|
10668
|
+
end
|
10669
|
+
end
|
10575
10670
|
end
|
10576
10671
|
end
|
10577
10672
|
|
@@ -11272,6 +11367,26 @@ module TencentCloud
|
|
11272
11367
|
end
|
11273
11368
|
end
|
11274
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
|
+
|
11275
11390
|
# 即时剪辑后媒资的片段信息。
|
11276
11391
|
class LiveRealTimeClipMediaSegmentInfo < TencentCloud::Common::AbstractModel
|
11277
11392
|
# @param StartTime: 片段的起始时间。格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
@@ -11294,7 +11409,7 @@ module TencentCloud
|
|
11294
11409
|
|
11295
11410
|
# LiveRealTimeClip请求参数结构体
|
11296
11411
|
class LiveRealTimeClipRequest < TencentCloud::Common::AbstractModel
|
11297
|
-
# @param StreamId:
|
11412
|
+
# @param StreamId: 推流直播码。
|
11298
11413
|
# @type StreamId: String
|
11299
11414
|
# @param StartTime: 流剪辑的开始时间,格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
11300
11415
|
# @type StartTime: String
|
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
|