tencentcloud-sdk-asr 3.0.590 → 3.0.591

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/v20190614/models.rb +57 -50
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28b533c280260da895f14436d54ac603b0488415
4
- data.tar.gz: b34b017ca00aa411712e73a834871b692ac9b248
3
+ metadata.gz: 74f8ba419b681fa21edbcf10386a8f2f52f32b74
4
+ data.tar.gz: 336c2fbca41379ec960a1452c139e6cc6e46ff1a
5
5
  SHA512:
6
- metadata.gz: 5155d2a147076da79ded19e3ef99e95d6cfbeff59b6b68c163a9019d6dff3d5bf146ebac57ef7d2381e6a0e1650e9b67e5e4b77882109aa5ba837e4a0574d5de
7
- data.tar.gz: a863dcaaf834515f1cff40a9f2a70709f5b43ae57ce1ca9bec71a19b738f0b3d0ada8c28aae5a38cdeeb5788d885aa4104e3d856ac386626ca7b0da548d933c0
6
+ metadata.gz: 7a4ad97adf2097e508c1a5fec6bae9907d13f7d2a20773cabcf859b1a30115bf8cb96f4104f20719519eab1d0ab2c27611feab5e6a8242a2e3710b95c4d1e526
7
+ data.tar.gz: ad9225ff46631e8e946ac026600c56385ce9eaf1713bad480cfcbf0c51d53462e7e6769e725247c72e5eaa42712b02e6f9aa511ad9234b75723027e2810a45db
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.590
1
+ 3.0.591
@@ -25,7 +25,7 @@ module TencentCloud
25
25
  # @type Url: String
26
26
 
27
27
  attr_accessor :TaskId, :Url
28
-
28
+
29
29
  def initialize(taskid=nil, url=nil)
30
30
  @TaskId = taskid
31
31
  @Url = url
@@ -44,7 +44,7 @@ module TencentCloud
44
44
  # @type Tasks: Array
45
45
 
46
46
  attr_accessor :Tasks
47
-
47
+
48
48
  def initialize(tasks=nil)
49
49
  @Tasks = tasks
50
50
  end
@@ -67,7 +67,7 @@ module TencentCloud
67
67
  # @type TaskId: Integer
68
68
 
69
69
  attr_accessor :TaskId
70
-
70
+
71
71
  def initialize(taskid=nil)
72
72
  @TaskId = taskid
73
73
  end
@@ -83,7 +83,7 @@ module TencentCloud
83
83
  # @type RequestId: String
84
84
 
85
85
  attr_accessor :RequestId
86
-
86
+
87
87
  def initialize(requestid=nil)
88
88
  @RequestId = requestid
89
89
  end
@@ -106,7 +106,7 @@ module TencentCloud
106
106
  # @type WordWeightStr: String
107
107
 
108
108
  attr_accessor :Name, :Description, :WordWeights, :WordWeightStr
109
-
109
+
110
110
  def initialize(name=nil, description=nil, wordweights=nil, wordweightstr=nil)
111
111
  @Name = name
112
112
  @Description = description
@@ -137,7 +137,7 @@ module TencentCloud
137
137
  # @type RequestId: String
138
138
 
139
139
  attr_accessor :VocabId, :RequestId
140
-
140
+
141
141
  def initialize(vocabid=nil, requestid=nil)
142
142
  @VocabId = vocabid
143
143
  @RequestId = requestid
@@ -183,7 +183,7 @@ module TencentCloud
183
183
  # @type AudioData: Boolean
184
184
 
185
185
  attr_accessor :EngineType, :Url, :CallbackUrl, :SignToken, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :WordInfo, :HotwordId, :AudioData
186
-
186
+
187
187
  def initialize(enginetype=nil, url=nil, callbackurl=nil, signtoken=nil, filterdirty=nil, filtermodal=nil, filterpunc=nil, convertnummode=nil, wordinfo=nil, hotwordid=nil, audiodata=nil)
188
188
  @EngineType = enginetype
189
189
  @Url = url
@@ -221,7 +221,7 @@ module TencentCloud
221
221
  # @type RequestId: String
222
222
 
223
223
  attr_accessor :Data, :RequestId
224
-
224
+
225
225
  def initialize(data=nil, requestid=nil)
226
226
  @Data = data
