tencentcloud-sdk-ams 3.0.896 → 3.0.897

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: 9598c0c9f3ce50a97f905c88409065ebe3557799
4
+ data.tar.gz: 4957c65c10b6557e9079a1a20d704d2a4d0c4188
5
5
  SHA512:
6
- metadata.gz: 1838eefb80710b44f03ed4501ee65ce07c5a21d6b698d5dc15846c91770433872f481404c7b564e58e365888ffb323ed80c0478c7891ad404497bc245133a8c0
7
- data.tar.gz: 207dc82126554c08944346dc20966b9be051e4ca769e4e3f0f14bb7e404592babdf24cf6a5ea8f30513106bf1182027a61ce2569007e3f942cc234cc6bd75234
6
+ metadata.gz: 19d37c951e4dab87d7d173e65886221f537b52db24083bd529eff38a63d18f9a5eb4539d1fb578a46a92c39cc6c1fd49476bb337c2b1ee14bfaacfc06ffe717c
7
+ data.tar.gz: 18fed18f6907ecfdec3eaf90deb4ff549e0b9d3236a23d2dd03385793b057a2e54327089de337bf4e50bdb3db681ad49e5c5a289d311394c4569dd3af2e3293d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.896
1
+ 3.0.897
@@ -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.897
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-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common