tencentcloud-sdk-mps 3.0.1150 → 3.0.1153

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +112 -14
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d046f029beaa4b40c4314a8bc8e9405e17829a3
4
- data.tar.gz: b52289e4c1613eec65bfb6ae578716f5201147df
3
+ metadata.gz: 3a159fb07eb7ecf7abb0e0ed743a3912974160a4
4
+ data.tar.gz: 894ee5c237858b2465d29172531be636f6b0e80a
5
5
  SHA512:
6
- metadata.gz: 20ba0a17f77455157c5ea88afb9db600ebe79ae2e9625e455db6066bff2aaacfb9dd98a120611a98692da4007860b2cccc41b45f8b75f8dc77d92f768eee92f3
7
- data.tar.gz: d92d2beb18928be1d4e64e4680b7ff9137973aed2b04404938187002a9e9c44fb8b7b80b81cbbffda888ed1b032ca6a0e7e43d101bb2bbc12c7485edf9aa3e7f
6
+ metadata.gz: 99c79ca5a8bf6a820155abaf3e2a646ba213b81ba9b3e224890e2f6e6cc9371dca7c5c4498f34ec1740b3c364369c25f190ec126dd52bd470afd7515d75f874c
7
+ data.tar.gz: 682d5ed3cfeb09ea7e4a86ddcffa22bd5c0865a3fcf2fb3a135c8e08e13f7f38bc9d9f879afb1ccaa2d129c05142092d70f94018cdc2f23a96e23edbd608bd49
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1150
1
+ 3.0.1153
@@ -843,6 +843,7 @@ module TencentCloud
843
843
  # <li>DeLogo:智能擦除</li>
844
844
  # <li>Description:大模型摘要</li>
845
845
  # <li>Dubbing:智能译制</li>
846
+ # <li>VideoRemake: 视频去重</li>
846
847
  # @type Type: String
847
848
  # @param ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
848
849
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -877,10 +878,13 @@ module TencentCloud
877
878
  # @param DubbingTask: 视频内容分析译制任务的查询结果,当任务类型为 Dubbing 时有效。
878
879
  # 注意:此字段可能返回 null,表示取不到有效值。
879
880
  # @type DubbingTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDubbingResult`
881
+ # @param VideoRemakeTask: 视频内容分析去重任务的查询结果,当任务类型为 VideoRemake 时有效。
882
+ # 注意:此字段可能返回 null,表示取不到有效值。
883
+ # @type VideoRemakeTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskVideoRemakeResult`
880
884
 
881
- attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask, :DubbingTask
885
+ attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask, :DubbingTask, :VideoRemakeTask
882
886
 
883
- 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)
887
+ 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, videoremaketask=nil)
884
888
  @Type = type
885
889
  @ClassificationTask = classificationtask
886
890
  @CoverTask = covertask
@@ -893,6 +897,7 @@ module TencentCloud
893
897
  @DescriptionTask = descriptiontask
894
898
  @HorizontalToVerticalTask = horizontaltoverticaltask
895
899
  @DubbingTask = dubbingtask
900
+ @VideoRemakeTask = videoremaketask
896
901
  end
897
902
 
898
903
  def deserialize(params)
@@ -941,6 +946,10 @@ module TencentCloud
941
946
  @DubbingTask = AiAnalysisTaskDubbingResult.new
942
947
  @DubbingTask.deserialize(params['DubbingTask'])
943
948
  end
949
+ unless params['VideoRemakeTask'].nil?
950
+ @VideoRemakeTask = AiAnalysisTaskVideoRemakeResult.new
951
+ @VideoRemakeTask.deserialize(params['VideoRemakeTask'])
952
+ end
944
953
  end
945
954
  end
946
955
 
@@ -1905,6 +1914,84 @@ module TencentCloud
1905
1914
  end
1906
1915
  end
1907
1916
 
