tencentcloud-sdk-tmt 3.0.856 → 3.0.858

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180321/models.rb +24 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38962142b3b3960f56bd9532c4b7106d2b04ab98
4
- data.tar.gz: 9233d2d7c4137b2ffb71139079c7c52ecdcdff7d
3
+ metadata.gz: a80073f5fc4547507e2141fcb9388c3f67aaadf8
4
+ data.tar.gz: 1be8abf91448965776f26455aa2da6b384c96d8e
5
5
  SHA512:
6
- metadata.gz: d074395cb510f3de46fae09a368ecfa5157cc68e4d58af6523ec84f4149947ba8cd2b119cc72fb7cd4ee3a34bb21bba2450f8362add0797bbd3bb4504a16b389
7
- data.tar.gz: 8e0fd4804ebff6dd3f6bd6eb264877d2cca1aa97bd7b479687f58cfafc5610d13965f3d8cf558b503014c52f63de0854fa4bc796466b11c4e3ce430058768b23
6
+ metadata.gz: 642ead26ef90a6d72ff21120a0bd9f63582fafd37b1b2f6c24692436cc35dcc99adc896d75bbd788e56ff6a61a10b356b70443a6cc34ee626e386b457f5f130e
7
+ data.tar.gz: 438b2b6951b0e7e8c984c6c4bf5bfea62b752a0d3831b8269ffcf0115c1ead14a59327e9d96d8372fb224a63d20bd1422afa1631507a536cc4cf1d788cd82bc9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.856
1
+ 3.0.858
@@ -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, 6
403
- deprecate :Mode=, :none, 2024, 6
404
- deprecate :TransType, :none, 2024, 6
405
- deprecate :TransType=, :none, 2024, 6
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.856
4
+ version: 3.0.858
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-02 00:00:00.000000000 Z
11
+ date: 2024-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common