tencentcloud-sdk-vrs 3.0.793 → 3.0.795

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/v20200824/models.rb +21 -22
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 322170d0c352f2f6616baf220674fa3a2fc8c177
4
- data.tar.gz: 2cfa80ed1e0bcdaab06a3b49fbfe24b0fdd72e59
3
+ metadata.gz: ed643e3f694d0cfb7fa8674e474d3e21a24ad354
4
+ data.tar.gz: 081bfebec210d90e27d487097321ec03b3c4bdc5
5
5
  SHA512:
6
- metadata.gz: 1152041411b5fd603e5220ceb0c6dbfe51be0e19eaa08ee29a9fc0911e69b8ba945543d22c3eef36f37ab3c2982d0a44c03ded22015ca871d4ae4eb491d6f967
7
- data.tar.gz: bb0bc21996490e3eb60bc9277ccd35292480df090498fe8127a7c06ca9c8b6df5496f2482958d543415353e7fbb821b28fbd6c8e24a57c3287d9e30f8062c6d3
6
+ metadata.gz: c10a4ae6c42b4125a95923b2c96f58af62c971344de989d463194c246806408c20dbc1fe2f639b65373ff566d400319ba29285ec7131e381485c65a13719fce3
7
+ data.tar.gz: f991ab76a305c413928e539aa3d85e3dcf26b9a29e34176b5483bb72940aab4121612faecbb08ab9ca1b4b2656cdcdf0abacf3dd2706b59825c7be5760013f13
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.793
1
+ 3.0.795
@@ -73,10 +73,6 @@ module TencentCloud
73
73
  # @type SessionId: String
74
74
  # @param VoiceName: 音色名称
75
75
  # @type VoiceName: String
76
- # @param SampleRate: 音频采样率:
77
-
78
- # 16000:16k
79
- # @type SampleRate: Integer
80
76
  # @param VoiceGender: 音色性别:
81
77
 
82
78
  # 1-male
@@ -87,31 +83,34 @@ module TencentCloud
87
83
 
88
84
  # 1-中文
89
85
  # @type VoiceLanguage: Integer
90
- # @param Codec: 音频格式,音频类型(wav,mp3,aac,m4a)
91
- # @type Codec: String
92
86
  # @param AudioIdList: 音频ID集合
93
87
  # @type AudioIdList: Array
88
+ # @param SampleRate: 音频采样率:
89
+
90
+ # 16000:16k
91
+ # @type SampleRate: Integer
92
+ # @param Codec: 音频格式,音频类型(wav,mp3,aac,m4a)
93
+ # @type Codec: String
94
94
  # @param CallbackUrl: 回调 URL,用户自行搭建的用于接收结果的服务URL。如果用户使用轮询方式获取识别结果,则无需提交该参数。
95
95
  # 回调采用POST请求方式,Content-Type为application/json,回调数据格式如下:{"TaskId":"xxxxxxxxxxxxxx","Status":2,"StatusStr":"success","VoiceType":xxxxx,"ErrorMsg":""}
96
96
  # @type CallbackUrl: String
97
97
  # @param ModelType: 模型类型 1:在线 2:离线 默认为1
98
98
  # @type ModelType: Integer
99
- # @param TaskType: 任务类型 0:轻量版复刻
100
- # 默认为0
99
+ # @param TaskType: 复刻类型。 0 - 轻量版声音复刻(默认)。
101
100
  # @type TaskType: Integer
102
- # @param VPRAudioId: 校验音频ID
101
+ # @param VPRAudioId: 校验音频ID
103
102
  # @type VPRAudioId: String
104
103
 
105
- attr_accessor :SessionId, :VoiceName, :SampleRate, :VoiceGender, :VoiceLanguage, :Codec, :AudioIdList, :CallbackUrl, :ModelType, :TaskType, :VPRAudioId
104
+ attr_accessor :SessionId, :VoiceName, :VoiceGender, :VoiceLanguage, :AudioIdList, :SampleRate, :Codec, :CallbackUrl, :ModelType, :TaskType, :VPRAudioId
106
105
 
