tencentcloud-sdk-gme 3.0.520 → 3.0.522

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f0ad593a69dcadf08acb502f82d0df2e9980802
4
- data.tar.gz: 017b84af8b30dc9f320ff7fa88963dc67f277fe3
3
+ metadata.gz: 329e845cadbb7cb5119ddf5bf7fccb02140c1611
4
+ data.tar.gz: 88618a4cddba8947c287774bd408a1b270f2c1d6
5
5
  SHA512:
6
- metadata.gz: 76e0450ffad8192d448fd6e2365529fdc882b9c525ae3a04a35aa08818c7d75763a0859f4eb1d720385727eaddd2f89d765ed498e95eb9ee056fc684bbf3a6bc
7
- data.tar.gz: 06e48f9cd2b25970f4be59b8774874d8ebb9b136e5b0b043e1c2018dca9a74b3c7a51bbb2a15f9c41a05965a694424c3c53363aa36183c3cd87f70415097057b
6
+ metadata.gz: 9c4161672a61e074cabda3c0ddf22a9321998a61757bf48cf922b93fb23a9c5696a3d9d83c1e7819259bb05910316acd688b4f64ce703a4277b36b985cf150ea
7
+ data.tar.gz: c6fe949ed4a607a1019f070ec96234a2e04fef4afb884c449b984ae5099d6a5046ed7f6f5e1201639612b1813d6ddf30d8a9dbc71b5c1899fdf38b1134d19a36
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.520
1
+ 3.0.522
@@ -327,6 +327,30 @@ module TencentCloud
327
327
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
328
328
  end
329
329
 
330
+ # 查询录制任务信息。
331
+
332
+ # @param request: Request instance for DescribeRecordInfo.
333
+ # @type request: :class:`Tencentcloud::gme::V20180711::DescribeRecordInfoRequest`
334
+ # @rtype: :class:`Tencentcloud::gme::V20180711::DescribeRecordInfoResponse`
335
+ def DescribeRecordInfo(request)
336
+ body = send_request('DescribeRecordInfo', request.serialize)
337
+ response = JSON.parse(body)
338
+ if response['Response'].key?('Error') == false
339
+ model = DescribeRecordInfoResponse.new
340
+ model.deserialize(response['Response'])
341
+ model
342
+ else
343
+ code = response['Response']['Error']['Code']
344
+ message = response['Response']['Error']['Message']
345
+ reqid = response['Response']['RequestId']
346
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
347
+ end
348
+ rescue TencentCloud::Common::TencentCloudSDKException => e
349
+ raise e
350
+ rescue StandardError => e
351
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
352
+ end
353
+
330
354
  # 获取房间内用户信息
331
355
 
332
356
  # @param request: Request instance for DescribeRoomInfo.
@@ -376,6 +400,30 @@ module TencentCloud
376
400
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
377
401
  end
378
402
 
403
+ # 查询房间录制的详细信息
404
+
405
+ # @param request: Request instance for DescribeTaskInfo.
406
+ # @type request: :class:`Tencentcloud::gme::V20180711::DescribeTaskInfoRequest`
407
+ # @rtype: :class:`Tencentcloud::gme::V20180711::DescribeTaskInfoResponse`
408
+ def DescribeTaskInfo(request)
409
+ body = send_request('DescribeTaskInfo', request.serialize)
410
+ response = JSON.parse(body)
411
+ if response['Response'].key?('Error') == false
412
+ model = DescribeTaskInfoResponse.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
+
379
427
  # 拉取用户在房间得进出时间
380
428
 
381
429
  # @param request: Request instance for DescribeUserInAndOutTime.
@@ -496,6 +544,30 @@ module TencentCloud
496
544
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
497
545
  end
498
546
 
