tencentcloud-sdk-vod 3.0.1203 → 3.0.1205

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8b60cb45c059e9df8afe684894aa6aafbf3a907
4
- data.tar.gz: 6ac440252ea5950df70a268789ed46b1cd6a15c0
3
+ metadata.gz: 7c1bdc5ebaa3b754783eba3899643d49c3024ff8
4
+ data.tar.gz: f66d2f31c6eff4d5a6091e026a80d476e5f9dd48
5
5
  SHA512:
6
- metadata.gz: e2a30cc184233d7a99411b6d817b4ec64c6b7e394a318f256d1c9f11277aabf1c43f658f908b363bcaf280c48f758d273fe1265c15985a3d596bd6970a8d8470
7
- data.tar.gz: 99e3c582a420ffae005def3297a43825877e56fefa6be5ac0186e8379c8631c1b704318683aa6c877e495f3047f5e606313b5917f6f22df3307e1d518a0cb8ba
6
+ metadata.gz: 98037ea8231127492e42f462f5f5ebbba2e710728c05c01da4f2c9a6e63c1e6d012275625b6890901f1569198f0dcfda1431e93df3f9ca5f06784df31fcbb562
7
+ data.tar.gz: ff6761aa8277eb224fe6445cc0f3c25d3bc93fa68030defd4abced7c17f7868547bb770f23424484bc39726692cf54d44009ac9cac77a777e43fdd11fab921c1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1203
1
+ 3.0.1205
@@ -3438,6 +3438,32 @@ module TencentCloud
3438
3438
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3439
3439
  end
3440
3440
 
3441
+ # 用于列出子应用下存储的文件条目。
3442
+
3443
+ # **此API只在“FileID+Path模式”下可用**
3444
+
3445
+ # @param request: Request instance for ListFiles.
3446
+ # @type request: :class:`Tencentcloud::vod::V20180717::ListFilesRequest`
3447
+ # @rtype: :class:`Tencentcloud::vod::V20180717::ListFilesResponse`
3448
+ def ListFiles(request)
3449
+ body = send_request('ListFiles', request.serialize)
3450
+ response = JSON.parse(body)
3451
+ if response['Response'].key?('Error') == false
3452
+ model = ListFilesResponse.new
3453
+ model.deserialize(response['Response'])
3454
+ model
3455
+ else
3456
+ code = response['Response']['Error']['Code']
3457
+ message = response['Response']['Error']['Message']
3458
+ reqid = response['Response']['RequestId']
3459
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3460
+ end
3461
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3462
+ raise e
3463
+ rescue StandardError => e
3464
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3465
+ end
3466
+
3441
3467
  # 直播即时剪辑,是指在直播过程中(即直播尚未结束时),客户可以在过往直播内容中选择一段,实时生成一个新的视频(HLS 格式),开发者可以将其立即分享出去,或者长久保存起来。
3442
3468
 
3443
3469
  # 腾讯云点播支持两种即时剪辑模式:
@@ -4851,10 +4851,12 @@ module TencentCloud
4851
4851
  # @type SessionContext: String
4852
4852
  # @param ExtInfo: 保留字段,特殊用途时使用。
4853
4853
  # @type ExtInfo: String
4854
+ # @param MediaStoragePath: 媒体存储路径,以/开头。
4855
+ # @type MediaStoragePath: String
4854
4856
 
4855
- attr_accessor :MediaType, :SubAppId, :MediaName, :CoverType, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :SourceContext, :SessionContext, :ExtInfo
4857
+ attr_accessor :MediaType, :SubAppId, :MediaName, :CoverType, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :SourceContext, :SessionContext, :ExtInfo, :MediaStoragePath
4856
4858
 
4857
- def initialize(mediatype=nil, subappid=nil, medianame=nil, covertype=nil, procedure=nil, expiretime=nil, storageregion=nil, classid=nil, sourcecontext=nil, sessioncontext=nil, extinfo=nil)
4859
+ def initialize(mediatype=nil, subappid=nil, medianame=nil, covertype=nil, procedure=nil, expiretime=nil, storageregion=nil, classid=nil, sourcecontext=nil, sessioncontext=nil, extinfo=nil, mediastoragepath=nil)
4858
4860
  @MediaType = mediatype
