tencentcloud-sdk-lcic 3.0.569 → 3.0.571
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/v20220817/client.rb +24 -0
- data/lib/v20220817/models.rb +58 -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: 63a44a1c3b9be98c5a56ce8d9f2ff47c4abca9f6
|
4
|
+
data.tar.gz: be11e8a0062c64ef8d770984f4e254295ef85715
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 899d6a0cfd1be74b85990dd4cb0c6967bf850761ac78419a5bbb6c253fd03ffd79ee8bcef448e6d3ef352f78f76ae9d45430743afc6489342160d582f91d8e92
|
7
|
+
data.tar.gz: 9afcfed660ff5a8da3d6af5c133a52f08341b0e197a66a46b8b7fa98226bc02f96a25afb4f2d07d26691e848dabfe3f1229344e29c1f9e57380ece0467f0a093
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.571
|
data/lib/v20220817/client.rb
CHANGED
@@ -1039,6 +1039,30 @@ module TencentCloud
|
|
1039
1039
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1040
1040
|
end
|
1041
1041
|
|
1042
|
+
# 从房间里面踢出用户
|
1043
|
+
|
1044
|
+
# @param request: Request instance for KickUserFromRoom.
|
1045
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::KickUserFromRoomRequest`
|
1046
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::KickUserFromRoomResponse`
|
1047
|
+
def KickUserFromRoom(request)
|
1048
|
+
body = send_request('KickUserFromRoom', request.serialize)
|
1049
|
+
response = JSON.parse(body)
|
1050
|
+
if response['Response'].key?('Error') == false
|
1051
|
+
model = KickUserFromRoomResponse.new
|
1052
|
+
model.deserialize(response['Response'])
|
1053
|
+
model
|
1054
|
+
else
|
1055
|
+
code = response['Response']['Error']['Code']
|
1056
|
+
message = response['Response']['Error']['Message']
|
1057
|
+
reqid = response['Response']['RequestId']
|
1058
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1059
|
+
end
|
1060
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1061
|
+
raise e
|
1062
|
+
rescue StandardError => e
|
1063
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1064
|
+
end
|
1065
|
+
|
1042
1066
|
# 使用源账号登录,源账号为注册时填入的originId
|
1043
1067
|
|
1044
1068
|
# @param request: Request instance for LoginOriginId.
|
data/lib/v20220817/models.rb
CHANGED
@@ -2356,6 +2356,14 @@ module TencentCloud
|
|
2356
2356
|
# @type Timestamp: Integer
|
2357
2357
|
# @param EventType: 事件类型,有以下值:
|
2358
2358
|
# RoomStart:房间开始 RoomEnd:房间结束 MemberJoin:成员加入 MemberQuit:成员退出 RecordFinish:录制结束
|
2359
|
+
# Camera0n: 摄像头打开
|
2360
|
+
# Camera0ff: 摄像头关闭
|
2361
|
+
# MicOn: 麦克风打开
|
2362
|
+
# MicOff: 麦克风关闭
|
2363
|
+
# ScreenOn: 屏幕共享打开
|
2364
|
+
# ScreenOff: 屏幕共享关闭
|
2365
|
+
# VisibleOn: 页面可见
|
2366
|
+
# VisibleOff: 页面不可见
|
2359
2367
|
# @type EventType: String
|
2360
2368
|
# @param EventData: 事件详细内容,包含房间号,成员类型事件包含用户Id。
|
2361
2369
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2689,6 +2697,56 @@ module TencentCloud
|
|
2689
2697
|
end
|
2690
2698
|
end
|
2691
2699
|
|
2700
|
+
# KickUserFromRoom请求参数结构体
|
2701
|
+
class KickUserFromRoomRequest < TencentCloud::Common::AbstractModel
|
2702
|
+
# @param RoomId: 房间Id。
|
2703
|
+
# @type RoomId: Integer
|
2704
|
+
# @param SdkAppId: 低代码平台的SdkAppId。
|
2705
|
+
# @type SdkAppId: Integer
|
2706
|
+
# @param UserId: 需要踢出成员Id
|
2707
|
+
# @type UserId: String
|
2708
|
+
# @param KickType: 踢出类型:
|
2709
|
+
# 1:临时踢出,可以使用Duration参数指定污点时间,污点时间间隔内用户无法进入房间。
|
2710
|
+
# 2:永久踢出
|
2711
|
+
# @type KickType: Integer
|
2712
|
+
# @param Duration: 污点时间(单位秒),KickType = 1时生效,默认为0
|
2713
|
+
# @type Duration: Integer
|
2714
|
+
|
2715
|
+
attr_accessor :RoomId, :SdkAppId, :UserId, :KickType, :Duration
|
2716
|
+
|
2717
|
+
def initialize(roomid=nil, sdkappid=nil, userid=nil, kicktype=nil, duration=nil)
|
2718
|
+
@RoomId = roomid
|
2719
|
+
@SdkAppId = sdkappid
|
2720
|
+
@UserId = userid
|
2721
|
+
@KickType = kicktype
|
2722
|
+
@Duration = duration
|
2723
|
+
end
|
2724
|
+
|
2725
|
+
def deserialize(params)
|
2726
|
+
@RoomId = params['RoomId']
|
2727
|
+
@SdkAppId = params['SdkAppId']
|
2728
|
+
@UserId = params['UserId']
|
2729
|
+
@KickType = params['KickType']
|
2730
|
+
@Duration = params['Duration']
|
2731
|
+
end
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
# KickUserFromRoom返回参数结构体
|
2735
|
+
class KickUserFromRoomResponse < TencentCloud::Common::AbstractModel
|
2736
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2737
|
+
# @type RequestId: String
|
2738
|
+
|
2739
|
+
attr_accessor :RequestId
|
2740
|
+
|
2741
|
+
def initialize(requestid=nil)
|
2742
|
+
@RequestId = requestid
|
2743
|
+
end
|
2744
|
+
|
2745
|
+
def deserialize(params)
|
2746
|
+
@RequestId = params['RequestId']
|
2747
|
+
end
|
2748
|
+
end
|
2749
|
+
|
2692
2750
|
# LoginOriginId请求参数结构体
|
2693
2751
|
class LoginOriginIdRequest < TencentCloud::Common::AbstractModel
|
2694
2752
|
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lcic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.571
|
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-05-
|
11
|
+
date: 2023-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|