1917
+ # 视频去重任务输入类型
1918
+ class AiAnalysisTaskVideoRemakeInput < TencentCloud::Common::AbstractModel
1919
+ # @param Definition: 视频智能去重模板 ID
1920
+ # @type Definition: Integer
1921
+
1922
+ attr_accessor :Definition
1923
+
1924
+ def initialize(definition=nil)
1925
+ @Definition = definition
1926
+ end
1927
+
1928
+ def deserialize(params)
1929
+ @Definition = params['Definition']
1930
+ end
1931
+ end
1932
+
1933
+ # 视频去重结果信息
1934
+ class AiAnalysisTaskVideoRemakeOutput < TencentCloud::Common::AbstractModel
1935
+ # @param Path: 视频智能去重文件路径
1936
+ # @type Path: String
1937
+ # @param OutputStorage: 智能视频去重的存储位置
1938
+ # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
1939
+
1940
+ attr_accessor :Path, :OutputStorage
1941
+
1942
+ def initialize(path=nil, outputstorage=nil)
1943
+ @Path = path
1944
+ @OutputStorage = outputstorage
1945
+ end
1946
+
1947
+ def deserialize(params)
1948
+ @Path = params['Path']
1949
+ unless params['OutputStorage'].nil?
1950
+ @OutputStorage = TaskOutputStorage.new
1951
+ @OutputStorage.deserialize(params['OutputStorage'])
1952
+ end
1953
+ end
1954
+ end
1955
+
1956
+ # 视频去重结果数据结构
1957
+ class AiAnalysisTaskVideoRemakeResult < TencentCloud::Common::AbstractModel
1958
+ # @param Status: 任务状态,有 `PROCESSING`,`SUCCESS` 和 `FAIL` 三种
1959
+ # @type Status: String
1960
+ # @param ErrCode: 错误码,0:成功,其他值:失败
1961
+ # @type ErrCode: Integer
1962
+ # @param Message: 错误信息
1963
+ # @type Message: String
1964
+ # @param Input: 去重任务输入
1965
+ # @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskVideoRemakeInput`
1966
+ # @param Output: 去重任务输出
1967
+ # 注意:此字段可能返回 null,表示取不到有效值。
1968
+ # @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskVideoRemakeOutput`
1969
+
1970
+ attr_accessor :Status, :ErrCode, :Message, :Input, :Output
1971
+
1972
+ def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
1973
+ @Status = status
1974
+ @ErrCode = errcode
1975
+ @Message = message
1976
+ @Input = input
1977
+ @Output = output
1978
+ end
1979
+
1980
+ def deserialize(params)
1981
+ @Status = params['Status']
1982
+ @ErrCode = params['ErrCode']
1983
+ @Message = params['Message']
1984
+ unless params['Input'].nil?
1985
+ @Input = AiAnalysisTaskVideoRemakeInput.new
1986
+ @Input.deserialize(params['Input'])
1987
+ end
1988
+ unless params['Output'].nil?
1989
+ @Output = AiAnalysisTaskVideoRemakeOutput.new
1990
+ @Output.deserialize(params['Output'])
1991
+ end
1992
+ end
1993
+ end
1994
+
1908
1995
  # 内容审核结果
1909
1996
  class AiContentReviewResult < TencentCloud::Common::AbstractModel
1910
1997
  # @param Type: 任务的类型,可以取的值有:
@@ -2259,8 +2346,8 @@ module TencentCloud
2259
2346
 
2260
2347
  attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
2261
2348
  extend Gem::Deprecate
2262
- deprecate :OutputStorage, :none, 2025, 9
2263
- deprecate :OutputStorage=, :none, 2025, 9
2349
+ deprecate :OutputStorage, :none, 2025, 10
2350
+ deprecate :OutputStorage=, :none, 2025, 10
2264
2351
 
2265
2352
  def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
2266
2353
  @SegmentSet = segmentset
@@ -13134,7 +13221,9 @@ module TencentCloud
13134
13221
  # - PROCESSING(处理中)
13135
13222
  # - FINISH(已完成)。
13136
13223
  # @type Status: String
13137
- # @param SubTaskHasFailed: 任务结束时子任务是否有失败。
13224
+ # @param SubTaskHasFailed: 任务结束时子任务是否有失败。如果不传则忽略。
13225
+ # <li>false: 过滤子任务没有失败的任务;</li>
13226
+ # <li>true: 过滤子任务有失败的任务。</li>
13138
13227
  # @type SubTaskHasFailed: Boolean
13139
13228
  # @param Limit: 返回记录条数,默认值:10,最大值:100。
13140
13229
  # @type Limit: Integer
@@ -14354,8 +14443,8 @@ module TencentCloud
14354
14443
 
14355
14444
  attr_accessor :TaskType, :EvaluationTypeSet, :EvaluationRangeType, :ContrastInfoSet, :ContrastMediaSet, :ContrastTemplateSet, :StartTime, :EndTime, :StartFrameIndex, :EndFrameIndex, :ResolutionAlignmentMode, :BitrateSet, :VCRFSet
14356
14445
  extend Gem::Deprecate
14357
- deprecate :ContrastInfoSet, :none, 2025, 9
14358
- deprecate :ContrastInfoSet=, :none, 2025, 9
14446
+ deprecate :ContrastInfoSet, :none, 2025, 10
14447
+ deprecate :ContrastInfoSet=, :none, 2025, 10
14359
14448
 