227
227
  @RequestId = requestid
@@ -248,7 +248,7 @@ module TencentCloud
248
248
  # @type TagInfos: Array
249
249
 
250
250
  attr_accessor :ModelName, :TextUrl, :ModelType, :TagInfos
251
-
251
+
252
252
  def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
253
253
  @ModelName = modelname
254
254
  @TextUrl = texturl
@@ -272,7 +272,7 @@ module TencentCloud
272
272
  # @type RequestId: String
273
273
 
274
274
  attr_accessor :ModelId, :RequestId
275
-
275
+
276
276
  def initialize(modelid=nil, requestid=nil)
277
277
  @ModelId = modelid
278
278
  @RequestId = requestid
@@ -353,7 +353,7 @@ module TencentCloud
353
353
  # @type EmotionRecognition: Integer
354
354
 
355
355
  attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :SpeakerDiarization, :SpeakerNumber, :CallbackUrl, :Url, :Data, :DataLen, :ConvertNumMode, :FilterDirty, :HotwordId, :CustomizationId, :Extra, :FilterPunc, :FilterModal, :EmotionalEnergy, :ReinforceHotword, :SentenceMaxLength, :EmotionRecognition
356
-
356
+
357
357
  def initialize(enginemodeltype=nil, channelnum=nil, restextformat=nil, sourcetype=nil, speakerdiarization=nil, speakernumber=nil, callbackurl=nil, url=nil, data=nil, datalen=nil, convertnummode=nil, filterdirty=nil, hotwordid=nil, customizationid=nil, extra=nil, filterpunc=nil, filtermodal=nil, emotionalenergy=nil, reinforcehotword=nil, sentencemaxlength=nil, emotionrecognition=nil)
358
358
  @EngineModelType = enginemodeltype
359
359
  @ChannelNum = channelnum
@@ -411,7 +411,7 @@ module TencentCloud
411
411
  # @type RequestId: String
412
412
 
413
413
  attr_accessor :Data, :RequestId
414
-
414
+
415
415
  def initialize(data=nil, requestid=nil)
416
416
  @Data = data
417
417
  @RequestId = requestid
@@ -432,7 +432,7 @@ module TencentCloud
432
432
  # @type VocabId: String
433
433
 
434
434
  attr_accessor :VocabId
435
-
435
+
436
436
  def initialize(vocabid=nil)
437
437
  @VocabId = vocabid
438
438
  end
@@ -448,7 +448,7 @@ module TencentCloud
448
448
  # @type RequestId: String
449
449
 
450
450
  attr_accessor :RequestId
451
-
451
+
452
452
  def initialize(requestid=nil)
453
453
  @RequestId = requestid
454
454
  end
@@ -464,7 +464,7 @@ module TencentCloud
464
464
  # @type ModelId: String
465
465
 
466
466
  attr_accessor :ModelId
467
-
467
+
468
468
  def initialize(modelid=nil)
469
469
  @ModelId = modelid
470
470
  end
@@ -480,7 +480,7 @@ module TencentCloud
480
480
  # @type RequestId: String
481
481
 
482
482
  attr_accessor :RequestId
483
-
483
+
484
484
  def initialize(requestid=nil)
485
485
  @RequestId = requestid
486
486
  end
@@ -493,7 +493,7 @@ module TencentCloud
493
493
  # DescribeAsyncRecognitionTasks请求参数结构体
494
494
  class DescribeAsyncRecognitionTasksRequest < TencentCloud::Common::AbstractModel
495
495
 
496
-
496
+
497
497
  def initialize()
498
498
  end
499
499
 
@@ -510,7 +510,7 @@ module TencentCloud
510
510
  # @type RequestId: String
511
511
 
512
512
  attr_accessor :Data, :RequestId
513
-
513
+
514
514
  def initialize(data=nil, requestid=nil)
515
515
  @Data = data
516
516
  @RequestId = requestid
@@ -531,7 +531,7 @@ module TencentCloud
531
531
  # @type TaskId: Integer
532
532
 
533
533
  attr_accessor :TaskId
534
-
534
+
535
535
  def initialize(taskid=nil)
536
536
  @TaskId = taskid
537
537
  end
@@ -549,7 +549,7 @@ module TencentCloud
549
549
  # @type RequestId: String
550
550
 
