tencentcloud-sdk-trtc 3.0.1146 → 3.0.1153

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190722/models.rb +53 -22
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a100aff09e60963b54a5e177ccc116b5964d561
4
- data.tar.gz: 7098643a31983e6675c5771af9b89a2c024222c6
3
+ metadata.gz: 2dac09ea819ddf51d03667ff52b20b2bc5273362
4
+ data.tar.gz: cf280a2a109ebfd24a9526ab966548ce8cb5ddc2
5
5
  SHA512:
6
- metadata.gz: 9a68f2956c2032d2dee544ac78ef238806a38c8806a6a4f3f7d6a56f050fde2281106b427598fdd4db0b81434c1428b4dc636d9623c54546c03ba8b22d40be91
7
- data.tar.gz: 4bccc9e095e0a7f5a48b3c8d7768ffadeca67b59516e3906377b9e62a752d619e6fc5fa810af05e1000ac35bf0c33d26b22be47a8feea418cfa14781fdccde78
6
+ metadata.gz: 4b3ddbd5650660e5473f6ecc579ae19ac7b06d651c5864005da0df9c2fca09e184ee3146b3fda73bf5e05dccd8291e30f8a9e0fb76abea66776ea731fcc349e2
7
+ data.tar.gz: ea972a282498b4ce29c5151adfa6f70e76b8429b41a96ee01f285e78b6ad27fd121f14a1bb3ceac830359be2fe3925e1b194b0d3c1f5854a39b9e09d42277359
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1146
1
+ 3.0.1153
@@ -4771,10 +4771,10 @@ module TencentCloud
4771
4771
 
4772
4772
  attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime, :VadLevel
4773
4773
  extend Gem::Deprecate
4774
- deprecate :Model, :none, 2025, 9
4775
- deprecate :Model=, :none, 2025, 9
4776
- deprecate :TranslationLanguage, :none, 2025, 9
4777
- deprecate :TranslationLanguage=, :none, 2025, 9
4774
+ deprecate :Model, :none, 2025, 10
4775
+ deprecate :Model=, :none, 2025, 10
4776
+ deprecate :TranslationLanguage, :none, 2025, 10
4777
+ deprecate :TranslationLanguage=, :none, 2025, 10
4778
4778
 
4779
4779
  def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil, vadlevel=nil)
4780
4780
  @Language = language
@@ -5897,12 +5897,12 @@ module TencentCloud
5897
5897
 
5898
5898
  attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
5899
5899
  extend Gem::Deprecate
5900
- deprecate :VideoEncodeParams, :none, 2025, 9
5901
- deprecate :VideoEncodeParams=, :none, 2025, 9
5902
- deprecate :AudioEncodeParams, :none, 2025, 9
5903
- deprecate :AudioEncodeParams=, :none, 2025, 9
5904
- deprecate :SourceUrl, :none, 2025, 9
5905
- deprecate :SourceUrl=, :none, 2025, 9
5900
+ deprecate :VideoEncodeParams, :none, 2025, 10
5901
+ deprecate :VideoEncodeParams=, :none, 2025, 10
5902
+ deprecate :AudioEncodeParams, :none, 2025, 10
5903
+ deprecate :AudioEncodeParams=, :none, 2025, 10
5904
+ deprecate :SourceUrl, :none, 2025, 10
5905
+ deprecate :SourceUrl=, :none, 2025, 10
5906
5906
 
5907
5907
  def initialize(sdkappid=nil, roomid=nil, roomidtype=nil, userid=nil, usersig=nil, streamurl=nil, privatemapkey=nil, videoencodeparams=nil, audioencodeparams=nil, sourceurl=nil, seeksecond=nil, autopush=nil, repeatnum=nil, maxduration=nil, volume=nil)
5908
5908
  @SdkAppId = sdkappid
@@ -6555,6 +6555,26 @@ module TencentCloud
6555
6555
  end
6556
6556
  end
6557
6557
 
6558
+ # 翻译术语
6559
+ class Terminology < TencentCloud::Common::AbstractModel
6560
+ # @param Source: 源术语
6561
+ # @type Source: String
6562
+ # @param Target: 目标术语翻译结果
6563
+ # @type Target: String
6564
+
6565
+ attr_accessor :Source, :Target
6566
+
6567
+ def initialize(source=nil, target=nil)
6568
+ @Source = source
6569
+ @Target = target
6570
+ end
6571
+
6572
+ def deserialize(params)
6573
+ @Source = params['Source']
6574
+ @Target = params['Target']
6575
+ end
6576
+ end
6577
+
6558
6578
  # TextToSpeech请求参数结构体
6559
6579
  class TextToSpeechRequest < TencentCloud::Common::AbstractModel
6560
6580
  # @param Text: 需要转语音的文字内容,长度范围:[1, 255]
@@ -6714,10 +6734,10 @@ module TencentCloud
6714
6734
 
