tencentcloud-sdk-mps 3.0.841 → 3.0.843
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +100 -4
- 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: cebe974e92176ead2204998098e79440bdb1b3c2
|
4
|
+
data.tar.gz: 045e3b8c2e0e4c9dade70acf4f20382d2a47993b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad83f1edfc9c925c84b275e4b56134a24578f6dde77d32d263cce8804224c1b2d2a8515e8b268054352d711ef5f443fb7de1dc9c472bfbe036d5d4e96a4ae355
|
7
|
+
data.tar.gz: e162b734fae4e6aab42a883bb43eb15b4574e2ea8edbd7117aeb63ee88f491fbd6c004b2d1cead2c24da2ff9efdb8afe9d5f788263a0d87e3161d3c668b42eaf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.843
|
data/lib/v20190612/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.843
|
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-
|
11
|
+
date: 2024-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|