tencentcloud-sdk-mps 3.0.1169 → 3.0.1170
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 +88 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0eb8e3dd1183ada1305dc82902038d5e541cf2a1
|
|
4
|
+
data.tar.gz: 36ce08b63fd23056d9bd699082786254c6885d42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0ce44f2c841e30bf45f5b4160f1b948fd1b32c5f48009bfcb67c625e11bab7e467196fa6f718a1ba05c501121d9a70580cefd9591de128a06b5526f9844619d
|
|
7
|
+
data.tar.gz: a92bfa29e0d990cc19460933e9ab2ec0dc36365bc806c3efc7f1a3f1e946df6775766776dd677f9f18c654d027f13ab033978b64e447a4e74fce017f4309050c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1170
|
data/lib/v20190612/models.rb
CHANGED
|
@@ -12436,16 +12436,22 @@ module TencentCloud
|
|
|
12436
12436
|
# * Preset:系统预置模板;
|
|
12437
12437
|
# * Custom:用户自定义模板。
|
|
12438
12438
|
# @type Type: String
|
|
12439
|
+
# @param EraseType: 智能擦除模板擦除类型过滤条件。
|
|
12440
|
+
# - subtitle 去字幕
|
|
12441
|
+
# - watermark 去水印
|
|
12442
|
+
# - privacy 隐私保护
|
|
12443
|
+
# @type EraseType: String
|
|
12439
12444
|
# @param Name: 智能擦除模板名过滤条件,长度限制:64 个字符。
|
|
12440
12445
|
# @type Name: String
|
|
12441
12446
|
|
|
12442
|
-
attr_accessor :Definitions, :Offset, :Limit, :Type, :Name
|
|
12447
|
+
attr_accessor :Definitions, :Offset, :Limit, :Type, :EraseType, :Name
|
|
12443
12448
|
|
|
12444
|
-
def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil)
|
|
12449
|
+
def initialize(definitions=nil, offset=nil, limit=nil, type=nil, erasetype=nil, name=nil)
|
|
12445
12450
|
@Definitions = definitions
|
|
12446
12451
|
@Offset = offset
|
|
12447
12452
|
@Limit = limit
|
|
12448
12453
|
@Type = type
|
|
12454
|
+
@EraseType = erasetype
|
|
12449
12455
|
@Name = name
|
|
12450
12456
|
end
|
|
12451
12457
|
|
|
@@ -12454,6 +12460,7 @@ module TencentCloud
|
|
|
12454
12460
|
@Offset = params['Offset']
|
|
12455
12461
|
@Limit = params['Limit']
|
|
12456
12462
|
@Type = params['Type']
|
|
12463
|
+
@EraseType = params['EraseType']
|
|
12457
12464
|
@Name = params['Name']
|
|
12458
12465
|
end
|
|
12459
12466
|
end
|
|
@@ -16650,6 +16657,70 @@ module TencentCloud
|
|
|
16650
16657
|
end
|
|
16651
16658
|
end
|
|
16652
16659
|
|
|
16660
|
+
# 直播摘要结果信息。
|
|
16661
|
+
class LiveAiAnalysisDescriptionItem < TencentCloud::Common::AbstractModel
|
|
16662
|
+
# @param Paragraphs: 分段结果。
|
|
16663
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16664
|
+
# @type Paragraphs: Array
|
|
16665
|
+
|
|
16666
|
+
attr_accessor :Paragraphs
|
|
16667
|
+
|
|
16668
|
+
def initialize(paragraphs=nil)
|
|
16669
|
+
@Paragraphs = paragraphs
|
|
16670
|
+
end
|
|
16671
|
+
|
|
16672
|
+
def deserialize(params)
|
|
16673
|
+
unless params['Paragraphs'].nil?
|
|
16674
|
+
@Paragraphs = []
|
|
16675
|
+
params['Paragraphs'].each do |i|
|
|
16676
|
+
liveaiparagraphinfo_tmp = LiveAiParagraphInfo.new
|
|
16677
|
+
liveaiparagraphinfo_tmp.deserialize(i)
|
|
16678
|
+
@Paragraphs << liveaiparagraphinfo_tmp
|
|
16679
|
+
end
|
|
16680
|
+
end
|
|
16681
|
+
end
|
|
16682
|
+
end
|
|
16683
|
+
|
|
16684
|
+
# 分段信息。
|
|
16685
|
+
class LiveAiParagraphInfo < TencentCloud::Common::AbstractModel
|
|
16686
|
+
# @param Summary: 分段摘要
|
|
16687
|
+
# @type Summary: String
|
|
16688
|
+
# @param Title: 分段标题
|
|
16689
|
+
# @type Title: String
|
|
16690
|
+
# @param Keywords: 分段关键词
|
|
16691
|
+
# @type Keywords: Array
|
|
16692
|
+
# @param StartTimeOffset: 分段起始时间点,秒
|
|
16693
|
+
# @type StartTimeOffset: Float
|
|
16694
|
+
# @param EndTimeOffset: 分段结束时间点,秒
|
|
16695
|
+
# @type EndTimeOffset: Float
|
|
16696
|
+
# @param BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
|
|
16697
|
+
# @type BeginTime: String
|
|
16698
|
+
# @param EndTime: 直播切片对应直播结束时间点,采用 ISO 日期格式。
|
|
16699
|
+
# @type EndTime: String
|
|
16700
|
+
|
|
16701
|
+
attr_accessor :Summary, :Title, :Keywords, :StartTimeOffset, :EndTimeOffset, :BeginTime, :EndTime
|
|
16702
|
+
|
|
16703
|
+
def initialize(summary=nil, title=nil, keywords=nil, starttimeoffset=nil, endtimeoffset=nil, begintime=nil, endtime=nil)
|
|
16704
|
+
@Summary = summary
|
|
16705
|
+
@Title = title
|
|
16706
|
+
@Keywords = keywords
|
|
16707
|
+
@StartTimeOffset = starttimeoffset
|
|
16708
|
+
@EndTimeOffset = endtimeoffset
|
|
16709
|
+
@BeginTime = begintime
|
|
16710
|
+
@EndTime = endtime
|
|
16711
|
+
end
|
|
16712
|
+
|
|
16713
|
+
def deserialize(params)
|
|
16714
|
+
@Summary = params['Summary']
|
|
16715
|
+
@Title = params['Title']
|
|
16716
|
+
@Keywords = params['Keywords']
|
|
16717
|
+
@StartTimeOffset = params['StartTimeOffset']
|
|
16718
|
+
@EndTimeOffset = params['EndTimeOffset']
|
|
16719
|
+
@BeginTime = params['BeginTime']
|
|
16720
|
+
@EndTime = params['EndTime']
|
|
16721
|
+
end
|
|
16722
|
+
end
|
|
16723
|
+
|
|
16653
16724
|
# 直播录制输出文件信息
|
|
16654
16725
|
class LiveRecordFile < TencentCloud::Common::AbstractModel
|
|
16655
16726
|
# @param Url: 直播录制文件地址
|
|
@@ -16909,7 +16980,10 @@ module TencentCloud
|
|
|
16909
16980
|
|
|
16910
16981
|
# 直播流分析结果
|
|
16911
16982
|
class LiveStreamAiAnalysisResultInfo < TencentCloud::Common::AbstractModel
|
|
16912
|
-
# @param ResultSet:
|
|
16983
|
+
# @param ResultSet: 直播分析子任务结果,支持:
|
|
16984
|
+
# <li>直播拆条</li>
|
|
16985
|
+
# <li>直播高光集锦</li>
|
|
16986
|
+
# <li>直播摘要</li>
|
|
16913
16987
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16914
16988
|
# @type ResultSet: Array
|
|
16915
16989
|
|
|
@@ -16936,6 +17010,7 @@ module TencentCloud
|
|
|
16936
17010
|
# @param Type: 结果的类型,取值范围:
|
|
16937
17011
|
# <li>SegmentRecognition:拆条。</li>
|
|
16938
17012
|
# <li>Highlight :集锦。</li>
|
|
17013
|
+
# <li> Description:摘要。</li>
|
|
16939
17014
|
# @type Type: String
|
|
16940
17015
|
# @param SegmentResultSet: 拆条结果,当 Type 为
|
|
16941
17016
|
# SegmentRecognition 时有效。
|
|
@@ -16944,13 +17019,16 @@ module TencentCloud
|
|
|
16944
17019
|
# @param HighlightResultSet: 集锦结果,当Type 为 Highlight 时有效。
|
|
16945
17020
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16946
17021
|
# @type HighlightResultSet: Array
|
|
17022
|
+
# @param DescriptionResult: 摘要结果,当Type 为 Description 时有效。
|
|
17023
|
+
# @type DescriptionResult: :class:`Tencentcloud::Mps.v20190612.models.LiveAiAnalysisDescriptionItem`
|
|
16947
17024
|
|
|
16948
|
-
attr_accessor :Type, :SegmentResultSet, :HighlightResultSet
|
|
17025
|
+
attr_accessor :Type, :SegmentResultSet, :HighlightResultSet, :DescriptionResult
|
|
16949
17026
|
|
|
16950
|
-
def initialize(type=nil, segmentresultset=nil, highlightresultset=nil)
|
|
17027
|
+
def initialize(type=nil, segmentresultset=nil, highlightresultset=nil, descriptionresult=nil)
|
|
16951
17028
|
@Type = type
|
|
16952
17029
|
@SegmentResultSet = segmentresultset
|
|
16953
17030
|
@HighlightResultSet = highlightresultset
|
|
17031
|
+
@DescriptionResult = descriptionresult
|
|
16954
17032
|
end
|
|
16955
17033
|
|
|
16956
17034
|
def deserialize(params)
|
|
@@ -16971,6 +17049,10 @@ module TencentCloud
|
|
|
16971
17049
|
@HighlightResultSet << mediaaianalysishighlightitem_tmp
|
|
16972
17050
|
end
|
|
16973
17051
|
end
|
|
17052
|
+
unless params['DescriptionResult'].nil?
|
|
17053
|
+
@DescriptionResult = LiveAiAnalysisDescriptionItem.new
|
|
17054
|
+
@DescriptionResult.deserialize(params['DescriptionResult'])
|
|
17055
|
+
end
|
|
16974
17056
|
end
|
|
16975
17057
|
end
|
|
16976
17058
|
|
|
@@ -21581,6 +21663,7 @@ module TencentCloud
|
|
|
21581
21663
|
# <li>AiRecognitionResult:内容识别结果;</li>
|
|
21582
21664
|
# <li>LiveRecordResult:直播录制结果;</li>
|
|
21583
21665
|
# <li>AiQualityControlResult:媒体质检结果;</li>
|
|
21666
|
+
# <li>AiAnalysisResult:内容分析结果;</li>
|
|
21584
21667
|
# <li>ProcessEof:直播流处理结束。</li>
|
|
21585
21668
|
# @type NotificationType: String
|
|
21586
21669
|
# @param TaskId: 视频处理任务 ID。
|