tencentcloud-sdk-mps 3.0.794 → 3.0.795

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 +89 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0fcfd3f4b192ca2e8e76948d45f28e52a8a8033
4
- data.tar.gz: 002f19340233bc01a4104e29953556c0f0acfa74
3
+ metadata.gz: 30141a7dc8e2a051f0817833b398aa9b86c0d2f3
4
+ data.tar.gz: b4f6d2003787909c4aa66eb3e0d174051fc07b50
5
5
  SHA512:
6
- metadata.gz: 7f9a829343a38818424098915d0091b1ac74332e36253934ac09313b3a19db73e945d4e378cc3e7093df7c89b260a425309516300b86c94c41bc1a1721bc16f6
7
- data.tar.gz: e532af51886dec935dc44e752f29a73bb4447e93954ea2775cb5912df088ebeda00e7b28d5c8bf8fe7387f7a3068d4ee3238838e1672c7292ea40418c0bebf7d
6
+ metadata.gz: 770593e96ccb13c5f939347b782772ff42030f8174da62ebc82fdf4611c24c8ee35a890a761c1cb9aecc1ff807c2cac207582cabca92cd031de6b0e958af8772
7
+ data.tar.gz: 7800e2f559db296bce77dcf734a92e229ac19a318e63007f1191d9ece7d26bf2ae91084ce48ab44b03a32381d7a0f7a67bd61ab5c420b74b4b8f087f4b2da82d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.794
1
+ 3.0.795
@@ -696,13 +696,16 @@ module TencentCloud
696
696
  # @param DeLogoTask: 视频内容分析去水印任务的查询结果,当任务类型为 DeLogo 时有效。
697
697
  # 注意:此字段可能返回 null,表示取不到有效值。
698
698
  # @type DeLogoTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDelLogoResult`
699
+ # @param HeadTailTask: 视频内容分析片头片尾任务的查询结果,当任务类型为 HeadTailRecognition 时有效。
700
+ # 注意:此字段可能返回 null,表示取不到有效值。
701
+ # @type HeadTailTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHeadTailResult`
699
702
  # @param DescriptionTask: 视频内容分析摘要任务的查询结果,当任务类型为 Description 时有效。
700
703
  # 注意:此字段可能返回 null,表示取不到有效值。
701
704
  # @type DescriptionTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDescriptionResult`
702
705
 
703
- attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :DescriptionTask
706
+ attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :HeadTailTask, :DescriptionTask
704
707
 
705
- def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, descriptiontask=nil)
708
+ def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, headtailtask=nil, descriptiontask=nil)
706
709
  @Type = type
707
710
  @ClassificationTask = classificationtask
708
711
  @CoverTask = covertask
@@ -710,6 +713,7 @@ module TencentCloud
710
713
  @FrameTagTask = frametagtask
711
714
  @HighlightTask = highlighttask
712
715
  @DeLogoTask = delogotask
716
+ @HeadTailTask = headtailtask
713
717
  @DescriptionTask = descriptiontask
714
718
  end
715
719
 
@@ -739,6 +743,10 @@ module TencentCloud
739
743
  @DeLogoTask = AiAnalysisTaskDelLogoResult.new
740
744
  @DeLogoTask.deserialize(params['DeLogoTask'])
741
745
  end
746
+ unless params['HeadTailTask'].nil?
747
+ @HeadTailTask = AiAnalysisTaskHeadTailResult.new
748
+ @HeadTailTask.deserialize(params['HeadTailTask'])
749
+ end
742
750
  unless params['DescriptionTask'].nil?
743
751
  @DescriptionTask = AiAnalysisTaskDescriptionResult.new
744
752
  @DescriptionTask.deserialize(params['DescriptionTask'])
@@ -1155,6 +1163,83 @@ module TencentCloud
1155
1163
  end
1156
1164
  end
1157
1165
 
