tencentcloud-sdk-vod 3.0.1203 → 3.0.1206

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: f7f2110d67f2fbdb76358a602d8ce9adf02b5b45
4
+ data.tar.gz: 1ef89e64ec7e66b9d2b01bc48ea355a542b66503
5
5
  SHA512:
6
- metadata.gz: e2a30cc184233d7a99411b6d817b4ec64c6b7e394a318f256d1c9f11277aabf1c43f658f908b363bcaf280c48f758d273fe1265c15985a3d596bd6970a8d8470
7
- data.tar.gz: 99e3c582a420ffae005def3297a43825877e56fefa6be5ac0186e8379c8631c1b704318683aa6c877e495f3047f5e606313b5917f6f22df3307e1d518a0cb8ba
6
+ metadata.gz: ee68c09ef17bccf5efac3e8d1c4f6602ee3785f3f483686ca1f05478accc894c15d9bc72f93da719fe17af3e0f6bda4f3be1baa6e4a33a0afd2d4fc1d61120af
7
+ data.tar.gz: 28d9e69ed1fdb87c4e964a3e12977413a17966ab99014e373bc35cf793ec3cd0fb62d50490f5939c3cb729646a135131e5f79cdeac3af989f60ad78ee9fe090f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1203
1
+ 3.0.1206
@@ -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,13 @@ module TencentCloud
4851
4851
  # @type SessionContext: String
4852
4852
  # @param ExtInfo: 保留字段,特殊用途时使用。
4853
4853
  # @type ExtInfo: String
4854
+ # @param MediaStoragePath: 媒体存储路径,以/开头。
4855
+ # 只有[FileID + Path 模式](https://cloud.tencent.com/document/product/266/126825)的子应用可以指定存储路径。
4856
+ # @type MediaStoragePath: String
4854
4857
 
4855
- attr_accessor :MediaType, :SubAppId, :MediaName, :CoverType, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :SourceContext, :SessionContext, :ExtInfo
4858
+ attr_accessor :MediaType, :SubAppId, :MediaName, :CoverType, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :SourceContext, :SessionContext, :ExtInfo, :MediaStoragePath
4856
4859
 
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)
4860
+ 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
4861
  @MediaType = mediatype
4859
4862
  @SubAppId = subappid
4860
4863
  @MediaName = medianame
@@ -4866,6 +4869,7 @@ module TencentCloud
4866
4869
  @SourceContext = sourcecontext
4867
4870
  @SessionContext = sessioncontext
4868
4871
  @ExtInfo = extinfo
4872
+ @MediaStoragePath = mediastoragepath
4869
4873
  end
4870
4874
 
4871
4875
  def deserialize(params)
@@ -4880,6 +4884,7 @@ module TencentCloud
4880
4884
  @SourceContext = params['SourceContext']
4881
4885
  @SessionContext = params['SessionContext']
4882
4886
  @ExtInfo = params['ExtInfo']
4887
+ @MediaStoragePath = params['MediaStoragePath']
4883
4888
  end
4884
4889
  end
4885
4890
 
@@ -9427,19 +9432,41 @@ module TencentCloud
9427
9432
  # @type Description: String
9428
9433
  # @param Type: 应用类型, 取值有:<li>AllInOne:一体化;</li><li>Professional:专业版。</li>默认值为 AllInOne。
9429
9434
  # @type Type: String
9435
+ # @param Mode: 此应用的模式,可选值为:
9436
+ # - fileid:仅FileID模式
9437
+ # - fileid+path:FileID & Path模式
9438
+ # 留空时默认选择仅FileID模式
9439
+ # @type Mode: String
9440
+ # @param StorageRegion: 存储地域
9441
+ # @type StorageRegion: String
9442
+ # @param Tags: 此应用需要绑定的tag
9443
+ # @type Tags: Array
9430
9444
 
9431
- attr_accessor :Name, :Description, :Type
9445
+ attr_accessor :Name, :Description, :Type, :Mode, :StorageRegion, :Tags
9432
9446
 
