tencentcloud-sdk-vod 3.0.384 → 3.0.385
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 +79 -20
- 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: ac8dcb9f66ae240b94894b3ba478c3bf58363f8c
|
4
|
+
data.tar.gz: c759e98c4d7e7cdf71d3bdaf7cd29a03cbd62de7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1915db3c40dbc5c7838b22351c21fe09b8e6cecb7e8ca4cc345e0442eb6eb6a9eb46057fda39a0c96b2bfc1c323b985db8cd154d35ac042701be03efc53f6a3d
|
7
|
+
data.tar.gz: 4ebe57df019392c97a27100f6cc9b07e2fee2410ef9f61e4c8ef8853e3c9bc80c617063a3c1100917604e3d08ba5b0b0d87b3441f989e42a5a8b6510ecd2dfda
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.385
|
data/lib/v20180717/client.rb
CHANGED
@@ -1315,6 +1315,33 @@ module TencentCloud
|
|
1315
1315
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1316
1316
|
end
|
1317
1317
|
|
1318
|
+
# 该接口返回查询时间范围内客户端上传加速统计信息。
|
1319
|
+
# 1. 可以查询最近365天内的客户端上传加速统计数据。
|
1320
|
+
# 2. 查询时间跨度不超过90天。
|
1321
|
+
# 3. 查询时间跨度超过1天的,返回以天为粒度的数据,否则,返回以5分钟为粒度的数据。
|
1322
|
+
|
1323
|
+
# @param request: Request instance for DescribeClientUploadAccelerationUsageData.
|
1324
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeClientUploadAccelerationUsageDataRequest`
|
1325
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeClientUploadAccelerationUsageDataResponse`
|
1326
|
+
def DescribeClientUploadAccelerationUsageData(request)
|
1327
|
+
body = send_request('DescribeClientUploadAccelerationUsageData', request.serialize)
|
1328
|
+
response = JSON.parse(body)
|
1329
|
+
if response['Response'].key?('Error') == false
|
1330
|
+
model = DescribeClientUploadAccelerationUsageDataResponse.new
|
1331
|
+
model.deserialize(response['Response'])
|
1332
|
+
model
|
1333
|
+
else
|
1334
|
+
code = response['Response']['Error']['Code']
|
1335
|
+
message = response['Response']['Error']['Message']
|
1336
|
+
reqid = response['Response']['RequestId']
|
1337
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1338
|
+
end
|
1339
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1340
|
+
raise e
|
1341
|
+
rescue StandardError => e
|
1342
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1343
|
+
end
|
1344
|
+
|
1318
1345
|
# 根据音视频内容审核模板唯一标识,获取音视频内容审核模板详情列表。返回结果包含符合条件的所有用户自定义模板及[系统预置内容审核模板](https://cloud.tencent.com/document/product/266/33476#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.AE.A1.E6.A0.B8.E6.A8.A1.E6.9D.BF)。
|
1319
1346
|
|
1320
1347
|
# @param request: Request instance for DescribeContentReviewTemplates.
|
data/lib/v20180717/models.rb
CHANGED
@@ -7740,6 +7740,64 @@ module TencentCloud
|
|
7740
7740
|
end
|
7741
7741
|
end
|
7742
7742
|
|
7743
|
+
# DescribeClientUploadAccelerationUsageData请求参数结构体
|
7744
|
+
class DescribeClientUploadAccelerationUsageDataRequest < TencentCloud::Common::AbstractModel
|
7745
|
+
# @param StartTime: 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
7746
|
+
# @type StartTime: String
|
7747
|
+
# @param EndTime: 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
7748
|
+
# @type EndTime: String
|
7749
|
+
# @param SubAppId: <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
7750
|
+
# @type SubAppId: Integer
|
7751
|
+
# @param Type: 客户端上传加速类型,取值有:
|
7752
|
+
# <li> AccelerationWithHTTP:HTTP 传输方式的上传加速。</li>
|
7753
|
+
# <li> AccelerationWithQUIC:QUIC 传输方式的上传加速。</li>
|
7754
|
+
# 默认查询所有加速类型的用量 。
|
7755
|
+
# @type Type: String
|
7756
|
+
|
7757
|
+
attr_accessor :StartTime, :EndTime, :SubAppId, :Type
|
7758
|
+
|
7759
|
+
def initialize(starttime=nil, endtime=nil, subappid=nil, type=nil)
|
7760
|
+
@StartTime = starttime
|
7761
|
+
@EndTime = endtime
|
7762
|
+
@SubAppId = subappid
|
7763
|
+
@Type = type
|
7764
|
+
end
|
7765
|
+
|
7766
|
+
def deserialize(params)
|
7767
|
+
@StartTime = params['StartTime']
|
7768
|
+
@EndTime = params['EndTime']
|
7769
|
+
@SubAppId = params['SubAppId']
|
7770
|
+
@Type = params['Type']
|
7771
|
+
end
|
7772
|
+
end
|
7773
|
+
|
7774
|
+
# DescribeClientUploadAccelerationUsageData返回参数结构体
|
7775
|
+
class DescribeClientUploadAccelerationUsageDataResponse < TencentCloud::Common::AbstractModel
|
7776
|
+
# @param ClientUploadAccelerationUsageDataSet: 客户端上传加速统计数据。
|
7777
|
+
# @type ClientUploadAccelerationUsageDataSet: Array
|
7778
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7779
|
+
# @type RequestId: String
|
7780
|
+
|
7781
|
+
attr_accessor :ClientUploadAccelerationUsageDataSet, :RequestId
|
7782
|
+
|
7783
|
+
def initialize(clientuploadaccelerationusagedataset=nil, requestid=nil)
|
7784
|
+
@ClientUploadAccelerationUsageDataSet = clientuploadaccelerationusagedataset
|
7785
|
+
@RequestId = requestid
|
7786
|
+
end
|
7787
|
+
|
7788
|
+
def deserialize(params)
|
7789
|
+
unless params['ClientUploadAccelerationUsageDataSet'].nil?
|
7790
|
+
@ClientUploadAccelerationUsageDataSet = []
|
7791
|
+
params['ClientUploadAccelerationUsageDataSet'].each do |i|
|
7792
|
+
statdataitem_tmp = StatDataItem.new
|
7793
|
+
statdataitem_tmp.deserialize(i)
|
7794
|
+
@ClientUploadAccelerationUsageDataSet << statdataitem_tmp
|
7795
|
+
end
|
7796
|
+
end
|
7797
|
+
@RequestId = params['RequestId']
|
7798
|
+
end
|
7799
|
+
end
|
7800
|
+
|
7743
7801
|
# DescribeContentReviewTemplates请求参数结构体
|
7744
7802
|
class DescribeContentReviewTemplatesRequest < TencentCloud::Common::AbstractModel
|
7745
7803
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
@@ -10357,6 +10415,7 @@ module TencentCloud
|
|
10357
10415
|
# <li>WechatPublishComplete:微信发布完成;</li>
|
10358
10416
|
# <li>ComposeMediaComplete:制作媒体文件完成;</li>
|
10359
10417
|
# <li>WechatMiniProgramPublishComplete:微信小程序发布完成。</li>
|
10418
|
+
# <li>FastClipMediaComplete:快速剪辑完成。</li>
|
10360
10419
|
# <b>兼容 2017 版的事件类型:</b>
|
10361
10420
|
# <li>TranscodeComplete:视频转码完成;</li>
|
10362
10421
|
# <li>ConcatComplete:视频拼接完成;</li>
|
@@ -19508,31 +19567,31 @@ module TencentCloud
|
|
19508
19567
|
# @type WatermarkSet: Array
|
19509
19568
|
# @param TraceWatermark: 溯源水印。
|
19510
19569
|
# @type TraceWatermark: :class:`Tencentcloud::Vod.v20180717.models.TraceWatermarkInput`
|
19511
|
-
# @param HeadTailSet: 片头片尾列表,支持多片头片尾,最大可支持 10 个。
|
19512
|
-
# @type HeadTailSet: Array
|
19513
19570
|
# @param MosaicSet: 马赛克列表,最大可支持 10 张。
|
19514
19571
|
# @type MosaicSet: Array
|
19515
|
-
# @param
|
19516
|
-
#
|
19517
|
-
# <li>当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止;</li>
|
19518
|
-
# <li>当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。</li>
|
19519
|
-
# @type EndTimeOffset: Float
|
19572
|
+
# @param HeadTailSet: 片头片尾列表,支持多片头片尾,最大可支持 10 个。
|
19573
|
+
# @type HeadTailSet: Array
|
19520
19574
|
# @param StartTimeOffset: 转码后的视频的起始时间偏移,单位:秒。
|
19521
19575
|
# <li>不填或填0,表示转码后的视频从原始视频的起始位置开始;</li>
|
19522
19576
|
# <li>当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始;</li>
|
19523
19577
|
# <li>当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。</li>
|
19524
19578
|
# @type StartTimeOffset: Float
|
19579
|
+
# @param EndTimeOffset: 转码后视频的终止时间偏移,单位:秒。
|
19580
|
+
# <li>不填或填0,表示转码后的视频持续到原始视频的末尾终止;</li>
|
19581
|
+
# <li>当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止;</li>
|
19582
|
+
# <li>当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。</li>
|
19583
|
+
# @type EndTimeOffset: Float
|
19525
19584
|
|
19526
|
-
attr_accessor :Definition, :WatermarkSet, :TraceWatermark, :
|
19585
|
+
attr_accessor :Definition, :WatermarkSet, :TraceWatermark, :MosaicSet, :HeadTailSet, :StartTimeOffset, :EndTimeOffset
|
19527
19586
|
|
19528
|
-
def initialize(definition=nil, watermarkset=nil, tracewatermark=nil,
|
19587
|
+
def initialize(definition=nil, watermarkset=nil, tracewatermark=nil, mosaicset=nil, headtailset=nil, starttimeoffset=nil, endtimeoffset=nil)
|
19529
19588
|
@Definition = definition
|
19530
19589
|
@WatermarkSet = watermarkset
|
19531
19590
|
@TraceWatermark = tracewatermark
|
19532
|
-
@HeadTailSet = headtailset
|
19533
19591
|
@MosaicSet = mosaicset
|
19534
|
-
@
|
19592
|
+
@HeadTailSet = headtailset
|
19535
19593
|
@StartTimeOffset = starttimeoffset
|
19594
|
+
@EndTimeOffset = endtimeoffset
|
19536
19595
|
end
|
19537
19596
|
|
19538
19597
|
def deserialize(params)
|
@@ -19549,14 +19608,6 @@ module TencentCloud
|
|
19549
19608
|
@TraceWatermark = TraceWatermarkInput.new
|
19550
19609
|
@TraceWatermark.deserialize(params['TraceWatermark'])
|
19551
19610
|
end
|
19552
|
-
unless params['HeadTailSet'].nil?
|
19553
|
-
@HeadTailSet = []
|
19554
|
-
params['HeadTailSet'].each do |i|
|
19555
|
-
headtailtaskinput_tmp = HeadTailTaskInput.new
|
19556
|
-
headtailtaskinput_tmp.deserialize(i)
|
19557
|
-
@HeadTailSet << headtailtaskinput_tmp
|
19558
|
-
end
|
19559
|
-
end
|
19560
19611
|
unless params['MosaicSet'].nil?
|
19561
19612
|
@MosaicSet = []
|
19562
19613
|
params['MosaicSet'].each do |i|
|
@@ -19565,8 +19616,16 @@ module TencentCloud
|
|
19565
19616
|
@MosaicSet << mosaicinput_tmp
|
19566
19617
|
end
|
19567
19618
|
end
|
19568
|
-
|
19619
|
+
unless params['HeadTailSet'].nil?
|
19620
|
+
@HeadTailSet = []
|
19621
|
+
params['HeadTailSet'].each do |i|
|
19622
|
+
headtailtaskinput_tmp = HeadTailTaskInput.new
|
19623
|
+
headtailtaskinput_tmp.deserialize(i)
|
19624
|
+
@HeadTailSet << headtailtaskinput_tmp
|
19625
|
+
end
|
19626
|
+
end
|
19569
19627
|
@StartTimeOffset = params['StartTimeOffset']
|
19628
|
+
@EndTimeOffset = params['EndTimeOffset']
|
19570
19629
|
end
|
19571
19630
|
end
|
19572
19631
|
|
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: 3.0.
|
4
|
+
version: 3.0.385
|
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-08-
|
11
|
+
date: 2022-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|