tencentcloud-sdk-mps 3.0.952 → 3.0.953
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 +162 -26
- 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: 1082c23f0e289e2485355ea409d699d7ad0c1314
|
4
|
+
data.tar.gz: 922182361c3c718c7d21fa95a0b6cc2afcead259
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60eca92333199b5461f2dc7fb4cc6a917c45c88753ecd4a9bbda7a6f01205465c18e3df7aefc2d4de6ddf84818222452ec2496fa9255c01c9cd41e177803a07e
|
7
|
+
data.tar.gz: 15017b683219bdb670ea7e53c92675f998285fe1520841aa57e72cd598acb1fc57c2199145a4ac40f0b934ea387365d8870f32597d6cc73f4c3f584e1c1bb050
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.953
|
data/lib/v20190612/models.rb
CHANGED
@@ -2022,8 +2022,8 @@ module TencentCloud
|
|
2022
2022
|
|
2023
2023
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
2024
2024
|
extend Gem::Deprecate
|
2025
|
-
deprecate :OutputStorage, :none, 2024,
|
2026
|
-
deprecate :OutputStorage=, :none, 2024,
|
2025
|
+
deprecate :OutputStorage, :none, 2024, 12
|
2026
|
+
deprecate :OutputStorage=, :none, 2024, 12
|
2027
2027
|
|
2028
2028
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
2029
2029
|
@SegmentSet = segmentset
|
@@ -2058,14 +2058,17 @@ module TencentCloud
|
|
2058
2058
|
# @type EndTimeOffset: Float
|
2059
2059
|
# @param Text: 识别文本。
|
2060
2060
|
# @type Text: String
|
2061
|
+
# @param Wordlist: 字词时间戳信息。
|
2062
|
+
# @type Wordlist: Array
|
2061
2063
|
|
2062
|
-
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text
|
2064
|
+
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Wordlist
|
2063
2065
|
|
2064
|
-
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil)
|
2066
|
+
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, wordlist=nil)
|
2065
2067
|
@Confidence = confidence
|
2066
2068
|
@StartTimeOffset = starttimeoffset
|
2067
2069
|
@EndTimeOffset = endtimeoffset
|
2068
2070
|
@Text = text
|
2071
|
+
@Wordlist = wordlist
|
2069
2072
|
end
|
2070
2073
|
|
2071
2074
|
def deserialize(params)
|
@@ -2073,6 +2076,14 @@ module TencentCloud
|
|
2073
2076
|
@StartTimeOffset = params['StartTimeOffset']
|
2074
2077
|
@EndTimeOffset = params['EndTimeOffset']
|
2075
2078
|
@Text = params['Text']
|
2079
|
+
unless params['Wordlist'].nil?
|
2080
|
+
@Wordlist = []
|
2081
|
+
params['Wordlist'].each do |i|
|
2082
|
+
wordresult_tmp = WordResult.new
|
2083
|
+
wordresult_tmp.deserialize(i)
|
2084
|
+
@Wordlist << wordresult_tmp
|
2085
|
+
end
|
2086
|
+
end
|
2076
2087
|
end
|
2077
2088
|
end
|
2078
2089
|
|
@@ -2411,15 +2422,19 @@ module TencentCloud
|
|
2411
2422
|
class AiRecognitionTaskInput < TencentCloud::Common::AbstractModel
|
2412
2423
|
# @param Definition: 视频智能识别模板 ID 。
|
2413
2424
|
# @type Definition: Integer
|
2425
|
+
# @param UserExtPara: 用户扩展字段,一般场景不用填。
|
2426
|
+
# @type UserExtPara: String
|
2414
2427
|
|
2415
|
-
attr_accessor :Definition
|
2428
|
+
attr_accessor :Definition, :UserExtPara
|
2416
2429
|
|
2417
|
-
def initialize(definition=nil)
|
2430
|
+
def initialize(definition=nil, userextpara=nil)
|
2418
2431
|
@Definition = definition
|
2432
|
+
@UserExtPara = userextpara
|
2419
2433
|
end
|
2420
2434
|
|
2421
2435
|
def deserialize(params)
|
2422
2436
|
@Definition = params['Definition']
|
2437
|
+
@UserExtPara = params['UserExtPara']
|
2423
2438
|
end
|
2424
2439
|
end
|
2425
2440
|
|
@@ -2933,15 +2948,18 @@ module TencentCloud
|
|
2933
2948
|
# @type Text: String
|
2934
2949
|
# @param Trans: 翻译文本。
|
2935
2950
|
# @type Trans: String
|
2951
|
+
# @param Wordlist: 字词时间戳信息。
|
2952
|
+
# @type Wordlist: Array
|
2936
2953
|
|
2937
|
-
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Trans
|
2954
|
+
attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Trans, :Wordlist
|
2938
2955
|
|
2939
|
-
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, trans=nil)
|
2956
|
+
def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, trans=nil, wordlist=nil)
|
2940
2957
|
@Confidence = confidence
|
2941
2958
|
@StartTimeOffset = starttimeoffset
|
2942
2959
|
@EndTimeOffset = endtimeoffset
|
2943
2960
|
@Text = text
|
2944
2961
|
@Trans = trans
|
2962
|
+
@Wordlist = wordlist
|
2945
2963
|
end
|
2946
2964
|
|
2947
2965
|
def deserialize(params)
|
@@ -2950,6 +2968,14 @@ module TencentCloud
|
|
2950
2968
|
@EndTimeOffset = params['EndTimeOffset']
|
2951
2969
|
@Text = params['Text']
|
2952
2970
|
@Trans = params['Trans']
|
2971
|
+
unless params['Wordlist'].nil?
|
2972
|
+
@Wordlist = []
|
2973
|
+
params['Wordlist'].each do |i|
|
2974
|
+
wordresult_tmp = WordResult.new
|
2975
|
+
wordresult_tmp.deserialize(i)
|
2976
|
+
@Wordlist << wordresult_tmp
|
2977
|
+
end
|
2978
|
+
end
|
2953
2979
|
end
|
2954
2980
|
end
|
2955
2981
|
|
@@ -11143,10 +11169,26 @@ module TencentCloud
|
|
11143
11169
|
# @type TranscodeType: String
|
11144
11170
|
# @param Name: 转码模板标识过滤条件,长度限制:64 个字符。
|
11145
11171
|
# @type Name: String
|
11146
|
-
|
11147
|
-
|
11148
|
-
|
11149
|
-
|
11172
|
+
# @param SceneType: 视频场景化,可选值:
|
11173
|
+
# normal:通用转码场景:通用转码压缩场景。
|
11174
|
+
# pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
11175
|
+
# materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
11176
|
+
# ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
11177
|
+
# e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
11178
|
+
# educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
11179
|
+
# no_config:未配置。
|
11180
|
+
# @type SceneType: String
|
11181
|
+
# @param CompressType: 转码策略,可选值:
|
11182
|
+
# ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
11183
|
+
# standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
11184
|
+
# high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
11185
|
+
# low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
11186
|
+
# no_config:未配置。
|
11187
|
+
# @type CompressType: String
|
11188
|
+
|
11189
|
+
attr_accessor :Definitions, :Type, :ContainerType, :TEHDType, :Offset, :Limit, :TranscodeType, :Name, :SceneType, :CompressType
|
11190
|
+
|
11191
|
+
def initialize(definitions=nil, type=nil, containertype=nil, tehdtype=nil, offset=nil, limit=nil, transcodetype=nil, name=nil, scenetype=nil, compresstype=nil)
|
11150
11192
|
@Definitions = definitions
|
11151
11193
|
@Type = type
|
11152
11194
|
@ContainerType = containertype
|
@@ -11155,6 +11197,8 @@ module TencentCloud
|
|
11155
11197
|
@Limit = limit
|
11156
11198
|
@TranscodeType = transcodetype
|
11157
11199
|
@Name = name
|
11200
|
+
@SceneType = scenetype
|
11201
|
+
@CompressType = compresstype
|
11158
11202
|
end
|
11159
11203
|
|
11160
11204
|
def deserialize(params)
|
@@ -11166,6 +11210,8 @@ module TencentCloud
|
|
11166
11210
|
@Limit = params['Limit']
|
11167
11211
|
@TranscodeType = params['TranscodeType']
|
11168
11212
|
@Name = params['Name']
|
11213
|
+
@SceneType = params['SceneType']
|
11214
|
+
@CompressType = params['CompressType']
|
11169
11215
|
end
|
11170
11216
|
end
|
11171
11217
|
|
@@ -13580,10 +13626,10 @@ module TencentCloud
|
|
13580
13626
|
|
13581
13627
|
attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
|
13582
13628
|
extend Gem::Deprecate
|
13583
|
-
deprecate :QualityControlResults, :none, 2024,
|
13584
|
-
deprecate :QualityControlResults=, :none, 2024,
|
13585
|
-
deprecate :DiagnoseResults, :none, 2024,
|
13586
|
-
deprecate :DiagnoseResults=, :none, 2024,
|
13629
|
+
deprecate :QualityControlResults, :none, 2024, 12
|
13630
|
+
deprecate :QualityControlResults=, :none, 2024, 12
|
13631
|
+
deprecate :DiagnoseResults, :none, 2024, 12
|
13632
|
+
deprecate :DiagnoseResults=, :none, 2024, 12
|
13587
13633
|
|
13588
13634
|
def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
|
13589
13635
|
@QualityControlResults = qualitycontrolresults
|
@@ -21257,10 +21303,13 @@ module TencentCloud
|
|
21257
21303
|
# @param EnhanceConfig: 音视频增强配置。
|
21258
21304
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21259
21305
|
# @type EnhanceConfig: :class:`Tencentcloud::Mps.v20190612.models.EnhanceConfig`
|
21306
|
+
# @param AliasName: 转码模板别名称。
|
21307
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21308
|
+
# @type AliasName: String
|
21260
21309
|
|
21261
|
-
attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime, :EnhanceConfig
|
21310
|
+
attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime, :EnhanceConfig, :AliasName
|
21262
21311
|
|
21263
|
-
def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil, enhanceconfig=nil)
|
21312
|
+
def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil, enhanceconfig=nil, aliasname=nil)
|
21264
21313
|
@Definition = definition
|
21265
21314
|
@Container = container
|
21266
21315
|
@Name = name
|
@@ -21275,6 +21324,7 @@ module TencentCloud
|
|
21275
21324
|
@CreateTime = createtime
|
21276
21325
|
@UpdateTime = updatetime
|
21277
21326
|
@EnhanceConfig = enhanceconfig
|
21327
|
+
@AliasName = aliasname
|
21278
21328
|
end
|
21279
21329
|
|
21280
21330
|
def deserialize(params)
|
@@ -21304,6 +21354,7 @@ module TencentCloud
|
|
21304
21354
|
@EnhanceConfig = EnhanceConfig.new
|
21305
21355
|
@EnhanceConfig.deserialize(params['EnhanceConfig'])
|
21306
21356
|
end
|
21357
|
+
@AliasName = params['AliasName']
|
21307
21358
|
end
|
21308
21359
|
end
|
21309
21360
|
|
@@ -21930,10 +21981,35 @@ module TencentCloud
|
|
21930
21981
|
# @param SegmentSpecificInfo: 切片特殊配置
|
21931
21982
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21932
21983
|
# @type SegmentSpecificInfo: :class:`Tencentcloud::Mps.v20190612.models.SegmentSpecificInfo`
|
21933
|
-
|
21934
|
-
|
21935
|
-
|
21936
|
-
|
21984
|
+
# @param ScenarioBased: 模版是否开启场景化
|
21985
|
+
# 0:不开启
|
21986
|
+
# 1:开启
|
21987
|
+
# 默认值:0
|
21988
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21989
|
+
# @type ScenarioBased: Integer
|
21990
|
+
# @param SceneType: 视频场景化,可选值:
|
21991
|
+
# normal:通用转码场景:通用转码压缩场景。
|
21992
|
+
# pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
21993
|
+
# materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
21994
|
+
# ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
21995
|
+
# e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
21996
|
+
# educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
21997
|
+
# 默认值:normal
|
21998
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21999
|
+
# @type SceneType: String
|
22000
|
+
# @param CompressType: 转码策略,可选值:
|
22001
|
+
# ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
22002
|
+
# standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
22003
|
+
# high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
22004
|
+
# low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
22005
|
+
# 默认值:standard_compress
|
22006
|
+
# 注:若需要在电视上观看视频,不建议使用ultra_compress策略。ultra_compress策略计费标准为极速高清转码 + 音视频增强-去毛刺。
|
22007
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22008
|
+
# @type CompressType: String
|
22009
|
+
|
22010
|
+
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :GopUnit, :FillType, :Vcrf, :HlsTime, :SegmentType, :FpsDenominator, :Stereo3dType, :VideoProfile, :VideoLevel, :Bframes, :Mode, :Sar, :NoScenecut, :BitDepth, :RawPts, :Compress, :SegmentSpecificInfo, :ScenarioBased, :SceneType, :CompressType
|
22011
|
+
|
22012
|
+
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, gop=nil, gopunit=nil, filltype=nil, vcrf=nil, hlstime=nil, segmenttype=nil, fpsdenominator=nil, stereo3dtype=nil, videoprofile=nil, videolevel=nil, bframes=nil, mode=nil, sar=nil, noscenecut=nil, bitdepth=nil, rawpts=nil, compress=nil, segmentspecificinfo=nil, scenariobased=nil, scenetype=nil, compresstype=nil)
|
21937
22013
|
@Codec = codec
|
21938
22014
|
@Fps = fps
|
21939
22015
|
@Bitrate = bitrate
|
@@ -21958,6 +22034,9 @@ module TencentCloud
|
|
21958
22034
|
@RawPts = rawpts
|
21959
22035
|
@Compress = compress
|
21960
22036
|
@SegmentSpecificInfo = segmentspecificinfo
|
22037
|
+
@ScenarioBased = scenariobased
|
22038
|
+
@SceneType = scenetype
|
22039
|
+
@CompressType = compresstype
|
21961
22040
|
end
|
21962
22041
|
|
21963
22042
|
def deserialize(params)
|
@@ -21988,6 +22067,9 @@ module TencentCloud
|
|
21988
22067
|
@SegmentSpecificInfo = SegmentSpecificInfo.new
|
21989
22068
|
@SegmentSpecificInfo.deserialize(params['SegmentSpecificInfo'])
|
21990
22069
|
end
|
22070
|
+
@ScenarioBased = params['ScenarioBased']
|
22071
|
+
@SceneType = params['SceneType']
|
22072
|
+
@CompressType = params['CompressType']
|
21991
22073
|
end
|
21992
22074
|
end
|
21993
22075
|
|
@@ -22147,10 +22229,34 @@ module TencentCloud
|
|
22147
22229
|
# @param SegmentSpecificInfo: 切片特殊配置
|
22148
22230
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
22149
22231
|
# @type SegmentSpecificInfo: :class:`Tencentcloud::Mps.v20190612.models.SegmentSpecificInfo`
|
22150
|
-
|
22151
|
-
|
22152
|
-
|
22153
|
-
|
22232
|
+
# @param ScenarioBased: 模版是否开启场景化
|
22233
|
+
# 0:不开启
|
22234
|
+
# 1:开启
|
22235
|
+
# 默认值:0
|
22236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22237
|
+
# @type ScenarioBased: Integer
|
22238
|
+
# @param SceneType: 视频场景化,可选值:
|
22239
|
+
# normal:通用转码场景:通用转码压缩场景 pgc:PGC高清影视:压缩时会注重影视剧的观看体验,根据影视剧特性进行ROI编码,同时保留高质量的视频内容和音频。
|
22240
|
+
# materials_video:高清素材:素材资源类场景,对画质要求极高,较多透明画面内容,在压缩的同时接近视觉无损。
|
22241
|
+
# ugc:UGC内容:适用于广泛的UGC/短视频场景,针对短视频的特性优化编码码率, 画质提升,提升业务QOS/QOE指标。
|
22242
|
+
# e-commerce_video:秀场/电商类:压缩时会强调细节清晰度和ROI区域提升,尤其注重保持人脸区域的画质。
|
22243
|
+
# educational_video:教育类:压缩时会强调文字和图像的清晰度和可读性,以便学生更好地理解内容,确保讲解内容清晰传达。
|
22244
|
+
# 默认值:normal
|
22245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22246
|
+
# @type SceneType: String
|
22247
|
+
# @param CompressType: 转码策略,可选值:
|
22248
|
+
# ultra_compress:极致压缩:相比标准压缩,该策略能在保证一定画质的基础上最大限度压缩码率,极大节约带宽和存储成本。
|
22249
|
+
# standard_compress:综合最优:平衡压缩率与画质,在保证主观画质没有明显降低的情况下尽可能压缩文件。该策略仅收取音视频极速高清转码费用。
|
22250
|
+
# high_compress:码率优先:优先保证降低文件体积大小,可能有一定画质损失。该策略仅收取音视频极速高清转码费用。
|
22251
|
+
# low_compress:画质优先:优先保证画质,压缩出来的文件体积可能相对较大。该策略仅收取音视频极速高清转码费用。
|
22252
|
+
# 默认值:standard_compress
|
22253
|
+
# 注:若需要在电视上观看视频,不建议使用ultra_compress策略。ultra_compress策略计费标准为极速高清转码 + 音视频增强-去毛刺。
|
22254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22255
|
+
# @type CompressType: String
|
22256
|
+
|
22257
|
+
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Gop, :GopUnit, :FillType, :Vcrf, :ContentAdaptStream, :HlsTime, :SegmentType, :FpsDenominator, :Stereo3dType, :VideoProfile, :VideoLevel, :Bframes, :Mode, :Sar, :NoScenecut, :BitDepth, :RawPts, :Compress, :SegmentSpecificInfo, :ScenarioBased, :SceneType, :CompressType
|
22258
|
+
|
22259
|
+
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, gop=nil, gopunit=nil, filltype=nil, vcrf=nil, contentadaptstream=nil, hlstime=nil, segmenttype=nil, fpsdenominator=nil, stereo3dtype=nil, videoprofile=nil, videolevel=nil, bframes=nil, mode=nil, sar=nil, noscenecut=nil, bitdepth=nil, rawpts=nil, compress=nil, segmentspecificinfo=nil, scenariobased=nil, scenetype=nil, compresstype=nil)
|
22154
22260
|
@Codec = codec
|
22155
22261
|
@Fps = fps
|
22156
22262
|
@Bitrate = bitrate
|
@@ -22176,6 +22282,9 @@ module TencentCloud
|
|
22176
22282
|
@RawPts = rawpts
|
22177
22283
|
@Compress = compress
|
22178
22284
|
@SegmentSpecificInfo = segmentspecificinfo
|
22285
|
+
@ScenarioBased = scenariobased
|
22286
|
+
@SceneType = scenetype
|
22287
|
+
@CompressType = compresstype
|
22179
22288
|
end
|
22180
22289
|
|
22181
22290
|
def deserialize(params)
|
@@ -22207,6 +22316,9 @@ module TencentCloud
|
|
22207
22316
|
@SegmentSpecificInfo = SegmentSpecificInfo.new
|
22208
22317
|
@SegmentSpecificInfo.deserialize(params['SegmentSpecificInfo'])
|
22209
22318
|
end
|
22319
|
+
@ScenarioBased = params['ScenarioBased']
|
22320
|
+
@SceneType = params['SceneType']
|
22321
|
+
@CompressType = params['CompressType']
|
22210
22322
|
end
|
22211
22323
|
end
|
22212
22324
|
|
@@ -22420,6 +22532,30 @@ module TencentCloud
|
|
22420
22532
|
end
|
22421
22533
|
end
|
22422
22534
|
|
22535
|
+
# 字词信息。
|
22536
|
+
class WordResult < TencentCloud::Common::AbstractModel
|
22537
|
+
# @param Word: 字词文本。
|
22538
|
+
# @type Word: String
|
22539
|
+
# @param Start: 字词起始时间戳,单位秒。
|
22540
|
+
# @type Start: Float
|
22541
|
+
# @param End: 字词结束时间戳,单位秒。
|
22542
|
+
# @type End: Float
|
22543
|
+
|
22544
|
+
attr_accessor :Word, :Start, :End
|
22545
|
+
|
22546
|
+
def initialize(word=nil, start=nil, _end=nil)
|
22547
|
+
@Word = word
|
22548
|
+
@Start = start
|
22549
|
+
@End = _end
|
22550
|
+
end
|
22551
|
+
|
22552
|
+
def deserialize(params)
|
22553
|
+
@Word = params['Word']
|
22554
|
+
@Start = params['Start']
|
22555
|
+
@End = params['End']
|
22556
|
+
end
|
22557
|
+
end
|
22558
|
+
|
22423
22559
|
# 工作流信息详情。
|
22424
22560
|
class WorkflowInfo < TencentCloud::Common::AbstractModel
|
22425
22561
|
# @param WorkflowId: 工作流 ID。
|
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.953
|
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-12-
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|