9433
- def initialize(name=nil, description=nil, type=nil)
9447
+ def initialize(name=nil, description=nil, type=nil, mode=nil, storageregion=nil, tags=nil)
9434
9448
  @Name = name
9435
9449
  @Description = description
9436
9450
  @Type = type
9451
+ @Mode = mode
9452
+ @StorageRegion = storageregion
9453
+ @Tags = tags
9437
9454
  end
9438
9455
 
9439
9456
  def deserialize(params)
9440
9457
  @Name = params['Name']
9441
9458
  @Description = params['Description']
9442
9459
  @Type = params['Type']
9460
+ @Mode = params['Mode']
9461
+ @StorageRegion = params['StorageRegion']
9462
+ unless params['Tags'].nil?
9463
+ @Tags = []
9464
+ params['Tags'].each do |i|
9465
+ resourcetag_tmp = ResourceTag.new
9466
+ resourcetag_tmp.deserialize(i)
9467
+ @Tags << resourcetag_tmp
9468
+ end
9469
+ end
9443
9470
  end
9444
9471
  end
9445
9472
 
@@ -15580,11 +15607,15 @@ module TencentCloud
15580
15607
 
15581
15608
  # EnhanceMediaQuality请求参数结构体
15582
15609
  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
15610
  # @param Definition: 音画质重生模板 ID。
15586
15611
  # 针对典型的使用场景,云点播提供了多个[预置模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
15587
15612
  # @type Definition: Integer
15613
+ # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
15614
+ # @type FileId: String
15615
+ # @param MediaStoragePath: 媒体的存储路径。
15616
+ # 只有[FileID + Path 模式](https://cloud.tencent.com/document/product/266/126825)的子应用可以通过MediaStoragePath发起任务。
15617
+ # FileId和MediaStoragePath必须提供其中一个。
15618
+ # @type MediaStoragePath: String
15588
15619
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
15589
15620
  # @type SubAppId: Integer
15590
15621
  # @param OutputConfig: 音画质重生后的媒体文件配置。
@@ -15596,11 +15627,12 @@ module TencentCloud
15596
15627
  # @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
15597
15628
  # @type TasksPriority: Integer
15598
15629
 
15599
- attr_accessor :FileId, :Definition, :SubAppId, :OutputConfig, :SessionId, :SessionContext, :TasksPriority
15630
+ attr_accessor :Definition, :FileId, :MediaStoragePath, :SubAppId, :OutputConfig, :SessionId, :SessionContext, :TasksPriority
15600
15631
 
15601
- def initialize(fileid=nil, definition=nil, subappid=nil, outputconfig=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil)
15602
- @FileId = fileid
15632
+ def initialize(definition=nil, fileid=nil, mediastoragepath=nil, subappid=nil, outputconfig=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil)
15603
15633
  @Definition = definition
15634
+ @FileId = fileid
15635
+ @MediaStoragePath = mediastoragepath
15604
15636
  @SubAppId = subappid
15605
15637
  @OutputConfig = outputconfig
15606
15638
  @SessionId = sessionid
@@ -15609,8 +15641,9 @@ module TencentCloud
15609
15641
  end
15610
15642
 
15611
15643
  def deserialize(params)
15612
- @FileId = params['FileId']
15613
15644
  @Definition = params['Definition']
15645
+ @FileId = params['FileId']
15646
+ @MediaStoragePath = params['MediaStoragePath']
15614
15647
  @SubAppId = params['SubAppId']
15615
15648
  unless params['OutputConfig'].nil?
15616
15649
  @OutputConfig = EnhanceMediaQualityOutputConfig.new
@@ -16489,6 +16522,66 @@ module TencentCloud
16489
16522
  end
16490
16523
  end
16491
16524
 
