tencentcloud-sdk-vod 3.0.577 → 3.0.578

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: c0a5e588947a0fd44818c95453e3dd8c9a77ef23
4
- data.tar.gz: c7ea1e109211ced6f04db0189b077372edb9eee9
3
+ metadata.gz: f6a1499506b48cb231a74ba1dc4785ba5b85f1ae
4
+ data.tar.gz: 1d7e45b375748499367fca2fed9696b483de88ac
5
5
  SHA512:
6
- metadata.gz: 875a8bead6e55af7ee6a3197b8908bd8dab96745a625ae527d514e3716e95306eec4b82decab0e093eba22ec22da1e7e30d5c9cccd84653a4b15659130469e70
7
- data.tar.gz: e8db5c4d9f159e2336c4243d3ac2f11be3c9607ae04accb5ef5acdadb86c8975ac3b8dad2c6a79aa63058da80b735f47c9db38aac16849bc59369af30ddd4e75
6
+ metadata.gz: 6e9d5e4f3eb5c56ae74a4ea0d618321559caa8f9dfb1f234594baaa8fccdab537f8d56399228848d5bc042b1e6f453d922ffc944c30c32b3f192de08ea302133
7
+ data.tar.gz: 608c3181e338d486bd50e6527030f300ec17a8b16998b298f155ef0efbbce480b85efb7b7aabacee81b2f9171acea1657b206b10195e768d3826251007f00852
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.577
1
+ 3.0.578
@@ -312,6 +312,30 @@ module TencentCloud
312
312
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
313
313
  end
314
314
 
315
+ # 创建音画质重生模板。
316
+
317
+ # @param request: Request instance for CreateEnhanceMediaTemplate.
318
+ # @type request: :class:`Tencentcloud::vod::V20180717::CreateEnhanceMediaTemplateRequest`
319
+ # @rtype: :class:`Tencentcloud::vod::V20180717::CreateEnhanceMediaTemplateResponse`
320
+ def CreateEnhanceMediaTemplate(request)
321
+ body = send_request('CreateEnhanceMediaTemplate', request.serialize)
322
+ response = JSON.parse(body)
323
+ if response['Response'].key?('Error') == false
324
+ model = CreateEnhanceMediaTemplateResponse.new
325
+ model.deserialize(response['Response'])
326
+ model
327
+ else
328
+ code = response['Response']['Error']['Code']
329
+ message = response['Response']['Error']['Message']
330
+ reqid = response['Response']['RequestId']
331
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
332
+ end
333
+ rescue TencentCloud::Common::TencentCloudSDKException => e
334
+ raise e
335
+ rescue StandardError => e
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
337
+ end
338
+
315
339
  # 创建片头片尾模板。
316
340
 
317
341
  # @param request: Request instance for CreateHeadTailTemplate.
@@ -875,6 +899,30 @@ module TencentCloud
875
899
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
876
900
  end
877
901
 
902
+ # 删除音画质重生模板。
903
+
904
+ # @param request: Request instance for DeleteEnhanceMediaTemplate.
905
+ # @type request: :class:`Tencentcloud::vod::V20180717::DeleteEnhanceMediaTemplateRequest`
906
+ # @rtype: :class:`Tencentcloud::vod::V20180717::DeleteEnhanceMediaTemplateResponse`
907
+ def DeleteEnhanceMediaTemplate(request)
908
+ body = send_request('DeleteEnhanceMediaTemplate', request.serialize)
909
+ response = JSON.parse(body)
910
+ if response['Response'].key?('Error') == false
911
+ model = DeleteEnhanceMediaTemplateResponse.new
912
+ model.deserialize(response['Response'])
913
+ model
914
+ else
915
+ code = response['Response']['Error']['Code']
916
+ message = response['Response']['Error']['Message']
917
+ reqid = response['Response']['RequestId']
918
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
919
+ end
920
+ rescue TencentCloud::Common::TencentCloudSDKException => e
921
+ raise e
922
+ rescue StandardError => e
923
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
924
+ end
925
+
878
926
  # 删除片头片尾模板。
879
927
 
880
928
  # @param request: Request instance for DeleteHeadTailTemplate.
@@ -1655,6 +1703,30 @@ module TencentCloud
1655
1703
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1656
1704
  end
1657
1705
 
1706
+ # 获取音画质重生模板列表。
1707
+
1708
+ # @param request: Request instance for DescribeEnhanceMediaTemplates.
1709
+ # @type request: :class:`Tencentcloud::vod::V20180717::DescribeEnhanceMediaTemplatesRequest`
1710
+ # @rtype: :class:`Tencentcloud::vod::V20180717::DescribeEnhanceMediaTemplatesResponse`
1711
+ def DescribeEnhanceMediaTemplates(request)
1712
+ body = send_request('DescribeEnhanceMediaTemplates', request.serialize)
1713
+ response = JSON.parse(body)
1714
+ if response['Response'].key?('Error') == false
1715
+ model = DescribeEnhanceMediaTemplatesResponse.new
1716
+ model.deserialize(response['Response'])
1717
+ model
1718
+ else
1719
+ code = response['Response']['Error']['Code']
1720
+ message = response['Response']['Error']['Message']
1721
+ reqid = response['Response']['RequestId']
1722
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1723
+ end
1724
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1725
+ raise e
1726
+ rescue StandardError => e
1727
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1728
+ end
1729
+
1658
1730
  # 腾讯云点播为客户提供了媒体上传、媒体管理、媒体处理等等服务,在这些服务执行过程或执行结束时,腾讯云点播也提供各种对应的事件通知,方便开发者感知服务处理状态,并做下一步的业务操作。
1659
1731
 
1660
1732
  # 开发者可以通过本接口来查询当前配置事件通知的接收方式、接收地址以及哪些事件开启了接收回调通知。
@@ -2482,6 +2554,30 @@ module TencentCloud
2482
2554
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2483
2555
  end
2484
2556
 
2557
+ # 使用模板发起音画质重生。
2558
+
2559
+ # @param request: Request instance for EnhanceMediaByTemplate.
2560
+ # @type request: :class:`Tencentcloud::vod::V20180717::EnhanceMediaByTemplateRequest`
2561
+ # @rtype: :class:`Tencentcloud::vod::V20180717::EnhanceMediaByTemplateResponse`
2562
+ def EnhanceMediaByTemplate(request)
2563
+ body = send_request('EnhanceMediaByTemplate', request.serialize)
2564
+ response = JSON.parse(body)
2565
+ if response['Response'].key?('Error') == false
2566
+ model = EnhanceMediaByTemplateResponse.new
2567
+ model.deserialize(response['Response'])
2568
+ model
2569
+ else
2570
+ code = response['Response']['Error']['Code']
2571
+ message = response['Response']['Error']['Message']
2572
+ reqid = response['Response']['RequestId']
2573
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2574
+ end
2575
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2576
+ raise e
2577
+ rescue StandardError => e
2578
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2579
+ end
2580
+
2485
2581
  # 本接口仅用于定制开发的特殊场景,除非云点播客服人员主动告知您需要使用本接口,其它情况请勿调用。
2486
2582
 
2487
2583
  # @param request: Request instance for ExecuteFunction.
@@ -2797,6 +2893,30 @@ module TencentCloud
2797
2893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2798
2894
  end
2799
2895
 
2896
+ # 修改音画质重生模板。
2897
+
2898
+ # @param request: Request instance for ModifyEnhanceMediaTemplate.
2899
+ # @type request: :class:`Tencentcloud::vod::V20180717::ModifyEnhanceMediaTemplateRequest`
2900
+ # @rtype: :class:`Tencentcloud::vod::V20180717::ModifyEnhanceMediaTemplateResponse`
2901
+ def ModifyEnhanceMediaTemplate(request)
2902
+ body = send_request('ModifyEnhanceMediaTemplate', request.serialize)
2903
+ response = JSON.parse(body)
2904
+ if response['Response'].key?('Error') == false
2905
+ model = ModifyEnhanceMediaTemplateResponse.new
2906
+ model.deserialize(response['Response'])
2907
+ model
2908
+ else
2909
+ code = response['Response']['Error']['Code']
2910
+ message = response['Response']['Error']['Message']
2911
+ reqid = response['Response']['RequestId']
2912
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2913
+ end
2914
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2915
+ raise e
2916
+ rescue StandardError => e
2917
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2918
+ end
2919
+
2800
2920
  # 腾讯云点播为客户提供了媒体上传、媒体管理、媒体处理等等服务,在这些服务执行过程或执行结束时,腾讯云点播也提供各种对应的事件通知,方便开发者感知服务处理状态,并做下一步的业务操作。
