tencentcloud-sdk-mps 3.0.1140 → 3.0.1143
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +210 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df4b25b7a76820b1ea9a25e097ad920b4295b6fc
|
4
|
+
data.tar.gz: 7ee5d39b598b645c32dcc4de8cfeffab8cf7a9a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95ff7f3b192850fcc1bdbc0826031afcae23413d4a2e1acec6b4538e5ea3d2a6af3567f306a0efff340c5762662fd0d7cb6e19d969070bd1b081e4de3b98c351
|
7
|
+
data.tar.gz: f2df5fd29bb7a192970b6c31ae1d9f3c9efedc391c659d204064cd3aae3c024a1598127ebbc12c4a0e0a27a28ac4458041b5dc7fb58d68f624bf7797a05cad1c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1143
|
data/lib/v20190612/models.rb
CHANGED
@@ -832,6 +832,7 @@ module TencentCloud
|
|
832
832
|
# <li>Highlight:智能精彩集锦</li>
|
833
833
|
# <li>DeLogo:智能擦除</li>
|
834
834
|
# <li>Description:大模型摘要</li>
|
835
|
+
# <li>Dubbing:智能译制</li>
|
835
836
|
# @type Type: String
|
836
837
|
# @param ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
|
837
838
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -863,10 +864,13 @@ module TencentCloud
|
|
863
864
|
# @param HorizontalToVerticalTask: 视频内容分析横转竖任务的查询结果,当任务类型为 HorizontalToVertical 时有效。
|
864
865
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
865
866
|
# @type HorizontalToVerticalTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHorizontalToVerticalResult`
|
867
|
+
# @param DubbingTask: 视频内容分析译制任务的查询结果,当任务类型为 Dubbing 时有效。
|
868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
869
|
+
# @type DubbingTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingResult`
|
866
870
|
|
867
|
-
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask
|
871
|
+
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask, :DubbingTask
|
868
872
|
|
869
|
-
def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, segmenttask=nil, headtailtask=nil, descriptiontask=nil, horizontaltoverticaltask=nil)
|
873
|
+
def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, segmenttask=nil, headtailtask=nil, descriptiontask=nil, horizontaltoverticaltask=nil, dubbingtask=nil)
|
870
874
|
@Type = type
|
871
875
|
@ClassificationTask = classificationtask
|
872
876
|
@CoverTask = covertask
|
@@ -878,6 +882,7 @@ module TencentCloud
|
|
878
882
|
@HeadTailTask = headtailtask
|
879
883
|
@DescriptionTask = descriptiontask
|
880
884
|
@HorizontalToVerticalTask = horizontaltoverticaltask
|
885
|
+
@DubbingTask = dubbingtask
|
881
886
|
end
|
882
887
|
|
883
888
|
def deserialize(params)
|
@@ -922,6 +927,10 @@ module TencentCloud
|
|
922
927
|
@HorizontalToVerticalTask = AiAnalysisTaskHorizontalToVerticalResult.new
|
923
928
|
@HorizontalToVerticalTask.deserialize(params['HorizontalToVerticalTask'])
|
924
929
|
end
|
930
|
+
unless params['DubbingTask'].nil?
|
931
|
+
@DubbingTask = AiAnalysisTaskDubbingResult.new
|
932
|
+
@DubbingTask.deserialize(params['DubbingTask'])
|
933
|
+
end
|
925
934
|
end
|
926
935
|
end
|
927
936
|
|
@@ -1125,15 +1134,23 @@ module TencentCloud
|
|
1125
1134
|
# @param SubtitlePos: 擦除的字幕位置。**注意**:仅对字幕提取且开启返回字幕位置时有效。
|
1126
1135
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1127
1136
|
# @type SubtitlePos: :class:`Tencentcloud::Mps.v20190612.models.SubtitlePosition`
|
1137
|
+
# @param VoiceClonedVideo: 音色克隆后的视频文件地址
|
1138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1139
|
+
# @type VoiceClonedVideo: String
|
1140
|
+
# @param VoiceClonedMarkFile: 音色克隆的标注文件地址
|
1141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1142
|
+
# @type VoiceClonedMarkFile: String
|
1128
1143
|
|
1129
|
-
attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath, :SubtitlePos
|
1144
|
+
attr_accessor :Path, :OutputStorage, :OriginSubtitlePath, :TranslateSubtitlePath, :SubtitlePos, :VoiceClonedVideo, :VoiceClonedMarkFile
|
1130
1145
|
|
1131
|
-
def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil, subtitlepos=nil)
|
1146
|
+
def initialize(path=nil, outputstorage=nil, originsubtitlepath=nil, translatesubtitlepath=nil, subtitlepos=nil, voiceclonedvideo=nil, voiceclonedmarkfile=nil)
|
1132
1147
|
@Path = path
|
1133
1148
|
@OutputStorage = outputstorage
|
1134
1149
|
@OriginSubtitlePath = originsubtitlepath
|
1135
1150
|
@TranslateSubtitlePath = translatesubtitlepath
|
1136
1151
|
@SubtitlePos = subtitlepos
|
1152
|
+
@VoiceClonedVideo = voiceclonedvideo
|
1153
|
+
@VoiceClonedMarkFile = voiceclonedmarkfile
|
1137
1154
|
end
|
1138
1155
|
|
1139
1156
|
def deserialize(params)
|
@@ -1148,6 +1165,8 @@ module TencentCloud
|
|
1148
1165
|
@SubtitlePos = SubtitlePosition.new
|
1149
1166
|
@SubtitlePos.deserialize(params['SubtitlePos'])
|
1150
1167
|
end
|
1168
|
+
@VoiceClonedVideo = params['VoiceClonedVideo']
|
1169
|
+
@VoiceClonedMarkFile = params['VoiceClonedMarkFile']
|
1151
1170
|
end
|
1152
1171
|
end
|
1153
1172
|
|
@@ -1268,6 +1287,88 @@ module TencentCloud
|
|
1268
1287
|
end
|
1269
1288
|
end
|
1270
1289
|
|
1290
|
+
# 智能译制任务输入类型
|
1291
|
+
class AiAnalysisTaskDubbingInput < TencentCloud::Common::AbstractModel
|
1292
|
+
# @param Definition: 视频译制模板 ID。
|
1293
|
+
# @type Definition: Integer
|
1294
|
+
|
1295
|
+
attr_accessor :Definition
|
1296
|
+
|
1297
|
+
def initialize(definition=nil)
|
1298
|
+
@Definition = definition
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
def deserialize(params)
|
1302
|
+
@Definition = params['Definition']
|
1303
|
+
end
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
# 智能译制结果信息
|
1307
|
+
class AiAnalysisTaskDubbingOutput < TencentCloud::Common::AbstractModel
|
1308
|
+
# @param VideoPath: 译制视频路径。
|
1309
|
+
# @type VideoPath: String
|
1310
|
+
# @param SpeakerPath: 标记文件路径
|
1311
|
+
# @type SpeakerPath: String
|
1312
|
+
# @param OutputStorage: 译制视频存储位置。
|
1313
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
1314
|
+
|
1315
|
+
attr_accessor :VideoPath, :SpeakerPath, :OutputStorage
|
1316
|
+
|
1317
|
+
def initialize(videopath=nil, speakerpath=nil, outputstorage=nil)
|
1318
|
+
@VideoPath = videopath
|
1319
|
+
@SpeakerPath = speakerpath
|
1320
|
+
@OutputStorage = outputstorage
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
def deserialize(params)
|
1324
|
+
@VideoPath = params['VideoPath']
|
1325
|
+
@SpeakerPath = params['SpeakerPath']
|
1326
|
+
unless params['OutputStorage'].nil?
|
1327
|
+
@OutputStorage = TaskOutputStorage.new
|
1328
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# 智能译制结果类型
|
1334
|
+
class AiAnalysisTaskDubbingResult < TencentCloud::Common::AbstractModel
|
1335
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
1336
|
+
# @type Status: String
|
1337
|
+
# @param ErrCode: 错误码,0:成功,其他值:失败。
|
1338
|
+
# @type ErrCode: Integer
|
1339
|
+
# @param Message: 错误信息。
|
1340
|
+
# @type Message: String
|
1341
|
+
# @param Input: 智能译制任务输入。
|
1342
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingInput`
|
1343
|
+
# @param Output: 智能译制任务输出。
|
1344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1345
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingOutput`
|
1346
|
+
|
1347
|
+
attr_accessor :Status, :ErrCode, :Message, :Input, :Output
|
1348
|
+
|
1349
|
+
def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
|
1350
|
+
@Status = status
|
1351
|
+
@ErrCode = errcode
|
1352
|
+
@Message = message
|
1353
|
+
@Input = input
|
1354
|
+
@Output = output
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
def deserialize(params)
|
1358
|
+
@Status = params['Status']
|
1359
|
+
@ErrCode = params['ErrCode']
|
1360
|
+
@Message = params['Message']
|
1361
|
+
unless params['Input'].nil?
|
1362
|
+
@Input = AiAnalysisTaskDubbingInput.new
|
1363
|
+
@Input.deserialize(params['Input'])
|
1364
|
+
end
|
1365
|
+
unless params['Output'].nil?
|
1366
|
+
@Output = AiAnalysisTaskDubbingOutput.new
|
1367
|
+
@Output.deserialize(params['Output'])
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1271
1372
|
# 智能按帧标签任务输入类型
|
1272
1373
|
class AiAnalysisTaskFrameTagInput < TencentCloud::Common::AbstractModel
|
1273
1374
|
# @param Definition: 视频智能按帧标签模板 ID。
|
@@ -5329,16 +5430,15 @@ module TencentCloud
|
|
5329
5430
|
# @param Type: 类型名称。取值如下:
|
5330
5431
|
|
5331
5432
|
# <li>Dongjing:东京</li>
|
5332
|
-
# <li>
|
5433
|
+
# <li>Qingjiaopian:轻胶片</li>
|
5333
5434
|
# <li>Meiwei:美味</li>
|
5334
|
-
|
5335
5435
|
# @type Type: String
|
5336
5436
|
# @param Switch: 能力配置开关,可选值:
|
5337
5437
|
# <li>ON:开启;</li>
|
5338
5438
|
# <li>OFF:关闭。</li>
|
5339
5439
|
# 默认值:ON。
|
5340
5440
|
# @type Switch: String
|
5341
|
-
# @param Value: 效果强度,值范围:[
|
5441
|
+
# @param Value: 效果强度,值范围:[-100, 100]。
|
5342
5442
|
# @type Value: Integer
|
5343
5443
|
|
5344
5444
|
attr_accessor :Type, :Switch, :Value
|
@@ -12766,6 +12866,8 @@ module TencentCloud
|
|
12766
12866
|
# @param LiveStreamProcessTask: 直播流处理任务信息,仅当 TaskType 为 LiveStreamProcessTask,该字段有值。
|
12767
12867
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12768
12868
|
# @type LiveStreamProcessTask: :class:`Tencentcloud::Mps.v20190612.models.LiveStreamProcessTask`
|
12869
|
+
# @param ExtractBlindWatermarkTask: 提取数字水印任务信息,仅当 TaskType 为 ExtractBlindWatermark,该字段有值。
|
12870
|
+
# @type ExtractBlindWatermarkTask: :class:`Tencentcloud::Mps.v20190612.models.ExtractBlindWatermarkTask`
|
12769
12871
|
# @param TaskNotifyConfig: 任务的事件通知信息。
|
12770
12872
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12771
12873
|
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
@@ -12786,9 +12888,9 @@ module TencentCloud
|
|
12786
12888
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12787
12889
|
# @type RequestId: String
|
12788
12890
|
|
12789
|
-
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :EditMediaTask, :WorkflowTask, :LiveStreamProcessTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :ExtInfo, :ScheduleTask, :LiveScheduleTask, :RequestId
|
12891
|
+
attr_accessor :TaskType, :Status, :CreateTime, :BeginProcessTime, :FinishTime, :EditMediaTask, :WorkflowTask, :LiveStreamProcessTask, :ExtractBlindWatermarkTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :ExtInfo, :ScheduleTask, :LiveScheduleTask, :RequestId
|
12790
12892
|
|
12791
|
-
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, editmediatask=nil, workflowtask=nil, livestreamprocesstask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, extinfo=nil, scheduletask=nil, livescheduletask=nil, requestid=nil)
|
12893
|
+
def initialize(tasktype=nil, status=nil, createtime=nil, beginprocesstime=nil, finishtime=nil, editmediatask=nil, workflowtask=nil, livestreamprocesstask=nil, extractblindwatermarktask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, extinfo=nil, scheduletask=nil, livescheduletask=nil, requestid=nil)
|
12792
12894
|
@TaskType = tasktype
|
12793
12895
|
@Status = status
|
12794
12896
|
@CreateTime = createtime
|
@@ -12797,6 +12899,7 @@ module TencentCloud
|
|
12797
12899
|
@EditMediaTask = editmediatask
|
12798
12900
|
@WorkflowTask = workflowtask
|
12799
12901
|
@LiveStreamProcessTask = livestreamprocesstask
|
12902
|
+
@ExtractBlindWatermarkTask = extractblindwatermarktask
|
12800
12903
|
@TaskNotifyConfig = tasknotifyconfig
|
12801
12904
|
@TasksPriority = taskspriority
|
12802
12905
|
@SessionId = sessionid
|
@@ -12825,6 +12928,10 @@ module TencentCloud
|
|
12825
12928
|
@LiveStreamProcessTask = LiveStreamProcessTask.new
|
12826
12929
|
@LiveStreamProcessTask.deserialize(params['LiveStreamProcessTask'])
|
12827
12930
|
end
|
12931
|
+
unless params['ExtractBlindWatermarkTask'].nil?
|
12932
|
+
@ExtractBlindWatermarkTask = ExtractBlindWatermarkTask.new
|
12933
|
+
@ExtractBlindWatermarkTask.deserialize(params['ExtractBlindWatermarkTask'])
|
12934
|
+
end
|
12828
12935
|
unless params['TaskNotifyConfig'].nil?
|
12829
12936
|
@TaskNotifyConfig = TaskNotifyConfig.new
|
12830
12937
|
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
@@ -14257,6 +14364,81 @@ module TencentCloud
|
|
14257
14364
|
end
|
14258
14365
|
end
|
14259
14366
|
|
14367
|
+
# 提取视频数字水印任务信息
|
14368
|
+
class ExtractBlindWatermarkTask < TencentCloud::Common::AbstractModel
|
14369
|
+
# @param TaskId: 媒体处理任务 ID。
|
14370
|
+
# @type TaskId: String
|
14371
|
+
# @param Status: 任务流状态,取值:
|
14372
|
+
# <li>WAITING:等待中;</li>
|
14373
|
+
# <li>PROCESSING:处理中;</li>
|
14374
|
+
# <li>FINISH:已完成。</li>
|
14375
|
+
# @type Status: String
|
14376
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败。
|
14377
|
+
# @type ErrCode: Integer
|
14378
|
+
# @param Message: 错误信息。
|
14379
|
+
# @type Message: String
|
14380
|
+
# @param InputInfo: 媒体处理的目标文件信息。
|
14381
|
+
# @type InputInfo: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
|
14382
|
+
# @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li> <li>blind-ab:ab版权数字水印;</li>
|
14383
|
+
# @type Type: String
|
14384
|
+
# @param IsDetected: 标记是否检测到水印,如果该参数为true, Result字段将返回水印提取结果,如果该参数为false,Result字段不会返回。
|
14385
|
+
# @type IsDetected: Boolean
|
14386
|
+
# @param Result: 提取出的数字水印内容,当没有检测到水印时该字段不会返回。
|
14387
|
+
# @type Result: String
|
14388
|
+
# @param ExtractBlindWatermarkConfig: 提取数字水印配置。
|
14389
|
+
# @type ExtractBlindWatermarkConfig: :class:`Tencentcloud::Mps.v20190612.models.ExtractBlindWatermarkTaskConfig`
|
14390
|
+
|
14391
|
+
attr_accessor :TaskId, :Status, :ErrCode, :Message, :InputInfo, :Type, :IsDetected, :Result, :ExtractBlindWatermarkConfig
|
14392
|
+
|
14393
|
+
def initialize(taskid=nil, status=nil, errcode=nil, message=nil, inputinfo=nil, type=nil, isdetected=nil, result=nil, extractblindwatermarkconfig=nil)
|
14394
|
+
@TaskId = taskid
|
14395
|
+
@Status = status
|
14396
|
+
@ErrCode = errcode
|
14397
|
+
@Message = message
|
14398
|
+
@InputInfo = inputinfo
|
14399
|
+
@Type = type
|
14400
|
+
@IsDetected = isdetected
|
14401
|
+
@Result = result
|
14402
|
+
@ExtractBlindWatermarkConfig = extractblindwatermarkconfig
|
14403
|
+
end
|
14404
|
+
|
14405
|
+
def deserialize(params)
|
14406
|
+
@TaskId = params['TaskId']
|
14407
|
+
@Status = params['Status']
|
14408
|
+
@ErrCode = params['ErrCode']
|
14409
|
+
@Message = params['Message']
|
14410
|
+
unless params['InputInfo'].nil?
|
14411
|
+
@InputInfo = MediaInputInfo.new
|
14412
|
+
@InputInfo.deserialize(params['InputInfo'])
|
14413
|
+
end
|
14414
|
+
@Type = params['Type']
|
14415
|
+
@IsDetected = params['IsDetected']
|
14416
|
+
@Result = params['Result']
|
14417
|
+
unless params['ExtractBlindWatermarkConfig'].nil?
|
14418
|
+
@ExtractBlindWatermarkConfig = ExtractBlindWatermarkTaskConfig.new
|
14419
|
+
@ExtractBlindWatermarkConfig.deserialize(params['ExtractBlindWatermarkConfig'])
|
14420
|
+
end
|
14421
|
+
end
|
14422
|
+
end
|
14423
|
+
|
14424
|
+
# 提取视频转码数字水印任务配置
|
14425
|
+
class ExtractBlindWatermarkTaskConfig < TencentCloud::Common::AbstractModel
|
14426
|
+
# @param SegmentDuration: 当提取数字水印类型为blind-abseq时有效,用于指定输入视频的切片时长,单位:毫秒。
|
14427
|
+
# 如果不填默认切片时长为5秒。
|
14428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14429
|
+
# @type SegmentDuration: Integer
|
14430
|
+
|
14431
|
+
attr_accessor :SegmentDuration
|
14432
|
+
|
14433
|
+
def initialize(segmentduration=nil)
|
14434
|
+
@SegmentDuration = segmentduration
|
14435
|
+
end
|
14436
|
+
|
14437
|
+
def deserialize(params)
|
14438
|
+
@SegmentDuration = params['SegmentDuration']
|
14439
|
+
end
|
14440
|
+
end
|
14441
|
+
|
14260
14442
|
# 人脸识别任务控制参数
|
14261
14443
|
class FaceConfigureInfo < TencentCloud::Common::AbstractModel
|
14262
14444
|
# @param Switch: 人脸识别任务开关,可选值:
|
@@ -15376,12 +15558,15 @@ module TencentCloud
|
|
15376
15558
|
# @param OutputStorage: 输出文件的存储位置。
|
15377
15559
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15378
15560
|
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
15561
|
+
# @param SignedUrl: 输出文件的URL。
|
15562
|
+
# @type SignedUrl: String
|
15379
15563
|
|
15380
|
-
attr_accessor :Path, :OutputStorage
|
15564
|
+
attr_accessor :Path, :OutputStorage, :SignedUrl
|
15381
15565
|
|
15382
|
-
def initialize(path=nil, outputstorage=nil)
|
15566
|
+
def initialize(path=nil, outputstorage=nil, signedurl=nil)
|
15383
15567
|
@Path = path
|
15384
15568
|
@OutputStorage = outputstorage
|
15569
|
+
@SignedUrl = signedurl
|
15385
15570
|
end
|
15386
15571
|
|
15387
15572
|
def deserialize(params)
|
@@ -15390,6 +15575,7 @@ module TencentCloud
|
|
15390
15575
|
@OutputStorage = TaskOutputStorage.new
|
15391
15576
|
@OutputStorage.deserialize(params['OutputStorage'])
|
15392
15577
|
end
|
15578
|
+
@SignedUrl = params['SignedUrl']
|
15393
15579
|
end
|
15394
15580
|
end
|
15395
15581
|
|
@@ -21287,15 +21473,25 @@ module TencentCloud
|
|
21287
21473
|
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
21288
21474
|
# @param OutputDir: 图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。
|
21289
21475
|
# @type OutputDir: String
|
21476
|
+
# @param OutputPath: 输出路径,可以为相对路径或者绝对路径。
|
21477
|
+
# 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
21478
|
+
# 相对路径示例:
|
21479
|
+
# <li>文件名_{变量名}.{format}</li>
|
21480
|
+
# <li>文件名.{format}</li>
|
21481
|
+
# 绝对路径示例:
|
21482
|
+
# <li>/自定义路径/文件名_{变量名}.{format}</li>
|
21483
|
+
# 如果不填,则默认为相对路径:{inputName}.{format}。
|
21484
|
+
# @type OutputPath: String
|
21290
21485
|
# @param ImageTask: 图片处理参数。
|
21291
21486
|
# @type ImageTask: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
|
21292
21487
|
|
21293
|
-
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ImageTask
|
21488
|
+
attr_accessor :InputInfo, :OutputStorage, :OutputDir, :OutputPath, :ImageTask
|
21294
21489
|
|
21295
|
-
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, imagetask=nil)
|
21490
|
+
def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, outputpath=nil, imagetask=nil)
|
21296
21491
|
@InputInfo = inputinfo
|
21297
21492
|
@OutputStorage = outputstorage
|
21298
21493
|
@OutputDir = outputdir
|
21494
|
+
@OutputPath = outputpath
|
21299
21495
|
@ImageTask = imagetask
|
21300
21496
|
end
|
21301
21497
|
|
@@ -21309,6 +21505,7 @@ module TencentCloud
|
|
21309
21505
|
@OutputStorage.deserialize(params['OutputStorage'])
|
21310
21506
|
end
|
21311
21507
|
@OutputDir = params['OutputDir']
|
21508
|
+
@OutputPath = params['OutputPath']
|
21312
21509
|
unless params['ImageTask'].nil?
|
21313
21510
|
@ImageTask = ImageTaskInput.new
|
21314
21511
|
@ImageTask.deserialize(params['ImageTask'])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1143
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|