4859
4861
  @SubAppId = subappid
4860
4862
  @MediaName = medianame
@@ -4866,6 +4868,7 @@ module TencentCloud
4866
4868
  @SourceContext = sourcecontext
4867
4869
  @SessionContext = sessioncontext
4868
4870
  @ExtInfo = extinfo
4871
+ @MediaStoragePath = mediastoragepath
4869
4872
  end
4870
4873
 
4871
4874
  def deserialize(params)
@@ -4880,6 +4883,7 @@ module TencentCloud
4880
4883
  @SourceContext = params['SourceContext']
4881
4884
  @SessionContext = params['SessionContext']
4882
4885
  @ExtInfo = params['ExtInfo']
4886
+ @MediaStoragePath = params['MediaStoragePath']
4883
4887
  end
4884
4888
  end
4885
4889
 
@@ -9427,19 +9431,41 @@ module TencentCloud
9427
9431
  # @type Description: String
9428
9432
  # @param Type: 应用类型, 取值有:<li>AllInOne:一体化;</li><li>Professional:专业版。</li>默认值为 AllInOne。
9429
9433
  # @type Type: String
9434
+ # @param Mode: 此应用的模式,可选值为:
9435
+ # - fileid:仅FileID模式
9436
+ # - fileid+path:FileID & Path模式
9437
+ # 留空时默认选择仅FileID模式
9438
+ # @type Mode: String
9439
+ # @param StorageRegion: 存储地域
9440
+ # @type StorageRegion: String
9441
+ # @param Tags: 此应用需要绑定的tag
9442
+ # @type Tags: Array
9430
9443
 
9431
- attr_accessor :Name, :Description, :Type
9444
+ attr_accessor :Name, :Description, :Type, :Mode, :StorageRegion, :Tags
9432
9445
 
9433
- def initialize(name=nil, description=nil, type=nil)
9446
+ def initialize(name=nil, description=nil, type=nil, mode=nil, storageregion=nil, tags=nil)
9434
9447
  @Name = name
9435
9448
  @Description = description
9436
9449
  @Type = type
9450
+ @Mode = mode
9451
+ @StorageRegion = storageregion
9452
+ @Tags = tags
9437
9453
  end
9438
9454
 
9439
9455
  def deserialize(params)
9440
9456
  @Name = params['Name']
9441
9457
  @Description = params['Description']
9442
9458
  @Type = params['Type']
9459
+ @Mode = params['Mode']
9460
+ @StorageRegion = params['StorageRegion']
9461
+ unless params['Tags'].nil?
9462
+ @Tags = []
9463
+ params['Tags'].each do |i|
9464
+ resourcetag_tmp = ResourceTag.new
9465
+ resourcetag_tmp.deserialize(i)
9466
+ @Tags << resourcetag_tmp
9467
+ end
9468
+ end
9443
9469
  end
9444
9470
  end
9445
9471
 
@@ -15580,11 +15606,14 @@ module TencentCloud
15580
15606
 
15581
15607
  # EnhanceMediaQuality请求参数结构体
15582
15608
  class EnhanceMediaQualityRequest < TencentCloud::Common::AbstractModel
15583
- # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
15584
- # @type FileId: String
15585
15609
  # @param Definition: 音画质重生模板 ID。
15586
15610
  # 针对典型的使用场景,云点播提供了多个[预置模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
15587
15611
  # @type Definition: Integer
15612
+ # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
15613
+ # @type FileId: String
15614
+ # @param MediaStoragePath: 媒体的存储路径。
15615
+ # FileId和MediaStoragePath必须提供其中一个。
15616
+ # @type MediaStoragePath: String
15588
15617
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
15589
15618
  # @type SubAppId: Integer
15590
15619
  # @param OutputConfig: 音画质重生后的媒体文件配置。
@@ -15596,11 +15625,12 @@ module TencentCloud
15596
15625
  # @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
15597
15626
  # @type TasksPriority: Integer
15598
15627
 
