tencentcloud-sdk-mps 3.0.903 → 3.0.904
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 +113 -10
- 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: 0521f86b2736caf40e7662d68c2aeb7824132d7d
|
4
|
+
data.tar.gz: f6afd922b0347197a75cf0c5aea62fa99ce469cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a050e18d20e4d8020b077b3424d68e8ac3c9491dcd371dd28aa511a6ecb0dfa5d262124d1b72f5c2b9f43e5a6f7de7a2d0e81034f800cecd9554e97c5d04c3e
|
7
|
+
data.tar.gz: 6b3de1f882c0de68b486b2cd6262055128844a479ec3ae9b8b9d7e4cd33f2e28ba8d6f6edf3c03bcf0c87bf1bf0252eafcf64fc3541efa4a3406c5a07b327e69
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.904
|
data/lib/v20190612/models.rb
CHANGED
@@ -752,10 +752,13 @@ module TencentCloud
|
|
752
752
|
# @param DescriptionTask: 视频内容分析摘要任务的查询结果,当任务类型为 Description 时有效。
|
753
753
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
754
754
|
# @type DescriptionTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskDescriptionResult`
|
755
|
+
# @param HorizontalToVerticalTask: 视频内容分析横转竖任务的查询结果,当任务类型为 HorizontalToVertical 时有效。
|
756
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
757
|
+
# @type HorizontalToVerticalTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHorizontalToVerticalResult`
|
755
758
|
|
756
|
-
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask
|
759
|
+
attr_accessor :Type, :ClassificationTask, :CoverTask, :TagTask, :FrameTagTask, :HighlightTask, :DeLogoTask, :SegmentTask, :HeadTailTask, :DescriptionTask, :HorizontalToVerticalTask
|
757
760
|
|
758
|
-
def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, segmenttask=nil, headtailtask=nil, descriptiontask=nil)
|
761
|
+
def initialize(type=nil, classificationtask=nil, covertask=nil, tagtask=nil, frametagtask=nil, highlighttask=nil, delogotask=nil, segmenttask=nil, headtailtask=nil, descriptiontask=nil, horizontaltoverticaltask=nil)
|
759
762
|
@Type = type
|
760
763
|
@ClassificationTask = classificationtask
|
761
764
|
@CoverTask = covertask
|
@@ -766,6 +769,7 @@ module TencentCloud
|
|
766
769
|
@SegmentTask = segmenttask
|
767
770
|
@HeadTailTask = headtailtask
|
768
771
|
@DescriptionTask = descriptiontask
|
772
|
+
@HorizontalToVerticalTask = horizontaltoverticaltask
|
769
773
|
end
|
770
774
|
|
771
775
|
def deserialize(params)
|
@@ -806,6 +810,10 @@ module TencentCloud
|
|
806
810
|
@DescriptionTask = AiAnalysisTaskDescriptionResult.new
|
807
811
|
@DescriptionTask.deserialize(params['DescriptionTask'])
|
808
812
|
end
|
813
|
+
unless params['HorizontalToVerticalTask'].nil?
|
814
|
+
@HorizontalToVerticalTask = AiAnalysisTaskHorizontalToVerticalResult.new
|
815
|
+
@HorizontalToVerticalTask.deserialize(params['HorizontalToVerticalTask'])
|
816
|
+
end
|
809
817
|
end
|
810
818
|
end
|
811
819
|
|
@@ -1391,6 +1399,96 @@ module TencentCloud
|
|
1391
1399
|
end
|
1392
1400
|
end
|
1393
1401
|
|
1402
|
+
# 智能横转竖任务输入类型
|
1403
|
+
class AiAnalysisTaskHorizontalToVerticalInput < TencentCloud::Common::AbstractModel
|
1404
|
+
# @param Definition: 视频智能横转竖模板 ID
|
1405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1406
|
+
# @type Definition: Integer
|
1407
|
+
|
1408
|
+
attr_accessor :Definition
|
1409
|
+
|
1410
|
+
def initialize(definition=nil)
|
1411
|
+
@Definition = definition
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
def deserialize(params)
|
1415
|
+
@Definition = params['Definition']
|
1416
|
+
end
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
# 智能横转竖结果信息
|
1420
|
+
class AiAnalysisTaskHorizontalToVerticalOutput < TencentCloud::Common::AbstractModel
|
1421
|
+
# @param Path: 视频智能横转竖列表
|
1422
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1423
|
+
# @type Path: String
|
1424
|
+
# @param OutputStorage: 智能横转竖视频的存储位置
|
1425
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1426
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
1427
|
+
# @param Confidence: 置信度。
|
1428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1429
|
+
# @type Confidence: Float
|
1430
|
+
|
1431
|
+
attr_accessor :Path, :OutputStorage, :Confidence
|
1432
|
+
|
1433
|
+
def initialize(path=nil, outputstorage=nil, confidence=nil)
|
1434
|
+
@Path = path
|
1435
|
+
@OutputStorage = outputstorage
|
1436
|
+
@Confidence = confidence
|
1437
|
+
end
|
1438
|
+
|
1439
|
+
def deserialize(params)
|
1440
|
+
@Path = params['Path']
|
1441
|
+
unless params['OutputStorage'].nil?
|
1442
|
+
@OutputStorage = TaskOutputStorage.new
|
1443
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
1444
|
+
end
|
1445
|
+
@Confidence = params['Confidence']
|
1446
|
+
end
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# 智能横转竖结果类型
|
1450
|
+
class AiAnalysisTaskHorizontalToVerticalResult < TencentCloud::Common::AbstractModel
|
1451
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种
|
1452
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1453
|
+
# @type Status: String
|
1454
|
+
# @param ErrCode: 错误码,0:成功,其他值:失败
|
1455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1456
|
+
# @type ErrCode: Integer
|
1457
|
+
# @param Message: 错误信息
|
1458
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1459
|
+
# @type Message: String
|
1460
|
+
# @param Input: 智能横转竖任务输入
|
1461
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1462
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHorizontalToVerticalInput`
|
1463
|
+
# @param Output: 智能横转竖任务输出
|
1464
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1465
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskHorizontalToVerticalOutput`
|
1466
|
+
|
1467
|
+
attr_accessor :Status, :ErrCode, :Message, :Input, :Output
|
1468
|
+
|
1469
|
+
def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
|
1470
|
+
@Status = status
|
1471
|
+
@ErrCode = errcode
|
1472
|
+
@Message = message
|
1473
|
+
@Input = input
|
1474
|
+
@Output = output
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
def deserialize(params)
|
1478
|
+
@Status = params['Status']
|
1479
|
+
@ErrCode = params['ErrCode']
|
1480
|
+
@Message = params['Message']
|
1481
|
+
unless params['Input'].nil?
|
1482
|
+
@Input = AiAnalysisTaskHorizontalToVerticalInput.new
|
1483
|
+
@Input.deserialize(params['Input'])
|
1484
|
+
end
|
1485
|
+
unless params['Output'].nil?
|
1486
|
+
@Output = AiAnalysisTaskHorizontalToVerticalOutput.new
|
1487
|
+
@Output.deserialize(params['Output'])
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
end
|
1491
|
+
|
1394
1492
|
# AI 视频智能分析输入参数类型
|
1395
1493
|
class AiAnalysisTaskInput < TencentCloud::Common::AbstractModel
|
1396
1494
|
# @param Definition: 视频内容分析模板 ID。
|
@@ -1919,8 +2017,8 @@ module TencentCloud
|
|
1919
2017
|
|
1920
2018
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
1921
2019
|
extend Gem::Deprecate
|
1922
|
-
deprecate :OutputStorage, :none, 2024,
|
1923
|
-
deprecate :OutputStorage=, :none, 2024,
|
2020
|
+
deprecate :OutputStorage, :none, 2024, 9
|
2021
|
+
deprecate :OutputStorage=, :none, 2024, 9
|
1924
2022
|
|
1925
2023
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
1926
2024
|
@SegmentSet = segmentset
|
@@ -12362,19 +12460,24 @@ module TencentCloud
|
|
12362
12460
|
# @type StartTimeOffset: Float
|
12363
12461
|
# @param EndTimeOffset: 片段结束时间偏移。
|
12364
12462
|
# @type EndTimeOffset: Float
|
12463
|
+
# @param SegmentTags: 片段标签
|
12464
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12465
|
+
# @type SegmentTags: Array
|
12365
12466
|
|
12366
|
-
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset
|
12467
|
+
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :SegmentTags
|
12367
12468
|
|
12368
|
-
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil)
|
12469
|
+
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, segmenttags=nil)
|
12369
12470
|
@Confidence = confidence
|
12370
12471
|
@StartTimeOffset = starttimeoffset
|
12371
12472
|
@EndTimeOffset = endtimeoffset
|
12473
|
+
@SegmentTags = segmenttags
|
12372
12474
|
end
|
12373
12475
|
|
12374
12476
|
def deserialize(params)
|
12375
12477
|
@Confidence = params['Confidence']
|
12376
12478
|
@StartTimeOffset = params['StartTimeOffset']
|
12377
12479
|
@EndTimeOffset = params['EndTimeOffset']
|
12480
|
+
@SegmentTags = params['SegmentTags']
|
12378
12481
|
end
|
12379
12482
|
end
|
12380
12483
|
|
@@ -13003,10 +13106,10 @@ module TencentCloud
|
|
13003
13106
|
|
13004
13107
|
attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
|
13005
13108
|
extend Gem::Deprecate
|
13006
|
-
deprecate :QualityControlResults, :none, 2024,
|
13007
|
-
deprecate :QualityControlResults=, :none, 2024,
|
13008
|
-
deprecate :DiagnoseResults, :none, 2024,
|
13009
|
-
deprecate :DiagnoseResults=, :none, 2024,
|
13109
|
+
deprecate :QualityControlResults, :none, 2024, 9
|
13110
|
+
deprecate :QualityControlResults=, :none, 2024, 9
|
13111
|
+
deprecate :DiagnoseResults, :none, 2024, 9
|
13112
|
+
deprecate :DiagnoseResults=, :none, 2024, 9
|
13010
13113
|
|
13011
13114
|
def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
|
13012
13115
|
@QualityControlResults = qualitycontrolresults
|
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.904
|
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-09-
|
11
|
+
date: 2024-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|