tencentcloud-sdk-mps 3.0.588 → 3.0.589
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 +86 -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: 4a9d637989b7f0258dd6a466deb062b777faf609
|
4
|
+
data.tar.gz: 30be51bd94c17da488ae57595be98c22caaf4c38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c23734963db41d7fa81eac9b554534f4df0fb5d91812bc27a978eb29a6f3ada2a759a0abc32eaad3a9b320a339299c66dcbcb176f6318e238e6e05299f9077f5
|
7
|
+
data.tar.gz: d55a8153cfef8a9b2d52c1e20e9ea160897d25756d2054c6561c6d12299bc609ea41822f3fbebe26fe082d06389b30e2ae26582bd7f118ce92d7cf99f0691557
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.589
|
data/lib/v20190612/models.rb
CHANGED
@@ -3507,17 +3507,21 @@ module TencentCloud
|
|
3507
3507
|
# @param SubtitleFormat: 生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:
|
3508
3508
|
# <li>vtt:生成 WebVTT 字幕文件。</li>
|
3509
3509
|
# @type SubtitleFormat: String
|
3510
|
+
# @param SourceLanguage: 视频源语言。
|
3511
|
+
# @type SourceLanguage: String
|
3510
3512
|
|
3511
|
-
attr_accessor :Switch, :SubtitleFormat
|
3513
|
+
attr_accessor :Switch, :SubtitleFormat, :SourceLanguage
|
3512
3514
|
|
3513
|
-
def initialize(switch=nil, subtitleformat=nil)
|
3515
|
+
def initialize(switch=nil, subtitleformat=nil, sourcelanguage=nil)
|
3514
3516
|
@Switch = switch
|
3515
3517
|
@SubtitleFormat = subtitleformat
|
3518
|
+
@SourceLanguage = sourcelanguage
|
3516
3519
|
end
|
3517
3520
|
|
3518
3521
|
def deserialize(params)
|
3519
3522
|
@Switch = params['Switch']
|
3520
3523
|
@SubtitleFormat = params['SubtitleFormat']
|
3524
|
+
@SourceLanguage = params['SourceLanguage']
|
3521
3525
|
end
|
3522
3526
|
end
|
3523
3527
|
|
@@ -3530,17 +3534,21 @@ module TencentCloud
|
|
3530
3534
|
# @param SubtitleFormat: 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:
|
3531
3535
|
# <li>vtt:生成 WebVTT 字幕文件。</li>
|
3532
3536
|
# @type SubtitleFormat: String
|
3537
|
+
# @param SourceLanguage: 视频源语言。
|
3538
|
+
# @type SourceLanguage: String
|
3533
3539
|
|
3534
|
-
attr_accessor :Switch, :SubtitleFormat
|
3540
|
+
attr_accessor :Switch, :SubtitleFormat, :SourceLanguage
|
3535
3541
|
|
3536
|
-
def initialize(switch=nil, subtitleformat=nil)
|
3542
|
+
def initialize(switch=nil, subtitleformat=nil, sourcelanguage=nil)
|
3537
3543
|
@Switch = switch
|
3538
3544
|
@SubtitleFormat = subtitleformat
|
3545
|
+
@SourceLanguage = sourcelanguage
|
3539
3546
|
end
|
3540
3547
|
|
3541
3548
|
def deserialize(params)
|
3542
3549
|
@Switch = params['Switch']
|
3543
3550
|
@SubtitleFormat = params['SubtitleFormat']
|
3551
|
+
@SourceLanguage = params['SourceLanguage']
|
3544
3552
|
end
|
3545
3553
|
end
|
3546
3554
|
|
@@ -4111,10 +4119,12 @@ module TencentCloud
|
|
4111
4119
|
# @type AsrFullTextConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrFullTextConfigureInfo`
|
4112
4120
|
# @param AsrWordsConfigure: 语音关键词识别控制参数。
|
4113
4121
|
# @type AsrWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrWordsConfigureInfo`
|
4122
|
+
# @param TranslateConfigure: 语音翻译控制参数。
|
4123
|
+
# @type TranslateConfigure: :class:`Tencentcloud::Mps.v20190612.models.TranslateConfigureInfo`
|
4114
4124
|
|
4115
|
-
attr_accessor :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure
|
4125
|
+
attr_accessor :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure, :TranslateConfigure
|
4116
4126
|
|
4117
|
-
def initialize(name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil)
|
4127
|
+
def initialize(name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil)
|
4118
4128
|
@Name = name
|
4119
4129
|
@Comment = comment
|
4120
4130
|
@FaceConfigure = faceconfigure
|
@@ -4122,6 +4132,7 @@ module TencentCloud
|
|
4122
4132
|
@OcrWordsConfigure = ocrwordsconfigure
|
4123
4133
|
@AsrFullTextConfigure = asrfulltextconfigure
|
4124
4134
|
@AsrWordsConfigure = asrwordsconfigure
|
4135
|
+
@TranslateConfigure = translateconfigure
|
4125
4136
|
end
|
4126
4137
|
|
4127
4138
|
def deserialize(params)
|
@@ -4147,6 +4158,10 @@ module TencentCloud
|
|
4147
4158
|
@AsrWordsConfigure = AsrWordsConfigureInfo.new
|
4148
4159
|
@AsrWordsConfigure.deserialize(params['AsrWordsConfigure'])
|
4149
4160
|
end
|
4161
|
+
unless params['TranslateConfigure'].nil?
|
4162
|
+
@TranslateConfigure = TranslateConfigureInfo.new
|
4163
|
+
@TranslateConfigure.deserialize(params['TranslateConfigure'])
|
4164
|
+
end
|
4150
4165
|
end
|
4151
4166
|
end
|
4152
4167
|
|
@@ -8392,7 +8407,7 @@ module TencentCloud
|
|
8392
8407
|
# <li>Video:视频格式,可以同时包含视频流和音频流的封装格式板;</li>
|
8393
8408
|
# <li>PureAudio:纯音频格式,只能包含音频流的封装格式。</li>
|
8394
8409
|
# @type ContainerType: String
|
8395
|
-
# @param TEHDType:
|
8410
|
+
# @param TEHDType: (建议使用TranscodeType代替)极速高清过滤条件,用于过滤普通转码或极速高清转码模板,可选值:
|
8396
8411
|
# <li>Common:普通转码模板;</li>
|
8397
8412
|
# <li>TEHD:极速高清模板。</li>
|
8398
8413
|
# @type TEHDType: String
|
@@ -8402,7 +8417,9 @@ module TencentCloud
|
|
8402
8417
|
# @type Limit: Integer
|
8403
8418
|
# @param TranscodeType: 模板类型(替换旧版本 TEHDType),可选值:
|
8404
8419
|
# <li>Common:普通转码模板;</li>
|
8405
|
-
# <li>TEHD
|
8420
|
+
# <li>TEHD:视频极速高清,老的类型(建议使用 TEHD-100) 。</li>
|
8421
|
+
# <li>TEHD-100:视频极速高清</li>
|
8422
|
+
# <li>TEHD-200:音频极速高清</li>
|
8406
8423
|
# <li>Enhance:音视频增强模板。</li>
|
8407
8424
|
# 默认空,不限制类型。
|
8408
8425
|
# @type TranscodeType: String
|
@@ -12457,10 +12474,12 @@ module TencentCloud
|
|
12457
12474
|
# @type AsrFullTextConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrFullTextConfigureInfoForUpdate`
|
12458
12475
|
# @param AsrWordsConfigure: 语音关键词识别控制参数。
|
12459
12476
|
# @type AsrWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrWordsConfigureInfoForUpdate`
|
12477
|
+
# @param TranslateConfigure: 语音翻译控制参数。
|
12478
|
+
# @type TranslateConfigure: :class:`Tencentcloud::Mps.v20190612.models.TranslateConfigureInfoForUpdate`
|
12460
12479
|
|
12461
|
-
attr_accessor :Definition, :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure
|
12480
|
+
attr_accessor :Definition, :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure, :TranslateConfigure
|
12462
12481
|
|
12463
|
-
def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil)
|
12482
|
+
def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil)
|
12464
12483
|
@Definition = definition
|
12465
12484
|
@Name = name
|
12466
12485
|
@Comment = comment
|
@@ -12469,6 +12488,7 @@ module TencentCloud
|
|
12469
12488
|
@OcrWordsConfigure = ocrwordsconfigure
|
12470
12489
|
@AsrFullTextConfigure = asrfulltextconfigure
|
12471
12490
|
@AsrWordsConfigure = asrwordsconfigure
|
12491
|
+
@TranslateConfigure = translateconfigure
|
12472
12492
|
end
|
12473
12493
|
|
12474
12494
|
def deserialize(params)
|
@@ -12495,6 +12515,10 @@ module TencentCloud
|
|
12495
12515
|
@AsrWordsConfigure = AsrWordsConfigureInfoForUpdate.new
|
12496
12516
|
@AsrWordsConfigure.deserialize(params['AsrWordsConfigure'])
|
12497
12517
|
end
|
12518
|
+
unless params['TranslateConfigure'].nil?
|
12519
|
+
@TranslateConfigure = TranslateConfigureInfoForUpdate.new
|
12520
|
+
@TranslateConfigure.deserialize(params['TranslateConfigure'])
|
12521
|
+
end
|
12498
12522
|
end
|
12499
12523
|
end
|
12500
12524
|
|
@@ -17145,6 +17169,58 @@ module TencentCloud
|
|
17145
17169
|
end
|
17146
17170
|
end
|
17147
17171
|
|
17172
|
+
# 语音翻译任务控制参数
|
17173
|
+
class TranslateConfigureInfo < TencentCloud::Common::AbstractModel
|
17174
|
+
# @param Switch: 语音翻译任务开关,可选值:
|
17175
|
+
# <li>ON:开启智能语音翻译任务;</li>
|
17176
|
+
# <li>OFF:关闭智能语音翻译任务。</li>
|
17177
|
+
# @type Switch: String
|
17178
|
+
# @param SourceLanguage: 视频源语言。
|
17179
|
+
# @type SourceLanguage: String
|
17180
|
+
# @param DestinationLanguage: 翻译目标语言。
|
17181
|
+
# @type DestinationLanguage: String
|
17182
|
+
|
17183
|
+
attr_accessor :Switch, :SourceLanguage, :DestinationLanguage
|
17184
|
+
|
17185
|
+
def initialize(switch=nil, sourcelanguage=nil, destinationlanguage=nil)
|
17186
|
+
@Switch = switch
|
17187
|
+
@SourceLanguage = sourcelanguage
|
17188
|
+
@DestinationLanguage = destinationlanguage
|
17189
|
+
end
|
17190
|
+
|
17191
|
+
def deserialize(params)
|
17192
|
+
@Switch = params['Switch']
|
17193
|
+
@SourceLanguage = params['SourceLanguage']
|
17194
|
+
@DestinationLanguage = params['DestinationLanguage']
|
17195
|
+
end
|
17196
|
+
end
|
17197
|
+
|
17198
|
+
# 语音翻译任务控制参数
|
17199
|
+
class TranslateConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
17200
|
+
# @param Switch: 语音翻译任务开关,可选值:
|
17201
|
+
# <li>ON:开启智能语音翻译任务;</li>
|
17202
|
+
# <li>OFF:关闭智能语音翻译任务。</li>
|
17203
|
+
# @type Switch: String
|
17204
|
+
# @param SourceLanguage: 视频源语言。
|
17205
|
+
# @type SourceLanguage: String
|
17206
|
+
# @param DestinationLanguage: 翻译目标语言。
|
17207
|
+
# @type DestinationLanguage: String
|
17208
|
+
|
17209
|
+
attr_accessor :Switch, :SourceLanguage, :DestinationLanguage
|
17210
|
+
|
17211
|
+
def initialize(switch=nil, sourcelanguage=nil, destinationlanguage=nil)
|
17212
|
+
@Switch = switch
|
17213
|
+
@SourceLanguage = sourcelanguage
|
17214
|
+
@DestinationLanguage = destinationlanguage
|
17215
|
+
end
|
17216
|
+
|
17217
|
+
def deserialize(params)
|
17218
|
+
@Switch = params['Switch']
|
17219
|
+
@SourceLanguage = params['SourceLanguage']
|
17220
|
+
@DestinationLanguage = params['DestinationLanguage']
|
17221
|
+
end
|
17222
|
+
end
|
17223
|
+
|
17148
17224
|
# 媒体处理 URL 对象信息。
|
17149
17225
|
class UrlInputInfo < TencentCloud::Common::AbstractModel
|
17150
17226
|
# @param Url: 视频的 URL。
|
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.589
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|