15599
- attr_accessor :FileId, :Definition, :SubAppId, :OutputConfig, :SessionId, :SessionContext, :TasksPriority
15628
+ attr_accessor :Definition, :FileId, :MediaStoragePath, :SubAppId, :OutputConfig, :SessionId, :SessionContext, :TasksPriority
15600
15629
 
15601
- def initialize(fileid=nil, definition=nil, subappid=nil, outputconfig=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil)
15602
- @FileId = fileid
15630
+ def initialize(definition=nil, fileid=nil, mediastoragepath=nil, subappid=nil, outputconfig=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil)
15603
15631
  @Definition = definition
15632
+ @FileId = fileid
15633
+ @MediaStoragePath = mediastoragepath
15604
15634
  @SubAppId = subappid
15605
15635
  @OutputConfig = outputconfig
15606
15636
  @SessionId = sessionid
@@ -15609,8 +15639,9 @@ module TencentCloud
15609
15639
  end
15610
15640
 
15611
15641
  def deserialize(params)
15612
- @FileId = params['FileId']
15613
15642
  @Definition = params['Definition']
15643
+ @FileId = params['FileId']
15644
+ @MediaStoragePath = params['MediaStoragePath']
15614
15645
  @SubAppId = params['SubAppId']
15615
15646
  unless params['OutputConfig'].nil?
15616
15647
  @OutputConfig = EnhanceMediaQualityOutputConfig.new
@@ -16489,6 +16520,66 @@ module TencentCloud
16489
16520
  end
16490
16521
  end
16491
16522
 
16523
+ # 云点播中存储的文件。
16524
+ class FileContent < TencentCloud::Common::AbstractModel
16525
+ # @param Key: 对象键。
16526
+ # @type Key: String
16527
+ # @param LastModified: 对象最后修改时间,为 ISO8601格式,例如2019-05-24T10:56:40Z。
16528
+ # @type LastModified: String
16529
+ # @param ETag: 对象的实体标签(Entity Tag),是对象被创建时标识对象内容的信息标签,可用于检查对象的内容是否发生变化。
16530
+ # @type ETag: String
16531
+ # @param Size: 对象大小,单位为Byte。
16532
+ # @type Size: Integer
16533
+ # @param StorageClass: 枚举值请参见[存储类型](https://cloud.tencent.com/document/product/436/33417)文档,例如 STANDARD_IA,ARCHIVE。
16534
+ # @type StorageClass: String
16535
+ # @param FileId: 此文件对应的媒体文件的唯一标识。
16536
+ # @type FileId: String
16537
+ # @param Category: 文件分类: <li>Video: 视频文件</li> <li>Audio: 音频文件</li> <li>Image: 图片文件</li> <li>Other: 其他文件</li>
16538
+ # @type Category: String
16539
+ # @param FileType: 可选值有:
16540
+ # - OriginalFiles:原文件
16541
+ # - TranscodeFiles:转码文件
16542
+ # - AdaptiveDynamicStreamingFiles:转自适应码流文件
16543
+ # - SubtitleFiles:字幕文件
16544
+ # - SampleSnapshotFiles:采样截图文件
16545
+ # - ImageSpriteFiles:雪碧图截图文件
16546
+ # - SnapshotByTimeOffsetFiles:时间点截图文件
16547
+ # @type FileType: String
16548
+ # @param Definition: 视频模板号,模板定义参见转码模板。
16549
+ # @type Definition: Integer
16550
+ # @param SubtitleID: 字幕ID。
16551
+ # 仅当FileType=SubtitleFiles时有值。
16552
+ # @type SubtitleID: String
16553
+
16554
+ attr_accessor :Key, :LastModified, :ETag, :Size, :StorageClass, :FileId, :Category, :FileType, :Definition, :SubtitleID
16555
+
16556
+ def initialize(key=nil, lastmodified=nil, etag=nil, size=nil, storageclass=nil, fileid=nil, category=nil, filetype=nil, definition=nil, subtitleid=nil)
16557
+ @Key = key
16558
+ @LastModified = lastmodified
16559
+ @ETag = etag
16560
+ @Size = size
16561
+ @StorageClass = storageclass
16562
+ @FileId = fileid
16563
+ @Category = category
16564
+ @FileType = filetype
16565
+ @Definition = definition
16566
+ @SubtitleID = subtitleid
16567
+ end
16568
+
16569
+ def deserialize(params)
16570
+ @Key = params['Key']
16571
+ @LastModified = params['LastModified']
16572
+ @ETag = params['ETag']
16573
+ @Size = params['Size']
16574
+ @StorageClass = params['StorageClass']
16575
+ @FileId = params['FileId']
16576
+ @Category = params['Category']
16577
+ @FileType = params['FileType']
16578
+ @Definition = params['Definition']
16579
+ @SubtitleID = params['SubtitleID']
16580
+ end
16581
+ end
16582
+
16492
16583
  # 文件删除结果信息