16525
+ # 云点播中存储的文件。
16526
+ class FileContent < TencentCloud::Common::AbstractModel
16527
+ # @param Key: 对象键。
16528
+ # @type Key: String
16529
+ # @param LastModified: 对象最后修改时间,为 ISO8601格式,例如2019-05-24T10:56:40Z。
16530
+ # @type LastModified: String
16531
+ # @param ETag: 对象的实体标签(Entity Tag),是对象被创建时标识对象内容的信息标签,可用于检查对象的内容是否发生变化。
16532
+ # @type ETag: String
16533
+ # @param Size: 对象大小,单位为Byte。
16534
+ # @type Size: Integer
16535
+ # @param StorageClass: 枚举值请参见[存储类型](https://cloud.tencent.com/document/product/436/33417)文档,例如 STANDARD_IA,ARCHIVE。
16536
+ # @type StorageClass: String
16537
+ # @param FileId: 此文件对应的媒体文件的唯一标识。
16538
+ # @type FileId: String
16539
+ # @param Category: 文件分类: <li>Video: 视频文件</li> <li>Audio: 音频文件</li> <li>Image: 图片文件</li> <li>Other: 其他文件</li>
16540
+ # @type Category: String
16541
+ # @param FileType: 可选值有:
16542
+ # - OriginalFiles:原文件
16543
+ # - TranscodeFiles:转码文件
16544
+ # - AdaptiveDynamicStreamingFiles:转自适应码流文件
16545
+ # - SubtitleFiles:字幕文件
16546
+ # - SampleSnapshotFiles:采样截图文件
16547
+ # - ImageSpriteFiles:雪碧图截图文件
16548
+ # - SnapshotByTimeOffsetFiles:时间点截图文件
16549
+ # @type FileType: String
16550
+ # @param Definition: 视频模板号,模板定义参见转码模板。
16551
+ # @type Definition: Integer
16552
+ # @param SubtitleID: 字幕ID。
16553
+ # 仅当FileType=SubtitleFiles时有值。
16554
+ # @type SubtitleID: String
16555
+
16556
+ attr_accessor :Key, :LastModified, :ETag, :Size, :StorageClass, :FileId, :Category, :FileType, :Definition, :SubtitleID
16557
+
16558
+ def initialize(key=nil, lastmodified=nil, etag=nil, size=nil, storageclass=nil, fileid=nil, category=nil, filetype=nil, definition=nil, subtitleid=nil)
16559
+ @Key = key
16560
+ @LastModified = lastmodified
16561
+ @ETag = etag
16562
+ @Size = size
16563
+ @StorageClass = storageclass
16564
+ @FileId = fileid
16565
+ @Category = category
16566
+ @FileType = filetype
16567
+ @Definition = definition
16568
+ @SubtitleID = subtitleid
16569
+ end
16570
+
16571
+ def deserialize(params)
16572
+ @Key = params['Key']
16573
+ @LastModified = params['LastModified']
16574
+ @ETag = params['ETag']
16575
+ @Size = params['Size']
16576
+ @StorageClass = params['StorageClass']
16577
+ @FileId = params['FileId']
16578
+ @Category = params['Category']
16579
+ @FileType = params['FileType']
16580
+ @Definition = params['Definition']
16581
+ @SubtitleID = params['SubtitleID']
16582
+ end
16583
+ end
16584
+
16492
16585
  # 文件删除结果信息
16493
16586
  class FileDeleteResultItem < TencentCloud::Common::AbstractModel
16494
16587
  # @param FileId: 删除的文件 ID 。
@@ -17769,6 +17862,81 @@ module TencentCloud
17769
17862
  end
17770
17863
  end
17771
17864
 
