tencentcloud-sdk-gme 3.0.555 → 3.0.557

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/v20180711/models.rb +67 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e10715ced4a1754339b9a562347fdf9e7ec852c
4
- data.tar.gz: e37f73402f8a4d52641ae8b7ee79f33ace5e705e
3
+ metadata.gz: 3d8e66b33783732d21b168b50ce86dd18a7bd054
4
+ data.tar.gz: 51cd502126f334d59130125be94094d6ef0c198c
5
5
  SHA512:
6
- metadata.gz: 394d4e6a9b7a35e86980d828a6cb3e0f53048ed10b9db7e5977fd58df706496e9a71c3a385c16a1c93c11088ec47d39e3a513c57c84a368192b6a861ab41320d
7
- data.tar.gz: 5b205d719aa4fd223ce7681bc92edeca72728c2a7400799d1c59428411400556082f0e7c7ec24148c8695b72f9c945e6196243a23d8819fc6dc51051aafdf322
6
+ metadata.gz: 6495314c377e8ccc8f57df923ad54aff53434257a245b4074e9e5b11e0e963831740fd5665c567490affaf4b5720ae889b32096ff7653287603cb11c48c311ed
7
+ data.tar.gz: 7ad74478ec751876cc1c7aef8737515a89f03af245cf313f844593a8ee6a2779862c9f4e106b1092d0198af8585bbd3448950e617e81827fad7b2159187babac
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.555
1
+ 3.0.557
@@ -307,6 +307,22 @@ module TencentCloud
307
307
  end
308
308
  end
309
309
 
310
+ # 语音转文本配置数据
311
+ class AsrConf < TencentCloud::Common::AbstractModel
312
+ # @param Status: 语音转文本服务开关,取值:open/close
313
+ # @type Status: String
314
+
315
+ attr_accessor :Status
316
+
317
+ def initialize(status=nil)
318
+ @Status = status
319
+ end
320
+
321
+ def deserialize(params)
322
+ @Status = params['Status']
323
+ end
324
+ end
325
+
310
326
  # 录音转文本用量统计数据
311
327
  class AudioTextStatisticsItem < TencentCloud::Common::AbstractModel
312
328
  # @param Data: 统计值,单位:秒
@@ -384,21 +400,25 @@ module TencentCloud
384
400
  # @param ProjectId: 腾讯云项目ID,默认为0,表示默认项目
385
401
  # @type ProjectId: Integer
386
402
  # @param EngineList: 需要支持的引擎列表,默认全选。
403
+ # 取值:android/ios/unity/cocos/unreal/windows
387
404
  # @type EngineList: Array
388
405
  # @param RegionList: 服务区域列表,默认全选。
406
+ # 取值:mainland-大陆地区,hmt-港澳台,sea-东南亚,na-北美,eu-欧洲,jpkr-日韩亚太,sa-南美,oc-澳洲,me-中东
389
407
  # @type RegionList: Array
390
408
  # @param RealtimeSpeechConf: 实时语音服务配置数据
391
409
  # @type RealtimeSpeechConf: :class:`Tencentcloud::Gme.v20180711.models.RealtimeSpeechConf`
392
- # @param VoiceMessageConf: 语音消息及转文本服务配置数据
410
+ # @param VoiceMessageConf: 语音消息服务配置数据
393
411
  # @type VoiceMessageConf: :class:`Tencentcloud::Gme.v20180711.models.VoiceMessageConf`
394
412
  # @param VoiceFilterConf: 语音分析服务配置数据
395
413
  # @type VoiceFilterConf: :class:`Tencentcloud::Gme.v20180711.models.VoiceFilterConf`
414
+ # @param AsrConf: 语音转文本配置数据
415
+ # @type AsrConf: :class:`Tencentcloud::Gme.v20180711.models.AsrConf`
396
416
  # @param Tags: 需要添加的标签列表
397
417
  # @type Tags: Array
398
418
 
399
- attr_accessor :AppName, :ProjectId, :EngineList, :RegionList, :RealtimeSpeechConf, :VoiceMessageConf, :VoiceFilterConf, :Tags
419
+ attr_accessor :AppName, :ProjectId, :EngineList, :RegionList, :RealtimeSpeechConf, :VoiceMessageConf, :VoiceFilterConf, :AsrConf, :Tags
400
420
 
401
- def initialize(appname=nil, projectid=nil, enginelist=nil, regionlist=nil, realtimespeechconf=nil, voicemessageconf=nil, voicefilterconf=nil, tags=nil)
421
+ def initialize(appname=nil, projectid=nil, enginelist=nil, regionlist=nil, realtimespeechconf=nil, voicemessageconf=nil, voicefilterconf=nil, asrconf=nil, tags=nil)
402
422
  @AppName = appname
403
423
  @ProjectId = projectid
404
424
  @EngineList = enginelist
@@ -406,6 +426,7 @@ module TencentCloud
406
426
  @RealtimeSpeechConf = realtimespeechconf
407
427
  @VoiceMessageConf = voicemessageconf
408
428
  @VoiceFilterConf = voicefilterconf
429
+ @AsrConf = asrconf
409
430
  @Tags = tags
410
431
  end
411
432
 
@@ -426,6 +447,10 @@ module TencentCloud
426
447
  @VoiceFilterConf = VoiceFilterConf.new
427
448
  @VoiceFilterConf.deserialize(params['VoiceFilterConf'])
428
449
  end
450
+ unless params['AsrConf'].nil?
451
+ @AsrConf = AsrConf.new
452
+ @AsrConf.deserialize(params['AsrConf'])
453
+ end
429
454
  unless params['Tags'].nil?