16493
16584
  class FileDeleteResultItem < TencentCloud::Common::AbstractModel
16494
16585
  # @param FileId: 删除的文件 ID 。
@@ -17769,6 +17860,81 @@ module TencentCloud
17769
17860
  end
17770
17861
  end
17771
17862
 
17863
+ # ListFiles请求参数结构体
17864
+ class ListFilesRequest < TencentCloud::Common::AbstractModel
17865
+ # @param SubAppId: 点播[应用](/document/product/266/14574) ID。
17866
+ # @type SubAppId: Integer
17867
+ # @param Prefix: 对象键匹配前缀,限定响应中只包含指定前缀的对象键。
17868
+ # @type Prefix: String
17869
+ # @param Delimiter: 一个字符的分隔符,用于对对象键进行分组。所有对象键中从 prefix 或从头(如未指定 prefix)到首个 delimiter 之间相同的部分将作为 CommonPrefixes 下的一个 Prefix 节点。被分组的对象键不再出现在后续对象列表中。
17870
+ # @type Delimiter: String
17871
+ # @param MaxKeys: ys 单次返回最大的条目数量,默认值为100,最小为1,最大为100。
17872
+ # @type MaxKeys: Integer
17873
+ # @param Marker: 起始对象键标记
17874
+ # @type Marker: String
17875
+ # @param Categories: 文件类型。匹配集合中的任意元素: <li>Video: 视频文件</li> <li>Audio: 音频文件</li> <li>Image: 图片文件</li>
17876
+ # @type Categories: Array
17877
+
17878
+ attr_accessor :SubAppId, :Prefix, :Delimiter, :MaxKeys, :Marker, :Categories
17879
+
17880
+ def initialize(subappid=nil, prefix=nil, delimiter=nil, maxkeys=nil, marker=nil, categories=nil)
17881
+ @SubAppId = subappid
17882
+ @Prefix = prefix
17883
+ @Delimiter = delimiter
17884
+ @MaxKeys = maxkeys
17885
+ @Marker = marker
17886
+ @Categories = categories
17887
+ end
17888
+
17889
+ def deserialize(params)
17890
+ @SubAppId = params['SubAppId']
17891
+ @Prefix = params['Prefix']
17892
+ @Delimiter = params['Delimiter']
17893
+ @MaxKeys = params['MaxKeys']
17894
+ @Marker = params['Marker']
17895
+ @Categories = params['Categories']
17896
+ end
17897
+ end
17898
+
17899
+ # ListFiles返回参数结构体
17900
+ class ListFilesResponse < TencentCloud::Common::AbstractModel
17901
+ # @param IsTruncated: 响应条目是否被截断。
17902
+ # @type IsTruncated: Boolean
17903
+ # @param NextMarker: 仅当响应条目有截断(IsTruncated 为 true)才会返回该节点,该节点的值为当前响应条目中的最后一个对象键,当需要继续请求后续条目时,将该节点的值作为下一次请求的 marker 参数传入。
17904
+ # @type NextMarker: String
17905
+ # @param CommonPrefixes: 从 prefix 或从头(如未指定 prefix)到首个 delimiter 之间相同的部分,定义为 Common Prefix。仅当请求中指定了 delimiter 参数才有可能返回该节点。
17906
+ # @type CommonPrefixes: Array
17907
+ # @param Contents: 对象条目。
17908
+ # @type Contents: Array
17909
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17910
+ # @type RequestId: String
17911
+
17912
+ attr_accessor :IsTruncated, :NextMarker, :CommonPrefixes, :Contents, :RequestId
17913
+
17914
+ def initialize(istruncated=nil, nextmarker=nil, commonprefixes=nil, contents=nil, requestid=nil)
17915
+ @IsTruncated = istruncated
17916
+ @NextMarker = nextmarker
17917
+ @CommonPrefixes = commonprefixes
17918
+ @Contents = contents
17919
+ @RequestId = requestid
17920
+ end
17921
+
17922
+ def deserialize(params)
17923
+ @IsTruncated = params['IsTruncated']
17924
+ @NextMarker = params['NextMarker']
17925
+ @CommonPrefixes = params['CommonPrefixes']
17926
+ unless params['Contents'].nil?
17927
+ @Contents = []
17928
+ params['Contents'].each do |i|
17929
+ filecontent_tmp = FileContent.new
17930
+ filecontent_tmp.deserialize(i)
17931
+ @Contents << filecontent_tmp
17932
+ end
17933
+ end
17934
+ @RequestId = params['RequestId']
17935
+ end
17936
+ end
17937
+
17772
17938
  # 即时剪辑后媒体的片段信息。