2801
2921
 
2802
2922
  # 开发者可以通过调用本接口来实现:
@@ -5780,6 +5780,96 @@ module TencentCloud
5780
5780
  end
5781
5781
  end
5782
5782
 
5783
+ # CreateEnhanceMediaTemplate请求参数结构体
5784
+ class CreateEnhanceMediaTemplateRequest < TencentCloud::Common::AbstractModel
5785
+ # @param Container: 输出文件封装格式,可选值:mp4、flv、hls。
5786
+ # @type Container: String
5787
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
5788
+ # @type SubAppId: Integer
5789
+ # @param Name: 音画质重生模板名称,长度限制:64 个字符。
5790
+ # @type Name: String
5791
+ # @param Comment: 模板描述信息,长度限制:256 个字符。
5792
+ # @type Comment: String
5793
+ # @param RebuildVideoInfo: 音画质重生视频控制控制信息。
5794
+ # @type RebuildVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildVideoInfo`
5795
+ # @param RebuildAudioInfo: 音画质重生音频控制控制信息。
5796
+ # @type RebuildAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildAudioInfo`
5797
+ # @param TargetVideoInfo: 输出目标视频控制信息。
5798
+ # @type TargetVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetVideoStream`
5799
+ # @param TargetAudioInfo: 输出目标音频控制信息。
5800
+ # @type TargetAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetAudioStream`
5801
+ # @param RemoveVideo: 是否去除视频数据,可选值:
5802
+ # <li>0:保留</li>
5803
+ # <li>1:去除</li>
5804
+ # 默认值 0。
5805
+ # @type RemoveVideo: Integer
5806
+ # @param RemoveAudio: 是否去除音频数据,可选值:
5807
+ # <li>0:保留</li>
5808
+ # <li>1:去除</li>
5809
+ # 默认值 0。
5810
+ # @type RemoveAudio: Integer
5811
+
5812
+ attr_accessor :Container, :SubAppId, :Name, :Comment, :RebuildVideoInfo, :RebuildAudioInfo, :TargetVideoInfo, :TargetAudioInfo, :RemoveVideo, :RemoveAudio
5813
+
5814
+ def initialize(container=nil, subappid=nil, name=nil, comment=nil, rebuildvideoinfo=nil, rebuildaudioinfo=nil, targetvideoinfo=nil, targetaudioinfo=nil, removevideo=nil, removeaudio=nil)
5815
+ @Container = container
5816
+ @SubAppId = subappid
5817
+ @Name = name
5818
+ @Comment = comment
5819
+ @RebuildVideoInfo = rebuildvideoinfo
5820
+ @RebuildAudioInfo = rebuildaudioinfo
5821
+ @TargetVideoInfo = targetvideoinfo
5822
+ @TargetAudioInfo = targetaudioinfo
5823
+ @RemoveVideo = removevideo
5824
+ @RemoveAudio = removeaudio
5825
+ end
5826
+
5827
+ def deserialize(params)
5828
+ @Container = params['Container']
5829
+ @SubAppId = params['SubAppId']
5830
+ @Name = params['Name']
5831
+ @Comment = params['Comment']
5832
+ unless params['RebuildVideoInfo'].nil?
5833
+ @RebuildVideoInfo = RebuildVideoInfo.new
5834
+ @RebuildVideoInfo.deserialize(params['RebuildVideoInfo'])
5835
+ end
5836
+ unless params['RebuildAudioInfo'].nil?
5837
+ @RebuildAudioInfo = RebuildAudioInfo.new
5838
+ @RebuildAudioInfo.deserialize(params['RebuildAudioInfo'])
5839
+ end
5840
+ unless params['TargetVideoInfo'].nil?
5841
+ @TargetVideoInfo = RebuildMediaTargetVideoStream.new
5842
+ @TargetVideoInfo.deserialize(params['TargetVideoInfo'])
5843
+ end
5844
+ unless params['TargetAudioInfo'].nil?
5845
+ @TargetAudioInfo = RebuildMediaTargetAudioStream.new
5846
+ @TargetAudioInfo.deserialize(params['TargetAudioInfo'])
5847
+ end
5848
+ @RemoveVideo = params['RemoveVideo']
5849
+ @RemoveAudio = params['RemoveAudio']
5850
+ end
5851
+ end
5852
+
5853
+ # CreateEnhanceMediaTemplate返回参数结构体
5854
+ class CreateEnhanceMediaTemplateResponse < TencentCloud::Common::AbstractModel
5855
+ # @param Definition: 音画质重生模板 ID。
5856
+ # @type Definition: Integer
5857
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5858
+ # @type RequestId: String
5859
+
5860
+ attr_accessor :Definition, :RequestId
5861
+
5862
+ def initialize(definition=nil, requestid=nil)
5863
+ @Definition = definition
5864
+ @RequestId = requestid
5865
+ end
5866
+
5867
+ def deserialize(params)
5868
+ @Definition = params['Definition']
5869
+ @RequestId = params['RequestId']
5870
+ end
5871
+ end
5872
+
5783
5873
  # CreateHeadTailTemplate请求参数结构体
5784
5874
  class CreateHeadTailTemplateRequest < TencentCloud::Common::AbstractModel
5785
5875
  # @param Name: 模板名,长度限制 64 个字符。
@@ -7308,6 +7398,42 @@ module TencentCloud
7308
7398
  end
7309
7399
  end
7310
7400
 
7401
+ # DeleteEnhanceMediaTemplate请求参数结构体
7402
+ class DeleteEnhanceMediaTemplateRequest < TencentCloud::Common::AbstractModel
7403
+ # @param Definition: 音画质重生模板号。
7404
+ # @type Definition: Integer
7405
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
7406
+ # @type SubAppId: Integer
7407
+
7408
+ attr_accessor :Definition, :SubAppId
7409
+
7410
+ def initialize(definition=nil, subappid=nil)
7411
+ @Definition = definition
7412
+ @SubAppId = subappid
7413
+ end
7414
+
7415
+ def deserialize(params)
7416
+ @Definition = params['Definition']
7417
+ @SubAppId = params['SubAppId']
7418
+ end
7419
+ end
7420
+
7421
+ # DeleteEnhanceMediaTemplate返回参数结构体
7422
+ class DeleteEnhanceMediaTemplateResponse < TencentCloud::Common::AbstractModel
7423
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7424
+ # @type RequestId: String
7425
+
7426
+ attr_accessor :RequestId
7427
+
7428
+ def initialize(requestid=nil)
7429
+ @RequestId = requestid
7430
+ end
7431
+
7432
+ def deserialize(params)
7433
+ @RequestId = params['RequestId']
7434
+ end
7435
+ end
7436
+
7311
7437
  # DeleteHeadTailTemplate请求参数结构体
7312
7438
  class DeleteHeadTailTemplateRequest < TencentCloud::Common::AbstractModel
7313
7439
  # @param Definition: 片头片尾模板号。
@@ -8848,6 +8974,71 @@ module TencentCloud
8848
8974
  end
8849
8975
  end
8850
8976
 
8977
+ # DescribeEnhanceMediaTemplates请求参数结构体
8978
+ class DescribeEnhanceMediaTemplatesRequest < TencentCloud::Common::AbstractModel
8979
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
8980
+ # @type SubAppId: Integer
8981
+ # @param Definitions: 音画质重生模板列表。长度限制:100。
8982
+ # @type Definitions: Array
8983
+ # @param Type: 模板类型过滤条件,可选值:
8984
+ # <li>Preset:系统预置模板;</li>
8985
+ # <li>Custom:用户自定义模板。</li>
8986
+ # @type Type: String
8987
+ # @param Offset: 分页偏移量,默认值:0。
8988
+ # @type Offset: Integer
8989
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
8990
+ # @type Limit: Integer
8991
+
8992
+ attr_accessor :SubAppId, :Definitions, :Type, :Offset, :Limit
8993
+
8994
+ def initialize(subappid=nil, definitions=nil, type=nil, offset=nil, limit=nil)
8995
+ @SubAppId = subappid
8996
+ @Definitions = definitions
8997
+ @Type = type
8998
+ @Offset = offset
8999
+ @Limit = limit
9000
+ end
9001
+
9002
+ def deserialize(params)
9003
+ @SubAppId = params['SubAppId']
9004
+ @Definitions = params['Definitions']
9005
+ @Type = params['Type']
9006
+ @Offset = params['Offset']
9007
+ @Limit = params['Limit']
9008
+ end
9009
+ end
9010
+
9011
+ # DescribeEnhanceMediaTemplates返回参数结构体
9012
+ class DescribeEnhanceMediaTemplatesResponse < TencentCloud::Common::AbstractModel
9013
+ # @param TotalCount: 符合过滤条件的记录总数。
9014
+ # @type TotalCount: Integer
9015
+ # @param RebuildMediaTemplateSet: 音画质重生模板详情列表。
9016
+ # @type RebuildMediaTemplateSet: Array
9017
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9018
+ # @type RequestId: String
9019
+
9020
+ attr_accessor :TotalCount, :RebuildMediaTemplateSet, :RequestId
9021
+
9022
+ def initialize(totalcount=nil, rebuildmediatemplateset=nil, requestid=nil)
9023
+ @TotalCount = totalcount
9024
+ @RebuildMediaTemplateSet = rebuildmediatemplateset
9025
+ @RequestId = requestid
9026
+ end
9027
+
9028
+ def deserialize(params)
9029
+ @TotalCount = params['TotalCount']
9030
+ unless params['RebuildMediaTemplateSet'].nil?
9031
+ @RebuildMediaTemplateSet = []
9032
+ params['RebuildMediaTemplateSet'].each do |i|
9033
+ rebuildmediatemplate_tmp = RebuildMediaTemplate.new
9034
+ rebuildmediatemplate_tmp.deserialize(i)
9035
+ @RebuildMediaTemplateSet << rebuildmediatemplate_tmp
9036
+ end
9037
+ end
9038
+ @RequestId = params['RequestId']
9039
+ end
9040
+ end
9041
+
8851
9042
  # DescribeEventConfig请求参数结构体
8852
9043
  class DescribeEventConfigRequest < TencentCloud::Common::AbstractModel
8853
9044
  # @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
@@ -11620,6 +11811,81 @@ module TencentCloud
11620
11811
  end
11621
11812
  end
11622
11813
 
