tencentcloud-sdk-asr 1.0.219 → 1.0.220

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64d4c8a4ee4ffe32f2663fdb9c3053df67a9c1fd
4
- data.tar.gz: b21c050aa4e9750f48635ce0c4a4319f7c22e4d0
3
+ metadata.gz: 8747db9734e8895bf40a884b3bbbf1b789c34cce
4
+ data.tar.gz: 143798dde81054a41e0b2313afdade9d4097345c
5
5
  SHA512:
6
- metadata.gz: cb9a8a218f52f5fad14f04a024ab01b9ecc6c7dd85cd8aec2d844597927db5f12c31d6cb0e6292b83be36f9cadf21208efbd02738063c7bf964602b7835fbe0b
7
- data.tar.gz: 17992c221ee5756c0cad53e311cd036c526fe57ad7027d2a1ba5ae5ccbfa48074e43e5d39014ba1a66f2eb3631518dffc1e46b8b794925e088f7750e5e574c7e
6
+ metadata.gz: 85ab368f1c3b83c63c54f1d0755ba50fcec8fa100c7c69e5334ed6f5a961c7efa33d8bda3802955585d581921528689a651e18f25c8559ec4d1148f4a284e7e4
7
+ data.tar.gz: efd7c5d2e5a49f06341963e76cfba6756bd37ecbad29dc13608545caa3e0d8ee62118833e648c419e608cc3e0b823a3d8478aeec919246e77f5abce839324bcd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.219
1
+ 1.0.220
@@ -1233,16 +1233,20 @@ module TencentCloud
1233
1233
  # @param ResultDetail: 识别结果详情,包含每个句子中的词时间偏移,一般用于生成字幕的场景。(录音识别请求中ResTextFormat=1时该字段不为空)
1234
1234
  # 注意:此字段可能返回 null,表示取不到有效值。
1235
1235
  # @type ResultDetail: Array
1236
+ # @param AudioDuration: 音频时长(秒)。
1237
+ # 注意:此字段可能返回 null,表示取不到有效值。
1238
+ # @type AudioDuration: Float
1236
1239
 
1237
- attr_accessor :TaskId, :Status, :StatusStr, :Result, :ErrorMsg, :ResultDetail
1240
+ attr_accessor :TaskId, :Status, :StatusStr, :Result, :ErrorMsg, :ResultDetail, :AudioDuration
1238
1241
 
1239
- def initialize(taskid=nil, status=nil, statusstr=nil, result=nil, errormsg=nil, resultdetail=nil)
1242
+ def initialize(taskid=nil, status=nil, statusstr=nil, result=nil, errormsg=nil, resultdetail=nil, audioduration=nil)
1240
1243
  @TaskId = taskid
1241
1244
  @Status = status
1242
1245
  @StatusStr = statusstr
1243
1246
  @Result = result
1244
1247
  @ErrorMsg = errormsg
1245
1248
  @ResultDetail = resultdetail
1249
+ @AudioDuration = audioduration
1246
1250
  end
1247
1251
 
1248
1252
  def deserialize(params)
@@ -1259,6 +1263,7 @@ module TencentCloud
1259
1263
  @ResultDetail << sentencedetail_tmp
1260
1264
  end
1261
1265
  end
1266
+ @AudioDuration = params['AudioDuration']
1262
1267
  end
1263
1268
  end
1264
1269
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-asr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.219
4
+ version: 1.0.220
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2021-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common