tencentcloud-sdk-ams 3.0.895 → 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: e1ae0ade4a8a9e9d1089e0c859b27103bcb7209d
4
- data.tar.gz: 807b81171ea29bbe5d58c69e64c1d73e81b7fca9
3
+ metadata.gz: 9598c0c9f3ce50a97f905c88409065ebe3557799
4
+ data.tar.gz: 4957c65c10b6557e9079a1a20d704d2a4d0c4188
5
5
  SHA512:
6
- metadata.gz: 407ca78a7d62fdc5b9dec40d4b97dcbd4982d854f6d14f537ed4b20b62d37fef035126e01f46c1541f9dc4dc0ea92f6f89b6146495b7c7d5d3225eb0e31eee05
7
- data.tar.gz: 73296a47bb838228d859733af883228af1bfecdc151db945fcd082e503c08f6e006607bf4f171c4fb64d9eb9e1d83491e792ea6a72b769649fdaa867345662c0
6
+ metadata.gz: 19d37c951e4dab87d7d173e65886221f537b52db24083bd529eff38a63d18f9a5eb4539d1fb578a46a92c39cc6c1fd49476bb337c2b1ee14bfaacfc06ffe717c
7
+ data.tar.gz: 18fed18f6907ecfdec3eaf90deb4ff549e0b9d3236a23d2dd03385793b057a2e54327089de337bf4e50bdb3db681ad49e5c5a289d311394c4569dd3af2e3293d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.895
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.895
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