17865
+ # ListFiles请求参数结构体
17866
+ class ListFilesRequest < TencentCloud::Common::AbstractModel
17867
+ # @param SubAppId: 点播[应用](/document/product/266/14574) ID。
17868
+ # @type SubAppId: Integer
17869
+ # @param Prefix: 对象键匹配前缀,限定响应中只包含指定前缀的对象键。
17870
+ # @type Prefix: String
17871
+ # @param Delimiter: 一个字符的分隔符,用于对对象键进行分组。所有对象键中从 prefix 或从头(如未指定 prefix)到首个 delimiter 之间相同的部分将作为 CommonPrefixes 下的一个 Prefix 节点。被分组的对象键不再出现在后续对象列表中。
17872
+ # @type Delimiter: String
17873
+ # @param MaxKeys: ys 单次返回最大的条目数量,默认值为100,最小为1,最大为100。
17874
+ # @type MaxKeys: Integer
17875
+ # @param Marker: 起始对象键标记
17876
+ # @type Marker: String
17877
+ # @param Categories: 文件类型。匹配集合中的任意元素: <li>Video: 视频文件</li> <li>Audio: 音频文件</li> <li>Image: 图片文件</li>
17878
+ # @type Categories: Array
17879
+
17880
+ attr_accessor :SubAppId, :Prefix, :Delimiter, :MaxKeys, :Marker, :Categories
17881
+
17882
+ def initialize(subappid=nil, prefix=nil, delimiter=nil, maxkeys=nil, marker=nil, categories=nil)
17883
+ @SubAppId = subappid
17884
+ @Prefix = prefix
17885
+ @Delimiter = delimiter
17886
+ @MaxKeys = maxkeys
17887
+ @Marker = marker
17888
+ @Categories = categories
17889
+ end
17890
+
17891
+ def deserialize(params)
17892
+ @SubAppId = params['SubAppId']
17893
+ @Prefix = params['Prefix']
17894
+ @Delimiter = params['Delimiter']
17895
+ @MaxKeys = params['MaxKeys']
17896
+ @Marker = params['Marker']
17897
+ @Categories = params['Categories']
17898
+ end
17899
+ end
17900
+
17901
+ # ListFiles返回参数结构体
17902
+ class ListFilesResponse < TencentCloud::Common::AbstractModel
17903
+ # @param IsTruncated: 响应条目是否被截断。
17904
+ # @type IsTruncated: Boolean
17905
+ # @param NextMarker: 仅当响应条目有截断(IsTruncated 为 true)才会返回该节点,该节点的值为当前响应条目中的最后一个对象键,当需要继续请求后续条目时,将该节点的值作为下一次请求的 marker 参数传入。
17906
+ # @type NextMarker: String
17907
+ # @param CommonPrefixes: 从 prefix 或从头(如未指定 prefix)到首个 delimiter 之间相同的部分,定义为 Common Prefix。仅当请求中指定了 delimiter 参数才有可能返回该节点。
17908
+ # @type CommonPrefixes: Array
17909
+ # @param Contents: 对象条目。
17910
+ # @type Contents: Array
17911
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17912
+ # @type RequestId: String
17913
+
17914
+ attr_accessor :IsTruncated, :NextMarker, :CommonPrefixes, :Contents, :RequestId
17915
+
17916
+ def initialize(istruncated=nil, nextmarker=nil, commonprefixes=nil, contents=nil, requestid=nil)
17917
+ @IsTruncated = istruncated
17918
+ @NextMarker = nextmarker
17919
+ @CommonPrefixes = commonprefixes
17920
+ @Contents = contents
17921
+ @RequestId = requestid
17922
+ end
17923
+
17924
+ def deserialize(params)
17925
+ @IsTruncated = params['IsTruncated']
17926
+ @NextMarker = params['NextMarker']
17927
+ @CommonPrefixes = params['CommonPrefixes']
17928
+ unless params['Contents'].nil?
17929
+ @Contents = []
17930
+ params['Contents'].each do |i|
17931
+ filecontent_tmp = FileContent.new
17932
+ filecontent_tmp.deserialize(i)
17933
+ @Contents << filecontent_tmp
17934
+ end
17935
+ end
17936
+ @RequestId = params['RequestId']
17937
+ end
17938
+ end
17939
+
17772
17940
  # 即时剪辑后媒体的片段信息。
17773
17941
  class LiveRealTimeClipMediaSegmentInfo < TencentCloud::Common::AbstractModel
17774
17942
  # @param StartTime: 片段的起始时间。格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
@@ -18648,6 +18816,8 @@ module TencentCloud
18648
18816
  # @type SourceInfo: :class:`Tencentcloud::Vod.v20180717.models.MediaSourceData`