551
551
  attr_accessor :Data, :RequestId
552
-
552
+
553
553
  def initialize(data=nil, requestid=nil)
554
554
  @Data = data
555
555
  @RequestId = requestid
@@ -570,7 +570,7 @@ module TencentCloud
570
570
  # @type VocabId: String
571
571
 
572
572
  attr_accessor :VocabId
573
-
573
+
574
574
  def initialize(vocabid=nil)
575
575
  @VocabId = vocabid
576
576
  end
@@ -590,7 +590,7 @@ module TencentCloud
590
590
  # @type RequestId: String
591
591
 
592
592
  attr_accessor :VocabId, :WordWeightStr, :RequestId
593
-
593
+
594
594
  def initialize(vocabid=nil, wordweightstr=nil, requestid=nil)
595
595
  @VocabId = vocabid
596
596
  @WordWeightStr = wordweightstr
@@ -610,7 +610,7 @@ module TencentCloud
610
610
  # @type ModelId: String
611
611
 
612
612
  attr_accessor :ModelId
613
-
613
+
614
614
  def initialize(modelid=nil)
615
615
  @ModelId = modelid
616
616
  end
@@ -628,7 +628,7 @@ module TencentCloud
628
628
  # @type RequestId: String
629
629
 
630
630
  attr_accessor :DownloadUrl, :RequestId
631
-
631
+
632
632
  def initialize(downloadurl=nil, requestid=nil)
633
633
  @DownloadUrl = downloadurl
634
634
  @RequestId = requestid
@@ -650,7 +650,7 @@ module TencentCloud
650
650
  # @type Limit: Integer
651
651
 
652
652
  attr_accessor :TagInfos, :Offset, :Limit
653
-
653
+
654
654
  def initialize(taginfos=nil, offset=nil, limit=nil)
655
655
  @TagInfos = taginfos
656
656
  @Offset = offset
@@ -674,7 +674,7 @@ module TencentCloud
674
674
  # @type RequestId: String
675
675
 
676
676
  attr_accessor :VocabList, :TotalCount, :RequestId
677
-
677
+
678
678
  def initialize(vocablist=nil, totalcount=nil, requestid=nil)
679
679
  @VocabList = vocablist
680
680
  @TotalCount = totalcount
@@ -701,7 +701,7 @@ module TencentCloud
701
701
  # @type VocabId: String
702
702
 
703
703
  attr_accessor :VocabId
704
-
704
+
705
705
  def initialize(vocabid=nil)
706
706
  @VocabId = vocabid
707
707
  end
@@ -731,7 +731,7 @@ module TencentCloud
731
731
  # @type RequestId: String
732
732
 
733
733
  attr_accessor :Name, :Description, :VocabId, :WordWeights, :CreateTime, :UpdateTime, :State, :RequestId
734
-
734
+
735
735
  def initialize(name=nil, description=nil, vocabid=nil, wordweights=nil, createtime=nil, updatetime=nil, state=nil, requestid=nil)
736
736
  @Name = name
737
737
  @Description = description
@@ -772,7 +772,7 @@ module TencentCloud
772
772
  # @type Offset: Integer
773
773
 
774
774
  attr_accessor :TagInfos, :Limit, :Offset
775
-
775
+
776
776
  def initialize(taginfos=nil, limit=nil, offset=nil)
777
777
  @TagInfos = taginfos
778
778
  @Limit = limit
@@ -798,7 +798,7 @@ module TencentCloud
798
798
  # @type RequestId: String
799
799
 
800
800
  attr_accessor :Data, :TotalCount, :RequestId
801
-
801
+
802
802
  def initialize(data=nil, totalcount=nil, requestid=nil)
803
803
  @Data = data
804
804
  @TotalCount = totalcount
@@ -825,7 +825,7 @@ module TencentCloud
825
825
  # @type ModelId: String
826
826
 
827
827
  attr_accessor :ModelId
828
-
828
+
829
829
  def initialize(modelid=nil)
830
830
  @ModelId = modelid
831
831
  end
@@ -843,7 +843,7 @@ module TencentCloud
843
843
  # @type RequestId: String
844
844
 
845
845
  attr_accessor :Data, :RequestId
846
-
846
+
847
847
  def initialize(data=nil, requestid=nil)
848
848
  @Data = data
