tencentcloud-sdk-mps 3.0.441 → 3.0.443
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 +230 -18
- 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: eb6a3b2da670f94d021ed33e0f21e81f2b087ffb
|
4
|
+
data.tar.gz: f8126095386ee0fb35cba7cf692882cf3d60d551
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e2f08b94f5b118f08948edf2026074a4c81307155535fb031e238682c8d86cee094ab57d37a853c9d5d6e9931bdfabbca7c620599a49cd66932a6536c3e41ce
|
7
|
+
data.tar.gz: 3bd95240acc17fc7579a5dbfc899911aff524c3f2794d195eae3de25b9815f5c2ee92c19bf38e8bbd01a9beb760608f236115a16ebfb6ac2fa26986662e30f8e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.443
|
data/lib/v20190612/models.rb
CHANGED
@@ -1021,6 +1021,7 @@ module TencentCloud
|
|
1021
1021
|
# <li>OcrWordsRecognition:文本关键词识别,</li>
|
1022
1022
|
# <li>AsrFullTextRecognition:语音全文识别,</li>
|
1023
1023
|
# <li>OcrFullTextRecognition:文本全文识别。</li>
|
1024
|
+
# <li>TransTextRecognition:语音翻译。</li>
|
1024
1025
|
# @type Type: String
|
1025
1026
|
# @param FaceTask: 人脸识别结果,当 Type 为
|
1026
1027
|
# FaceRecognition 时有效。
|
@@ -1042,16 +1043,21 @@ module TencentCloud
|
|
1042
1043
|
# OcrFullTextRecognition 时有效。
|
1043
1044
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1044
1045
|
# @type OcrFullTextTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskOcrFullTextResult`
|
1046
|
+
# @param TransTextTask: 翻译结果,当 Type 为
|
1047
|
+
# TransTextRecognition 时有效。
|
1048
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1049
|
+
# @type TransTextTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskTransTextResult`
|
1045
1050
|
|
1046
|
-
attr_accessor :Type, :FaceTask, :AsrWordsTask, :AsrFullTextTask, :OcrWordsTask, :OcrFullTextTask
|
1051
|
+
attr_accessor :Type, :FaceTask, :AsrWordsTask, :AsrFullTextTask, :OcrWordsTask, :OcrFullTextTask, :TransTextTask
|
1047
1052
|
|
1048
|
-
def initialize(type=nil, facetask=nil, asrwordstask=nil, asrfulltexttask=nil, ocrwordstask=nil, ocrfulltexttask=nil)
|
1053
|
+
def initialize(type=nil, facetask=nil, asrwordstask=nil, asrfulltexttask=nil, ocrwordstask=nil, ocrfulltexttask=nil, transtexttask=nil)
|
1049
1054
|
@Type = type
|
1050
1055
|
@FaceTask = facetask
|
1051
1056
|
@AsrWordsTask = asrwordstask
|
1052
1057
|
@AsrFullTextTask = asrfulltexttask
|
1053
1058
|
@OcrWordsTask = ocrwordstask
|
1054
1059
|
@OcrFullTextTask = ocrfulltexttask
|
1060
|
+
@TransTextTask = transtexttask
|
1055
1061
|
end
|
1056
1062
|
|
1057
1063
|
def deserialize(params)
|
@@ -1076,6 +1082,10 @@ module TencentCloud
|
|
1076
1082
|
@OcrFullTextTask = AiRecognitionTaskOcrFullTextResult.new
|
1077
1083
|
@OcrFullTextTask.deserialize(params['OcrFullTextTask'])
|
1078
1084
|
end
|
1085
|
+
unless params['TransTextTask'].nil?
|
1086
|
+
@TransTextTask = AiRecognitionTaskTransTextResult.new
|
1087
|
+
@TransTextTask.deserialize(params['TransTextTask'])
|
1088
|
+
end
|
1079
1089
|
end
|
1080
1090
|
end
|
1081
1091
|
|
@@ -1821,6 +1831,131 @@ module TencentCloud
|
|
1821
1831
|
end
|
1822
1832
|
end
|
1823
1833
|
|
1834
|
+
# 翻译结果。
|
1835
|
+
class AiRecognitionTaskTransTextResult < TencentCloud::Common::AbstractModel
|
1836
|
+
# @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
1837
|
+
# @type Status: String
|
1838
|
+
# @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
1839
|
+
# @type ErrCodeExt: String
|
1840
|
+
# @param ErrCode: 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
|
1841
|
+
# @type ErrCode: Integer
|
1842
|
+
# @param Message: 错误信息。
|
1843
|
+
# @type Message: String
|
1844
|
+
# @param Input: 翻译任务输入信息。
|
1845
|
+
# @type Input: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskTransTextResultInput`
|
1846
|
+
# @param Output: 翻译任务输出信息。
|
1847
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1848
|
+
# @type Output: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskTransTextResultOutput`
|
1849
|
+
|
1850
|
+
attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output
|
1851
|
+
|
1852
|
+
def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil)
|
1853
|
+
@Status = status
|
1854
|
+
@ErrCodeExt = errcodeext
|
1855
|
+
@ErrCode = errcode
|
1856
|
+
@Message = message
|
1857
|
+
@Input = input
|
1858
|
+
@Output = output
|
1859
|
+
end
|
1860
|
+
|
1861
|
+
def deserialize(params)
|
1862
|
+
@Status = params['Status']
|
1863
|
+
@ErrCodeExt = params['ErrCodeExt']
|
1864
|
+
@ErrCode = params['ErrCode']
|
1865
|
+
@Message = params['Message']
|
1866
|
+
unless params['Input'].nil?
|
1867
|
+
@Input = AiRecognitionTaskTransTextResultInput.new
|
1868
|
+
@Input.deserialize(params['Input'])
|
1869
|
+
end
|
1870
|
+
unless params['Output'].nil?
|
1871
|
+
@Output = AiRecognitionTaskTransTextResultOutput.new
|
1872
|
+
@Output.deserialize(params['Output'])
|
1873
|
+
end
|
1874
|
+
end
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
# 翻译的输入。
|
1878
|
+
class AiRecognitionTaskTransTextResultInput < TencentCloud::Common::AbstractModel
|
1879
|
+
# @param Definition: 翻译模板 ID。
|
1880
|
+
# @type Definition: Integer
|
1881
|
+
|
1882
|
+
attr_accessor :Definition
|
1883
|
+
|
1884
|
+
def initialize(definition=nil)
|
1885
|
+
@Definition = definition
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
def deserialize(params)
|
1889
|
+
@Definition = params['Definition']
|
1890
|
+
end
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
# 翻译结果。
|
1894
|
+
class AiRecognitionTaskTransTextResultOutput < TencentCloud::Common::AbstractModel
|
1895
|
+
# @param SegmentSet: 翻译片段列表。
|
1896
|
+
# @type SegmentSet: Array
|
1897
|
+
# @param SubtitlePath: 字幕文件地址。
|
1898
|
+
# @type SubtitlePath: String
|
1899
|
+
# @param OutputStorage: 字幕文件存储位置。
|
1900
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
1901
|
+
|
1902
|
+
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
1903
|
+
|
1904
|
+
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
1905
|
+
@SegmentSet = segmentset
|
1906
|
+
@SubtitlePath = subtitlepath
|
1907
|
+
@OutputStorage = outputstorage
|
1908
|
+
end
|
1909
|
+
|
1910
|
+
def deserialize(params)
|
1911
|
+
unless params['SegmentSet'].nil?
|
1912
|
+
@SegmentSet = []
|
1913
|
+
params['SegmentSet'].each do |i|
|
1914
|
+
airecognitiontasktranstextsegmentitem_tmp = AiRecognitionTaskTransTextSegmentItem.new
|
1915
|
+
airecognitiontasktranstextsegmentitem_tmp.deserialize(i)
|
1916
|
+
@SegmentSet << airecognitiontasktranstextsegmentitem_tmp
|
1917
|
+
end
|
1918
|
+
end
|
1919
|
+
@SubtitlePath = params['SubtitlePath']
|
1920
|
+
unless params['OutputStorage'].nil?
|
1921
|
+
@OutputStorage = TaskOutputStorage.new
|
1922
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
1923
|
+
end
|
1924
|
+
end
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
# 翻译片段。
|
1928
|
+
class AiRecognitionTaskTransTextSegmentItem < TencentCloud::Common::AbstractModel
|
1929
|
+
# @param Confidence: 识别片段置信度。取值:0~100。
|
1930
|
+
# @type Confidence: Float
|
1931
|
+
# @param StartTimeOffset: 识别片段起始的偏移时间,单位:秒。
|
1932
|
+
# @type StartTimeOffset: Float
|
1933
|
+
# @param EndTimeOffset: 识别片段终止的偏移时间,单位:秒。
|
1934
|
+
# @type EndTimeOffset: Float
|
1935
|
+
# @param Text: 识别文本。
|
1936
|
+
# @type Text: String
|
1937
|
+
# @param Trans: 翻译文本。
|
1938
|
+
# @type Trans: String
|
1939
|
+
|
1940
|
+
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Trans
|
1941
|
+
|
1942
|
+
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, trans=nil)
|
1943
|
+
@Confidence = confidence
|
1944
|
+
@StartTimeOffset = starttimeoffset
|
1945
|
+
@EndTimeOffset = endtimeoffset
|
1946
|
+
@Text = text
|
1947
|
+
@Trans = trans
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
def deserialize(params)
|
1951
|
+
@Confidence = params['Confidence']
|
1952
|
+
@StartTimeOffset = params['StartTimeOffset']
|
1953
|
+
@EndTimeOffset = params['EndTimeOffset']
|
1954
|
+
@Text = params['Text']
|
1955
|
+
@Trans = params['Trans']
|
1956
|
+
end
|
1957
|
+
end
|
1958
|
+
|
1824
1959
|
# 内容审核 Asr 文字敏感任务输入参数类型
|
1825
1960
|
class AiReviewPoliticalAsrTaskInput < TencentCloud::Common::AbstractModel
|
1826
1961
|
# @param Definition: 模板 ID。
|
@@ -3976,10 +4111,12 @@ module TencentCloud
|
|
3976
4111
|
# @type FillType: String
|
3977
4112
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
3978
4113
|
# @type Comment: String
|
4114
|
+
# @param Format: 图片格式,取值为 jpg、png、webp。默认为 jpg。
|
4115
|
+
# @type Format: String
|
3979
4116
|
|
3980
|
-
attr_accessor :SampleType, :SampleInterval, :RowCount, :ColumnCount, :Name, :Width, :Height, :ResolutionAdaptive, :FillType, :Comment
|
4117
|
+
attr_accessor :SampleType, :SampleInterval, :RowCount, :ColumnCount, :Name, :Width, :Height, :ResolutionAdaptive, :FillType, :Comment, :Format
|
3981
4118
|
|
3982
|
-
def initialize(sampletype=nil, sampleinterval=nil, rowcount=nil, columncount=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, filltype=nil, comment=nil)
|
4119
|
+
def initialize(sampletype=nil, sampleinterval=nil, rowcount=nil, columncount=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, filltype=nil, comment=nil, format=nil)
|
3983
4120
|
@SampleType = sampletype
|
3984
4121
|
@SampleInterval = sampleinterval
|
3985
4122
|
@RowCount = rowcount
|
@@ -3990,6 +4127,7 @@ module TencentCloud
|
|
3990
4127
|
@ResolutionAdaptive = resolutionadaptive
|
3991
4128
|
@FillType = filltype
|
3992
4129
|
@Comment = comment
|
4130
|
+
@Format = format
|
3993
4131
|
end
|
3994
4132
|
|
3995
4133
|
def deserialize(params)
|
@@ -4003,6 +4141,7 @@ module TencentCloud
|
|
4003
4141
|
@ResolutionAdaptive = params['ResolutionAdaptive']
|
4004
4142
|
@FillType = params['FillType']
|
4005
4143
|
@Comment = params['Comment']
|
4144
|
+
@Format = params['Format']
|
4006
4145
|
end
|
4007
4146
|
end
|
4008
4147
|
|
@@ -4129,7 +4268,7 @@ module TencentCloud
|
|
4129
4268
|
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
4130
4269
|
# 默认值:open。
|
4131
4270
|
# @type ResolutionAdaptive: String
|
4132
|
-
# @param Format: 图片格式,取值为 jpg
|
4271
|
+
# @param Format: 图片格式,取值为 jpg、png、webp。默认为 jpg。
|
4133
4272
|
# @type Format: String
|
4134
4273
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
4135
4274
|
# @type Comment: String
|
@@ -4211,7 +4350,7 @@ module TencentCloud
|
|
4211
4350
|
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
4212
4351
|
# 默认值:open。
|
4213
4352
|
# @type ResolutionAdaptive: String
|
4214
|
-
# @param Format: 图片格式,取值可以为 jpg
|
4353
|
+
# @param Format: 图片格式,取值可以为 jpg、png、webp。默认为 jpg。
|
4215
4354
|
# @type Format: String
|
4216
4355
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
4217
4356
|
# @type Comment: String
|
@@ -6773,10 +6912,12 @@ module TencentCloud
|
|
6773
6912
|
# @type FillType: String
|
6774
6913
|
# @param Comment: 模板描述信息。
|
6775
6914
|
# @type Comment: String
|
6915
|
+
# @param Format: 图片格式。
|
6916
|
+
# @type Format: String
|
6776
6917
|
|
6777
|
-
attr_accessor :Definition, :Type, :Name, :Width, :Height, :ResolutionAdaptive, :SampleType, :SampleInterval, :RowCount, :ColumnCount, :CreateTime, :UpdateTime, :FillType, :Comment
|
6918
|
+
attr_accessor :Definition, :Type, :Name, :Width, :Height, :ResolutionAdaptive, :SampleType, :SampleInterval, :RowCount, :ColumnCount, :CreateTime, :UpdateTime, :FillType, :Comment, :Format
|
6778
6919
|
|
6779
|
-
def initialize(definition=nil, type=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, sampletype=nil, sampleinterval=nil, rowcount=nil, columncount=nil, createtime=nil, updatetime=nil, filltype=nil, comment=nil)
|
6920
|
+
def initialize(definition=nil, type=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, sampletype=nil, sampleinterval=nil, rowcount=nil, columncount=nil, createtime=nil, updatetime=nil, filltype=nil, comment=nil, format=nil)
|
6780
6921
|
@Definition = definition
|
6781
6922
|
@Type = type
|
6782
6923
|
@Name = name
|
@@ -6791,6 +6932,7 @@ module TencentCloud
|
|
6791
6932
|
@UpdateTime = updatetime
|
6792
6933
|
@FillType = filltype
|
6793
6934
|
@Comment = comment
|
6935
|
+
@Format = format
|
6794
6936
|
end
|
6795
6937
|
|
6796
6938
|
def deserialize(params)
|
@@ -6808,6 +6950,7 @@ module TencentCloud
|
|
6808
6950
|
@UpdateTime = params['UpdateTime']
|
6809
6951
|
@FillType = params['FillType']
|
6810
6952
|
@Comment = params['Comment']
|
6953
|
+
@Format = params['Format']
|
6811
6954
|
end
|
6812
6955
|
end
|
6813
6956
|
|
@@ -6951,6 +7094,7 @@ module TencentCloud
|
|
6951
7094
|
# <li>OcrWordsRecognition:文本关键词识别,</li>
|
6952
7095
|
# <li>AsrFullTextRecognition:语音全文识别,</li>
|
6953
7096
|
# <li>OcrFullTextRecognition:文本全文识别。</li>
|
7097
|
+
# <li>TransTextRecognition:语音翻译。</li>
|
6954
7098
|
# @type Type: String
|
6955
7099
|
# @param FaceRecognitionResultSet: 人脸识别结果,当 Type 为
|
6956
7100
|
# FaceRecognition 时有效。
|
@@ -6967,16 +7111,19 @@ module TencentCloud
|
|
6967
7111
|
# @param OcrFullTextRecognitionResultSet: 文本全文识别结果,当 Type 为
|
6968
7112
|
# OcrFullTextRecognition 时有效。
|
6969
7113
|
# @type OcrFullTextRecognitionResultSet: Array
|
7114
|
+
# @param TransTextRecognitionResultSet: 翻译结果,当Type 为 TransTextRecognition 时有效。
|
7115
|
+
# @type TransTextRecognitionResultSet: Array
|
6970
7116
|
|
6971
|
-
attr_accessor :Type, :FaceRecognitionResultSet, :AsrWordsRecognitionResultSet, :OcrWordsRecognitionResultSet, :AsrFullTextRecognitionResultSet, :OcrFullTextRecognitionResultSet
|
7117
|
+
attr_accessor :Type, :FaceRecognitionResultSet, :AsrWordsRecognitionResultSet, :OcrWordsRecognitionResultSet, :AsrFullTextRecognitionResultSet, :OcrFullTextRecognitionResultSet, :TransTextRecognitionResultSet
|
6972
7118
|
|
6973
|
-
def initialize(type=nil, facerecognitionresultset=nil, asrwordsrecognitionresultset=nil, ocrwordsrecognitionresultset=nil, asrfulltextrecognitionresultset=nil, ocrfulltextrecognitionresultset=nil)
|
7119
|
+
def initialize(type=nil, facerecognitionresultset=nil, asrwordsrecognitionresultset=nil, ocrwordsrecognitionresultset=nil, asrfulltextrecognitionresultset=nil, ocrfulltextrecognitionresultset=nil, transtextrecognitionresultset=nil)
|
6974
7120
|
@Type = type
|
6975
7121
|
@FaceRecognitionResultSet = facerecognitionresultset
|
6976
7122
|
@AsrWordsRecognitionResultSet = asrwordsrecognitionresultset
|
6977
7123
|
@OcrWordsRecognitionResultSet = ocrwordsrecognitionresultset
|
6978
7124
|
@AsrFullTextRecognitionResultSet = asrfulltextrecognitionresultset
|
6979
7125
|
@OcrFullTextRecognitionResultSet = ocrfulltextrecognitionresultset
|
7126
|
+
@TransTextRecognitionResultSet = transtextrecognitionresultset
|
6980
7127
|
end
|
6981
7128
|
|
6982
7129
|
def deserialize(params)
|
@@ -7021,6 +7168,14 @@ module TencentCloud
|
|
7021
7168
|
@OcrFullTextRecognitionResultSet << livestreamocrfulltextrecognitionresult_tmp
|
7022
7169
|
end
|
7023
7170
|
end
|
7171
|
+
unless params['TransTextRecognitionResultSet'].nil?
|
7172
|
+
@TransTextRecognitionResultSet = []
|
7173
|
+
params['TransTextRecognitionResultSet'].each do |i|
|
7174
|
+
livestreamtranstextrecognitionresult_tmp = LiveStreamTransTextRecognitionResult.new
|
7175
|
+
livestreamtranstextrecognitionresult_tmp.deserialize(i)
|
7176
|
+
@TransTextRecognitionResultSet << livestreamtranstextrecognitionresult_tmp
|
7177
|
+
end
|
7178
|
+
end
|
7024
7179
|
end
|
7025
7180
|
end
|
7026
7181
|
|
@@ -7554,6 +7709,38 @@ module TencentCloud
|
|
7554
7709
|
end
|
7555
7710
|
end
|
7556
7711
|
|
7712
|
+
# 直播实时翻译结果
|
7713
|
+
class LiveStreamTransTextRecognitionResult < TencentCloud::Common::AbstractModel
|
7714
|
+
# @param Text: 识别文本。
|
7715
|
+
# @type Text: String
|
7716
|
+
# @param StartPtsTime: 翻译片段起始的 PTS 时间,单位:秒。
|
7717
|
+
# @type StartPtsTime: Float
|
7718
|
+
# @param EndPtsTime: 翻译片段终止的 PTS 时间,单位:秒。
|
7719
|
+
# @type EndPtsTime: Float
|
7720
|
+
# @param Confidence: 翻译片段置信度。取值:0~100。
|
7721
|
+
# @type Confidence: Float
|
7722
|
+
# @param Trans: 翻译文本。
|
7723
|
+
# @type Trans: String
|
7724
|
+
|
7725
|
+
attr_accessor :Text, :StartPtsTime, :EndPtsTime, :Confidence, :Trans
|
7726
|
+
|
7727
|
+
def initialize(text=nil, startptstime=nil, endptstime=nil, confidence=nil, trans=nil)
|
7728
|
+
@Text = text
|
7729
|
+
@StartPtsTime = startptstime
|
7730
|
+
@EndPtsTime = endptstime
|
7731
|
+
@Confidence = confidence
|
7732
|
+
@Trans = trans
|
7733
|
+
end
|
7734
|
+
|
7735
|
+
def deserialize(params)
|
7736
|
+
@Text = params['Text']
|
7737
|
+
@StartPtsTime = params['StartPtsTime']
|
7738
|
+
@EndPtsTime = params['EndPtsTime']
|
7739
|
+
@Confidence = params['Confidence']
|
7740
|
+
@Trans = params['Trans']
|
7741
|
+
end
|
7742
|
+
end
|
7743
|
+
|
7557
7744
|
# 低光照增强配置
|
7558
7745
|
class LowLightEnhanceConfig < TencentCloud::Common::AbstractModel
|
7559
7746
|
# @param Switch: 能力配置开关,可选值:
|
@@ -9225,10 +9412,12 @@ module TencentCloud
|
|
9225
9412
|
# @type FillType: String
|
9226
9413
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
9227
9414
|
# @type Comment: String
|
9415
|
+
# @param Format: 图片格式,取值可以为 jpg、png、webp。
|
9416
|
+
# @type Format: String
|
9228
9417
|
|
9229
|
-
attr_accessor :Definition, :Name, :Width, :Height, :ResolutionAdaptive, :SampleType, :SampleInterval, :RowCount, :ColumnCount, :FillType, :Comment
|
9418
|
+
attr_accessor :Definition, :Name, :Width, :Height, :ResolutionAdaptive, :SampleType, :SampleInterval, :RowCount, :ColumnCount, :FillType, :Comment, :Format
|
9230
9419
|
|
9231
|
-
def initialize(definition=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, sampletype=nil, sampleinterval=nil, rowcount=nil, columncount=nil, filltype=nil, comment=nil)
|
9420
|
+
def initialize(definition=nil, name=nil, width=nil, height=nil, resolutionadaptive=nil, sampletype=nil, sampleinterval=nil, rowcount=nil, columncount=nil, filltype=nil, comment=nil, format=nil)
|
9232
9421
|
@Definition = definition
|
9233
9422
|
@Name = name
|
9234
9423
|
@Width = width
|
@@ -9240,6 +9429,7 @@ module TencentCloud
|
|
9240
9429
|
@ColumnCount = columncount
|
9241
9430
|
@FillType = filltype
|
9242
9431
|
@Comment = comment
|
9432
|
+
@Format = format
|
9243
9433
|
end
|
9244
9434
|
|
9245
9435
|
def deserialize(params)
|
@@ -9254,6 +9444,7 @@ module TencentCloud
|
|
9254
9444
|
@ColumnCount = params['ColumnCount']
|
9255
9445
|
@FillType = params['FillType']
|
9256
9446
|
@Comment = params['Comment']
|
9447
|
+
@Format = params['Format']
|
9257
9448
|
end
|
9258
9449
|
end
|
9259
9450
|
|
@@ -9386,7 +9577,7 @@ module TencentCloud
|
|
9386
9577
|
# <li>当 SampleType 为 Percent 时,指定采样间隔的百分比。</li>
|
9387
9578
|
# <li>当 SampleType 为 Time 时,指定采样间隔的时间,单位为秒。</li>
|
9388
9579
|
# @type SampleInterval: Integer
|
9389
|
-
# @param Format: 图片格式,取值为 jpg
|
9580
|
+
# @param Format: 图片格式,取值为 jpg、png、webp。
|
9390
9581
|
# @type Format: String
|
9391
9582
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
9392
9583
|
# @type Comment: String
|
@@ -9468,7 +9659,7 @@ module TencentCloud
|
|
9468
9659
|
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
9469
9660
|
# 默认值:open。
|
9470
9661
|
# @type ResolutionAdaptive: String
|
9471
|
-
# @param Format: 图片格式,取值可以为 jpg
|
9662
|
+
# @param Format: 图片格式,取值可以为 jpg、png、webp。
|
9472
9663
|
# @type Format: String
|
9473
9664
|
# @param Comment: 模板描述信息,长度限制:256 个字符。
|
9474
9665
|
# @type Comment: String
|
@@ -9929,16 +10120,19 @@ module TencentCloud
|
|
9929
10120
|
# @type AudioTemplate: :class:`Tencentcloud::Mps.v20190612.models.AudioTemplateInfoForUpdate`
|
9930
10121
|
# @param TEHDConfig: 极速高清转码参数。
|
9931
10122
|
# @type TEHDConfig: :class:`Tencentcloud::Mps.v20190612.models.TEHDConfigForUpdate`
|
10123
|
+
# @param SubtitleTemplate: 字幕流配置参数。
|
10124
|
+
# @type SubtitleTemplate: :class:`Tencentcloud::Mps.v20190612.models.SubtitleTemplate`
|
9932
10125
|
|
9933
|
-
attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig
|
10126
|
+
attr_accessor :Container, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SubtitleTemplate
|
9934
10127
|
|
9935
|
-
def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil)
|
10128
|
+
def initialize(container=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, subtitletemplate=nil)
|
9936
10129
|
@Container = container
|
9937
10130
|
@RemoveVideo = removevideo
|
9938
10131
|
@RemoveAudio = removeaudio
|
9939
10132
|
@VideoTemplate = videotemplate
|
9940
10133
|
@AudioTemplate = audiotemplate
|
9941
10134
|
@TEHDConfig = tehdconfig
|
10135
|
+
@SubtitleTemplate = subtitletemplate
|
9942
10136
|
end
|
9943
10137
|
|
9944
10138
|
def deserialize(params)
|
@@ -9957,6 +10151,10 @@ module TencentCloud
|
|
9957
10151
|
@TEHDConfig = TEHDConfigForUpdate.new
|
9958
10152
|
@TEHDConfig.deserialize(params['TEHDConfig'])
|
9959
10153
|
end
|
10154
|
+
unless params['SubtitleTemplate'].nil?
|
10155
|
+
@SubtitleTemplate = SubtitleTemplate.new
|
10156
|
+
@SubtitleTemplate.deserialize(params['SubtitleTemplate'])
|
10157
|
+
end
|
9960
10158
|
end
|
9961
10159
|
end
|
9962
10160
|
|
@@ -10691,8 +10889,11 @@ module TencentCloud
|
|
10691
10889
|
# @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
10692
10890
|
# @type SessionContext: String
|
10693
10891
|
# @param ScheduleId: 编排ID。
|
10694
|
-
# 注意1:对于OutputStorage、OutputDir
|
10695
|
-
#
|
10892
|
+
# 注意1:对于OutputStorage、OutputDir参数:
|
10893
|
+
# <li>当服务编排中子任务节点配置了OutputStorage、OutputDir时,该子任务节点中配置的输出作为子任务的输出。</li>
|
10894
|
+
# <li>当服务编排中子任务节点没有配置OutputStorage、OutputDir时,若创建任务接口(ProcessMedia)有输出,将覆盖原有编排的默认输出。</li>
|
10895
|
+
# 注意2:对于TaskNotifyConfig参数,若创建任务接口(ProcessMedia)有设置,将覆盖原有编排的默认回调。
|
10896
|
+
|
10696
10897
|
# 注意3:编排的 Trigger 只是用来自动化触发场景,在手动发起的请求中已经配置的 Trigger 无意义。
|
10697
10898
|
# @type ScheduleId: Integer
|
10698
10899
|
|
@@ -11714,6 +11915,17 @@ module TencentCloud
|
|
11714
11915
|
end
|
11715
11916
|
end
|
11716
11917
|
|
11918
|
+
# 字幕流配置参数。
|
11919
|
+
class SubtitleTemplate < TencentCloud::Common::AbstractModel
|
11920
|
+
|
11921
|
+
|
11922
|
+
def initialize()
|
11923
|
+
end
|
11924
|
+
|
11925
|
+
def deserialize(params)
|
11926
|
+
end
|
11927
|
+
end
|
11928
|
+
|
11717
11929
|
# 超分配置
|
11718
11930
|
class SuperResolutionConfig < TencentCloud::Common::AbstractModel
|
11719
11931
|
# @param Switch: 能力配置开关,可选值:
|
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.443
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|