14360
14449
  def initialize(tasktype=nil, evaluationtypeset=nil, evaluationrangetype=nil, contrastinfoset=nil, contrastmediaset=nil, contrasttemplateset=nil, starttime=nil, endtime=nil, startframeindex=nil, endframeindex=nil, resolutionalignmentmode=nil, bitrateset=nil, vcrfset=nil)
14361
14450
  @TaskType = tasktype
@@ -16535,10 +16624,10 @@ module TencentCloud
16535
16624
 
16536
16625
  attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
16537
16626
  extend Gem::Deprecate
16538
- deprecate :QualityControlResults, :none, 2025, 9
16539
- deprecate :QualityControlResults=, :none, 2025, 9
16540
- deprecate :DiagnoseResults, :none, 2025, 9
16541
- deprecate :DiagnoseResults=, :none, 2025, 9
16627
+ deprecate :QualityControlResults, :none, 2025, 10
16628
+ deprecate :QualityControlResults=, :none, 2025, 10
16629
+ deprecate :DiagnoseResults, :none, 2025, 10
16630
+ deprecate :DiagnoseResults=, :none, 2025, 10
16542
16631
 
16543
16632
  def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
16544
16633
  @QualityControlResults = qualitycontrolresults
@@ -21170,12 +21259,15 @@ module TencentCloud
21170
21259
  # @type Timestamp: Integer
21171
21260
  # @param Sign: 事件通知安全签名 Sign = MD5(Timestamp + NotifyKey)。说明:媒体处理把Timestamp 和 TaskNotifyConfig 里面的NotifyKey 进行字符串拼接后通过 MD5 计算得出 Sign 值,并将其放在通知消息里,您的后台服务器在收到通知消息后可以根据同样的算法确认 Sign 是否正确,进而确认消息是否确实来自媒体处理后台。
21172
21261
  # @type Sign: String
21262
+ # @param BatchTaskEvent: 批量处理任务信息,仅当 EventType 为 BatchTask,该字段有值。
21263
+ # 注意:此字段可能返回 null,表示取不到有效值。
21264
+ # @type BatchTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.BatchSubTaskResult`
21173
21265
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21174
21266
  # @type RequestId: String
21175
21267
 
21176
- attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :RequestId
21268
+ attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :BatchTaskEvent, :RequestId
21177
21269
 
21178
- def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, timestamp=nil, sign=nil, requestid=nil)
21270
+ def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, timestamp=nil, sign=nil, batchtaskevent=nil, requestid=nil)
21179
21271
  @EventType = eventtype
21180
21272
  @WorkflowTaskEvent = workflowtaskevent
21181
21273
  @EditMediaTaskEvent = editmediataskevent
@@ -21184,6 +21276,7 @@ module TencentCloud
21184
21276
  @ScheduleTaskEvent = scheduletaskevent
21185
21277
  @Timestamp = timestamp
21186
21278
  @Sign = sign
21279
+ @BatchTaskEvent = batchtaskevent
21187
21280
  @RequestId = requestid
21188
21281
  end
21189
21282
 
@@ -21205,6 +21298,10 @@ module TencentCloud
21205
21298
  end
21206
21299
  @Timestamp = params['Timestamp']
21207
21300
  @Sign = params['Sign']
21301
+ unless params['BatchTaskEvent'].nil?
21302
+ @BatchTaskEvent = BatchSubTaskResult.new
21303
+ @BatchTaskEvent.deserialize(params['BatchTaskEvent'])
21304
+ end
21208
21305
  @RequestId = params['RequestId']
21209
21306
  end
21210
21307
  end
@@ -24507,10 +24604,11 @@ module TencentCloud
24507
24604
  # @type WatermarkModel: String
24508
24605
  # @param AutoAreas: 自动擦除自定义区域。
24509
24606
  # 对选定区域,利用AI模型自动检测其中存在的擦除目标并擦除。
24510
- # 注意,当擦除方式为custom时,此参数将不会生效。
24607
+ # 注意,当擦除方式为custom时,此参数将不会生效。修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
24511
24608
  # @type AutoAreas: Array
24512
24609
  # @param CustomAreas: 指定擦除自定义区域。
24513
24610
  # 对选定区域,在选定时间段内不进行检测识别直接进行擦除。
24611
+ # 注意:修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
24514
24612
  # @type CustomAreas: Array
24515
24613
 
24516
24614
  attr_accessor :WatermarkEraseMethod, :WatermarkModel, :AutoAreas, :CustomAreas
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.1150
4
+ version: 3.0.1153
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-29 00:00:00.000000000 Z
11
+ date: 2025-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-mps.rb
37
- - lib/v20190612/client.rb
38
36
  - lib/v20190612/models.rb
37
+ - lib/v20190612/client.rb
38
+ - lib/tencentcloud-sdk-mps.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: