tencentcloud-sdk-gme 3.0.554 → 3.0.556
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180711/models.rb +55 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ca4e85ba2e452a3f1f51b459632fc4df075feae
|
4
|
+
data.tar.gz: 21293f165efe49cceba87bef67772aa14806d096
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92d3a89efb3002b976a4bd3184ab089ddd0f04cdd5de5df89ec9254ac3905ba5056712937b96e8775fa34fb9b2dd06e793f52d17fab94dd2edba4f299b04a6cf
|
7
|
+
data.tar.gz: ef5a3cf5ad72f95baafb9921aaebffcb6bafaa49b7cdab445af6a8714be37a4a89dac32969c3899acbdd6f6b50aff9968f01e5bedacd07634e7252ee6f2a59bb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.556
|
data/lib/v20180711/models.rb
CHANGED
@@ -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: 统计值,单位:秒
|
@@ -451,14 +467,16 @@ module TencentCloud
|
|
451
467
|
# @type CreateTime: Integer
|
452
468
|
# @param RealtimeSpeechConf: 实时语音服务配置数据
|
453
469
|
# @type RealtimeSpeechConf: :class:`Tencentcloud::Gme.v20180711.models.RealtimeSpeechConf`
|
454
|
-
# @param VoiceMessageConf:
|
470
|
+
# @param VoiceMessageConf: 语音消息服务配置数据
|
455
471
|
# @type VoiceMessageConf: :class:`Tencentcloud::Gme.v20180711.models.VoiceMessageConf`
|
456
472
|
# @param VoiceFilterConf: 语音分析服务配置数据
|
457
473
|
# @type VoiceFilterConf: :class:`Tencentcloud::Gme.v20180711.models.VoiceFilterConf`
|
474
|
+
# @param AsrConf: 语音转文本服务配置数据
|
475
|
+
# @type AsrConf: :class:`Tencentcloud::Gme.v20180711.models.AsrConf`
|
458
476
|
|
459
|
-
attr_accessor :BizId, :AppName, :ProjectId, :SecretKey, :CreateTime, :RealtimeSpeechConf, :VoiceMessageConf, :VoiceFilterConf
|
477
|
+
attr_accessor :BizId, :AppName, :ProjectId, :SecretKey, :CreateTime, :RealtimeSpeechConf, :VoiceMessageConf, :VoiceFilterConf, :AsrConf
|
460
478
|
|
461
|
-
def initialize(bizid=nil, appname=nil, projectid=nil, secretkey=nil, createtime=nil, realtimespeechconf=nil, voicemessageconf=nil, voicefilterconf=nil)
|
479
|
+
def initialize(bizid=nil, appname=nil, projectid=nil, secretkey=nil, createtime=nil, realtimespeechconf=nil, voicemessageconf=nil, voicefilterconf=nil, asrconf=nil)
|
462
480
|
@BizId = bizid
|
463
481
|
@AppName = appname
|
464
482
|
@ProjectId = projectid
|
@@ -467,6 +485,7 @@ module TencentCloud
|
|
467
485
|
@RealtimeSpeechConf = realtimespeechconf
|
468
486
|
@VoiceMessageConf = voicemessageconf
|
469
487
|
@VoiceFilterConf = voicefilterconf
|
488
|
+
@AsrConf = asrconf
|
470
489
|
end
|
471
490
|
|
472
491
|
def deserialize(params)
|
@@ -487,6 +506,10 @@ module TencentCloud
|
|
487
506
|
@VoiceFilterConf = VoiceFilterConf.new
|
488
507
|
@VoiceFilterConf.deserialize(params['VoiceFilterConf'])
|
489
508
|
end
|
509
|
+
unless params['AsrConf'].nil?
|
510
|
+
@AsrConf = AsrConf.new
|
511
|
+
@AsrConf.deserialize(params['AsrConf'])
|
512
|
+
end
|
490
513
|
end
|
491
514
|
end
|
492
515
|
|
@@ -1861,7 +1884,7 @@ module TencentCloud
|
|
1861
1884
|
class RealtimeSpeechConf < TencentCloud::Common::AbstractModel
|
1862
1885
|
# @param Status: 实时语音服务开关,取值:open/close
|
1863
1886
|
# @type Status: String
|
1864
|
-
# @param Quality: 实时语音音质类型,取值:high-高音质
|
1887
|
+
# @param Quality: 实时语音音质类型,取值:high-高音质 ordinary-普通音质
|
1865
1888
|
# @type Quality: String
|
1866
1889
|
|
1867
1890
|
attr_accessor :Status, :Quality
|
@@ -2146,6 +2169,20 @@ module TencentCloud
|
|
2146
2169
|
end
|
2147
2170
|
end
|
2148
2171
|
|
2172
|
+
# SceneInfo场景信息
|
2173
|
+
# 'RealTime','实时语音分析',
|
2174
|
+
# 'VoiceMessage','语音消息',
|
2175
|
+
# 'GMECloudApi':'GME云API接口'
|
2176
|
+
class SceneInfo < TencentCloud::Common::AbstractModel
|
2177
|
+
|
2178
|
+
|
2179
|
+
def initialize()
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
def deserialize(params)
|
2183
|
+
end
|
2184
|
+
end
|
2185
|
+
|
2149
2186
|
# 服务开关状态
|
2150
2187
|
class ServiceStatus < TencentCloud::Common::AbstractModel
|
2151
2188
|
# @param RealTimeSpeech: 实时语音服务开关状态
|
@@ -2527,15 +2564,27 @@ module TencentCloud
|
|
2527
2564
|
class VoiceFilterConf < TencentCloud::Common::AbstractModel
|
2528
2565
|
# @param Status: 语音过滤服务开关,取值:open/close
|
2529
2566
|
# @type Status: String
|
2567
|
+
# @param SceneInfos: 场景配置信息,如开关状态,回调地址。
|
2568
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2569
|
+
# @type SceneInfos: Array
|
2530
2570
|
|
2531
|
-
attr_accessor :Status
|
2571
|
+
attr_accessor :Status, :SceneInfos
|
2532
2572
|
|
2533
|
-
def initialize(status=nil)
|
2573
|
+
def initialize(status=nil, sceneinfos=nil)
|
2534
2574
|
@Status = status
|
2575
|
+
@SceneInfos = sceneinfos
|
2535
2576
|
end
|
2536
2577
|
|
2537
2578
|
def deserialize(params)
|
2538
2579
|
@Status = params['Status']
|
2580
|
+
unless params['SceneInfos'].nil?
|
2581
|
+
@SceneInfos = []
|
2582
|
+
params['SceneInfos'].each do |i|
|
2583
|
+
sceneinfo_tmp = SceneInfo.new
|
2584
|
+
sceneinfo_tmp.deserialize(i)
|
2585
|
+
@SceneInfos << sceneinfo_tmp
|
2586
|
+
end
|
2587
|
+
end
|
2539
2588
|
end
|
2540
2589
|
end
|
2541
2590
|
|
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.
|
4
|
+
version: 3.0.556
|
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-
|
11
|
+
date: 2023-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|