18649
18817
  # @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
18818
  # @type StorageRegion: String
18819
+ # @param StoragePath: 媒体的存储路径。
18820
+ # @type StoragePath: String
18651
18821
  # @param TagSet: 媒体文件的标签信息。
18652
18822
  # @type TagSet: Array
18653
18823
  # @param Vid: 直播录制文件的唯一标识。
@@ -18666,9 +18836,9 @@ module TencentCloud
18666
18836
  # <li> DEEP_ARCHIVE:深度归档存储。</li>
18667
18837
  # @type StorageClass: String
18668
18838
 
18669
- attr_accessor :Name, :Description, :CreateTime, :UpdateTime, :ExpireTime, :ClassId, :ClassName, :ClassPath, :CoverUrl, :Type, :MediaUrl, :SourceInfo, :StorageRegion, :TagSet, :Vid, :Category, :Status, :StorageClass
18839
+ attr_accessor :Name, :Description, :CreateTime, :UpdateTime, :ExpireTime, :ClassId, :ClassName, :ClassPath, :CoverUrl, :Type, :MediaUrl, :SourceInfo, :StorageRegion, :StoragePath, :TagSet, :Vid, :Category, :Status, :StorageClass
18670
18840
 
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)
18841
+ 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
18842
  @Name = name
18673
18843
  @Description = description
18674
18844
  @CreateTime = createtime
@@ -18682,6 +18852,7 @@ module TencentCloud
18682
18852
  @MediaUrl = mediaurl
18683
18853
  @SourceInfo = sourceinfo
18684
18854
  @StorageRegion = storageregion
18855
+ @StoragePath = storagepath
18685
18856
  @TagSet = tagset
18686
18857
  @Vid = vid
18687
18858
  @Category = category
@@ -18706,6 +18877,7 @@ module TencentCloud
18706
18877
  @SourceInfo.deserialize(params['SourceInfo'])
18707
18878
  end
18708
18879
  @StorageRegion = params['StorageRegion']
18880
+ @StoragePath = params['StoragePath']
18709
18881
  @TagSet = params['TagSet']
18710
18882
  @Vid = params['Vid']
18711
18883
  @Category = params['Category']
@@ -24359,10 +24531,15 @@ module TencentCloud
24359
24531
 
24360
24532
  # ProcessMediaByProcedure请求参数结构体
24361
24533
  class ProcessMediaByProcedureRequest < TencentCloud::Common::AbstractModel
24362
- # @param FileId: 媒体文件 ID。
24363
- # @type FileId: String
24364
24534
  # @param ProcedureName: [任务流](https://cloud.tencent.com/document/product/266/33475#.E4.BB.BB.E5.8A.A1.E6.B5.81)名称。
24365
24535
  # @type ProcedureName: String
24536
+ # @param FileId: 媒体文件 ID。
24537
+ # FileId和MediaStoragePath必须提供其中一个。
24538
+ # @type FileId: String
24539
+ # @param MediaStoragePath: 媒体的存储路径。
24540
+ # 只有[FileID + Path 模式](https://cloud.tencent.com/document/product/266/126825)的子应用可以通过MediaStoragePath发起任务。
24541
+ # FileId和MediaStoragePath必须提供其中一个。
24542
+ # @type MediaStoragePath: String
24366
24543
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
24367
24544
  # @type SubAppId: Integer
24368
24545
  # @param TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是-10到10,不填代表0。
@@ -24376,11 +24553,12 @@ module TencentCloud
24376
24553
  # @param ExtInfo: 保留字段,特殊用途时使用。
24377
24554
  # @type ExtInfo: String
24378
24555
 
24379
- attr_accessor :FileId, :ProcedureName, :SubAppId, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId, :ExtInfo
24556
+ attr_accessor :ProcedureName, :FileId, :MediaStoragePath, :SubAppId, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId, :ExtInfo
24380
24557
 