849
849
  @RequestId = requestid
@@ -866,7 +866,7 @@ module TencentCloud
866
866
  # @type Weight: Integer
867
867
 
868
868
  attr_accessor :Word, :Weight
869
-
869
+
870
870
  def initialize(word=nil, weight=nil)
871
871
  @Word = word
872
872
  @Weight = weight
@@ -905,7 +905,7 @@ module TencentCloud
905
905
  # @type TagInfos: Array
906
906
 
907
907
  attr_accessor :ModelName, :DictName, :ModelId, :ModelType, :ServiceType, :ModelState, :AtUpdated, :TagInfos
908
-
908
+
909
909
  def initialize(modelname=nil, dictname=nil, modelid=nil, modeltype=nil, servicetype=nil, modelstate=nil, atupdated=nil, taginfos=nil)
910
910
  @ModelName = modelname
911
911
  @DictName = dictname
@@ -941,7 +941,7 @@ module TencentCloud
941
941
  # @type TextUrl: String
942
942
 
943
943
  attr_accessor :ModelId, :ModelName, :ModelType, :TextUrl
944
-
944
+
945
945
  def initialize(modelid=nil, modelname=nil, modeltype=nil, texturl=nil)
946
946
  @ModelId = modelid
947
947
  @ModelName = modelname
@@ -963,7 +963,7 @@ module TencentCloud
963
963
  # @type RequestId: String
964
964
 
965
965
  attr_accessor :RequestId
966
-
966
+
967
967
  def initialize(requestid=nil)
968
968
  @RequestId = requestid
969
969
  end
@@ -981,7 +981,7 @@ module TencentCloud
981
981
  # @type ToState: Integer
982
982
 
983
983
  attr_accessor :ModelId, :ToState
984
-
984
+
985
985
  def initialize(modelid=nil, tostate=nil)
986
986
  @ModelId = modelid
987
987
  @ToState = tostate
@@ -1001,7 +1001,7 @@ module TencentCloud
1001
1001
  # @type RequestId: String
1002
1002
 
1003
1003
  attr_accessor :ModelId, :RequestId
1004
-
1004
+
1005
1005
  def initialize(modelid=nil, requestid=nil)
1006
1006
  @ModelId = modelid
1007
1007
  @RequestId = requestid
@@ -1050,7 +1050,7 @@ module TencentCloud
1050
1050
  # @type EmotionType: Array
1051
1051
 
1052
1052
  attr_accessor :FinalSentence, :SliceSentence, :StartMs, :EndMs, :WordsNum, :Words, :SpeechSpeed, :SpeakerId, :EmotionalEnergy, :SilenceTime, :EmotionType
1053
-
1053
+
1054
1054
  def initialize(finalsentence=nil, slicesentence=nil, startms=nil, endms=nil, wordsnum=nil, words=nil, speechspeed=nil, speakerid=nil, emotionalenergy=nil, silencetime=nil, emotiontype=nil)
1055
1055
  @FinalSentence = finalsentence
1056
1056
  @SliceSentence = slicesentence
@@ -1148,7 +1148,14 @@ module TencentCloud
1148
1148
  # @type HotwordList: String
1149
1149
 
1150
1150
  attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList
1151
-
1151
+ extend Gem::Deprecate
1152
+ deprecate :ProjectId, :none, 2023, 5
1153
+ deprecate :ProjectId=, :none, 2023, 5
1154
+ deprecate :SubServiceType, :none, 2023, 5
1155
+ deprecate :SubServiceType=, :none, 2023, 5
1156
+ deprecate :UsrAudioKey, :none, 2023, 5
1157
+ deprecate :UsrAudioKey=, :none, 2023, 5
1158
+
1152
1159
  def initialize(engservicetype=nil, sourcetype=nil, voiceformat=nil, projectid=nil, subservicetype=nil, url=nil, usraudiokey=nil, data=nil, datalen=nil, wordinfo=nil, filterdirty=nil, filtermodal=nil, filterpunc=nil, convertnummode=nil, hotwordid=nil, customizationid=nil, reinforcehotword=nil, hotwordlist=nil)
1153
1160
  @EngSerViceType = engservicetype
1154
1161
  @SourceType = sourcetype
@@ -1208,7 +1215,7 @@ module TencentCloud
1208
1215
  # @type RequestId: String
