tencentcloud-sdk-vod 3.0.888 → 3.0.889

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d49b7848678ccb4b388a292696e8bc88ecc84b1
4
- data.tar.gz: ed35c5a605e05e620eb9f7d901227067a8f8cd88
3
+ metadata.gz: e80988bcf154a87dae808a07b281579b671f63e0
4
+ data.tar.gz: a05b71cc993876b03c48fb83ddc0d3548884a749
5
5
  SHA512:
6
- metadata.gz: c62854d92d46c10fc0f29eefa44472eebc196bc61549972d2dfe77f8912baf7e92078507e589297693caa8b501c29238d66c8c9612c8b2a1ea7ddf81128623bd
7
- data.tar.gz: 9569243bc1d26fc1fbdbfdaa7100153739bafded49694a79e971ce9721aa7c89d8c4e374c34f94cac2a7a612ad7b67a95fdcbd0f8a0494c30cbb648c226f42e0
6
+ metadata.gz: 0c882510b03492351399f1c96e6f89e7161ea9a7db82bca6bc9e47671ec542288020b705dc8dd39112762d2670b872ac66b2fac46717376dae8b7d120ce7ec3f
7
+ data.tar.gz: d47f3d723ad7ea3e888cb44f5271b5da8e06855f6a02aa3c4ec1ff65657eac0f833af8259d263b61b07d8372bf7c1694af12dc0b9e0b601c9f2345843ac482cc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.888
1
+ 3.0.889
@@ -1836,6 +1836,30 @@ module TencentCloud
1836
1836
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1837
1837
  end
1838
1838
 
1839
+ # 查询轮播当前播放列表。
1840
+
1841
+ # @param request: Request instance for DescribeCurrentPlaylist.
1842
+ # @type request: :class:`Tencentcloud::vod::V20180717::DescribeCurrentPlaylistRequest`
1843
+ # @rtype: :class:`Tencentcloud::vod::V20180717::DescribeCurrentPlaylistResponse`
1844
+ def DescribeCurrentPlaylist(request)
1845
+ body = send_request('DescribeCurrentPlaylist', request.serialize)
1846
+ response = JSON.parse(body)
1847
+ if response['Response'].key?('Error') == false
1848
+ model = DescribeCurrentPlaylistResponse.new
1849
+ model.deserialize(response['Response'])
1850
+ model
1851
+ else
1852
+ code = response['Response']['Error']['Code']
1853
+ message = response['Response']['Error']['Message']
1854
+ reqid = response['Response']['RequestId']
1855
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1856
+ end
1857
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1858
+ raise e
1859
+ rescue StandardError => e
1860
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1861
+ end
1862
+
1839
1863
  # 该接口用于查询指定日期范围内每天的播放统计数据。
1840
1864
  # * 可以查询最近一年的播放统计数据。
1841
1865
  # * 结束日期和起始日期的时间跨度最大为90天。
@@ -3020,6 +3044,30 @@ module TencentCloud
3020
3044
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3021
3045
  end
3022
3046
 
3047
+ # 对 HLS 视频实现快速拼接和快速剪辑,生成新的 HLS 格式的媒体。
3048
+
3049
+ # @param request: Request instance for FastEditMedia.
3050
+ # @type request: :class:`Tencentcloud::vod::V20180717::FastEditMediaRequest`
3051
+ # @rtype: :class:`Tencentcloud::vod::V20180717::FastEditMediaResponse`
3052
+ def FastEditMedia(request)
3053
+ body = send_request('FastEditMedia', request.serialize)
3054
+ response = JSON.parse(body)
3055
+ if response['Response'].key?('Error') == false
3056
+ model = FastEditMediaResponse.new
3057
+ model.deserialize(response['Response'])
3058
+ model
3059
+ else
3060
+ code = response['Response']['Error']['Code']
3061
+ message = response['Response']['Error']['Message']
3062
+ reqid = response['Response']['RequestId']
3063
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3064
+ end
3065
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3066
+ raise e
3067
+ rescue StandardError => e
3068
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3069
+ end
3070
+
3023
3071
  # * 对媒体禁播后,除了点播控制台预览,其他场景访问视频各种资源的 URL(原始文件、转码输出文件、截图等)均会返回 403。
3024
3072
  # 禁播/解禁操作全网生效时间约 5~10 分钟。
3025
3073
 