24381
- def initialize(fileid=nil, procedurename=nil, subappid=nil, taskspriority=nil, tasksnotifymode=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
24382
- @FileId = fileid
24558
+ def initialize(procedurename=nil, fileid=nil, mediastoragepath=nil, subappid=nil, taskspriority=nil, tasksnotifymode=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
24383
24559
  @ProcedureName = procedurename
24560
+ @FileId = fileid
24561
+ @MediaStoragePath = mediastoragepath
24384
24562
  @SubAppId = subappid
24385
24563
  @TasksPriority = taskspriority
24386
24564
  @TasksNotifyMode = tasksnotifymode
@@ -24390,8 +24568,9 @@ module TencentCloud
24390
24568
  end
24391
24569
 
24392
24570
  def deserialize(params)
24393
- @FileId = params['FileId']
24394
24571
  @ProcedureName = params['ProcedureName']
24572
+ @FileId = params['FileId']
24573
+ @MediaStoragePath = params['MediaStoragePath']
24395
24574
  @SubAppId = params['SubAppId']
24396
24575
  @TasksPriority = params['TasksPriority']
24397
24576
  @TasksNotifyMode = params['TasksNotifyMode']
@@ -24515,7 +24694,12 @@ module TencentCloud
24515
24694
  # ProcessMedia请求参数结构体
24516
24695
  class ProcessMediaRequest < TencentCloud::Common::AbstractModel
24517
24696
  # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
24697
+ # FileId和MediaStoragePath必须提供其中一个。
24518
24698
  # @type FileId: String
24699
+ # @param MediaStoragePath: 媒体的存储路径。
24700
+ # 只有[FileID + Path 模式](https://cloud.tencent.com/document/product/266/126825)的子应用可以通过MediaStoragePath发起任务。
24701
+ # FileId和MediaStoragePath必须提供其中一个。
24702
+ # @type MediaStoragePath: String
24519
24703
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
24520
24704
  # @type SubAppId: Integer
24521
24705
  # @param MediaProcessTask: 视频处理类型任务参数。
@@ -24538,10 +24722,11 @@ module TencentCloud
24538
24722
  # @param ExtInfo: 保留字段,特殊用途时使用。
24539
24723
  # @type ExtInfo: String
24540
24724
 
24541
- attr_accessor :FileId, :SubAppId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId, :ExtInfo
24725
+ attr_accessor :FileId, :MediaStoragePath, :SubAppId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :TasksPriority, :TasksNotifyMode, :SessionContext, :SessionId, :ExtInfo
24542
24726
 
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)
24727
+ 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
24728
  @FileId = fileid
24729
+ @MediaStoragePath = mediastoragepath
24545
24730
  @SubAppId = subappid
24546
24731
  @MediaProcessTask = mediaprocesstask
24547
24732
  @AiContentReviewTask = aicontentreviewtask
@@ -24556,6 +24741,7 @@ module TencentCloud
24556
24741
 
24557
24742
  def deserialize(params)
24558
24743
  @FileId = params['FileId']
24744
+ @MediaStoragePath = params['MediaStoragePath']
24559
24745
  @SubAppId = params['SubAppId']
24560
24746
  unless params['MediaProcessTask'].nil?
24561
24747
  @MediaProcessTask = MediaProcessTaskInput.new
@@ -25057,10 +25243,13 @@ module TencentCloud
25057
25243
  # @type ExtInfo: String
25058
25244
  # @param SourceContext: 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。
25059
25245
  # @type SourceContext: String
25246
+ # @param MediaStoragePath: 媒体存储路径,以/开头。
25247
+ # 只有[FileID + Path 模式](https://cloud.tencent.com/document/product/266/126825)的子应用可以指定存储路径。
25248
+ # @type MediaStoragePath: String
25060
25249
 
25061
- attr_accessor :MediaUrl, :MediaType, :SubAppId, :MediaName, :CoverUrl, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :TasksPriority, :SessionContext, :SessionId, :ExtInfo, :SourceContext
25250
+ attr_accessor :MediaUrl, :MediaType, :SubAppId, :MediaName, :CoverUrl, :Procedure, :ExpireTime, :StorageRegion, :ClassId, :TasksPriority, :SessionContext, :SessionId, :ExtInfo, :SourceContext, :MediaStoragePath
25062
25251
 
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)
25252
+ 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
25253
  @MediaUrl = mediaurl
