tencentcloud-sdk-gme 3.0.381 → 3.0.385
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180711/client.rb +144 -0
- data/lib/v20180711/models.rb +319 -0
- 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: 55a84ac71a51390d1d4920f1bf8ddef96ae3d7e0
|
4
|
+
data.tar.gz: 9b41f6221c9e9ff70aa168a02e6953c527e59227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f7f9c3a46d5606a2d8515d65558a367d3cf3ba3b5722af92f0ddaf4bdb30bb2efe5cdd800852877227f6a79dca62d077927dd631e0d056c35a6ae5cb7f95d08
|
7
|
+
data.tar.gz: 5244ee775a7451397e19d4ac3e732ff010362b5621e600072108c22470792ec28966c743370c92dca8ae534480a2784aef71544301a573e821c5d92ab847747e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.385
|
data/lib/v20180711/client.rb
CHANGED
@@ -87,6 +87,30 @@ module TencentCloud
|
|
87
87
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
88
88
|
end
|
89
89
|
|
90
|
+
# 用户使用该接口可以创建语音消息转文本自学习模型,以供识别调用
|
91
|
+
|
92
|
+
# @param request: Request instance for CreateCustomization.
|
93
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::CreateCustomizationRequest`
|
94
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::CreateCustomizationResponse`
|
95
|
+
def CreateCustomization(request)
|
96
|
+
body = send_request('CreateCustomization', request.serialize)
|
97
|
+
response = JSON.parse(body)
|
98
|
+
if response['Response'].key?('Error') == false
|
99
|
+
model = CreateCustomizationResponse.new
|
100
|
+
model.deserialize(response['Response'])
|
101
|
+
model
|
102
|
+
else
|
103
|
+
code = response['Response']['Error']['Code']
|
104
|
+
message = response['Response']['Error']['Message']
|
105
|
+
reqid = response['Response']['RequestId']
|
106
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
107
|
+
end
|
108
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
109
|
+
raise e
|
110
|
+
rescue StandardError => e
|
111
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
112
|
+
end
|
113
|
+
|
90
114
|
# 新增自定义送检用户
|
91
115
|
|
92
116
|
# @param request: Request instance for CreateScanUser.
|
@@ -111,6 +135,30 @@ module TencentCloud
|
|
111
135
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
112
136
|
end
|
113
137
|
|
138
|
+
# 用户通过该接口可以删除语音消息转文本自学习模型
|
139
|
+
|
140
|
+
# @param request: Request instance for DeleteCustomization.
|
141
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::DeleteCustomizationRequest`
|
142
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::DeleteCustomizationResponse`
|
143
|
+
def DeleteCustomization(request)
|
144
|
+
body = send_request('DeleteCustomization', request.serialize)
|
145
|
+
response = JSON.parse(body)
|
146
|
+
if response['Response'].key?('Error') == false
|
147
|
+
model = DeleteCustomizationResponse.new
|
148
|
+
model.deserialize(response['Response'])
|
149
|
+
model
|
150
|
+
else
|
151
|
+
code = response['Response']['Error']['Code']
|
152
|
+
message = response['Response']['Error']['Message']
|
153
|
+
reqid = response['Response']['RequestId']
|
154
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
155
|
+
end
|
156
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
157
|
+
raise e
|
158
|
+
rescue StandardError => e
|
159
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
160
|
+
end
|
161
|
+
|
114
162
|
# 删除自定义送检用户
|
115
163
|
|
116
164
|
# @param request: Request instance for DeleteScanUser.
|
@@ -352,6 +400,30 @@ module TencentCloud
|
|
352
400
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
353
401
|
end
|
354
402
|
|
403
|
+
# 查询语音消息转文本自学习模型列表
|
404
|
+
|
405
|
+
# @param request: Request instance for GetCustomizationList.
|
406
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::GetCustomizationListRequest`
|
407
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::GetCustomizationListResponse`
|
408
|
+
def GetCustomizationList(request)
|
409
|
+
body = send_request('GetCustomizationList', request.serialize)
|
410
|
+
response = JSON.parse(body)
|
411
|
+
if response['Response'].key?('Error') == false
|
412
|
+
model = GetCustomizationListResponse.new
|
413
|
+
model.deserialize(response['Response'])
|
414
|
+
model
|
415
|
+
else
|
416
|
+
code = response['Response']['Error']['Code']
|
417
|
+
message = response['Response']['Error']['Message']
|
418
|
+
reqid = response['Response']['RequestId']
|
419
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
420
|
+
end
|
421
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
422
|
+
raise e
|
423
|
+
rescue StandardError => e
|
424
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
425
|
+
end
|
426
|
+
|
355
427
|
# 本接口(ModifyAppStatus)用于修改应用总开关状态。
|
356
428
|
|
357
429
|
# @param request: Request instance for ModifyAppStatus.
|
@@ -376,6 +448,54 @@ module TencentCloud
|
|
376
448
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
377
449
|
end
|
378
450
|
|
451
|
+
# 用户通过该接口可以更新语音消息转文本自学习模型。
|
452
|
+
|
453
|
+
# @param request: Request instance for ModifyCustomization.
|
454
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::ModifyCustomizationRequest`
|
455
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::ModifyCustomizationResponse`
|
456
|
+
def ModifyCustomization(request)
|
457
|
+
body = send_request('ModifyCustomization', request.serialize)
|
458
|
+
response = JSON.parse(body)
|
459
|
+
if response['Response'].key?('Error') == false
|
460
|
+
model = ModifyCustomizationResponse.new
|
461
|
+
model.deserialize(response['Response'])
|
462
|
+
model
|
463
|
+
else
|
464
|
+
code = response['Response']['Error']['Code']
|
465
|
+
message = response['Response']['Error']['Message']
|
466
|
+
reqid = response['Response']['RequestId']
|
467
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
468
|
+
end
|
469
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
470
|
+
raise e
|
471
|
+
rescue StandardError => e
|
472
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
473
|
+
end
|
474
|
+
|
475
|
+
# 通过该接口,用户可以修改语音消息转文本自学习模型状态,上下线自学习模型
|
476
|
+
|
477
|
+
# @param request: Request instance for ModifyCustomizationState.
|
478
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::ModifyCustomizationStateRequest`
|
479
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::ModifyCustomizationStateResponse`
|
480
|
+
def ModifyCustomizationState(request)
|
481
|
+
body = send_request('ModifyCustomizationState', request.serialize)
|
482
|
+
response = JSON.parse(body)
|
483
|
+
if response['Response'].key?('Error') == false
|
484
|
+
model = ModifyCustomizationStateResponse.new
|
485
|
+
model.deserialize(response['Response'])
|
486
|
+
model
|
487
|
+
else
|
488
|
+
code = response['Response']['Error']['Code']
|
489
|
+
message = response['Response']['Error']['Message']
|
490
|
+
reqid = response['Response']['RequestId']
|
491
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
492
|
+
end
|
493
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
494
|
+
raise e
|
495
|
+
rescue StandardError => e
|
496
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
497
|
+
end
|
498
|
+
|
379
499
|
# 修改房间信息
|
380
500
|
|
381
501
|
# @param request: Request instance for ModifyRoomInfo.
|
@@ -400,6 +520,30 @@ module TencentCloud
|
|
400
520
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
401
521
|
end
|
402
522
|
|
523
|
+
# 修改用户麦克风状态。
|
524
|
+
|
525
|
+
# @param request: Request instance for ModifyUserMicStatus.
|
526
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::ModifyUserMicStatusRequest`
|
527
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::ModifyUserMicStatusResponse`
|
528
|
+
def ModifyUserMicStatus(request)
|
529
|
+
body = send_request('ModifyUserMicStatus', request.serialize)
|
530
|
+
response = JSON.parse(body)
|
531
|
+
if response['Response'].key?('Error') == false
|
532
|
+
model = ModifyUserMicStatusResponse.new
|
533
|
+
model.deserialize(response['Response'])
|
534
|
+
model
|
535
|
+
else
|
536
|
+
code = response['Response']['Error']['Code']
|
537
|
+
message = response['Response']['Error']['Message']
|
538
|
+
reqid = response['Response']['RequestId']
|
539
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
540
|
+
end
|
541
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
542
|
+
raise e
|
543
|
+
rescue StandardError => e
|
544
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
545
|
+
end
|
546
|
+
|
403
547
|
# 本接口(ScanVoice)用于提交语音检测任务,检测任务列表最多支持100个。使用前请您登录[控制台 - 服务配置](https://console.cloud.tencent.com/gamegme/conf)开启语音分析服务。
|
404
548
|
# </br></br>
|
405
549
|
|
data/lib/v20180711/models.rb
CHANGED
@@ -421,6 +421,46 @@ module TencentCloud
|
|
421
421
|
end
|
422
422
|
end
|
423
423
|
|
424
|
+
# CreateCustomization请求参数结构体
|
425
|
+
class CreateCustomizationRequest < TencentCloud::Common::AbstractModel
|
426
|
+
# @param BizId: 应用 ID,登录控制台创建应用得到的AppID
|
427
|
+
# @type BizId: Integer
|
428
|
+
# @param TextUrl: 文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos
|
429
|
+
# @type TextUrl: String
|
430
|
+
|
431
|
+
attr_accessor :BizId, :TextUrl
|
432
|
+
|
433
|
+
def initialize(bizid=nil, texturl=nil)
|
434
|
+
@BizId = bizid
|
435
|
+
@TextUrl = texturl
|
436
|
+
end
|
437
|
+
|
438
|
+
def deserialize(params)
|
439
|
+
@BizId = params['BizId']
|
440
|
+
@TextUrl = params['TextUrl']
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
# CreateCustomization返回参数结构体
|
445
|
+
class CreateCustomizationResponse < TencentCloud::Common::AbstractModel
|
446
|
+
# @param ModelId: 模型ID
|
447
|
+
# @type ModelId: String
|
448
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
449
|
+
# @type RequestId: String
|
450
|
+
|
451
|
+
attr_accessor :ModelId, :RequestId
|
452
|
+
|
453
|
+
def initialize(modelid=nil, requestid=nil)
|
454
|
+
@ModelId = modelid
|
455
|
+
@RequestId = requestid
|
456
|
+
end
|
457
|
+
|
458
|
+
def deserialize(params)
|
459
|
+
@ModelId = params['ModelId']
|
460
|
+
@RequestId = params['RequestId']
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
424
464
|
# CreateScanUser请求参数结构体
|
425
465
|
class CreateScanUserRequest < TencentCloud::Common::AbstractModel
|
426
466
|
# @param BizId: 应用ID,登录控制台 - 服务管理创建应用得到的AppID
|
@@ -461,6 +501,70 @@ module TencentCloud
|
|
461
501
|
end
|
462
502
|
end
|
463
503
|
|
504
|
+
# 语音消息转文本自学习模型配置
|
505
|
+
class CustomizationConfigs < TencentCloud::Common::AbstractModel
|
506
|
+
# @param BizId: 应用 ID,登录控制台创建应用得到的AppID
|
507
|
+
# @type BizId: Integer
|
508
|
+
# @param ModelId: 模型ID
|
509
|
+
# @type ModelId: String
|
510
|
+
# @param ModelState: 模型状态,-1下线状态,1上线状态, 0训练中, -2训练失败
|
511
|
+
# @type ModelState: Integer
|
512
|
+
|
513
|
+
attr_accessor :BizId, :ModelId, :ModelState
|
514
|
+
|
515
|
+
def initialize(bizid=nil, modelid=nil, modelstate=nil)
|
516
|
+
@BizId = bizid
|
517
|
+
@ModelId = modelid
|
518
|
+
@ModelState = modelstate
|
519
|
+
end
|
520
|
+
|
521
|
+
def deserialize(params)
|
522
|
+
@BizId = params['BizId']
|
523
|
+
@ModelId = params['ModelId']
|
524
|
+
@ModelState = params['ModelState']
|
525
|
+
end
|
526
|
+
end
|
527
|
+
|
528
|
+
# DeleteCustomization请求参数结构体
|
529
|
+
class DeleteCustomizationRequest < TencentCloud::Common::AbstractModel
|
530
|
+
# @param ModelId: 要删除的模型ID
|
531
|
+
# @type ModelId: String
|
532
|
+
# @param BizId: 应用 ID,登录控制台创建应用得到的AppID
|
533
|
+
# @type BizId: Integer
|
534
|
+
|
535
|
+
attr_accessor :ModelId, :BizId
|
536
|
+
|
537
|
+
def initialize(modelid=nil, bizid=nil)
|
538
|
+
@ModelId = modelid
|
539
|
+
@BizId = bizid
|
540
|
+
end
|
541
|
+
|
542
|
+
def deserialize(params)
|
543
|
+
@ModelId = params['ModelId']
|
544
|
+
@BizId = params['BizId']
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
# DeleteCustomization返回参数结构体
|
549
|
+
class DeleteCustomizationResponse < TencentCloud::Common::AbstractModel
|
550
|
+
# @param ErrorCode: 返回值。0为成功,非0为失败。
|
551
|
+
# @type ErrorCode: Integer
|
552
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
553
|
+
# @type RequestId: String
|
554
|
+
|
555
|
+
attr_accessor :ErrorCode, :RequestId
|
556
|
+
|
557
|
+
def initialize(errorcode=nil, requestid=nil)
|
558
|
+
@ErrorCode = errorcode
|
559
|
+
@RequestId = requestid
|
560
|
+
end
|
561
|
+
|
562
|
+
def deserialize(params)
|
563
|
+
@ErrorCode = params['ErrorCode']
|
564
|
+
@RequestId = params['RequestId']
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
464
568
|
# DeleteScanUser请求参数结构体
|
465
569
|
class DeleteScanUserRequest < TencentCloud::Common::AbstractModel
|
466
570
|
# @param BizId: 应用ID,登录控制台 - 服务管理创建应用得到的AppID
|
@@ -1086,6 +1190,50 @@ module TencentCloud
|
|
1086
1190
|
end
|
1087
1191
|
end
|
1088
1192
|
|
1193
|
+
# GetCustomizationList请求参数结构体
|
1194
|
+
class GetCustomizationListRequest < TencentCloud::Common::AbstractModel
|
1195
|
+
# @param BizId: 应用 ID,登录控制台创建应用得到的AppID
|
1196
|
+
# @type BizId: Integer
|
1197
|
+
|
1198
|
+
attr_accessor :BizId
|
1199
|
+
|
1200
|
+
def initialize(bizid=nil)
|
1201
|
+
@BizId = bizid
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
def deserialize(params)
|
1205
|
+
@BizId = params['BizId']
|
1206
|
+
end
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
# GetCustomizationList返回参数结构体
|
1210
|
+
class GetCustomizationListResponse < TencentCloud::Common::AbstractModel
|
1211
|
+
# @param CustomizationConfigs: 语音消息转文本自学习模型配置
|
1212
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1213
|
+
# @type CustomizationConfigs: Array
|
1214
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1215
|
+
# @type RequestId: String
|
1216
|
+
|
1217
|
+
attr_accessor :CustomizationConfigs, :RequestId
|
1218
|
+
|
1219
|
+
def initialize(customizationconfigs=nil, requestid=nil)
|
1220
|
+
@CustomizationConfigs = customizationconfigs
|
1221
|
+
@RequestId = requestid
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
def deserialize(params)
|
1225
|
+
unless params['CustomizationConfigs'].nil?
|
1226
|
+
@CustomizationConfigs = []
|
1227
|
+
params['CustomizationConfigs'].each do |i|
|
1228
|
+
customizationconfigs_tmp = CustomizationConfigs.new
|
1229
|
+
customizationconfigs_tmp.deserialize(i)
|
1230
|
+
@CustomizationConfigs << customizationconfigs_tmp
|
1231
|
+
end
|
1232
|
+
end
|
1233
|
+
@RequestId = params['RequestId']
|
1234
|
+
end
|
1235
|
+
end
|
1236
|
+
|
1089
1237
|
# 用户进出房间信息
|
1090
1238
|
class InOutTimeInfo < TencentCloud::Common::AbstractModel
|
1091
1239
|
# @param StartTime: 进入房间时间
|
@@ -1169,6 +1317,102 @@ module TencentCloud
|
|
1169
1317
|
end
|
1170
1318
|
end
|
1171
1319
|
|
1320
|
+
# ModifyCustomization请求参数结构体
|
1321
|
+
class ModifyCustomizationRequest < TencentCloud::Common::AbstractModel
|
1322
|
+
# @param BizId: 应用 ID,登录控制台创建应用得到的AppID
|
1323
|
+
# @type BizId: Integer
|
1324
|
+
# @param TextUrl: 文本文件
|
1325
|
+
# @type TextUrl: String
|
1326
|
+
# @param ModelId: 要修改的模型ID
|
1327
|
+
# @type ModelId: String
|
1328
|
+
|
1329
|
+
attr_accessor :BizId, :TextUrl, :ModelId
|
1330
|
+
|
1331
|
+
def initialize(bizid=nil, texturl=nil, modelid=nil)
|
1332
|
+
@BizId = bizid
|
1333
|
+
@TextUrl = texturl
|
1334
|
+
@ModelId = modelid
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
def deserialize(params)
|
1338
|
+
@BizId = params['BizId']
|
1339
|
+
@TextUrl = params['TextUrl']
|
1340
|
+
@ModelId = params['ModelId']
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# ModifyCustomization返回参数结构体
|
1345
|
+
class ModifyCustomizationResponse < TencentCloud::Common::AbstractModel
|
1346
|
+
# @param ErrorCode: 返回值。0为成功,非0为失败。
|
1347
|
+
# @type ErrorCode: Integer
|
1348
|
+
# @param ModelId: 自学习模型ID
|
1349
|
+
# @type ModelId: String
|
1350
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1351
|
+
# @type RequestId: String
|
1352
|
+
|
1353
|
+
attr_accessor :ErrorCode, :ModelId, :RequestId
|
1354
|
+
|
1355
|
+
def initialize(errorcode=nil, modelid=nil, requestid=nil)
|
1356
|
+
@ErrorCode = errorcode
|
1357
|
+
@ModelId = modelid
|
1358
|
+
@RequestId = requestid
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
def deserialize(params)
|
1362
|
+
@ErrorCode = params['ErrorCode']
|
1363
|
+
@ModelId = params['ModelId']
|
1364
|
+
@RequestId = params['RequestId']
|
1365
|
+
end
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# ModifyCustomizationState请求参数结构体
|
1369
|
+
class ModifyCustomizationStateRequest < TencentCloud::Common::AbstractModel
|
1370
|
+
# @param ModelId: 自学习模型ID
|
1371
|
+
# @type ModelId: String
|
1372
|
+
# @param ToState: 想要变换的模型状态,-1代表下线,1代表上线
|
1373
|
+
# @type ToState: Integer
|
1374
|
+
# @param BizId: 应用 ID,登录控制台创建应用得到的AppID
|
1375
|
+
# @type BizId: Integer
|
1376
|
+
|
1377
|
+
attr_accessor :ModelId, :ToState, :BizId
|
1378
|
+
|
1379
|
+
def initialize(modelid=nil, tostate=nil, bizid=nil)
|
1380
|
+
@ModelId = modelid
|
1381
|
+
@ToState = tostate
|
1382
|
+
@BizId = bizid
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
def deserialize(params)
|
1386
|
+
@ModelId = params['ModelId']
|
1387
|
+
@ToState = params['ToState']
|
1388
|
+
@BizId = params['BizId']
|
1389
|
+
end
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
# ModifyCustomizationState返回参数结构体
|
1393
|
+
class ModifyCustomizationStateResponse < TencentCloud::Common::AbstractModel
|
1394
|
+
# @param ModelId: 自学习模型ID
|
1395
|
+
# @type ModelId: String
|
1396
|
+
# @param ErrorCode: 返回值。0为成功,非0为失败。
|
1397
|
+
# @type ErrorCode: Integer
|
1398
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1399
|
+
# @type RequestId: String
|
1400
|
+
|
1401
|
+
attr_accessor :ModelId, :ErrorCode, :RequestId
|
1402
|
+
|
1403
|
+
def initialize(modelid=nil, errorcode=nil, requestid=nil)
|
1404
|
+
@ModelId = modelid
|
1405
|
+
@ErrorCode = errorcode
|
1406
|
+
@RequestId = requestid
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
def deserialize(params)
|
1410
|
+
@ModelId = params['ModelId']
|
1411
|
+
@ErrorCode = params['ErrorCode']
|
1412
|
+
@RequestId = params['RequestId']
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1172
1416
|
# ModifyRoomInfo请求参数结构体
|
1173
1417
|
class ModifyRoomInfoRequest < TencentCloud::Common::AbstractModel
|
1174
1418
|
# @param SdkAppId: 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID
|
@@ -1221,6 +1465,61 @@ module TencentCloud
|
|
1221
1465
|
end
|
1222
1466
|
end
|
1223
1467
|
|
1468
|
+
# ModifyUserMicStatus请求参数结构体
|
1469
|
+
class ModifyUserMicStatusRequest < TencentCloud::Common::AbstractModel
|
1470
|
+
# @param BizId: 应用ID
|
1471
|
+
# @type BizId: Integer
|
1472
|
+
# @param RoomId: 房间ID
|
1473
|
+
# @type RoomId: String
|
1474
|
+
# @param Users: 用户麦克风状态,数组长度不超过20
|
1475
|
+
# @type Users: Array
|
1476
|
+
|
1477
|
+
attr_accessor :BizId, :RoomId, :Users
|
1478
|
+
|
1479
|
+
def initialize(bizid=nil, roomid=nil, users=nil)
|
1480
|
+
@BizId = bizid
|
1481
|
+
@RoomId = roomid
|
1482
|
+
@Users = users
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
def deserialize(params)
|
1486
|
+
@BizId = params['BizId']
|
1487
|
+
@RoomId = params['RoomId']
|
1488
|
+
unless params['Users'].nil?
|
1489
|
+
@Users = []
|
1490
|
+
params['Users'].each do |i|
|
1491
|
+
usermicstatus_tmp = UserMicStatus.new
|
1492
|
+
usermicstatus_tmp.deserialize(i)
|
1493
|
+
@Users << usermicstatus_tmp
|
1494
|
+
end
|
1495
|
+
end
|
1496
|
+
end
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
# ModifyUserMicStatus返回参数结构体
|
1500
|
+
class ModifyUserMicStatusResponse < TencentCloud::Common::AbstractModel
|
1501
|
+
# @param Result: 返回结果:0为成功,非0为失败
|
1502
|
+
# @type Result: Integer
|
1503
|
+
# @param ErrMsg: 错误信息
|
1504
|
+
# @type ErrMsg: String
|
1505
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1506
|
+
# @type RequestId: String
|
1507
|
+
|
1508
|
+
attr_accessor :Result, :ErrMsg, :RequestId
|
1509
|
+
|
1510
|
+
def initialize(result=nil, errmsg=nil, requestid=nil)
|
1511
|
+
@Result = result
|
1512
|
+
@ErrMsg = errmsg
|
1513
|
+
@RequestId = requestid
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
def deserialize(params)
|
1517
|
+
@Result = params['Result']
|
1518
|
+
@ErrMsg = params['ErrMsg']
|
1519
|
+
@RequestId = params['RequestId']
|
1520
|
+
end
|
1521
|
+
end
|
1522
|
+
|
1224
1523
|
# 实时语音用量统计数据
|
1225
1524
|
class RealTimeSpeechStatisticsItem < TencentCloud::Common::AbstractModel
|
1226
1525
|
# @param MainLandDau: 大陆地区DAU
|
@@ -1654,6 +1953,26 @@ module TencentCloud
|
|
1654
1953
|
end
|
1655
1954
|
end
|
1656
1955
|
|
1956
|
+
# 用户麦克风状态
|
1957
|
+
class UserMicStatus < TencentCloud::Common::AbstractModel
|
1958
|
+
# @param Uid: 用户ID
|
1959
|
+
# @type Uid: Integer
|
1960
|
+
# @param EnableMic: 是否开麦 。1闭麦 2开麦
|
1961
|
+
# @type EnableMic: Integer
|
1962
|
+
|
1963
|
+
attr_accessor :Uid, :EnableMic
|
1964
|
+
|
1965
|
+
def initialize(uid=nil, enablemic=nil)
|
1966
|
+
@Uid = uid
|
1967
|
+
@EnableMic = enablemic
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
def deserialize(params)
|
1971
|
+
@Uid = params['Uid']
|
1972
|
+
@EnableMic = params['EnableMic']
|
1973
|
+
end
|
1974
|
+
end
|
1975
|
+
|
1657
1976
|
# 过滤结果
|
1658
1977
|
class VoiceFilter < TencentCloud::Common::AbstractModel
|
1659
1978
|
# @param Type: 过滤类型,1:色情,2:涉毒,3:谩骂
|
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.385
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|