1166
+ # 片头片尾任务输入类型
1167
+ class AiAnalysisTaskHeadTailInput < TencentCloud::Common::AbstractModel
1168
+ # @param Definition: 片头片尾识别模板 ID。
1169
+ # @type Definition: Integer
1170
+
1171
+ attr_accessor :Definition
1172
+
1173
+ def initialize(definition=nil)
1174
+ @Definition = definition
1175
+ end
1176
+
1177
+ def deserialize(params)
1178
+ @Definition = params['Definition']
1179
+ end
1180
+ end
1181
+
1182
+ # 片头片尾结果信息
1183
+ class AiAnalysisTaskHeadTailOutput < TencentCloud::Common::AbstractModel
1184
+ # @param HeadTimeOffset: 片头pts。
1185
+ # 注意:此字段可能返回 null,表示取不到有效值。
1186
+ # @type HeadTimeOffset: Float
1187
+ # @param TailTimeOffset: 片尾pts。
1188
+ # 注意:此字段可能返回 null,表示取不到有效值。
1189
+ # @type TailTimeOffset: Float
1190
+
1191
+ attr_accessor :HeadTimeOffset, :TailTimeOffset
1192
+
1193
+ def initialize(headtimeoffset=nil, tailtimeoffset=nil)
1194
+ @HeadTimeOffset = headtimeoffset
1195
+ @TailTimeOffset = tailtimeoffset
1196
+ end
1197
+
1198
+ def deserialize(params)
1199
+ @HeadTimeOffset = params['HeadTimeOffset']
1200
+ @TailTimeOffset = params['TailTimeOffset']
1201
+ end
1202
+ end
1203
+
1204
+ # 片头片尾结果类型
1205
+ class AiAnalysisTaskHeadTailResult < TencentCloud::Common::AbstractModel
1206
+ # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
1207
+ # @type Status: String
1208
+ # @param ErrCode: 错误码,0:成功,其他值:失败。
1209
+ # @type ErrCode: Integer
1210
+ # @param Message: 错误信息。
1211
+ # @type Message: String
1212
+ # @param Input: 片头片尾任务输入。
1213
+ # @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHeadTailInput`
1214
+ # @param Output: 片头片尾任务输出。
1215
+ # 注意:此字段可能返回 null,表示取不到有效值。
1216
+ # @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHeadTailOutput`
1217
+
1218
+ attr_accessor :Status, :ErrCode, :Message, :Input, :Output
1219
+
1220
+ def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
1221
+ @Status = status
1222
+ @ErrCode = errcode
1223
+ @Message = message
1224
+ @Input = input
1225
+ @Output = output
1226
+ end
1227
+
1228
+ def deserialize(params)
1229
+ @Status = params['Status']
1230
+ @ErrCode = params['ErrCode']
1231
+ @Message = params['Message']
1232
+ unless params['Input'].nil?
1233
+ @Input = AiAnalysisTaskHeadTailInput.new
1234
+ @Input.deserialize(params['Input'])
1235
+ end
1236
+ unless params['Output'].nil?
1237
+ @Output = AiAnalysisTaskHeadTailOutput.new
1238
+ @Output.deserialize(params['Output'])
1239
+ end
1240
+ end
1241
+ end
1242
+
1158
1243
  # 智能精彩片段任务输入类型
1159
1244
  class AiAnalysisTaskHighlightInput < TencentCloud::Common::AbstractModel
1160
1245
  # @param Definition: 视频智能精彩片段模板 ID。
@@ -1686,8 +1771,8 @@ module TencentCloud
1686
1771
 
1687
1772
  attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
1688
1773
  extend Gem::Deprecate
1689
- deprecate :OutputStorage, :none, 2024, 3
1690
- deprecate :OutputStorage=, :none, 2024, 3
1774
+ deprecate :OutputStorage, :none, 2024, 4
1775
+ deprecate :OutputStorage=, :none, 2024, 4
1691
1776
 
1692
1777
  def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
1693
1778
  @SegmentSet = segmentset
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.794
4
+ version: 3.0.795
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-31 00:00:00.000000000 Z
11
+ date: 2024-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common