tencentcloud-sdk-asr 1.0.217 → 1.0.221

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: 380fb543d9b5fbe82a64e66e2b8ebdc974b19260
4
- data.tar.gz: 567c2f2b917fa73221d21e64da6818377dffec7b
3
+ metadata.gz: 37eff73389a808b6adacb0ebd534b2298401a12a
4
+ data.tar.gz: 81921e23f7b3588c400014b4fa93157530dcbc67
5
5
  SHA512:
6
- metadata.gz: 9845634a0fc0bc9311518b26777b783d9772e689a47bbb4e0ef409035d2569567967a0ff964fcb2fc08f58e196223834bf7936a4da71491f942153a5973d5f1c
7
- data.tar.gz: b0d614513ca8fcd822c4f81d53edbb129f14c02bf97e989bbb4a868b9af9f9b9448662119ec2bf9b0217f4480fb6e38adb3657744f746a4f55cc1271db1130b3
6
+ metadata.gz: b20e2b856f48b15c5f72240a1b5d94e44da30f596be6550d52b48830085fb82563ce7def91dcab595f5ec41ae2cf8906fc70b37eaefee24c45f44688d07dc595
7
+ data.tar.gz: 2c5923616fda0f6952bb2f60319b19e24e6cfc1b6835e515d7f6af22e89c10592ea0bdeab1fb470da5957849e093dc2f63ea1a653148aa614a15af4e484d500e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.217
1
+ 1.0.221
@@ -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.217
4
+ version: 1.0.221
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-06 00:00:00.000000000 Z
11
+ date: 2021-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common