6715
6735
  attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint, :TurnDetection
6716
6736
  extend Gem::Deprecate
6717
- deprecate :IMAdminUserId, :none, 2025, 9
6718
- deprecate :IMAdminUserId=, :none, 2025, 9
6719
- deprecate :IMAdminUserSig, :none, 2025, 9
6720
- deprecate :IMAdminUserSig=, :none, 2025, 9
6737
+ deprecate :IMAdminUserId, :none, 2025, 10
6738
+ deprecate :IMAdminUserId=, :none, 2025, 10
6739
+ deprecate :IMAdminUserSig, :none, 2025, 10
6740
+ deprecate :IMAdminUserSig=, :none, 2025, 10
6721
6741
 
6722
6742
  def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil, turndetection=nil)
6723
6743
  @UserId = userid
@@ -6760,13 +6780,16 @@ module TencentCloud
6760
6780
  # @type Mode: Integer
6761
6781
  # @param TTSConfig: 语音同传配置,开启同传时,需要传递
6762
6782
  # @type TTSConfig: :class:`Tencentcloud::Trtc.v20190722.models.TTSConfig`
6783
+ # @param Terminology: 翻译术语集合
6784
+ # @type Terminology: Array
6763
6785
 
6764
- attr_accessor :TargetLanguages, :Mode, :TTSConfig
6786
+ attr_accessor :TargetLanguages, :Mode, :TTSConfig, :Terminology
6765
6787
 
6766
- def initialize(targetlanguages=nil, mode=nil, ttsconfig=nil)
6788
+ def initialize(targetlanguages=nil, mode=nil, ttsconfig=nil, terminology=nil)
6767
6789
  @TargetLanguages = targetlanguages
6768
6790
  @Mode = mode
6769
6791
  @TTSConfig = ttsconfig
6792
+ @Terminology = terminology
6770
6793
  end
6771
6794
 
6772
6795
  def deserialize(params)
@@ -6776,6 +6799,14 @@ module TencentCloud
6776
6799
  @TTSConfig = TTSConfig.new
6777
6800
  @TTSConfig.deserialize(params['TTSConfig'])
6778
6801
  end
6802
+ unless params['Terminology'].nil?
6803
+ @Terminology = []
6804
+ params['Terminology'].each do |i|
6805
+ terminology_tmp = Terminology.new
6806
+ terminology_tmp.deserialize(i)
6807
+ @Terminology << terminology_tmp
6808
+ end
6809
+ end
6779
6810
  end
6780
6811
  end
6781
6812
 
@@ -7269,30 +7300,30 @@ module TencentCloud
7269
7300
  class VoiceCloneRequest < TencentCloud::Common::AbstractModel
7270
7301
  # @param SdkAppId: TRTC的SdkAppId
7271
7302
  # @type SdkAppId: Integer
7272
- # @param APIKey: TTS的API密钥
7273
- # @type APIKey: String
7274
7303
  # @param VoiceName: 声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
7275
7304
  # @type VoiceName: String
7276
7305
  # @param PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在5秒~12秒之间
7277
7306
  # @type PromptAudio: String
7307
+ # @param APIKey: TTS的API密钥
7308
+ # @type APIKey: String
7278
7309
  # @param PromptText: 声音克隆的参考文本,为参考音频对应的文字。
7279
7310
  # @type PromptText: String
7280
7311
 
7281
- attr_accessor :SdkAppId, :APIKey, :VoiceName, :PromptAudio, :PromptText
7312
+ attr_accessor :SdkAppId, :VoiceName, :PromptAudio, :APIKey, :PromptText
7282
7313
 
7283
- def initialize(sdkappid=nil, apikey=nil, voicename=nil, promptaudio=nil, prompttext=nil)
7314
+ def initialize(sdkappid=nil, voicename=nil, promptaudio=nil, apikey=nil, prompttext=nil)
7284
7315
  @SdkAppId = sdkappid
7285
- @APIKey = apikey
7286
7316
  @VoiceName = voicename
7287
7317
  @PromptAudio = promptaudio
7318
+ @APIKey = apikey
7288
7319
  @PromptText = prompttext
7289
7320
  end
7290
7321
 
7291
7322
  def deserialize(params)
7292
7323
  @SdkAppId = params['SdkAppId']
7293
- @APIKey = params['APIKey']
7294
7324
  @VoiceName = params['VoiceName']
7295
7325
  @PromptAudio = params['PromptAudio']
7326
+ @APIKey = params['APIKey']
7296
7327
  @PromptText = params['PromptText']
7297
7328
  end
7298
7329
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trtc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1146
4
+ version: 3.0.1153
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-24 00:00:00.000000000 Z
11
+ date: 2025-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20190722/client.rb
37
- - lib/v20190722/models.rb
38
36
  - lib/tencentcloud-sdk-trtc.rb
37
+ - lib/v20190722/models.rb
38
+ - lib/v20190722/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: