tencentcloud-sdk-mps 3.0.842 → 3.0.844

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +100 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 545881083d8ec6045a4638c88bc09664b860b218
4
- data.tar.gz: dab481e53ad9af70e952544de7037eb0ebbac23c
3
+ metadata.gz: ca6498df907b711b195706dae616a598fdb8534e
4
+ data.tar.gz: 743bbd1f3dc47e62f154dfc6bb2dc84859616f89
5
5
  SHA512:
6
- metadata.gz: 2a9106e1af0b538df4425997a88c58e4f237ebb0aa77afa38f8f2179c82d8e0ed4a20e79790c95d1b0b4a2d2859a5fe74ab3c4e3d72f01e6960eb2e8bd697fab
7
- data.tar.gz: 720923c06c55458ef20a49274a6d2725e77e3e9c68f7c5f679e1c1c9daa35cafa70e621e376534eeb50d0b27876b5d0b5a975d7a4dc26dfcba1d18a3d46c8627
6
+ metadata.gz: 7ba04d869975157ec383074bf2ae0771bf63cf5d841535a3358f11aca0af1e77b381cb4aefcd301fe724657f10befad08d63dbd1bd2741f122b1d3eb591210f8
7
+ data.tar.gz: 4c66c3a464fc445c0cec3e8e48b818e482118ce9e5d3d9170e8ea1e497a992110fa3bcb650ebddb80693f832e1c6ac3a01eff169d5dd538e8d032b9e3dbe4ad6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.842
1
+ 3.0.844
@@ -711,6 +711,9 @@ module TencentCloud
711
711
  # @param DeLogoTask: 视频内容分析智能擦除任务的查询结果,当任务类型为 DeLogo 时有效。
712
712
  # 注意:此字段可能返回 null,表示取不到有效值。
713
713
  # @type DeLogoTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDelLogoResult`
714
+ # @param SegmentTask: 视频内容分析拆条任务的查询结果,当任务类型为 SegmentRecognition 时有效。
715
+ # 注意:此字段可能返回 null,表示取不到有效值。
716
+ # @type SegmentTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskSegmentResult`
714
717
  # @param HeadTailTask: 视频内容分析片头片尾任务的查询结果,当任务类型为 HeadTailRecognition 时有效。
715
718
  # 注意:此字段可能返回 null,表示取不到有效值。
716
719
  # @type HeadTailTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHeadTailResult`
@@ -718,9 +721,9 @@ module TencentCloud
718
721
  # 注意:此字段可能返回 null,表示取不到有效值。
719
722
  # @type DescriptionTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDescriptionResult`
720
723
 
721
- attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :HeadTailTask, :DescriptionTask
724
+ attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask
722
725
 
723
- def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, headtailtask=nil, descriptiontask=nil)
726
+ def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, segmenttask=nil, headtailtask=nil, descriptiontask=nil)
724
727
  @Type = type
725
728
  @ClassificationTask = classificationtask
726
729
  @CoverTask = covertask
@@ -728,6 +731,7 @@ module TencentCloud
728
731
  @FrameTagTask = frametagtask
729
732
  @HighlightTask = highlighttask
730
733
  @DeLogoTask = delogotask
734
+ @SegmentTask = segmenttask
731
735
  @HeadTailTask = headtailtask
732
736
  @DescriptionTask = descriptiontask
733
737
  end
@@ -758,6 +762,10 @@ module TencentCloud
758
762
  @DeLogoTask = AiAnalysisTaskDelLogoResult.new
759
763
  @DeLogoTask.deserialize(params['DeLogoTask'])
760
764
  end
765
+ unless params['SegmentTask'].nil?
766
+ @SegmentTask = AiAnalysisTaskSegmentResult.new
767
+ @SegmentTask.deserialize(params['SegmentTask'])
768
+ end
761
769
  unless params['HeadTailTask'].nil?
762
770
  @HeadTailTask = AiAnalysisTaskHeadTailResult.new
763
771
  @HeadTailTask.deserialize(params['HeadTailTask'])
@@ -1363,6 +1371,84 @@ module TencentCloud
1363
1371
  end
1364
1372
  end
1365
1373
 
1374
+ # 拆条任务输入类型
1375
+ class AiAnalysisTaskSegmentInput < TencentCloud::Common::AbstractModel
1376
+ # @param Definition: 拆条任务模板 ID。
1377
+ # @type Definition: Integer
1378
+
1379
+ attr_accessor :Definition
1380
+
1381
+ def initialize(definition=nil)
1382
+ @Definition = definition
1383
+ end
1384
+
1385
+ def deserialize(params)
1386
+ @Definition = params['Definition']
1387
+ end
1388
+ end
1389
+
1390
+ # 智能拆条结果信息
1391
+ class AiAnalysisTaskSegmentOutput < TencentCloud::Common::AbstractModel
1392
+ # @param SegmentSet: 智能拆条子片段列表。
1393
+ # @type SegmentSet: Array
1394
+
1395
+ attr_accessor :SegmentSet
1396
+
1397
+ def initialize(segmentset=nil)
1398
+ @SegmentSet = segmentset
1399
+ end
1400
+
1401
+ def deserialize(params)
1402
+ unless params['SegmentSet'].nil?
1403
+ @SegmentSet = []
1404
+ params['SegmentSet'].each do |i|
1405
+ segmentrecognitionitem_tmp = SegmentRecognitionItem.new
1406
+ segmentrecognitionitem_tmp.deserialize(i)
1407
+ @SegmentSet << segmentrecognitionitem_tmp
1408
+ end
1409
+ end
1410
+ end
1411
+ end
1412
+
1413
+ # 拆条结果类型
1414
+ class AiAnalysisTaskSegmentResult < TencentCloud::Common::AbstractModel
1415
+ # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
1416
+ # @type Status: String
1417
+ # @param ErrCode: 错误码,0:成功,其他值:失败。
1418
+ # @type ErrCode: Integer
1419
+ # @param Message: 错误信息。
1420
+ # @type Message: String
1421
+ # @param Input: 拆条任务输入。
1422
+ # @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskSegmentInput`
1423
+ # @param Output: 拆条任务输出。
1424
+ # 注意:此字段可能返回 null,表示取不到有效值。
1425
+ # @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskSegmentOutput`
1426
+
1427
+ attr_accessor :Status, :ErrCode, :Message, :Input, :Output
1428
+
1429
+ def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
1430
+ @Status = status
1431
+ @ErrCode = errcode
1432
+ @Message = message
1433
+ @Input = input
1434
+ @Output = output
1435
+ end
1436
+
1437
+ def deserialize(params)
1438
+ @Status = params['Status']
1439
+ @ErrCode = params['ErrCode']
1440
+ @Message = params['Message']
1441
+ unless params['Input'].nil?
1442
+ @Input = AiAnalysisTaskSegmentInput.new
1443
+ @Input.deserialize(params['Input'])
1444
+ end
1445
+ unless params['Output'].nil?
1446
+ @Output = AiAnalysisTaskSegmentOutput.new
1447
+ @Output.deserialize(params['Output'])
1448
+ end
1449
+ end
1450
+ end
1451
+
1366
1452
  # 智能标签任务输入类型
1367
1453
  class AiAnalysisTaskTagInput < TencentCloud::Common::AbstractModel
1368
1454
  # @param Definition: 视频智能标签模板 ID。
@@ -18652,14 +18738,22 @@ module TencentCloud
18652
18738
  # @param SegmentUrl: 拆条片段URL。
18653
18739
  # 注意:此字段可能返回 null,表示取不到有效值。
18654
18740
  # @type SegmentUrl: String
18741
+ # @param Title: 分段标题。
18742
+ # 注意:此字段可能返回 null,表示取不到有效值。
18743
+ # @type Title: String
18744
+ # @param Summary: 分段概要。
18745
+ # 注意:此字段可能返回 null,表示取不到有效值。
18746
+ # @type Summary: String
18655
18747
 
18656
- attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :SegmentUrl
18748
+ attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :SegmentUrl, :Title, :Summary
18657
18749
 
18658
- def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, segmenturl=nil)
18750
+ def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, segmenturl=nil, title=nil, summary=nil)
18659
18751
  @Confidence = confidence
18660
18752
  @StartTimeOffset = starttimeoffset
18661
18753
  @EndTimeOffset = endtimeoffset
18662
18754
  @SegmentUrl = segmenturl
18755
+ @Title = title
18756
+ @Summary = summary
18663
18757
  end
18664
18758
 
18665
18759
  def deserialize(params)
@@ -18667,6 +18761,8 @@ module TencentCloud
18667
18761
  @StartTimeOffset = params['StartTimeOffset']
18668
18762
  @EndTimeOffset = params['EndTimeOffset']
18669
18763
  @SegmentUrl = params['SegmentUrl']
18764
+ @Title = params['Title']
18765
+ @Summary = params['Summary']
18670
18766
  end
18671
18767
  end
18672
18768
 
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.842
4
+ version: 3.0.844
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-06-12 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common