tencentcloud-sdk-gme 3.0.442 → 3.0.443
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/client.rb +0 -24
- data/lib/v20180711/models.rb +0 -52
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53595297af842bbb2751868b98831363f0491d82
|
4
|
+
data.tar.gz: 62455d78a40f8c081c75104a6cf2dfab9750944c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c1adf1335615b738d6efeb4a421f16d8accbc9cea9e48717e73b8c1d83c1f06dcfe90c2777d99a1a7a1632e218f6522dfc348bee0edbe18edcd1b7f2386c7ba
|
7
|
+
data.tar.gz: 5eab56c89bd2746a6b4b896c8ceddd8420e341eb0d83703d6eef5e32b9db1d3aaebca84e5f94e5bbf43e26c271274f3d912c78d09fe9d4ef3c31c5bf000f86f3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.443
|
data/lib/v20180711/client.rb
CHANGED
@@ -472,30 +472,6 @@ module TencentCloud
|
|
472
472
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
473
473
|
end
|
474
474
|
|
475
|
-
# 修改房间信息
|
476
|
-
|
477
|
-
# @param request: Request instance for ModifyRoomInfo.
|
478
|
-
# @type request: :class:`Tencentcloud::gme::V20180711::ModifyRoomInfoRequest`
|
479
|
-
# @rtype: :class:`Tencentcloud::gme::V20180711::ModifyRoomInfoResponse`
|
480
|
-
def ModifyRoomInfo(request)
|
481
|
-
body = send_request('ModifyRoomInfo', request.serialize)
|
482
|
-
response = JSON.parse(body)
|
483
|
-
if response['Response'].key?('Error') == false
|
484
|
-
model = ModifyRoomInfoResponse.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
|
-
|
499
475
|
# 修改用户麦克风状态。
|
500
476
|
|
501
477
|
# @param request: Request instance for ModifyUserMicStatus.
|
data/lib/v20180711/models.rb
CHANGED
@@ -1432,58 +1432,6 @@ module TencentCloud
|
|
1432
1432
|
end
|
1433
1433
|
end
|
1434
1434
|
|
1435
|
-
# ModifyRoomInfo请求参数结构体
|
1436
|
-
class ModifyRoomInfoRequest < TencentCloud::Common::AbstractModel
|
1437
|
-
# @param SdkAppId: 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID
|
1438
|
-
# @type SdkAppId: Integer
|
1439
|
-
# @param RoomId: 房间id
|
1440
|
-
# @type RoomId: Integer
|
1441
|
-
# @param OperationType: 301 启动推流
|
1442
|
-
# 302 停止推流
|
1443
|
-
# 303 重置RTMP连接
|
1444
|
-
# @type OperationType: Integer
|
1445
|
-
|
1446
|
-
attr_accessor :SdkAppId, :RoomId, :OperationType
|
1447
|
-
|
1448
|
-
def initialize(sdkappid=nil, roomid=nil, operationtype=nil)
|
1449
|
-
@SdkAppId = sdkappid
|
1450
|
-
@RoomId = roomid
|
1451
|
-
@OperationType = operationtype
|
1452
|
-
end
|
1453
|
-
|
1454
|
-
def deserialize(params)
|
1455
|
-
@SdkAppId = params['SdkAppId']
|
1456
|
-
@RoomId = params['RoomId']
|
1457
|
-
@OperationType = params['OperationType']
|
1458
|
-
end
|
1459
|
-
end
|
1460
|
-
|
1461
|
-
# ModifyRoomInfo返回参数结构体
|
1462
|
-
class ModifyRoomInfoResponse < TencentCloud::Common::AbstractModel
|
1463
|
-
# @param Result: 操作结果, 0成功, 非0失败
|
1464
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1465
|
-
# @type Result: Integer
|
1466
|
-
# @param ErrMsg: 错误信息
|
1467
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1468
|
-
# @type ErrMsg: String
|
1469
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1470
|
-
# @type RequestId: String
|
1471
|
-
|
1472
|
-
attr_accessor :Result, :ErrMsg, :RequestId
|
1473
|
-
|
1474
|
-
def initialize(result=nil, errmsg=nil, requestid=nil)
|
1475
|
-
@Result = result
|
1476
|
-
@ErrMsg = errmsg
|
1477
|
-
@RequestId = requestid
|
1478
|
-
end
|
1479
|
-
|
1480
|
-
def deserialize(params)
|
1481
|
-
@Result = params['Result']
|
1482
|
-
@ErrMsg = params['ErrMsg']
|
1483
|
-
@RequestId = params['RequestId']
|
1484
|
-
end
|
1485
|
-
end
|
1486
|
-
|
1487
1435
|
# ModifyUserMicStatus请求参数结构体
|
1488
1436
|
class ModifyUserMicStatusRequest < TencentCloud::Common::AbstractModel
|
1489
1437
|
# @param BizId: 应用ID
|
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.443
|
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-11-
|
11
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-gme.rb
|
37
36
|
- lib/v20180711/models.rb
|
38
37
|
- lib/v20180711/client.rb
|
38
|
+
- lib/tencentcloud-sdk-gme.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|