25065
25254
  @MediaType = mediatype
25066
25255
  @SubAppId = subappid
@@ -25075,6 +25264,7 @@ module TencentCloud
25075
25264
  @SessionId = sessionid
25076
25265
  @ExtInfo = extinfo
25077
25266
  @SourceContext = sourcecontext
25267
+ @MediaStoragePath = mediastoragepath
25078
25268
  end
25079
25269
 
25080
25270
  def deserialize(params)
@@ -25092,6 +25282,7 @@ module TencentCloud
25092
25282
  @SessionId = params['SessionId']
25093
25283
  @ExtInfo = params['ExtInfo']
25094
25284
  @SourceContext = params['SourceContext']
25285
+ @MediaStoragePath = params['MediaStoragePath']
25095
25286
  end
25096
25287
  end
25097
25288
 
@@ -27314,6 +27505,10 @@ module TencentCloud
27314
27505
  class ReviewAudioVideoRequest < TencentCloud::Common::AbstractModel
27315
27506
  # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
27316
27507
  # @type FileId: String
27508
+ # @param MediaStoragePath: 媒体的存储路径。
27509
+ # 只有[FileID + Path 模式](https://cloud.tencent.com/document/product/266/126825)的子应用可以通过MediaStoragePath发起任务。
27510
+ # FileId和MediaStoragePath必须提供其中一个。
27511
+ # @type MediaStoragePath: String
27317
27512
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
27318
27513
  # @type SubAppId: Integer
27319
27514
  # @param ReviewContents: 审核的内容,可选值有:
@@ -27333,10 +27528,11 @@ module TencentCloud
27333
27528
  # @param ExtInfo: 保留字段,特殊用途时使用。
27334
27529
  # @type ExtInfo: String
27335
27530
 
27336
- attr_accessor :FileId, :SubAppId, :ReviewContents, :Definition, :TasksPriority, :SessionContext, :SessionId, :ExtInfo
27531
+ attr_accessor :FileId, :MediaStoragePath, :SubAppId, :ReviewContents, :Definition, :TasksPriority, :SessionContext, :SessionId, :ExtInfo
27337
27532
 