547
+ # 修改录制配置信息
548
+
549
+ # @param request: Request instance for ModifyRecordInfo.
550
+ # @type request: :class:`Tencentcloud::gme::V20180711::ModifyRecordInfoRequest`
551
+ # @rtype: :class:`Tencentcloud::gme::V20180711::ModifyRecordInfoResponse`
552
+ def ModifyRecordInfo(request)
553
+ body = send_request('ModifyRecordInfo', request.serialize)
554
+ response = JSON.parse(body)
555
+ if response['Response'].key?('Error') == false
556
+ model = ModifyRecordInfoResponse.new
557
+ model.deserialize(response['Response'])
558
+ model
559
+ else
560
+ code = response['Response']['Error']['Code']
561
+ message = response['Response']['Error']['Message']
562
+ reqid = response['Response']['RequestId']
563
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
564
+ end
565
+ rescue TencentCloud::Common::TencentCloudSDKException => e
566
+ raise e
567
+ rescue StandardError => e
568
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
569
+ end
570
+
499
571
  # **接口作用**:此接口用于修改房间用户的麦克风状态,例如房间内用户麦克风为打开状态,可调用此接口将该用户麦克风进行关闭,关闭后即使该用户使用客户端接口 EnableMic 打开麦克风,依然无法与房间内成员通话,属于被禁言状态。该状态持续到此用户退房后失效,或者调用该接口重新打开此用户麦克风状态。
500
572
  # **接口应用场景**:此接口多用于游戏业务中台或者风控后台,对一些发表不当言论的玩家进行禁言处理。
501
573
  # **接口使用前提**:目前 ModifyUserMicStatus 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
@@ -681,6 +753,54 @@ module TencentCloud
681
753
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
682
754
  end
683
755
 
756
+ # 开启录制
757
+
758
+ # @param request: Request instance for StartRecord.
759
+ # @type request: :class:`Tencentcloud::gme::V20180711::StartRecordRequest`
760
+ # @rtype: :class:`Tencentcloud::gme::V20180711::StartRecordResponse`
761
+ def StartRecord(request)
762
+ body = send_request('StartRecord', request.serialize)
763
+ response = JSON.parse(body)
764
+ if response['Response'].key?('Error') == false
765
+ model = StartRecordResponse.new
766
+ model.deserialize(response['Response'])
767
+ model
768
+ else
769
+ code = response['Response']['Error']['Code']
770
+ message = response['Response']['Error']['Message']
771
+ reqid = response['Response']['RequestId']
772
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
773
+ end
774
+ rescue TencentCloud::Common::TencentCloudSDKException => e
775
+ raise e
776
+ rescue StandardError => e
777
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
778
+ end
779
+
780
+ # 停止录制
781
+
782
+ # @param request: Request instance for StopRecord.
783
+ # @type request: :class:`Tencentcloud::gme::V20180711::StopRecordRequest`
784
+ # @rtype: :class:`Tencentcloud::gme::V20180711::StopRecordResponse`
785
+ def StopRecord(request)
786
+ body = send_request('StopRecord', request.serialize)
787
+ response = JSON.parse(body)
788
+ if response['Response'].key?('Error') == false
789
+ model = StopRecordResponse.new
790
+ model.deserialize(response['Response'])
791
+ model
792
+ else
793
+ code = response['Response']['Error']['Code']
794
+ message = response['Response']['Error']['Message']
795
+ reqid = response['Response']['RequestId']
796
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
797
+ end
798
+ rescue TencentCloud::Common::TencentCloudSDKException => e
799
+ raise e
800
+ rescue StandardError => e
801
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
802
+ end
803
+
684
804
  # 更新自定义送检房间号
685
805
 
686
806
  # @param request: Request instance for UpdateScanRooms.
@@ -1101,6 +1101,62 @@ module TencentCloud
1101
1101
  end
1102
1102
  end
1103
1103
 