17773
17939
  class LiveRealTimeClipMediaSegmentInfo < TencentCloud::Common::AbstractModel
17774
17940
  # @param StartTime: 片段的起始时间。格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
@@ -18648,6 +18814,8 @@ module TencentCloud
18648
18814
  # @type SourceInfo: :class:`Tencentcloud::Vod.v20180717.models.MediaSourceData`
18649
18815
  # @param StorageRegion: 媒体文件存储地区,如 ap-chongqing,参见[地域列表](https://cloud.tencent.com/document/product/266/9760#.E5.B7.B2.E6.94.AF.E6.8C.81.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8)。
18650
18816
  # @type StorageRegion: String
18817
+ # @param StoragePath: 媒体的存储路径。
18818
+ # @type StoragePath: String
18651
18819
  # @param TagSet: 媒体文件的标签信息。
18652
18820
  # @type TagSet: Array
18653
18821
  # @param Vid: 直播录制文件的唯一标识。
@@ -18666,9 +18834,9 @@ module TencentCloud
18666
18834
  # <li> DEEP_ARCHIVE:深度归档存储。</li>
18667
18835
  # @type StorageClass: String
18668
18836
 
18669
- attr_accessor :Name, :Description, :CreateTime, :UpdateTime, :ExpireTime, :ClassId, :ClassName, :ClassPath, :CoverUrl, :Type, :MediaUrl, :SourceInfo, :StorageRegion, :TagSet, :Vid, :Category, :Status, :StorageClass
18837
+ attr_accessor :Name, :Description, :CreateTime, :UpdateTime, :ExpireTime, :ClassId, :ClassName, :ClassPath, :CoverUrl, :Type, :MediaUrl, :SourceInfo, :StorageRegion, :StoragePath, :TagSet, :Vid, :Category, :Status, :StorageClass
18670
18838
 
18671
- def initialize(name=nil, description=nil, createtime=nil, updatetime=nil, expiretime=nil, classid=nil, classname=nil, classpath=nil, coverurl=nil, type=nil, mediaurl=nil, sourceinfo=nil, storageregion=nil, tagset=nil, vid=nil, category=nil, status=nil, storageclass=nil)
18839
+ def initialize(name=nil, description=nil, createtime=nil, updatetime=nil, expiretime=nil, classid=nil, classname=nil, classpath=nil, coverurl=nil, type=nil, mediaurl=nil, sourceinfo=nil, storageregion=nil, storagepath=nil, tagset=nil, vid=nil, category=nil, status=nil, storageclass=nil)
18672
18840
  @Name = name
18673
18841
  @Description = description
18674
18842
  @CreateTime = createtime
@@ -18682,6 +18850,7 @@ module TencentCloud
18682
18850
  @MediaUrl = mediaurl