@@ -3045,6 +3093,30 @@ module TencentCloud
3045
3093
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3046
3094
  end
3047
3095
 
3096
+ # 操作轮播当前播放列表。支持的操作有:<li> Insert:向当前播列表插入播放节目。</li><li> Delete:删除播列表中的播放节目。</li>
3097
+
3098
+ # @param request: Request instance for HandleCurrentPlaylist.
3099
+ # @type request: :class:`Tencentcloud::vod::V20180717::HandleCurrentPlaylistRequest`
3100
+ # @rtype: :class:`Tencentcloud::vod::V20180717::HandleCurrentPlaylistResponse`
3101
+ def HandleCurrentPlaylist(request)
3102
+ body = send_request('HandleCurrentPlaylist', request.serialize)
3103
+ response = JSON.parse(body)
3104
+ if response['Response'].key?('Error') == false
3105
+ model = HandleCurrentPlaylistResponse.new
3106
+ model.deserialize(response['Response'])
3107
+ model
3108
+ else
3109
+ code = response['Response']['Error']['Code']
3110
+ message = response['Response']['Error']['Message']
3111
+ reqid = response['Response']['RequestId']
3112
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3113
+ end
3114
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3115
+ raise e
3116
+ rescue StandardError => e
3117
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3118
+ end
3119
+
3048
3120
  # 对点播中的音视频媒体发起音画质检测任务。
3049
3121
 
3050
3122
  # @param request: Request instance for InspectMediaQuality.
@@ -9614,6 +9614,57 @@ module TencentCloud
9614
9614
  end
9615
9615
  end
9616
9616
 
9617
+ # DescribeCurrentPlaylist请求参数结构体
9618
+ class DescribeCurrentPlaylistRequest < TencentCloud::Common::AbstractModel
9619
+ # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
9620
+ # @type SubAppId: Integer
9621
+ # @param RoundPlayId: 轮播播单唯一标识。
9622
+ # @type RoundPlayId: String
9623
+ # @param Limit: 返回的播放列表的长度。最大10,默认值为5。
9624
+ # @type Limit: Integer
9625
+
9626
+ attr_accessor :SubAppId, :RoundPlayId, :Limit
9627
+
9628
+ def initialize(subappid=nil, roundplayid=nil, limit=nil)
9629
+ @SubAppId = subappid
9630
+ @RoundPlayId = roundplayid
9631
+ @Limit = limit
9632
+ end
9633
+
9634
+ def deserialize(params)
9635
+ @SubAppId = params['SubAppId']
9636
+ @RoundPlayId = params['RoundPlayId']
9637
+ @Limit = params['Limit']
9638
+ end
9639
+ end
9640
+
9641
+ # DescribeCurrentPlaylist返回参数结构体
9642
+ class DescribeCurrentPlaylistResponse < TencentCloud::Common::AbstractModel
9643
+ # @param CurrentPlaylist: 当前播放列表信息。
9644
+ # @type CurrentPlaylist: Array
9645
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9646
+ # @type RequestId: String
9647
+
9648
+ attr_accessor :CurrentPlaylist, :RequestId
9649
+
9650
+ def initialize(currentplaylist=nil, requestid=nil)
9651
+ @CurrentPlaylist = currentplaylist
9652
+ @RequestId = requestid
9653
+ end
9654
+
9655
+ def deserialize(params)
9656
+ unless params['CurrentPlaylist'].nil?
9657
+ @CurrentPlaylist = []
9658
+ params['CurrentPlaylist'].each do |i|
9659
+ roundplayfileplayinfo_tmp = RoundPlayFilePlayInfo.new
9660
+ roundplayfileplayinfo_tmp.deserialize(i)
9661
+ @CurrentPlaylist << roundplayfileplayinfo_tmp
9662
+ end
9663
+ end
9664
+ @RequestId = params['RequestId']
9665
+ end
9666
+ end
9667
+
9617
9668
  # DescribeDailyMediaPlayStat请求参数结构体
9618
9669
  class DescribeDailyMediaPlayStatRequest < TencentCloud::Common::AbstractModel
9619
9670
  # @param FileId: 媒体文件 ID 。
@@ -13875,6 +13926,96 @@ module TencentCloud
13875
13926
  end
13876
13927
  end
13877
13928
 
13929
+ # 快速媒体编辑操作的输入媒体类型
13930
+ class FastEditMediaFileInfo < TencentCloud::Common::AbstractModel
13931
+ # @param FileId: 媒体的 ID。
13932
+ # @type FileId: String
13933
+ # @param AudioVideoType: 操作的音视频类型,可选值有:
13934
+ # <li>Transcode:转码输出;</li>
13935
+ # <li>Original:原始音视频。</li>
13936
+ # 注意:操作的音视频,必须为 HLS 格式。
13937
+ # @type AudioVideoType: String
13938
+ # @param TranscodeDefinition: 当 AudioVideoType 为 Transcode 时有效,表示操作媒体的的转码模板 ID。
13939
+ # @type TranscodeDefinition: Integer
13940
+ # @param StartTimeOffset: 媒体剪辑起始的偏移时间,单位:秒。
13941
+ # @type StartTimeOffset: Float
13942
+ # @param EndTimeOffset: 媒体剪辑结束的时间偏移,单位:秒。
13943
+ # @type EndTimeOffset: Float
13944
+
13945
+ attr_accessor :FileId, :AudioVideoType, :TranscodeDefinition, :StartTimeOffset, :EndTimeOffset
13946
+
13947
+ def initialize(fileid=nil, audiovideotype=nil, transcodedefinition=nil, starttimeoffset=nil, endtimeoffset=nil)
13948
+ @FileId = fileid
13949
+ @AudioVideoType = audiovideotype
13950
+ @TranscodeDefinition = transcodedefinition
13951
+ @StartTimeOffset = starttimeoffset
13952
+ @EndTimeOffset = endtimeoffset
13953
+ end
13954
+
13955
+ def deserialize(params)
13956
+ @FileId = params['FileId']
13957
+ @AudioVideoType = params['AudioVideoType']
13958
+ @TranscodeDefinition = params['TranscodeDefinition']
13959
+ @StartTimeOffset = params['StartTimeOffset']
13960
+ @EndTimeOffset = params['EndTimeOffset']
13961
+ end
13962
+ end
13963
+
13964
+ # FastEditMedia请求参数结构体
13965
+ class FastEditMediaRequest < TencentCloud::Common::AbstractModel
13966
+ # @param FileInfos: 输入的媒体文件信息。最多支持传入100个媒体。
13967
+ # @type FileInfos: Array
13968
+ # @param ClipMode: ClipMode 用来表示剪辑时间点落在一个 TS 分片中间时,是否包含这个分片。共有两种取值: <li>StartInclusiveEndInclusive:当剪辑起始时间点和结束时间点落在一个分片的中间时,都会包含这个分片;</li> <li>StartInclusiveEndExclusive:当起始时间点落在一个分片的中间时,会包含这个分片;而当结束时间点落在一个分片的中间时,不会包含这个分片。</li> 不填时,默认为 StartInclusiveEndInclusive。
13969
+ # @type ClipMode: String
13970
+ # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
13971
+ # @type SubAppId: Integer
13972
+
13973
+ attr_accessor :FileInfos, :ClipMode, :SubAppId
13974
+
13975
+ def initialize(fileinfos=nil, clipmode=nil, subappid=nil)
13976
+ @FileInfos = fileinfos
13977
+ @ClipMode = clipmode
13978
+ @SubAppId = subappid
13979
+ end
13980
+
13981
+ def deserialize(params)
13982
+ unless params['FileInfos'].nil?
13983
+ @FileInfos = []
13984
+ params['FileInfos'].each do |i|
13985
+ fasteditmediafileinfo_tmp = FastEditMediaFileInfo.new
13986
+ fasteditmediafileinfo_tmp.deserialize(i)
13987
+ @FileInfos << fasteditmediafileinfo_tmp
13988
+ end
13989
+ end
13990
+ @ClipMode = params['ClipMode']
13991
+ @SubAppId = params['SubAppId']
13992
+ end
13993
+ end
13994
+
13995
+ # FastEditMedia返回参数结构体
13996
+ class FastEditMediaResponse < TencentCloud::Common::AbstractModel
13997
+ # @param FileId: 快速编辑后的视频的媒体文件的唯一标识。
13998
+ # @type FileId: String
13999
+ # @param Url: 快速编辑后的媒体播放地址。
14000
+ # @type Url: String
14001
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14002
+ # @type RequestId: String
14003
+
14004
+ attr_accessor :FileId, :Url, :RequestId
14005
+
14006
+ def initialize(fileid=nil, url=nil, requestid=nil)
14007
+ @FileId = fileid
14008
+ @Url = url
14009
+ @RequestId = requestid
14010
+ end
14011
+
14012
+ def deserialize(params)
14013
+ @FileId = params['FileId']
14014
+ @Url = params['Url']
14015
+ @RequestId = params['RequestId']
14016
+ end
14017
+ end
14018
+
13878
14019
  # 文件删除结果信息