1104
+ # DescribeRecordInfo请求参数结构体
1105
+ class DescribeRecordInfoRequest < TencentCloud::Common::AbstractModel
1106
+ # @param TaskId: 进行中的任务taskid(StartRecord接口返回)。
1107
+ # @type TaskId: Integer
1108
+ # @param BizId: 应用ID。
1109
+ # @type BizId: Integer
1110
+
1111
+ attr_accessor :TaskId, :BizId
1112
+
1113
+ def initialize(taskid=nil, bizid=nil)
1114
+ @TaskId = taskid
1115
+ @BizId = bizid
1116
+ end
1117
+
1118
+ def deserialize(params)
1119
+ @TaskId = params['TaskId']
1120
+ @BizId = params['BizId']
1121
+ end
1122
+ end
1123
+
1124
+ # DescribeRecordInfo返回参数结构体
1125
+ class DescribeRecordInfoResponse < TencentCloud::Common::AbstractModel
1126
+ # @param RecordInfo: 录制信息。
1127
+ # 注意:此字段可能返回 null,表示取不到有效值。
1128
+ # @type RecordInfo: Array
1129
+ # @param RecordMode: 录制类型:1代表单流 2代表混流 3代表单流和混流。
1130
+ # @type RecordMode: Integer
1131
+ # @param RoomId: 房间ID。
1132
+ # @type RoomId: String
1133
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1134
+ # @type RequestId: String
1135
+
1136
+ attr_accessor :RecordInfo, :RecordMode, :RoomId, :RequestId
1137
+
1138
+ def initialize(recordinfo=nil, recordmode=nil, roomid=nil, requestid=nil)
1139
+ @RecordInfo = recordinfo
1140
+ @RecordMode = recordmode
1141
+ @RoomId = roomid
1142
+ @RequestId = requestid
1143
+ end
1144
+
1145
+ def deserialize(params)
1146
+ unless params['RecordInfo'].nil?
1147
+ @RecordInfo = []
1148
+ params['RecordInfo'].each do |i|
1149
+ recordinfo_tmp = RecordInfo.new
1150
+ recordinfo_tmp.deserialize(i)
1151
+ @RecordInfo << recordinfo_tmp
1152
+ end
1153
+ end
1154
+ @RecordMode = params['RecordMode']
1155
+ @RoomId = params['RoomId']
1156
+ @RequestId = params['RequestId']
1157
+ end
1158
+ end
1159
+
1104
1160
  # DescribeRoomInfo请求参数结构体
1105
1161
  class DescribeRoomInfoRequest < TencentCloud::Common::AbstractModel
1106
1162
  # @param SdkAppId: 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID
@@ -1286,6 +1342,60 @@ module TencentCloud
1286
1342
  end
1287
1343
  end
1288
1344
 
1345
+ # DescribeTaskInfo请求参数结构体
1346
+ class DescribeTaskInfoRequest < TencentCloud::Common::AbstractModel
1347
+ # @param BizId: 应用ID。
1348
+ # @type BizId: Integer
1349
+ # @param RoomId: 房间ID。
1350
+ # @type RoomId: String
1351
+
1352
+ attr_accessor :BizId, :RoomId
1353
+
1354
+ def initialize(bizid=nil, roomid=nil)
1355
+ @BizId = bizid
1356
+ @RoomId = roomid
1357
+ end
1358
+
1359
+ def deserialize(params)
1360
+ @BizId = params['BizId']
1361
+ @RoomId = params['RoomId']
1362
+ end
1363
+ end
1364
+
1365
+ # DescribeTaskInfo返回参数结构体
1366
+ class DescribeTaskInfoResponse < TencentCloud::Common::AbstractModel
1367
+ # @param TaskId: 进行中的任务taskid(StartRecord接口返回)。
1368
+ # 注意:此字段可能返回 null,表示取不到有效值。
1369
+ # @type TaskId: Integer
1370
+ # @param RecordMode: 录制类型:1代表单流 2代表混流 3代表单流和混流。
1371
+ # 注意:此字段可能返回 null,表示取不到有效值。
1372
+ # @type RecordMode: Integer
1373
+ # @param SubscribeRecordUserIds: 指定订阅流白名单或者黑名单。
1374
+ # 注意:此字段可能返回 null,表示取不到有效值。
1375
+ # @type SubscribeRecordUserIds: :class:`Tencentcloud::Gme.v20180711.models.SubscribeRecordUserIds`
1376
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1377
+ # @type RequestId: String
1378
+
1379
+ attr_accessor :TaskId, :RecordMode, :SubscribeRecordUserIds, :RequestId
1380
+
1381
+ def initialize(taskid=nil, recordmode=nil, subscriberecorduserids=nil, requestid=nil)
1382
+ @TaskId = taskid
1383
+ @RecordMode = recordmode
1384
+ @SubscribeRecordUserIds = subscriberecorduserids
1385
+ @RequestId = requestid
1386
+ end
1387
+
1388
+ def deserialize(params)
1389
+ @TaskId = params['TaskId']
1390
+ @RecordMode = params['RecordMode']
1391
+ unless params['SubscribeRecordUserIds'].nil?
1392
+ @SubscribeRecordUserIds = SubscribeRecordUserIds.new
1393
+ @SubscribeRecordUserIds.deserialize(params['SubscribeRecordUserIds'])
1394
+ end
1395
+ @RequestId = params['RequestId']
1396
+ end
1397
+ end
1398
+
1289
1399
  # DescribeUserInAndOutTime请求参数结构体