11814
+ # EnhanceMediaByTemplate请求参数结构体
11815
+ class EnhanceMediaByTemplateRequest < TencentCloud::Common::AbstractModel
11816
+ # @param FileId: 媒体文件 ID。
11817
+ # @type FileId: String
11818
+ # @param Definition: 音画质重生模板 ID。
11819
+ # @type Definition: Integer
11820
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
11821
+ # @type SubAppId: Integer
11822
+ # @param StartTimeOffset: 起始偏移时间,单位:秒,不填表示从视频开始截取。
11823
+ # @type StartTimeOffset: Float
11824
+ # @param EndTimeOffset: 结束偏移时间,单位:秒,不填表示截取到视频末尾。
11825
+ # @type EndTimeOffset: Float
11826
+ # @param OutputConfig: 音画质重生后的文件配置。
11827
+ # @type OutputConfig: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaOutputConfig`
11828
+ # @param SessionId: 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
11829
+ # @type SessionId: String
11830
+ # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
11831
+ # @type SessionContext: String
11832
+ # @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
11833
+ # @type TasksPriority: Integer
11834
+ # @param ExtInfo: 保留字段,特殊用途时使用。
11835
+ # @type ExtInfo: String
11836
+
11837
+ attr_accessor :FileId, :Definition, :SubAppId, :StartTimeOffset, :EndTimeOffset, :OutputConfig, :SessionId, :SessionContext, :TasksPriority, :ExtInfo
11838
+
11839
+ def initialize(fileid=nil, definition=nil, subappid=nil, starttimeoffset=nil, endtimeoffset=nil, outputconfig=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil, extinfo=nil)
11840
+ @FileId = fileid
11841
+ @Definition = definition
11842
+ @SubAppId = subappid
11843
+ @StartTimeOffset = starttimeoffset
11844
+ @EndTimeOffset = endtimeoffset
11845
+ @OutputConfig = outputconfig
11846
+ @SessionId = sessionid
11847
+ @SessionContext = sessioncontext
11848
+ @TasksPriority = taskspriority
11849
+ @ExtInfo = extinfo
11850
+ end
11851
+
11852
+ def deserialize(params)
11853
+ @FileId = params['FileId']
11854
+ @Definition = params['Definition']
11855
+ @SubAppId = params['SubAppId']
11856
+ @StartTimeOffset = params['StartTimeOffset']
11857
+ @EndTimeOffset = params['EndTimeOffset']
11858
+ unless params['OutputConfig'].nil?
11859
+ @OutputConfig = RebuildMediaOutputConfig.new
11860
+ @OutputConfig.deserialize(params['OutputConfig'])
11861
+ end
11862
+ @SessionId = params['SessionId']
11863
+ @SessionContext = params['SessionContext']
11864
+ @TasksPriority = params['TasksPriority']
11865
+ @ExtInfo = params['ExtInfo']
11866
+ end
11867
+ end
11868
+
11869
+ # EnhanceMediaByTemplate返回参数结构体
11870
+ class EnhanceMediaByTemplateResponse < TencentCloud::Common::AbstractModel
11871
+ # @param TaskId: 音画质重生的任务 ID,可以通过该 ID 查询音画质重生任务的状态。
11872
+ # @type TaskId: String
11873
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11874
+ # @type RequestId: String
11875
+
11876
+ attr_accessor :TaskId, :RequestId
11877
+
11878
+ def initialize(taskid=nil, requestid=nil)
11879
+ @TaskId = taskid
11880
+ @RequestId = requestid
11881
+ end
11882
+
11883
+ def deserialize(params)
11884
+ @TaskId = params['TaskId']
11885
+ @RequestId = params['RequestId']
11886
+ end
11887
+ end
11888
+
11623
11889
  # 事件通知内容,其中,TranscodeCompleteEvent、ConcatCompleteEvent、ClipCompleteEvent、CreateImageSpriteCompleteEvent、SnapshotByTimeOffsetCompleteEvent 为兼容 2017 版接口发起任务的事件通知。
11624
11890
  class EventContent < TencentCloud::Common::AbstractModel
11625
11891
  # @param EventHandle: 事件句柄,调用方必须调用 ConfirmEvents 来确认消息已经收到,确认有效时间 30 秒。失效后,事件可重新被获取。
@@ -15984,6 +16250,96 @@ module TencentCloud
15984
16250
  end
15985
16251
  end
15986
16252
 