430
455
  @Tags = []
431
456
  params['Tags'].each do |i|
@@ -451,14 +476,16 @@ module TencentCloud
451
476
  # @type CreateTime: Integer
452
477
  # @param RealtimeSpeechConf: 实时语音服务配置数据
453
478
  # @type RealtimeSpeechConf: :class:`Tencentcloud::Gme.v20180711.models.RealtimeSpeechConf`
454
- # @param VoiceMessageConf: 语音消息及转文本服务配置数据
479
+ # @param VoiceMessageConf: 语音消息服务配置数据
455
480
  # @type VoiceMessageConf: :class:`Tencentcloud::Gme.v20180711.models.VoiceMessageConf`
456
481
  # @param VoiceFilterConf: 语音分析服务配置数据
457
482
  # @type VoiceFilterConf: :class:`Tencentcloud::Gme.v20180711.models.VoiceFilterConf`
483
+ # @param AsrConf: 语音转文本服务配置数据
484
+ # @type AsrConf: :class:`Tencentcloud::Gme.v20180711.models.AsrConf`
458
485
 
459
- attr_accessor :BizId, :AppName, :ProjectId, :SecretKey, :CreateTime, :RealtimeSpeechConf, :VoiceMessageConf, :VoiceFilterConf
486
+ attr_accessor :BizId, :AppName, :ProjectId, :SecretKey, :CreateTime, :RealtimeSpeechConf, :VoiceMessageConf, :VoiceFilterConf, :AsrConf
460
487
 
461
- def initialize(bizid=nil, appname=nil, projectid=nil, secretkey=nil, createtime=nil, realtimespeechconf=nil, voicemessageconf=nil, voicefilterconf=nil)
488
+ def initialize(bizid=nil, appname=nil, projectid=nil, secretkey=nil, createtime=nil, realtimespeechconf=nil, voicemessageconf=nil, voicefilterconf=nil, asrconf=nil)
462
489
  @BizId = bizid
463
490
  @AppName = appname
464
491
  @ProjectId = projectid
@@ -467,6 +494,7 @@ module TencentCloud
467
494
  @RealtimeSpeechConf = realtimespeechconf
468
495
  @VoiceMessageConf = voicemessageconf
469
496
  @VoiceFilterConf = voicefilterconf
497
+ @AsrConf = asrconf
470
498
  end
471
499
 
472
500
  def deserialize(params)
@@ -487,6 +515,10 @@ module TencentCloud
487
515
  @VoiceFilterConf = VoiceFilterConf.new
488
516
  @VoiceFilterConf.deserialize(params['VoiceFilterConf'])
489
517
  end
518
+ unless params['AsrConf'].nil?
519
+ @AsrConf = AsrConf.new
520
+ @AsrConf.deserialize(params['AsrConf'])
521
+ end
490
522
  end
491
523
  end
492
524
 
@@ -1861,7 +1893,7 @@ module TencentCloud
1861
1893
  class RealtimeSpeechConf < TencentCloud::Common::AbstractModel
1862
1894
  # @param Status: 实时语音服务开关,取值:open/close
1863
1895
  # @type Status: String
1864
- # @param Quality: 实时语音音质类型,取值:high-高音质
1896
+ # @param Quality: 实时语音音质类型,取值:high-高音质 ordinary-普通音质
1865
1897
  # @type Quality: String
1866
1898
 
1867
1899
  attr_accessor :Status, :Quality
@@ -2146,6 +2178,20 @@ module TencentCloud
2146
2178
  end
2147
2179
  end
2148
2180
 
2181
+ # SceneInfo场景信息
2182
+ # 'RealTime','实时语音分析',
2183
+ # 'VoiceMessage','语音消息',
2184
+ # 'GMECloudApi':'GME云API接口'
2185
+ class SceneInfo < TencentCloud::Common::AbstractModel
2186
+
2187
+
2188
+ def initialize()
2189
+ end
2190
+
2191
+ def deserialize(params)
2192
+ end
2193
+ end
2194
+
2149
2195
  # 服务开关状态
2150
2196
  class ServiceStatus < TencentCloud::Common::AbstractModel
2151
2197
  # @param RealTimeSpeech: 实时语音服务开关状态
@@ -2527,15 +2573,27 @@ module TencentCloud
2527
2573
  class VoiceFilterConf < TencentCloud::Common::AbstractModel
2528
2574
  # @param Status: 语音过滤服务开关,取值:open/close
2529
2575
  # @type Status: String
2576
+ # @param SceneInfos: 场景配置信息,如开关状态,回调地址。
2577
+ # 注意:此字段可能返回 null,表示取不到有效值。
2578
+ # @type SceneInfos: Array
2530
2579
 
2531
- attr_accessor :Status
2580
+ attr_accessor :Status, :SceneInfos
2532
2581
 
2533
- def initialize(status=nil)
2582
+ def initialize(status=nil, sceneinfos=nil)
2534
2583
  @Status = status
2584
+ @SceneInfos = sceneinfos
2535
2585
  end
2536
2586
 
2537
2587
  def deserialize(params)
2538
2588
  @Status = params['Status']
2589
+ unless params['SceneInfos'].nil?
2590
+ @SceneInfos = []
2591
+ params['SceneInfos'].each do |i|
2592
+ sceneinfo_tmp = SceneInfo.new
2593
+ sceneinfo_tmp.deserialize(i)
2594
+ @SceneInfos << sceneinfo_tmp
2595
+ end
2596
+ end
2539
2597
  end
2540
2598
  end
2541
2599
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-gme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.555
4
+ version: 3.0.557
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-04-19 00:00:00.000000000 Z
11
+ date: 2023-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common