13879
14020
  class FileDeleteResultItem < TencentCloud::Common::AbstractModel
13880
14021
  # @param FileId: 删除的文件 ID 。
@@ -14142,6 +14283,72 @@ module TencentCloud
14142
14283
  end
14143
14284
  end
14144
14285
 
14286
+ # HandleCurrentPlaylist请求参数结构体
14287
+ class HandleCurrentPlaylistRequest < TencentCloud::Common::AbstractModel
14288
+ # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
14289
+ # @type SubAppId: Integer
14290
+ # @param RoundPlayId: 轮播播单唯一标识。
14291
+ # @type RoundPlayId: String
14292
+ # @param Operation: 操作类型,取值有:<li>Insert:向当前播放列表插入播放节目。</li> <li>InsertTemporary:向当前播放列表临时插入播放节目。只能插入到当前正在播放的节目后面,临时插入的节目只在本次轮播过程生效。</li><li>Delete:删除播放列表中的播放节目。不能删除正在播放的节目。</li>
14293
+ # @type Operation: String
14294
+ # @param ItemId: 播单节目 ID。当 Operation 为 Insert 时必填,表示插入的节目列表位于该播放节目之后。插入的位置必须在当前正在播放的节目之后。
14295
+ # @type ItemId: String
14296
+ # @param RoundPlaylist: 节目列表。当 Operation 为 Insert、InsertTemporary、Delete 时必填,表示要操作的节目列表。列表长度最大为10。
14297
+ # @type RoundPlaylist: Array
14298
+
14299
+ attr_accessor :SubAppId, :RoundPlayId, :Operation, :ItemId, :RoundPlaylist
14300
+
14301
+ def initialize(subappid=nil, roundplayid=nil, operation=nil, itemid=nil, roundplaylist=nil)
14302
+ @SubAppId = subappid
14303
+ @RoundPlayId = roundplayid
14304
+ @Operation = operation
14305
+ @ItemId = itemid
14306
+ @RoundPlaylist = roundplaylist
14307
+ end
14308
+
14309
+ def deserialize(params)
14310
+ @SubAppId = params['SubAppId']
14311
+ @RoundPlayId = params['RoundPlayId']
14312
+ @Operation = params['Operation']
14313
+ @ItemId = params['ItemId']
14314
+ unless params['RoundPlaylist'].nil?
14315
+ @RoundPlaylist = []
14316
+ params['RoundPlaylist'].each do |i|
14317
+ roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new
14318
+ roundplaylistiteminfo_tmp.deserialize(i)
14319
+ @RoundPlaylist << roundplaylistiteminfo_tmp
14320
+ end
14321
+ end
14322
+ end
14323
+ end
14324
+
14325
+ # HandleCurrentPlaylist返回参数结构体
14326
+ class HandleCurrentPlaylistResponse < TencentCloud::Common::AbstractModel
14327
+ # @param RoundPlaylist: 操作成功的节目列表。
14328
+ # @type RoundPlaylist: Array
14329
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14330
+ # @type RequestId: String
14331
+
14332
+ attr_accessor :RoundPlaylist, :RequestId
14333
+
14334
+ def initialize(roundplaylist=nil, requestid=nil)
14335
+ @RoundPlaylist = roundplaylist
14336
+ @RequestId = requestid
14337
+ end
14338
+
14339
+ def deserialize(params)
14340
+ unless params['RoundPlaylist'].nil?
14341
+ @RoundPlaylist = []
14342
+ params['RoundPlaylist'].each do |i|
14343
+ roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new
14344
+ roundplaylistiteminfo_tmp.deserialize(i)
14345
+ @RoundPlaylist << roundplaylistiteminfo_tmp
14346
+ end
14347
+ end
14348
+ @RequestId = params['RequestId']
14349
+ end
14350
+ end
14351
+
14145
14352
  # 视频片头片尾识别任务控制参数