18683
18851
  @SourceInfo = sourceinfo
18684
18852
  @StorageRegion = storageregion
18853
+ @StoragePath = storagepath
18685
18854
  @TagSet = tagset
18686
18855
  @Vid = vid
18687
18856
  @Category = category
@@ -18706,6 +18875,7 @@ module TencentCloud
18706
18875
  @SourceInfo.deserialize(params['SourceInfo'])
18707
18876
  end
18708
18877
  @StorageRegion = params['StorageRegion']
18878
+ @StoragePath = params['StoragePath']
18709
18879
  @TagSet = params['TagSet']
18710
18880
  @Vid = params['Vid']
18711
18881
  @Category = params['Category']
@@ -24359,10 +24529,14 @@ module TencentCloud
24359
24529
 
24360
24530
  # ProcessMediaByProcedure请求参数结构体
24361
24531
  class ProcessMediaByProcedureRequest < TencentCloud::Common::AbstractModel
24362
- # @param FileId: 媒体文件 ID。
24363
- # @type FileId: String
24364
24532
  # @param ProcedureName: [任务流](https://cloud.tencent.com/document/product/266/33475#.E4.BB.BB.E5.8A.A1.E6.B5.81)名称。
24365
24533
  # @type ProcedureName: String
24534
+ # @param FileId: 媒体文件 ID。
24535
+ # FileId和MediaStoragePath必须提供其中一个。
24536
+ # @type FileId: String
24537
+ # @param MediaStoragePath: 媒体的存储路径。
24538
+ # FileId和MediaStoragePath必须提供其中一个。
24539
+ # @type MediaStoragePath: String
24366
24540
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
24367
24541
  # @type SubAppId: Integer
24368
24542
  # @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是-10到10,不填代表0。
@@ -24376,11 +24550,12 @@ module TencentCloud
24376
24550
  # @param ExtInfo: 保留字段,特殊用途时使用。
24377
24551
  # @type ExtInfo: String
24378
24552
 
24379
- attr_accessor :FileId, :ProcedureName, :SubAppId, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId, :ExtInfo
24553
+ attr_accessor :ProcedureName, :FileId, :MediaStoragePath, :SubAppId, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId, :ExtInfo
24380
24554
 