1290
1400
  class DescribeUserInAndOutTimeRequest < TencentCloud::Common::AbstractModel
1291
1401
  # @param BizId: 应用ID
@@ -1592,6 +1702,53 @@ module TencentCloud
1592
1702
  end
1593
1703
  end
1594
1704
 
1705
+ # ModifyRecordInfo请求参数结构体
1706
+ class ModifyRecordInfoRequest < TencentCloud::Common::AbstractModel
1707
+ # @param TaskId: 进行中的任务taskid(StartRecord接口返回)。
1708
+ # @type TaskId: Integer
1709
+ # @param RecordMode: 录制类型:1代表单流 2代表混流 3代表单流和混流。
1710
+ # @type RecordMode: Integer
1711
+ # @param BizId: 应用ID。
1712
+ # @type BizId: Integer
1713
+ # @param SubscribeRecordUserIds: 指定订阅流白名单或者黑名单。
1714
+ # @type SubscribeRecordUserIds: :class:`Tencentcloud::Gme.v20180711.models.SubscribeRecordUserIds`
1715
+
1716
+ attr_accessor :TaskId, :RecordMode, :BizId, :SubscribeRecordUserIds
1717
+
1718
+ def initialize(taskid=nil, recordmode=nil, bizid=nil, subscriberecorduserids=nil)
1719
+ @TaskId = taskid
1720
+ @RecordMode = recordmode
1721
+ @BizId = bizid
1722
+ @SubscribeRecordUserIds = subscriberecorduserids
1723
+ end
1724
+
1725
+ def deserialize(params)
1726
+ @TaskId = params['TaskId']
1727
+ @RecordMode = params['RecordMode']
1728
+ @BizId = params['BizId']
1729
+ unless params['SubscribeRecordUserIds'].nil?
1730
+ @SubscribeRecordUserIds = SubscribeRecordUserIds.new
1731
+ @SubscribeRecordUserIds.deserialize(params['SubscribeRecordUserIds'])
1732
+ end
1733
+ end
1734
+ end
1735
+
1736
+ # ModifyRecordInfo返回参数结构体
1737
+ class ModifyRecordInfoResponse < TencentCloud::Common::AbstractModel
1738
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1739
+ # @type RequestId: String
1740
+
1741
+ attr_accessor :RequestId
1742
+
1743
+ def initialize(requestid=nil)
1744
+ @RequestId = requestid
1745
+ end
1746
+
1747
+ def deserialize(params)
1748
+ @RequestId = params['RequestId']
1749
+ end
1750
+ end
1751
+
1595
1752
  # ModifyUserMicStatus请求参数结构体
1596
1753
  class ModifyUserMicStatusRequest < TencentCloud::Common::AbstractModel
1597
1754
  # @param BizId: 来自 [腾讯云控制台](https://console.cloud.tencent.com/gamegme) 的 GME 服务提供的 AppID,获取请参考 [语音服务开通指引](https://cloud.tencent.com/document/product/607/10782#.E9.87.8D.E7.82.B9.E5.8F.82.E6.95.B0)。
