tencentcloud-sdk-ams 3.0.896 → 3.0.898

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/v20201229/models.rb +12 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7201006a6193f0535b77c87e250e4d97a8875998
4
- data.tar.gz: 3cd6572a9e7cc6ec90766bcdfee47584afe653f8
3
+ metadata.gz: c9b6c56080ff421d7eb3c399e9e8a71864306a19
4
+ data.tar.gz: 7dc5094267a953d0804230620c1423b73963dd5b
5
5
  SHA512:
6
- metadata.gz: 1838eefb80710b44f03ed4501ee65ce07c5a21d6b698d5dc15846c91770433872f481404c7b564e58e365888ffb323ed80c0478c7891ad404497bc245133a8c0
7
- data.tar.gz: 207dc82126554c08944346dc20966b9be051e4ca769e4e3f0f14bb7e404592babdf24cf6a5ea8f30513106bf1182027a61ce2569007e3f942cc234cc6bd75234
6
+ metadata.gz: 673dc8c6c06dc8085335211058413160afe7a0617b968b9ce8ecfddac79f806075158bc0e96bacf5d522a9b3c6a631223049a461617e61e76a168cb95eb7da4f
7
+ data.tar.gz: 3d7d4bda5c7dcbafff3265ec16ccc0074b7cd9221992e0b9957f18df9e6526c3a3cb89c25b5e13a7dc8b39b60bb25bd93842e6bb5f1cd3503ffdf95b27cf0754
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.896
1
+ 3.0.898
@@ -209,8 +209,8 @@ module TencentCloud
209
209
 
210
210
  attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode, :SubLabel, :Suggestion
211
211
  extend Gem::Deprecate
212
- deprecate :SubLabelCode, :none, 2024, 7
213
- deprecate :SubLabelCode=, :none, 2024, 7
212
+ deprecate :SubLabelCode, :none, 2024, 9
213
+ deprecate :SubLabelCode=, :none, 2024, 9
214
214
 
215
215
  def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil, sublabel=nil, suggestion=nil)
216
216
  @Label = label
@@ -490,12 +490,16 @@ module TencentCloud
490
490
  # @param Duration: 识别音频时长,单位为毫秒;
491
491
  # 注意:此字段可能返回 null,表示取不到有效值。
492
492
  # @type Duration: String
493
+ # @param HitFlag: 是否命中(0:否, 1: 是)
494
+ # @type HitFlag: Integer
495
+ # @param Score: 得分
496
+ # @type Score: Integer
493
497
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
494
498
  # @type RequestId: String
495
499
 
496
- attr_accessor :DataId, :Name, :BizType, :Suggestion, :Label, :AsrText, :TextResults, :MoanResults, :SubLabel, :LanguageResults, :SpeakerResults, :RecognitionResults, :Duration, :RequestId
500
+ attr_accessor :DataId, :Name, :BizType, :Suggestion, :Label, :AsrText, :TextResults, :MoanResults, :SubLabel, :LanguageResults, :SpeakerResults, :RecognitionResults, :Duration, :HitFlag, :Score, :RequestId
497
501
 
498
- def initialize(dataid=nil, name=nil, biztype=nil, suggestion=nil, label=nil, asrtext=nil, textresults=nil, moanresults=nil, sublabel=nil, languageresults=nil, speakerresults=nil, recognitionresults=nil, duration=nil, requestid=nil)
502
+ def initialize(dataid=nil, name=nil, biztype=nil, suggestion=nil, label=nil, asrtext=nil, textresults=nil, moanresults=nil, sublabel=nil, languageresults=nil, speakerresults=nil, recognitionresults=nil, duration=nil, hitflag=nil, score=nil, requestid=nil)
499
503
  @DataId = dataid
500
504
  @Name = name
501
505
  @BizType = biztype
@@ -509,6 +513,8 @@ module TencentCloud
509
513
  @SpeakerResults = speakerresults
510
514
  @RecognitionResults = recognitionresults
511
515
  @Duration = duration
516
+ @HitFlag = hitflag
517
+ @Score = score
512
518
  @RequestId = requestid
513
519
  end
514
520
 
@@ -561,6 +567,8 @@ module TencentCloud
561
567
  end
562
568
  end
563
569
  @Duration = params['Duration']
570
+ @HitFlag = params['HitFlag']
571
+ @Score = params['Score']
564
572
  @RequestId = params['RequestId']
565
573
  end
566
574
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ams
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.896
4
+ version: 3.0.898
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-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common