tencentcloud-sdk-tmt 3.0.856 → 3.0.857
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/v20180321/models.rb +24 -8
- 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: 956ba19aff7bdfe00aabaeca61fa9d767fafd0a5
|
4
|
+
data.tar.gz: d0a193a2dc6dc4fb11277f271ec178143aa6450c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c34d44b3e0797acf0d759546e08dcde5a91f10bf04e7b332cce5cb96c156499a772ecae62dc210b078c7643da699b596f97c6e8b8a5f2d14a0e181169e04b04
|
7
|
+
data.tar.gz: 51a38181d00d4b45a791badf4dd6db3641a4459bd9aea55676f25eafa57a113f168a7456fc74f62d398c33ad3e92beb6b5b783399fbd9127946aa8aebf5f29de
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.857
|
data/lib/v20180321/models.rb
CHANGED
@@ -399,10 +399,10 @@ module TencentCloud
|
|
399
399
|
|
400
400
|
attr_accessor :SessionUuid, :Source, :Target, :AudioFormat, :Seq, :IsEnd, :Data, :ProjectId, :Mode, :TransType
|
401
401
|
extend Gem::Deprecate
|
402
|
-
deprecate :Mode, :none, 2024,
|
403
|
-
deprecate :Mode=, :none, 2024,
|
404
|
-
deprecate :TransType, :none, 2024,
|
405
|
-
deprecate :TransType=, :none, 2024,
|
402
|
+
deprecate :Mode, :none, 2024, 7
|
403
|
+
deprecate :Mode=, :none, 2024, 7
|
404
|
+
deprecate :TransType, :none, 2024, 7
|
405
|
+
deprecate :TransType=, :none, 2024, 7
|
406
406
|
|
407
407
|
def initialize(sessionuuid=nil, source=nil, target=nil, audioformat=nil, seq=nil, isend=nil, data=nil, projectid=nil, mode=nil, transtype=nil)
|
408
408
|
@SessionUuid = sessionuuid
|
@@ -543,14 +543,20 @@ module TencentCloud
|
|
543
543
|
# @type ProjectId: Integer
|
544
544
|
# @param SourceTextList: 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于6000字符。
|
545
545
|
# @type SourceTextList: Array
|
546
|
+
# @param TermRepoIDList: 需要使用的术语库列表
|
547
|
+
# @type TermRepoIDList: Array
|
548
|
+
# @param SentRepoIDList: 需要使用的例句库列表
|
549
|
+
# @type SentRepoIDList: Array
|
546
550
|
|
547
|
-
attr_accessor :Source, :Target, :ProjectId, :SourceTextList
|
551
|
+
attr_accessor :Source, :Target, :ProjectId, :SourceTextList, :TermRepoIDList, :SentRepoIDList
|
548
552
|
|
549
|
-
def initialize(source=nil, target=nil, projectid=nil, sourcetextlist=nil)
|
553
|
+
def initialize(source=nil, target=nil, projectid=nil, sourcetextlist=nil, termrepoidlist=nil, sentrepoidlist=nil)
|
550
554
|
@Source = source
|
551
555
|
@Target = target
|
552
556
|
@ProjectId = projectid
|
553
557
|
@SourceTextList = sourcetextlist
|
558
|
+
@TermRepoIDList = termrepoidlist
|
559
|
+
@SentRepoIDList = sentrepoidlist
|
554
560
|
end
|
555
561
|
|
556
562
|
def deserialize(params)
|
@@ -558,6 +564,8 @@ module TencentCloud
|
|
558
564
|
@Target = params['Target']
|
559
565
|
@ProjectId = params['ProjectId']
|
560
566
|
@SourceTextList = params['SourceTextList']
|
567
|
+
@TermRepoIDList = params['TermRepoIDList']
|
568
|
+
@SentRepoIDList = params['SentRepoIDList']
|
561
569
|
end
|
562
570
|
end
|
563
571
|
|
@@ -639,15 +647,21 @@ module TencentCloud
|
|
639
647
|
# @type ProjectId: Integer
|
640
648
|
# @param UntranslatedText: 用来标记不希望被翻译的文本内容,如句子中的特殊符号、人名、地名等;每次请求只支持配置一个不被翻译的单词;仅支持配置人名、地名等名词,不要配置动词或短语,否则会影响翻译结果。
|
641
649
|
# @type UntranslatedText: String
|
650
|
+
# @param TermRepoIDList: 需要使用的术语库列表
|
651
|
+
# @type TermRepoIDList: Array
|
652
|
+
# @param SentRepoIDList: 需要使用的例句库列表
|
653
|
+
# @type SentRepoIDList: Array
|
642
654
|
|
643
|
-
attr_accessor :SourceText, :Source, :Target, :ProjectId, :UntranslatedText
|
655
|
+
attr_accessor :SourceText, :Source, :Target, :ProjectId, :UntranslatedText, :TermRepoIDList, :SentRepoIDList
|
644
656
|
|
645
|
-
def initialize(sourcetext=nil, source=nil, target=nil, projectid=nil, untranslatedtext=nil)
|
657
|
+
def initialize(sourcetext=nil, source=nil, target=nil, projectid=nil, untranslatedtext=nil, termrepoidlist=nil, sentrepoidlist=nil)
|
646
658
|
@SourceText = sourcetext
|
647
659
|
@Source = source
|
648
660
|
@Target = target
|
649
661
|
@ProjectId = projectid
|
650
662
|
@UntranslatedText = untranslatedtext
|
663
|
+
@TermRepoIDList = termrepoidlist
|
664
|
+
@SentRepoIDList = sentrepoidlist
|
651
665
|
end
|
652
666
|
|
653
667
|
def deserialize(params)
|
@@ -656,6 +670,8 @@ module TencentCloud
|
|
656
670
|
@Target = params['Target']
|
657
671
|
@ProjectId = params['ProjectId']
|
658
672
|
@UntranslatedText = params['UntranslatedText']
|
673
|
+
@TermRepoIDList = params['TermRepoIDList']
|
674
|
+
@SentRepoIDList = params['SentRepoIDList']
|
659
675
|
end
|
660
676
|
end
|
661
677
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tmt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.857
|
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-07-
|
11
|
+
date: 2024-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|