16253
+ # ModifyEnhanceMediaTemplate请求参数结构体
16254
+ class ModifyEnhanceMediaTemplateRequest < TencentCloud::Common::AbstractModel
16255
+ # @param Definition: 音画质重生模板号。
16256
+ # @type Definition: Integer
16257
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
16258
+ # @type SubAppId: Integer
16259
+ # @param Name: 音画质重生模板名称,长度限制:64 个字符。
16260
+ # @type Name: String
16261
+ # @param Comment: 模板描述信息,长度限制:256 个字符。
16262
+ # @type Comment: String
16263
+ # @param RebuildVideoInfo: 音画质重生视频控制控制信息。
16264
+ # @type RebuildVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildVideoInfo`
16265
+ # @param RebuildAudioInfo: 音画质重生音频控制控制信息。
16266
+ # @type RebuildAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildAudioInfo`
16267
+ # @param TargetVideoInfo: 输出目标视频控制信息。
16268
+ # @type TargetVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetVideoStream`
16269
+ # @param TargetAudioInfo: 输出目标音频控制信息。
16270
+ # @type TargetAudioInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildMediaTargetAudioStream`
16271
+ # @param Container: 输出文件封装格式,可选值:mp4、flv、hls。
16272
+ # @type Container: String
16273
+ # @param RemoveVideo: 是否去除视频数据,可选值:
16274
+ # <li>0:保留</li>
16275
+ # <li>1:去除</li>
16276
+ # 默认值 0。
16277
+ # @type RemoveVideo: Integer
16278
+ # @param RemoveAudio: 是否去除音频数据,可选值:
16279
+ # <li>0:保留</li>
16280
+ # <li>1:去除</li>
16281
+ # 默认值 0。
16282
+ # @type RemoveAudio: Integer
16283
+
16284
+ attr_accessor :Definition, :SubAppId, :Name, :Comment, :RebuildVideoInfo, :RebuildAudioInfo, :TargetVideoInfo, :TargetAudioInfo, :Container, :RemoveVideo, :RemoveAudio
16285
+
16286
+ def initialize(definition=nil, subappid=nil, name=nil, comment=nil, rebuildvideoinfo=nil, rebuildaudioinfo=nil, targetvideoinfo=nil, targetaudioinfo=nil, container=nil, removevideo=nil, removeaudio=nil)
16287
+ @Definition = definition
16288
+ @SubAppId = subappid
16289
+ @Name = name
16290
+ @Comment = comment
16291
+ @RebuildVideoInfo = rebuildvideoinfo
16292
+ @RebuildAudioInfo = rebuildaudioinfo
16293
+ @TargetVideoInfo = targetvideoinfo
16294
+ @TargetAudioInfo = targetaudioinfo
16295
+ @Container = container
16296
+ @RemoveVideo = removevideo
16297
+ @RemoveAudio = removeaudio
16298
+ end
16299
+
16300
+ def deserialize(params)
16301
+ @Definition = params['Definition']
16302
+ @SubAppId = params['SubAppId']
16303
+ @Name = params['Name']
16304
+ @Comment = params['Comment']
16305
+ unless params['RebuildVideoInfo'].nil?
16306
+ @RebuildVideoInfo = RebuildVideoInfo.new
16307
+ @RebuildVideoInfo.deserialize(params['RebuildVideoInfo'])
16308
+ end
16309
+ unless params['RebuildAudioInfo'].nil?
16310
+ @RebuildAudioInfo = RebuildAudioInfo.new
16311
+ @RebuildAudioInfo.deserialize(params['RebuildAudioInfo'])
16312
+ end
16313
+ unless params['TargetVideoInfo'].nil?
16314
+ @TargetVideoInfo = RebuildMediaTargetVideoStream.new
16315
+ @TargetVideoInfo.deserialize(params['TargetVideoInfo'])
16316
+ end
16317
+ unless params['TargetAudioInfo'].nil?
16318
+ @TargetAudioInfo = RebuildMediaTargetAudioStream.new
16319
+ @TargetAudioInfo.deserialize(params['TargetAudioInfo'])
16320
+ end
16321
+ @Container = params['Container']
16322
+ @RemoveVideo = params['RemoveVideo']
16323
+ @RemoveAudio = params['RemoveAudio']
16324
+ end
16325
+ end
16326
+
16327
+ # ModifyEnhanceMediaTemplate返回参数结构体
16328
+ class ModifyEnhanceMediaTemplateResponse < TencentCloud::Common::AbstractModel
16329
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16330
+ # @type RequestId: String
16331
+
16332
+ attr_accessor :RequestId
16333
+
16334
+ def initialize(requestid=nil)
16335
+ @RequestId = requestid
16336
+ end
16337
+
16338
+ def deserialize(params)
16339
+ @RequestId = params['RequestId']
16340
+ end
16341
+ end
16342
+
15987
16343
  # ModifyEventConfig请求参数结构体
15988
16344
  class ModifyEventConfigRequest < TencentCloud::Common::AbstractModel
15989
16345
  # @param Mode: 接收事件通知的方式。
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.577
4
+ version: 3.0.578
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-25 00:00:00.000000000 Z
11
+ date: 2023-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common