14146
14353
  class HeadTailConfigureInfo < TencentCloud::Common::AbstractModel
14147
14354
  # @param Switch: 视频片头片尾识别任务开关,可选值:
@@ -24455,6 +24662,40 @@ module TencentCloud
24455
24662
  end
24456
24663
  end
24457
24664
 
24665
+ # 轮播节目播放信息
24666
+ class RoundPlayFilePlayInfo < TencentCloud::Common::AbstractModel
24667
+ # @param ItemId: 播单节目的 ID,由系统分配。
24668
+ # @type ItemId: String
24669
+ # @param FileId: 媒体文件标识。
24670
+ # @type FileId: String
24671
+ # @param StartPlayTime: 启播时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
24672
+ # @type StartPlayTime: String
24673
+ # @param Duration: 播放时长,单位为秒。
24674
+ # 注意:此字段可能返回 null,表示取不到有效值。
24675
+ # @type Duration: Float
24676
+ # @param Progress: 播放进度,单位为妙。
24677
+ # 注意:此字段可能返回 null,表示取不到有效值。
24678
+ # @type Progress: Float
24679
+
24680
+ attr_accessor :ItemId, :FileId, :StartPlayTime, :Duration, :Progress
24681
+
24682
+ def initialize(itemid=nil, fileid=nil, startplaytime=nil, duration=nil, progress=nil)
24683
+ @ItemId = itemid
24684
+ @FileId = fileid
24685
+ @StartPlayTime = startplaytime
24686
+ @Duration = duration
24687
+ @Progress = progress
24688
+ end
24689
+
24690
+ def deserialize(params)
24691
+ @ItemId = params['ItemId']
24692
+ @FileId = params['FileId']
24693
+ @StartPlayTime = params['StartPlayTime']
24694
+ @Duration = params['Duration']
24695
+ @Progress = params['Progress']
24696
+ end
24697
+ end
24698
+
24458
24699
  # 轮播任务信息
24459
24700
  class RoundPlayInfo < TencentCloud::Common::AbstractModel
24460
24701
  # @param RoundPlayId: 轮播播单标识。
@@ -24479,10 +24720,16 @@ module TencentCloud
24479
24720
  # @type PlayBackMode: String
24480
24721
  # @param Url: 轮播播放地址。
24481
24722
  # @type Url: String
24723
+ # @param CreateTime: 创建时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
24724
+ # 注意:此字段可能返回 null,表示取不到有效值。
24725
+ # @type CreateTime: String
24726
+ # @param UpdateTime: 更新时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
24727
+ # 注意:此字段可能返回 null,表示取不到有效值。
24728
+ # @type UpdateTime: String
24482
24729
 
24483
- attr_accessor :RoundPlayId, :StartTime, :RoundPlaylist, :Name, :Desc, :Status, :PlayBackMode, :Url
24730
+ attr_accessor :RoundPlayId, :StartTime, :RoundPlaylist, :Name, :Desc, :Status, :PlayBackMode, :Url, :CreateTime, :UpdateTime
24484
24731
 
24485
- def initialize(roundplayid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil, status=nil, playbackmode=nil, url=nil)
24732
+ def initialize(roundplayid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil, status=nil, playbackmode=nil, url=nil, createtime=nil, updatetime=nil)
24486
24733
  @RoundPlayId = roundplayid
24487
24734
  @StartTime = starttime
24488
24735
  @RoundPlaylist = roundplaylist
@@ -24491,6 +24738,8 @@ module TencentCloud
24491
24738
  @Status = status
24492
24739
  @PlayBackMode = playbackmode
24493
24740
  @Url = url
24741
+ @CreateTime = createtime
24742
+ @UpdateTime = updatetime
24494
24743
  end
24495
24744
 
24496
24745
  def deserialize(params)
@@ -24509,6 +24758,8 @@ module TencentCloud
24509
24758
  @Status = params['Status']
24510
24759
  @PlayBackMode = params['PlayBackMode']
24511
24760
  @Url = params['Url']
24761
+ @CreateTime = params['CreateTime']
24762
+ @UpdateTime = params['UpdateTime']
24512
24763
  end
24513
24764
  end
24514
24765
 
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.888
4
+ version: 3.0.889
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-08-18 00:00:00.000000000 Z
11
+ date: 2024-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common