@@ -1737,6 +1894,35 @@ module TencentCloud
1737
1894
  end
1738
1895
  end
1739
1896
 
1897
+ # 房间内录制信息信息
1898
+ # 注意:此字段可能返回 null,表示取不到有效值。
1899
+ class RecordInfo < TencentCloud::Common::AbstractModel
1900
+ # @param UserId: 用户ID(当混流模式时,取值为0)。
1901
+ # @type UserId: String
1902
+ # @param FileName: 录制文件名。
1903
+ # @type FileName: String
1904
+ # @param RecordBeginTime: 录制开始时间(unix时间戳如:1234567868)。
1905
+ # @type RecordBeginTime: Integer
1906
+ # @param RecordStatus: 录制状态:2代表正在录制 10代表等待转码 11代表正在转码 12正在上传 13代表上传完成 14代表通知用户完成。
1907
+ # @type RecordStatus: Integer
1908
+
1909
+ attr_accessor :UserId, :FileName, :RecordBeginTime, :RecordStatus
1910
+
1911
+ def initialize(userid=nil, filename=nil, recordbegintime=nil, recordstatus=nil)
1912
+ @UserId = userid
1913
+ @FileName = filename
1914
+ @RecordBeginTime = recordbegintime
1915
+ @RecordStatus = recordstatus
1916
+ end
1917
+
1918
+ def deserialize(params)
1919
+ @UserId = params['UserId']
1920
+ @FileName = params['FileName']
1921
+ @RecordBeginTime = params['RecordBeginTime']
1922
+ @RecordStatus = params['RecordStatus']
1923
+ end
1924
+ end
1925
+
1740
1926
  # 房间内用户信息
1741
1927
  class RoomUser < TencentCloud::Common::AbstractModel
1742
1928
  # @param RoomId: 房间id
@@ -2012,6 +2198,57 @@ module TencentCloud
2012
2198
  end
2013
2199
  end
2014
2200
 
2201
+ # StartRecord请求参数结构体
2202
+ class StartRecordRequest < TencentCloud::Common::AbstractModel
2203
+ # @param BizId: 应用ID。
2204
+ # @type BizId: Integer
2205
+ # @param RoomId: 房间ID。
2206
+ # @type RoomId: String
2207
+ # @param RecordMode: 录制类型:1代表单流 2代表混流 3代表单流和混流。
2208
+ # @type RecordMode: Integer
2209
+ # @param SubscribeRecordUserIds: 指定订阅流白名单或者黑名单(不传默认订阅房间内所有音频流)。
2210
+ # @type SubscribeRecordUserIds: :class:`Tencentcloud::Gme.v20180711.models.SubscribeRecordUserIds`
2211
+
2212
+ attr_accessor :BizId, :RoomId, :RecordMode, :SubscribeRecordUserIds
2213
+
2214
+ def initialize(bizid=nil, roomid=nil, recordmode=nil, subscriberecorduserids=nil)
2215
+ @BizId = bizid
2216
+ @RoomId = roomid
2217
+ @RecordMode = recordmode
2218
+ @SubscribeRecordUserIds = subscriberecorduserids
2219
+ end
2220
+
2221
+ def deserialize(params)
2222
+ @BizId = params['BizId']
2223
+ @RoomId = params['RoomId']
2224
+ @RecordMode = params['RecordMode']
2225
+ unless params['SubscribeRecordUserIds'].nil?
2226
+ @SubscribeRecordUserIds = SubscribeRecordUserIds.new
2227
+ @SubscribeRecordUserIds.deserialize(params['SubscribeRecordUserIds'])
2228
+ end
2229
+ end
2230
+ end
2231
+
2232
+ # StartRecord返回参数结构体
2233
+ class StartRecordResponse < TencentCloud::Common::AbstractModel
2234
+ # @param TaskId: 任务taskid。
2235
+ # @type TaskId: Integer
2236
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2237
+ # @type RequestId: String
2238
+
2239
+ attr_accessor :TaskId, :RequestId
2240
+
2241
+ def initialize(taskid=nil, requestid=nil)
2242
+ @TaskId = taskid
2243
+ @RequestId = requestid
2244
+ end
2245
+
2246
+ def deserialize(params)
2247
+ @TaskId = params['TaskId']
2248
+ @RequestId = params['RequestId']
2249
+ end
2250
+ end
2251
+
2015
2252
  # 用量数据单元