107
- def initialize(sessionid=nil, voicename=nil, samplerate=nil, voicegender=nil, voicelanguage=nil, codec=nil, audioidlist=nil, callbackurl=nil, modeltype=nil, tasktype=nil, vpraudioid=nil)
106
+ def initialize(sessionid=nil, voicename=nil, voicegender=nil, voicelanguage=nil, audioidlist=nil, samplerate=nil, codec=nil, callbackurl=nil, modeltype=nil, tasktype=nil, vpraudioid=nil)
108
107
  @SessionId = sessionid
109
108
  @VoiceName = voicename
110
- @SampleRate = samplerate
111
109
  @VoiceGender = voicegender
112
110
  @VoiceLanguage = voicelanguage
113
- @Codec = codec
114
111
  @AudioIdList = audioidlist
112
+ @SampleRate = samplerate
113
+ @Codec = codec
115
114
  @CallbackUrl = callbackurl
116
115
  @ModelType = modeltype
117
116
  @TaskType = tasktype
@@ -121,11 +120,11 @@ module TencentCloud
121
120
  def deserialize(params)
122
121
  @SessionId = params['SessionId']
123
122
  @VoiceName = params['VoiceName']
124
- @SampleRate = params['SampleRate']
125
123
  @VoiceGender = params['VoiceGender']
126
124
  @VoiceLanguage = params['VoiceLanguage']
127
- @Codec = params['Codec']
128
125
  @AudioIdList = params['AudioIdList']
126
+ @SampleRate = params['SampleRate']
127
+ @Codec = params['Codec']
129
128
  @CallbackUrl = params['CallbackUrl']
130
129
  @ModelType = params['ModelType']
131
130
  @TaskType = params['TaskType']
@@ -200,7 +199,7 @@ module TencentCloud
200
199
  # @param StatusStr: 任务状态,waiting:任务等待,doing:任务执行中,success:任务成功,failed:任务失败。
201
200
  # 注意:此字段可能返回 null,表示取不到有效值。
202
201
  # @type StatusStr: String
203
- # @param VoiceType: 音色id
202
+ # @param VoiceType: 音色id
204
203
  # 注意:此字段可能返回 null,表示取不到有效值。
205
204
  # @type VoiceType: Integer
206
205
  # @param ErrorMsg: 失败原因说明。
@@ -255,30 +254,30 @@ module TencentCloud
255
254
  # @type TextId: String
256
255
  # @param AudioData: 语音数据 要使用base64编码(采用python语言时注意读取文件时需要转成base64字符串编码,例如:str(base64.b64encode(open("input.aac", mode="rb").read()), encoding='utf-8') )。
257
256
  # @type AudioData: String
258
- # @param Codec: 音频格式,音频类型(wav,mp3,aac,m4a)
259
- # @type Codec: String
260
257
  # @param TypeId: 1:环境检测 2:音质检测
261
258
  # @type TypeId: Integer
259
+ # @param Codec: 音频格式,音频类型(wav,mp3,aac,m4a)
260
+ # @type Codec: String
262
261
  # @param SampleRate: 音频采样率:
263
262
 
264
263
  # 16000:16k(默认)
265
264
  # @type SampleRate: Integer
266
265
 
267
- attr_accessor :TextId, :AudioData, :Codec, :TypeId, :SampleRate
266
+ attr_accessor :TextId, :AudioData, :TypeId, :Codec, :SampleRate
268
267
 
269
- def initialize(textid=nil, audiodata=nil, codec=nil, typeid=nil, samplerate=nil)
268
+ def initialize(textid=nil, audiodata=nil, typeid=nil, codec=nil, samplerate=nil)
270
269
  @TextId = textid
271
270
  @AudioData = audiodata
272
- @Codec = codec
273
271
  @TypeId = typeid
272
+ @Codec = codec
274
273
  @SampleRate = samplerate
275
274
  end
276
275
 
277
276
  def deserialize(params)
278
277
  @TextId = params['TextId']
279
278
  @AudioData = params['AudioData']
280
- @Codec = params['Codec']
281
279
  @TypeId = params['TypeId']
280
+ @Codec = params['Codec']
282
281
  @SampleRate = params['SampleRate']
283
282
  end
284
283
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.793
4
+ version: 3.0.795
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-03-28 00:00:00.000000000 Z
11
+ date: 2024-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common