1209
1216
 
1210
1217
  attr_accessor :Result, :AudioDuration, :WordSize, :WordList, :RequestId
1211
-
1218
+
1212
1219
  def initialize(result=nil, audioduration=nil, wordsize=nil, wordlist=nil, requestid=nil)
1213
1220
  @Result = result
1214
1221
  @AudioDuration = audioduration
@@ -1243,7 +1250,7 @@ module TencentCloud
1243
1250
  # @type EndTime: Integer
1244
1251
 
1245
1252
  attr_accessor :Word, :StartTime, :EndTime
1246
-
1253
+
1247
1254
  def initialize(word=nil, starttime=nil, endtime=nil)
1248
1255
  @Word = word
1249
1256
  @StartTime = starttime
@@ -1270,7 +1277,7 @@ module TencentCloud
1270
1277
  # @type OffsetEndMs: Integer
1271
1278
 
1272
1279
  attr_accessor :Word, :OffsetStartMs, :OffsetEndMs
1273
-
1280
+
1274
1281
  def initialize(word=nil, offsetstartms=nil, offsetendms=nil)
1275
1282
  @Word = word
1276
1283
  @OffsetStartMs = offsetstartms
@@ -1292,7 +1299,7 @@ module TencentCloud
1292
1299
  # @type State: Integer
1293
1300
 
1294
1301
  attr_accessor :VocabId, :State
1295
-
1302
+
1296
1303
  def initialize(vocabid=nil, state=nil)
1297
1304
  @VocabId = vocabid
1298
1305
  @State = state
@@ -1312,7 +1319,7 @@ module TencentCloud
1312
1319
  # @type RequestId: String
1313
1320
 
1314
1321
  attr_accessor :VocabId, :RequestId
1315
-
1322
+
1316
1323
  def initialize(vocabid=nil, requestid=nil)
1317
1324
  @VocabId = vocabid
1318
1325
  @RequestId = requestid
@@ -1330,7 +1337,7 @@ module TencentCloud
1330
1337
  # @type TaskId: Integer
1331
1338
 
1332
1339
  attr_accessor :TaskId
1333
-
1340
+
1334
1341
  def initialize(taskid=nil)
1335
1342
  @TaskId = taskid
1336
1343
  end
@@ -1360,7 +1367,7 @@ module TencentCloud
1360
1367
  # @type AudioDuration: Float
1361
1368
 
1362
1369
  attr_accessor :TaskId, :Status, :StatusStr, :Result, :ErrorMsg, :ResultDetail, :AudioDuration
1363
-
1370
+
1364
1371
  def initialize(taskid=nil, status=nil, statusstr=nil, result=nil, errormsg=nil, resultdetail=nil, audioduration=nil)
1365
1372
  @TaskId = taskid
1366
1373
  @Status = status
@@ -1404,7 +1411,7 @@ module TencentCloud
1404
1411
  # @type Description: String
1405
1412
 
1406
1413
  attr_accessor :VocabId, :Name, :WordWeights, :WordWeightStr, :Description
1407
-
1414
+
1408
1415
  def initialize(vocabid=nil, name=nil, wordweights=nil, wordweightstr=nil, description=nil)
1409
1416
  @VocabId = vocabid
1410
1417
  @Name = name
@@ -1437,7 +1444,7 @@ module TencentCloud
1437
1444
  # @type RequestId: String
1438
1445
 
1439
1446
  attr_accessor :VocabId, :RequestId
1440
-
1447
+
1441
1448
  def initialize(vocabid=nil, requestid=nil)
1442
1449
  @VocabId = vocabid
1443
1450
  @RequestId = requestid
@@ -1470,7 +1477,7 @@ module TencentCloud
1470
1477
  # @type TagInfos: Array
1471
1478
 
1472
1479
  attr_accessor :Name, :Description, :VocabId, :WordWeights, :CreateTime, :UpdateTime, :State, :TagInfos
1473
-
1480
+
1474
1481
  def initialize(name=nil, description=nil, vocabid=nil, wordweights=nil, createtime=nil, updatetime=nil, state=nil, taginfos=nil)
1475
1482
  @Name = name
1476
1483
  @Description = description
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: 3.0.590
4
+ version: 3.0.591
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-12 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common