2016
2253
  class StatisticsItem < TencentCloud::Common::AbstractModel
2017
2254
  # @param StatDate: 日期,格式为年-月-日,如2018-07-13
@@ -2048,6 +2285,42 @@ module TencentCloud
2048
2285
  end
2049
2286
  end
2050
2287
 
2288
+ # StopRecord请求参数结构体
2289
+ class StopRecordRequest < TencentCloud::Common::AbstractModel
2290
+ # @param TaskId: 任务ID。
2291
+ # @type TaskId: Integer
2292
+ # @param BizId: 应用ID。
2293
+ # @type BizId: Integer
2294
+
2295
+ attr_accessor :TaskId, :BizId
2296
+
2297
+ def initialize(taskid=nil, bizid=nil)
2298
+ @TaskId = taskid
2299
+ @BizId = bizid
2300
+ end
2301
+
2302
+ def deserialize(params)
2303
+ @TaskId = params['TaskId']
2304
+ @BizId = params['BizId']
2305
+ end
2306
+ end
2307
+
2308
+ # StopRecord返回参数结构体
2309
+ class StopRecordResponse < TencentCloud::Common::AbstractModel
2310
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2311
+ # @type RequestId: String
2312
+
2313
+ attr_accessor :RequestId
2314
+
2315
+ def initialize(requestid=nil)
2316
+ @RequestId = requestid
2317
+ end
2318
+
2319
+ def deserialize(params)
2320
+ @RequestId = params['RequestId']
2321
+ end
2322
+ end
2323
+
2051
2324
  # 流式转文本用量数据
2052
2325
  class StreamTextStatisticsItem < TencentCloud::Common::AbstractModel
2053
2326
  # @param Data: 统计值,单位:秒
@@ -2065,6 +2338,28 @@ module TencentCloud
2065
2338
  end
2066
2339
  end
2067
2340
 
2341
+ # 指定订阅流白名单或者黑名单。
2342
+ class SubscribeRecordUserIds < TencentCloud::Common::AbstractModel
2343
+ # @param UnSubscribeUserIds: 订阅音频流黑名单,指定不订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3的音频流。默认不填订阅房间内所有音频流,订阅列表用户数不超过20。
2344
+ # 注意:只能同时设置UnSubscribeAudioUserIds、SubscribeAudioUserIds 其中1个参数
2345
+ # @type UnSubscribeUserIds: Array
2346
+ # @param SubscribeUserIds: 订阅音频流白名单,指定订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的音频流。默认不填订阅房间内所有音频流,订阅列表用户数不超过20。
2347
+ # 注意:只能同时设置UnSubscribeAudioUserIds、SubscribeAudioUserIds 其中1个参数。
2348
+ # @type SubscribeUserIds: Array
2349
+
2350
+ attr_accessor :UnSubscribeUserIds, :SubscribeUserIds
2351
+
2352
+ def initialize(unsubscribeuserids=nil, subscribeuserids=nil)
2353
+ @UnSubscribeUserIds = unsubscribeuserids
2354
+ @SubscribeUserIds = subscribeuserids
2355
+ end
2356
+
2357
+ def deserialize(params)
2358
+ @UnSubscribeUserIds = params['UnSubscribeUserIds']
2359
+ @SubscribeUserIds = params['SubscribeUserIds']
2360
+ end
2361
+ end
2362
+
2068
2363
  # 标签列表
2069
2364
  class Tag < TencentCloud::Common::AbstractModel
2070
2365
  # @param TagKey: 标签键
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.520
4
+ version: 3.0.522
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-03-02 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common