24381
- def initialize(fileid=nil, procedurename=nil, subappid=nil, taskspriority=nil, tasksnotifymode=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
24382
- @FileId = fileid
24555
+ def initialize(procedurename=nil, fileid=nil, mediastoragepath=nil, subappid=nil, taskspriority=nil, tasksnotifymode=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
24383
24556
  @ProcedureName = procedurename
24557
+ @FileId = fileid
24558
+ @MediaStoragePath = mediastoragepath
24384
24559
  @SubAppId = subappid
24385
24560
  @TasksPriority = taskspriority
24386
24561
  @TasksNotifyMode = tasksnotifymode
@@ -24390,8 +24565,9 @@ module TencentCloud
24390
24565
  end
24391
24566
 
24392
24567
  def deserialize(params)
24393
- @FileId = params['FileId']
24394
24568
  @ProcedureName = params['ProcedureName']
24569
+ @FileId = params['FileId']
24570
+ @MediaStoragePath = params['MediaStoragePath']
24395
24571
  @SubAppId = params['SubAppId']
24396
24572
  @TasksPriority = params['TasksPriority']
24397
24573
  @TasksNotifyMode = params['TasksNotifyMode']
@@ -24515,7 +24691,11 @@ module TencentCloud
24515
24691
  # ProcessMedia请求参数结构体
24516
24692
  class ProcessMediaRequest < TencentCloud::Common::AbstractModel
24517
24693
  # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
24694
+ # FileId和MediaStoragePath必须提供其中一个。
24518
24695
  # @type FileId: String
24696
+ # @param MediaStoragePath: 媒体的存储路径。
24697
+ # FileId和MediaStoragePath必须提供其中一个。
24698
+ # @type MediaStoragePath: String
24519
24699
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
24520
24700
  # @type SubAppId: Integer
24521
24701
  # @param MediaProcessTask: 视频处理类型任务参数。
@@ -24538,10 +24718,11 @@ module TencentCloud
24538
24718
  # @param ExtInfo: 保留字段,特殊用途时使用。
24539
24719
  # @type ExtInfo: String
24540
24720
 
24541
- attr_accessor :FileId, :SubAppId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId, :ExtInfo
24721
+ attr_accessor :FileId, :MediaStoragePath, :SubAppId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId, :ExtInfo
24542
24722
 
24543
- def initialize(fileid=nil, subappid=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, taskspriority=nil, tasksnotifymode=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
24723
+ def initialize(fileid=nil, mediastoragepath=nil, subappid=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, taskspriority=nil, tasksnotifymode=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
24544
24724
  @FileId = fileid
24725
+ @MediaStoragePath = mediastoragepath
24545
24726
  @SubAppId = subappid
24546
24727
  @MediaProcessTask = mediaprocesstask
24547
24728
  @AiContentReviewTask = aicontentreviewtask
@@ -24556,6 +24737,7 @@ module TencentCloud
24556
24737
 
24557
24738
  def deserialize(params)
24558
24739
  @FileId = params['FileId']
24740
+ @MediaStoragePath = params['MediaStoragePath']
24559
24741
  @SubAppId = params['SubAppId']
24560
24742
  unless params['MediaProcessTask'].nil?
24561
24743
  @MediaProcessTask = MediaProcessTaskInput.new
@@ -25057,10 +25239,12 @@ module TencentCloud
25057
25239
  # @type ExtInfo: String
25058
25240
  # @param SourceContext: 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。
25059
25241
  # @type SourceContext: String
25242
+ # @param MediaStoragePath: 媒体存储路径,以/开头。
25243
+ # @type MediaStoragePath: String
25060
25244
 
25061
- attr_accessor :MediaUrl, :MediaType, :SubAppId, :MediaName, :CoverUrl, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :TasksPriority, :SessionContext, :SessionId, :ExtInfo, :SourceContext
25245
+ attr_accessor :MediaUrl, :MediaType, :SubAppId, :MediaName, :CoverUrl, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :TasksPriority, :SessionContext, :SessionId, :ExtInfo, :SourceContext, :MediaStoragePath
25062
25246
 
25063
- def initialize(mediaurl=nil, mediatype=nil, subappid=nil, medianame=nil, coverurl=nil, procedure=nil, expiretime=nil, storageregion=nil, classid=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil, sourcecontext=nil)
25247
+ def initialize(mediaurl=nil, mediatype=nil, subappid=nil, medianame=nil, coverurl=nil, procedure=nil, expiretime=nil, storageregion=nil, classid=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil, sourcecontext=nil, mediastoragepath=nil)
25064
25248
  @MediaUrl = mediaurl
25065
25249
  @MediaType = mediatype
25066
25250
  @SubAppId = subappid
@@ -25075,6 +25259,7 @@ module TencentCloud
25075
25259
  @SessionId = sessionid
25076
25260
  @ExtInfo = extinfo
25077
25261
  @SourceContext = sourcecontext
25262
+ @MediaStoragePath = mediastoragepath
25078
25263
  end
25079
25264
 
25080
25265
  def deserialize(params)
@@ -25092,6 +25277,7 @@ module TencentCloud
25092
25277
  @SessionId = params['SessionId']
25093
25278
  @ExtInfo = params['ExtInfo']
25094
25279
  @SourceContext = params['SourceContext']
25280
+ @MediaStoragePath = params['MediaStoragePath']
25095
25281
  end
25096
25282
  end
25097
25283
 
@@ -27598,25 +27784,31 @@ module TencentCloud
27598
27784
 
27599
27785
  # ReviewImage请求参数结构体
27600
27786
  class ReviewImageRequest < TencentCloud::Common::AbstractModel
27601
- # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符。本接口要求媒体文件必须是图片格式。
27602
- # @type FileId: String
27603
27787
  # @param Definition: 图片审核模板 ID,取值范围:
27604
27788
  # <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴力(Terror)和不适宜的信息(Polity)。</li>
27605
27789
  # @type Definition: Integer
27790
+ # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符。本接口要求媒体文件必须是图片格式。
27791
+ # FileId和MediaStoragePath必须提供其中一个。
27792
+ # @type FileId: String
27793
+ # @param MediaStoragePath: 媒体的存储路径。
27794
+ # FileId和MediaStoragePath必须提供其中一个。
27795
+ # @type MediaStoragePath: String
27606
27796
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
27607
27797
  # @type SubAppId: Integer
27608
27798
 
27609
- attr_accessor :FileId, :Definition, :SubAppId
27799
+ attr_accessor :Definition, :FileId, :MediaStoragePath, :SubAppId
27610
27800
 
27611
- def initialize(fileid=nil, definition=nil, subappid=nil)
27612
- @FileId = fileid
27801
+ def initialize(definition=nil, fileid=nil, mediastoragepath=nil, subappid=nil)
27613
27802
  @Definition = definition
27803
+ @FileId = fileid
27804
+ @MediaStoragePath = mediastoragepath
27614
27805
  @SubAppId = subappid
27615
27806
  end
27616
27807
 
27617
27808
  def deserialize(params)
27618
- @FileId = params['FileId']
27619
27809
  @Definition = params['Definition']
27810
+ @FileId = params['FileId']
27811
+ @MediaStoragePath = params['MediaStoragePath']
27620
27812
  @SubAppId = params['SubAppId']
27621
27813
  end
27622
27814
  end
@@ -29887,16 +30079,28 @@ module TencentCloud
29887
30079
  # @type Status: String
29888
30080
  # @param Name: 子应用名称(该字段已不推荐使用,建议使用新的子应用名称字段 SubAppIdName)。
29889
30081
  # @type Name: String
30082
+ # @param Mode: 此应用的模式,可选值为:
30083
+ # - fileid:仅FileID模式
30084
+ # - - fileid+path:FileID & Path模式
30085
+ # 留空时默认选择仅FileID模式
30086
+ # @type Mode: String
30087
+ # @param StorageRegions: 子应用已启用的存储地域。
30088
+ # @type StorageRegions: Array
30089
+ # @param Tags: 子应用绑定的tag。
30090
+ # @type Tags: Array
29890
30091
 
29891
- attr_accessor :SubAppId, :SubAppIdName, :Description, :CreateTime, :Status, :Name
30092
+ attr_accessor :SubAppId, :SubAppIdName, :Description, :CreateTime, :Status, :Name, :Mode, :StorageRegions, :Tags
29892
30093
 
29893
- def initialize(subappid=nil, subappidname=nil, description=nil, createtime=nil, status=nil, name=nil)
30094
+ def initialize(subappid=nil, subappidname=nil, description=nil, createtime=nil, status=nil, name=nil, mode=nil, storageregions=nil, tags=nil)
29894
30095
  @SubAppId = subappid
29895
30096
  @SubAppIdName = subappidname
29896
30097
  @Description = description
29897
30098
  @CreateTime = createtime
29898
30099
  @Status = status
29899
30100
  @Name = name
30101
+ @Mode = mode
30102
+ @StorageRegions = storageregions
30103
+ @Tags = tags
29900
30104
  end
29901
30105
 
29902
30106
  def deserialize(params)
@@ -29906,6 +30110,16 @@ module TencentCloud
29906
30110
  @CreateTime = params['CreateTime']
29907
30111
  @Status = params['Status']
29908
30112
  @Name = params['Name']
30113
+ @Mode = params['Mode']
30114
+ @StorageRegions = params['StorageRegions']
30115
+ unless params['Tags'].nil?
30116
+ @Tags = []
30117
+ params['Tags'].each do |i|
30118
+ resourcetag_tmp = ResourceTag.new
30119
+ resourcetag_tmp.deserialize(i)
30120
+ @Tags << resourcetag_tmp
30121
+ end
30122
+ end
29909
30123
  end
29910
30124
  end
29911
30125
 
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.1203
4
+ version: 3.0.1205
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-18 00:00:00.000000000 Z
11
+ date: 2026-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common