27338
- def initialize(fileid=nil, subappid=nil, reviewcontents=nil, definition=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
27533
+ def initialize(fileid=nil, mediastoragepath=nil, subappid=nil, reviewcontents=nil, definition=nil, taskspriority=nil, sessioncontext=nil, sessionid=nil, extinfo=nil)
27339
27534
  @FileId = fileid
27535
+ @MediaStoragePath = mediastoragepath
27340
27536
  @SubAppId = subappid
27341
27537
  @ReviewContents = reviewcontents
27342
27538
  @Definition = definition
@@ -27348,6 +27544,7 @@ module TencentCloud
27348
27544
 
27349
27545
  def deserialize(params)
27350
27546
  @FileId = params['FileId']
27547
+ @MediaStoragePath = params['MediaStoragePath']
27351
27548
  @SubAppId = params['SubAppId']
27352
27549
  @ReviewContents = params['ReviewContents']
27353
27550
  @Definition = params['Definition']
@@ -27598,25 +27795,32 @@ module TencentCloud
27598
27795
 
27599
27796
  # ReviewImage请求参数结构体
27600
27797
  class ReviewImageRequest < TencentCloud::Common::AbstractModel
27601
- # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符。本接口要求媒体文件必须是图片格式。
27602
- # @type FileId: String
27603
27798
  # @param Definition: 图片审核模板 ID,取值范围:
27604
27799
  # <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴力(Terror)和不适宜的信息(Polity)。</li>
27605
27800
  # @type Definition: Integer
27801
+ # @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符。本接口要求媒体文件必须是图片格式。
27802
+ # FileId和MediaStoragePath必须提供其中一个。
27803
+ # @type FileId: String
27804
+ # @param MediaStoragePath: 媒体的存储路径。
27805
+ # 只有[FileID + Path 模式](https://cloud.tencent.com/document/product/266/126825)的子应用可以通过MediaStoragePath发起任务。
27806
+ # FileId和MediaStoragePath必须提供其中一个。
27807
+ # @type MediaStoragePath: String
27606
27808
  # @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
27607
27809
  # @type SubAppId: Integer
27608
27810
 
27609
- attr_accessor :FileId, :Definition, :SubAppId
27811
+ attr_accessor :Definition, :FileId, :MediaStoragePath, :SubAppId
27610
27812
 
27611
- def initialize(fileid=nil, definition=nil, subappid=nil)
27612
- @FileId = fileid
27813
+ def initialize(definition=nil, fileid=nil, mediastoragepath=nil, subappid=nil)
27613
27814
  @Definition = definition
27815
+ @FileId = fileid
27816
+ @MediaStoragePath = mediastoragepath
27614
27817
  @SubAppId = subappid
27615
27818
  end
27616
27819
 
27617
27820
  def deserialize(params)
27618
- @FileId = params['FileId']
27619
27821
  @Definition = params['Definition']
27822
+ @FileId = params['FileId']
27823
+ @MediaStoragePath = params['MediaStoragePath']
27620
27824
  @SubAppId = params['SubAppId']
27621
27825
  end
27622
27826
  end
@@ -29887,16 +30091,28 @@ module TencentCloud
29887
30091
  # @type Status: String
29888
30092
  # @param Name: 子应用名称(该字段已不推荐使用,建议使用新的子应用名称字段 SubAppIdName)。
29889
30093
  # @type Name: String
30094
+ # @param Mode: 此应用的模式,可选值为:
30095
+ # - fileid:仅FileID模式
30096
+ # - - fileid+path:FileID & Path模式
30097
+ # 留空时默认选择仅FileID模式
30098
+ # @type Mode: String
30099
+ # @param StorageRegions: 子应用已启用的存储地域。
30100
+ # @type StorageRegions: Array
30101
+ # @param Tags: 子应用绑定的tag。
30102
+ # @type Tags: Array
29890
30103
 
29891
- attr_accessor :SubAppId, :SubAppIdName, :Description, :CreateTime, :Status, :Name
30104
+ attr_accessor :SubAppId, :SubAppIdName, :Description, :CreateTime, :Status, :Name, :Mode, :StorageRegions, :Tags
29892
30105
 
29893
- def initialize(subappid=nil, subappidname=nil, description=nil, createtime=nil, status=nil, name=nil)
30106
+ def initialize(subappid=nil, subappidname=nil, description=nil, createtime=nil, status=nil, name=nil, mode=nil, storageregions=nil, tags=nil)
29894
30107
  @SubAppId = subappid
29895
30108
  @SubAppIdName = subappidname
29896
30109
  @Description = description
29897
30110
  @CreateTime = createtime
29898
30111
  @Status = status
29899
30112
  @Name = name
30113
+ @Mode = mode
30114
+ @StorageRegions = storageregions
30115
+ @Tags = tags
29900
30116
  end
29901
30117
 
29902
30118
  def deserialize(params)
@@ -29906,6 +30122,16 @@ module TencentCloud
29906
30122
  @CreateTime = params['CreateTime']
29907
30123
  @Status = params['Status']
29908
30124
  @Name = params['Name']
30125
+ @Mode = params['Mode']
30126
+ @StorageRegions = params['StorageRegions']
30127
+ unless params['Tags'].nil?
30128
+ @Tags = []
30129
+ params['Tags'].each do |i|
30130
+ resourcetag_tmp = ResourceTag.new
30131
+ resourcetag_tmp.deserialize(i)
30132
+ @Tags << resourcetag_tmp
30133
+ end
30134
+ end
29909
30135
  end
29910
30136
  end
29911
30137
 
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.1206
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-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common