tencentcloud-sdk-trtc 1.0.361 → 1.0.362

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: 9fc0dee3809649e691a13be0c887b8861a67f7e8
4
- data.tar.gz: dfc685a57bfa71dffd57bcbaa04184c4311f6da4
3
+ metadata.gz: 822559fa280ab84bf0ffb773bd3ef80dd798e1ea
4
+ data.tar.gz: dd57af89042834ff447836ef54362c23f3d1745b
5
5
  SHA512:
6
- metadata.gz: eb5296fe05274c0a58afa7e429d018648cd5f5e8eaa75343a376b0f73e0f104ed3601356b83347368e31c344bfda66479d2a9b6ccb3eb542030f6983b9987f5a
7
- data.tar.gz: a7ed22cc6319fd2b93c607ee903fc3eafecc5407deeb95f85be7ca5dfc71af0df2f7d02b2953f176df549a6f4bbd33fa392007933ccf83170e432dbd026fb49b
6
+ metadata.gz: 417c068c97d9d544b8a810ecc02576a41aef490be4e4d434bf9c710b2f75bc0452a1e82532ce69dce5d083d03f16c4fb7668a340a9543680fff3d286f326744a
7
+ data.tar.gz: 0764bb82aa1275df7b88d4c8b4de801331014e578c73e3c4d8c62c8d46859ab2d4acf282e8801ee190d42480f7f6f75bf655a784180e82d9aec50f281d119b31
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.361
1
+ 1.0.362
@@ -127,6 +127,31 @@ module TencentCloud
127
127
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
128
  end
129
129
 
130
+ # 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
131
+ # **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
132
+
133
+ # @param request: Request instance for DescribeCallDetailInfo.
134
+ # @type request: :class:`Tencentcloud::trtc::V20190722::DescribeCallDetailInfoRequest`
135
+ # @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeCallDetailInfoResponse`
136
+ def DescribeCallDetailInfo(request)
137
+ body = send_request('DescribeCallDetailInfo', request.serialize)
138
+ response = JSON.parse(body)
139
+ if response['Response'].key?('Error') == false
140
+ model = DescribeCallDetailInfoResponse.new
141
+ model.deserialize(response['Response'])
142
+ model
143
+ else
144
+ code = response['Response']['Error']['Code']
145
+ message = response['Response']['Error']['Message']
146
+ reqid = response['Response']['RequestId']
147
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
148
+ end
149
+ rescue TencentCloud::Common::TencentCloudSDKException => e
150
+ raise e
151
+ rescue StandardError => e
152
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
153
+ end
154
+
130
155
  # 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。
131
156
 
132
157
  # @param request: Request instance for DescribeDetailEvent.
@@ -252,6 +277,31 @@ module TencentCloud
252
277
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
253
278
  end
254
279
 
280
+ # 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。(同老接口DescribeRoomInformation)
281
+ # **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
282
+
283
+ # @param request: Request instance for DescribeRoomInfo.
284
+ # @type request: :class:`Tencentcloud::trtc::V20190722::DescribeRoomInfoRequest`
285
+ # @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeRoomInfoResponse`
286
+ def DescribeRoomInfo(request)
287
+ body = send_request('DescribeRoomInfo', request.serialize)
288
+ response = JSON.parse(body)
289
+ if response['Response'].key?('Error') == false
290
+ model = DescribeRoomInfoResponse.new
291
+ model.deserialize(response['Response'])
292
+ model
293
+ else
294
+ code = response['Response']['Error']['Code']
295
+ message = response['Response']['Error']['Message']
296
+ reqid = response['Response']['RequestId']
297
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
298
+ end
299
+ rescue TencentCloud::Common::TencentCloudSDKException => e
300
+ raise e
301
+ rescue StandardError => e
302
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
303
+ end
304
+
255
305
  # 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。
256
306
  # **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
257
307
 
@@ -277,6 +327,30 @@ module TencentCloud
277
327
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
278
328
  end
279
329
 
330
+ # 可查询SdkAppId每天的房间数和用户数,按天统计,可查询最近14天的数据。当天未结束,数据未统计完成,无法查到当天的房间数与用户数。(同老接口DescribeHistoryScale)
331
+
332
+ # @param request: Request instance for DescribeScaleInfo.
333
+ # @type request: :class:`Tencentcloud::trtc::V20190722::DescribeScaleInfoRequest`
334
+ # @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeScaleInfoResponse`
335
+ def DescribeScaleInfo(request)
336
+ body = send_request('DescribeScaleInfo', request.serialize)
337
+ response = JSON.parse(body)
338
+ if response['Response'].key?('Error') == false
339
+ model = DescribeScaleInfoResponse.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
+
280
354
  # 查询旁路转码计费时长。
281
355
  # - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
282
356
  # - 单次查询统计区间最多不能超过31天。
@@ -305,6 +379,80 @@ module TencentCloud
305
379
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
306
380
  end
307
381
 
382
+ # 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
383
+ # 异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
384
+
385
+ # @param request: Request instance for DescribeUnusualEvent.
386
+ # @type request: :class:`Tencentcloud::trtc::V20190722::DescribeUnusualEventRequest`
387
+ # @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeUnusualEventResponse`
388
+ def DescribeUnusualEvent(request)
389
+ body = send_request('DescribeUnusualEvent', request.serialize)
390
+ response = JSON.parse(body)
391
+ if response['Response'].key?('Error') == false
392
+ model = DescribeUnusualEventResponse.new
393
+ model.deserialize(response['Response'])
394
+ model
395
+ else
396
+ code = response['Response']['Error']['Code']
397
+ message = response['Response']['Error']['Message']
398
+ reqid = response['Response']['RequestId']
399
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
400
+ end
401
+ rescue TencentCloud::Common::TencentCloudSDKException => e
402
+ raise e
403
+ rescue StandardError => e
404
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
405
+ end
406
+
407
+ # 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。(同接口DescribeDetailEvent)
408
+
409
+ # @param request: Request instance for DescribeUserEvent.
410
+ # @type request: :class:`Tencentcloud::trtc::V20190722::DescribeUserEventRequest`
411
+ # @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeUserEventResponse`
412
+ def DescribeUserEvent(request)
413
+ body = send_request('DescribeUserEvent', request.serialize)
414
+ response = JSON.parse(body)
415
+ if response['Response'].key?('Error') == false
416
+ model = DescribeUserEventResponse.new
417
+ model.deserialize(response['Response'])
418
+ model
419
+ else
420
+ code = response['Response']['Error']['Code']
421
+ message = response['Response']['Error']['Message']
422
+ reqid = response['Response']['RequestId']
423
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
424
+ end
425
+ rescue TencentCloud::Common::TencentCloudSDKException => e
426
+ raise e
427
+ rescue StandardError => e
428
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
429
+ end
430
+
431
+ # 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
432
+ # **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
433
+
434
+ # @param request: Request instance for DescribeUserInfo.
435
+ # @type request: :class:`Tencentcloud::trtc::V20190722::DescribeUserInfoRequest`
436
+ # @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeUserInfoResponse`
437
+ def DescribeUserInfo(request)
438
+ body = send_request('DescribeUserInfo', request.serialize)
439
+ response = JSON.parse(body)
440
+ if response['Response'].key?('Error') == false
441
+ model = DescribeUserInfoResponse.new
442
+ model.deserialize(response['Response'])
443
+ model
444
+ else
445
+ code = response['Response']['Error']['Code']
446
+ message = response['Response']['Error']['Message']
447
+ reqid = response['Response']['RequestId']
448
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
449
+ end
450
+ rescue TencentCloud::Common::TencentCloudSDKException => e
451
+ raise e
452
+ rescue StandardError => e
453
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
454
+ end
455
+
308
456
  # 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。
309
457
  # **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
310
458
 
@@ -233,6 +233,113 @@ module TencentCloud
233
233
  end
234
234
  end
235
235
 
236
+ # DescribeCallDetailInfo请求参数结构体
237
+ class DescribeCallDetailInfoRequest < TencentCloud::Common::AbstractModel
238
+ # @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
239
+ # @type CommId: String
240
+ # @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777),
241
+ # 注意:支持查询14天内的数据。
242
+ # @type StartTime: Integer
243
+ # @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
244
+ # 注意:DataType 不为null ,与StartTime间隔时间不超过1小时;DataType 为null,与StartTime间隔时间不超过4小时。
245
+ # @type EndTime: Integer
246
+ # @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)。
247
+ # @type SdkAppId: Integer
248
+ # @param UserIds: 需查询的用户数组,默认不填返回6个用户。
249
+ # @type UserIds: Array
250
+ # @param DataType: 需查询的指标,不填则只返回用户列表,填all则返回所有指标。
251
+ # appCpu:APP CPU使用率;
252
+ # sysCpu:系统 CPU使用率;
253
+ # aBit:上/下行音频码率;单位:bps
254
+ # aBlock:音频卡顿时长;单位:ms
255
+ # bigvBit:上/下行视频码率;单位:bps
256
+ # bigvCapFps:视频采集帧率;
257
+ # bigvEncFps:视频发送帧率;
258
+ # bigvDecFps:渲染帧率;
259
+ # bigvBlock:视频卡顿时长;单位:ms
260
+ # aLoss:上/下行音频丢包率;
261
+ # bigvLoss:上/下行视频丢包率;
262
+ # bigvWidth:上/下行分辨率宽;
263
+ # bigvHeight:上/下行分辨率高
264
+ # @type DataType: Array
265
+ # @param PageNumber: 当前页数,默认为0,
266
+ # 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
267
+ # @type PageNumber: Integer
268
+ # @param PageSize: 每页个数,默认为6,
269
+ # 范围:[1,100]
270
+ # 注意:DataType不为null,UserIds长度不能超过6,PageSize最大值不超过6;
271
+ # DataType 为null,UserIds长度不超过100,PageSize最大不超过100。
272
+ # @type PageSize: Integer
273
+
274
+ attr_accessor :CommId, :StartTime, :EndTime, :SdkAppId, :UserIds, :DataType, :PageNumber, :PageSize
275
+
276
+ def initialize(commid=nil, starttime=nil, endtime=nil, sdkappid=nil, userids=nil, datatype=nil, pagenumber=nil, pagesize=nil)
277
+ @CommId = commid
278
+ @StartTime = starttime
279
+ @EndTime = endtime
280
+ @SdkAppId = sdkappid
281
+ @UserIds = userids
282
+ @DataType = datatype
283
+ @PageNumber = pagenumber
284
+ @PageSize = pagesize
285
+ end
286
+
287
+ def deserialize(params)
288
+ @CommId = params['CommId']
289
+ @StartTime = params['StartTime']
290
+ @EndTime = params['EndTime']
291
+ @SdkAppId = params['SdkAppId']
292
+ @UserIds = params['UserIds']
293
+ @DataType = params['DataType']
294
+ @PageNumber = params['PageNumber']
295
+ @PageSize = params['PageSize']
296
+ end
297
+ end
298
+
299
+ # DescribeCallDetailInfo返回参数结构体
300
+ class DescribeCallDetailInfoResponse < TencentCloud::Common::AbstractModel
301
+ # @param Total: 返回的用户总条数
302
+ # @type Total: Integer
303
+ # @param UserList: 用户信息列表
304
+ # 注意:此字段可能返回 null,表示取不到有效值。
305
+ # @type UserList: Array
306
+ # @param Data: 质量数据
307
+ # 注意:此字段可能返回 null,表示取不到有效值。
308
+ # @type Data: Array
309
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
310
+ # @type RequestId: String
311
+
312
+ attr_accessor :Total, :UserList, :Data, :RequestId
313
+
314
+ def initialize(total=nil, userlist=nil, data=nil, requestid=nil)
315
+ @Total = total
316
+ @UserList = userlist
317
+ @Data = data
318
+ @RequestId = requestid
319
+ end
320
+
321
+ def deserialize(params)
322
+ @Total = params['Total']
323
+ unless params['UserList'].nil?
324
+ @UserList = []
325
+ params['UserList'].each do |i|
326
+ userinformation_tmp = UserInformation.new
327
+ userinformation_tmp.deserialize(i)
328
+ @UserList << userinformation_tmp
329
+ end
330
+ end
331
+ unless params['Data'].nil?
332
+ @Data = []
333
+ params['Data'].each do |i|
334
+ qualitydata_tmp = QualityData.new
335
+ qualitydata_tmp.deserialize(i)
336
+ @Data << qualitydata_tmp
337
+ end
338
+ end
339
+ @RequestId = params['RequestId']
340
+ end
341
+ end
342
+
236
343
  # DescribeCallDetail请求参数结构体
237
344
  class DescribeCallDetailRequest < TencentCloud::Common::AbstractModel
238
345
  # @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
@@ -629,6 +736,77 @@ module TencentCloud
629
736
  end
630
737
  end
631
738
 
739
+ # DescribeRoomInfo请求参数结构体
740
+ class DescribeRoomInfoRequest < TencentCloud::Common::AbstractModel
741
+ # @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
742
+ # @type SdkAppId: Integer
743
+ # @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
744
+ # 注意:支持查询14天内的数据
745
+ # @type StartTime: Integer
746
+ # @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
747
+ # 注意:与StartTime间隔时间不超过24小时。
748
+ # @type EndTime: Integer
749
+ # @param RoomId: 房间号(如:223)
750
+ # @type RoomId: String
751
+ # @param PageNumber: 当前页数,默认为0,
752
+ # 注意:PageNumber和PageSize 其中一个不填均默认返回10条数据。
753
+ # @type PageNumber: Integer
754
+ # @param PageSize: 每页个数,默认为10,
755
+ # 范围:[1,100]
756
+ # @type PageSize: Integer
757
+
758
+ attr_accessor :SdkAppId, :StartTime, :EndTime, :RoomId, :PageNumber, :PageSize
759
+
760
+ def initialize(sdkappid=nil, starttime=nil, endtime=nil, roomid=nil, pagenumber=nil, pagesize=nil)
761
+ @SdkAppId = sdkappid
762
+ @StartTime = starttime
763
+ @EndTime = endtime
764
+ @RoomId = roomid
765
+ @PageNumber = pagenumber
766
+ @PageSize = pagesize
767
+ end
768
+
769
+ def deserialize(params)
770
+ @SdkAppId = params['SdkAppId']
771
+ @StartTime = params['StartTime']
772
+ @EndTime = params['EndTime']
773
+ @RoomId = params['RoomId']
774
+ @PageNumber = params['PageNumber']
775
+ @PageSize = params['PageSize']
776
+ end
777
+ end
778
+
779
+ # DescribeRoomInfo返回参数结构体
780
+ class DescribeRoomInfoResponse < TencentCloud::Common::AbstractModel
781
+ # @param Total: 返回当页数据总数
782
+ # @type Total: Integer
783
+ # @param RoomList: 房间信息列表
784
+ # @type RoomList: Array
785
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
786
+ # @type RequestId: String
787
+
788
+ attr_accessor :Total, :RoomList, :RequestId
789
+
790
+ def initialize(total=nil, roomlist=nil, requestid=nil)
791
+ @Total = total
792
+ @RoomList = roomlist
793
+ @RequestId = requestid
794
+ end
795
+
796
+ def deserialize(params)
797
+ @Total = params['Total']
798
+ unless params['RoomList'].nil?
799
+ @RoomList = []
800
+ params['RoomList'].each do |i|
801
+ roomstate_tmp = RoomState.new
802
+ roomstate_tmp.deserialize(i)
803
+ @RoomList << roomstate_tmp
804
+ end
805
+ end
806
+ @RequestId = params['RequestId']
807
+ end
808
+ end
809
+
632
810
  # DescribeRoomInformation请求参数结构体
633
811
  class DescribeRoomInformationRequest < TencentCloud::Common::AbstractModel
634
812
  # @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
@@ -700,6 +878,64 @@ module TencentCloud
700
878
  end
701
879
  end
702
880
 
881
+ # DescribeScaleInfo请求参数结构体
882
+ class DescribeScaleInfoRequest < TencentCloud::Common::AbstractModel
883
+ # @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
884
+ # @type SdkAppId: Integer
885
+ # @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
886
+ # 注意:支持查询14天内的数据。
887
+ # @type StartTime: Integer
888
+ # @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877),建议与StartTime间隔时间超过24小时。
889
+ # 注意:按天统计,结束时间小于前一天,否则查询数据为空(如:需查询20号数据,结束时间需小于20号0点)。
890
+ # @type EndTime: Integer
891
+
892
+ attr_accessor :SdkAppId, :StartTime, :EndTime
893
+
894
+ def initialize(sdkappid=nil, starttime=nil, endtime=nil)
895
+ @SdkAppId = sdkappid
896
+ @StartTime = starttime
897
+ @EndTime = endtime
898
+ end
899
+
900
+ def deserialize(params)
901
+ @SdkAppId = params['SdkAppId']
902
+ @StartTime = params['StartTime']
903
+ @EndTime = params['EndTime']
904
+ end
905
+ end
906
+
907
+ # DescribeScaleInfo返回参数结构体
908
+ class DescribeScaleInfoResponse < TencentCloud::Common::AbstractModel
909
+ # @param Total: 返回的数据条数
910
+ # @type Total: Integer
911
+ # @param ScaleList: 返回的数据
912
+ # 注意:此字段可能返回 null,表示取不到有效值。
913
+ # @type ScaleList: Array
914
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
915
+ # @type RequestId: String
916
+
917
+ attr_accessor :Total, :ScaleList, :RequestId
918
+
919
+ def initialize(total=nil, scalelist=nil, requestid=nil)
920
+ @Total = total
921
+ @ScaleList = scalelist
922
+ @RequestId = requestid
923
+ end
924
+
925
+ def deserialize(params)
926
+ @Total = params['Total']
927
+ unless params['ScaleList'].nil?
928
+ @ScaleList = []
929
+ params['ScaleList'].each do |i|
930
+ scaleinfomation_tmp = ScaleInfomation.new
931
+ scaleinfomation_tmp.deserialize(i)
932
+ @ScaleList << scaleinfomation_tmp
933
+ end
934
+ end
935
+ @RequestId = params['RequestId']
936
+ end
937
+ end
938
+
703
939
  # DescribeTrtcMcuTranscodeTime请求参数结构体
704
940
  class DescribeTrtcMcuTranscodeTimeRequest < TencentCloud::Common::AbstractModel
705
941
  # @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
@@ -752,6 +988,209 @@ module TencentCloud
752
988
  end
753
989
  end
754
990
 
991
+ # DescribeUnusualEvent请求参数结构体
992
+ class DescribeUnusualEventRequest < TencentCloud::Common::AbstractModel
993
+ # @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
994
+ # @type SdkAppId: Integer
995
+ # @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
996
+ # 注意:支持查询14天内的数据
997
+ # @type StartTime: Integer
998
+ # @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)注意:与StartTime间隔时间不超过1小时。
999
+ # @type EndTime: Integer
1000
+ # @param RoomId: 房间号,查询房间内任意20条以内异常体验事件
1001
+ # @type RoomId: String
1002
+
1003
+ attr_accessor :SdkAppId, :StartTime, :EndTime, :RoomId
1004
+
1005
+ def initialize(sdkappid=nil, starttime=nil, endtime=nil, roomid=nil)
1006
+ @SdkAppId = sdkappid
1007
+ @StartTime = starttime
1008
+ @EndTime = endtime
1009
+ @RoomId = roomid
1010
+ end
1011
+
1012
+ def deserialize(params)
1013
+ @SdkAppId = params['SdkAppId']
1014
+ @StartTime = params['StartTime']
1015
+ @EndTime = params['EndTime']
1016
+ @RoomId = params['RoomId']
1017
+ end
1018
+ end
1019
+
1020
+ # DescribeUnusualEvent返回参数结构体
1021
+ class DescribeUnusualEventResponse < TencentCloud::Common::AbstractModel
1022
+ # @param Total: 返回的数据总条数
1023
+ # 范围:[0,20]
1024
+ # @type Total: Integer
1025
+ # @param AbnormalExperienceList: 异常体验列表
1026
+ # @type AbnormalExperienceList: Array
1027
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1028
+ # @type RequestId: String
1029
+
1030
+ attr_accessor :Total, :AbnormalExperienceList, :RequestId
1031
+
1032
+ def initialize(total=nil, abnormalexperiencelist=nil, requestid=nil)
1033
+ @Total = total
1034
+ @AbnormalExperienceList = abnormalexperiencelist
1035
+ @RequestId = requestid
1036
+ end
1037
+
1038
+ def deserialize(params)
1039
+ @Total = params['Total']
1040
+ unless params['AbnormalExperienceList'].nil?
1041
+ @AbnormalExperienceList = []
1042
+ params['AbnormalExperienceList'].each do |i|
1043
+ abnormalexperience_tmp = AbnormalExperience.new
1044
+ abnormalexperience_tmp.deserialize(i)
1045
+ @AbnormalExperienceList << abnormalexperience_tmp
1046
+ end
1047
+ end
1048
+ @RequestId = params['RequestId']
1049
+ end
1050
+ end
1051
+
1052
+ # DescribeUserEvent请求参数结构体
1053
+ class DescribeUserEventRequest < TencentCloud::Common::AbstractModel
1054
+ # @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
1055
+ # @type CommId: String
1056
+ # @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
1057
+ # 注意:支持查询14天内的数据
1058
+ # @type StartTime: Integer
1059
+ # @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
1060
+ # 注意:查询时间大于房间结束时间,以房间结束时间为准。
1061
+ # @type EndTime: Integer
1062
+ # @param UserId: 用户UserId
1063
+ # @type UserId: String
1064
+ # @param RoomId: 房间号(如:223)
1065
+ # @type RoomId: String
1066
+ # @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
1067
+ # @type SdkAppId: Integer
1068
+
1069
+ attr_accessor :CommId, :StartTime, :EndTime, :UserId, :RoomId, :SdkAppId
1070
+
1071
+ def initialize(commid=nil, starttime=nil, endtime=nil, userid=nil, roomid=nil, sdkappid=nil)
1072
+ @CommId = commid
1073
+ @StartTime = starttime
1074
+ @EndTime = endtime
1075
+ @UserId = userid
1076
+ @RoomId = roomid
1077
+ @SdkAppId = sdkappid
1078
+ end
1079
+
1080
+ def deserialize(params)
1081
+ @CommId = params['CommId']
1082
+ @StartTime = params['StartTime']
1083
+ @EndTime = params['EndTime']
1084
+ @UserId = params['UserId']
1085
+ @RoomId = params['RoomId']
1086
+ @SdkAppId = params['SdkAppId']
1087
+ end
1088
+ end
1089
+
1090
+ # DescribeUserEvent返回参数结构体
1091
+ class DescribeUserEventResponse < TencentCloud::Common::AbstractModel
1092
+ # @param Data: 返回的事件列表,若没有数据,会返回空数组。
1093
+ # @type Data: Array
1094
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1095
+ # @type RequestId: String
1096
+
1097
+ attr_accessor :Data, :RequestId
1098
+
1099
+ def initialize(data=nil, requestid=nil)
1100
+ @Data = data
1101
+ @RequestId = requestid
1102
+ end
1103
+
1104
+ def deserialize(params)
1105
+ unless params['Data'].nil?
1106
+ @Data = []
1107
+ params['Data'].each do |i|
1108
+ eventlist_tmp = EventList.new
1109
+ eventlist_tmp.deserialize(i)
1110
+ @Data << eventlist_tmp
1111
+ end
1112
+ end
1113
+ @RequestId = params['RequestId']
1114
+ end
1115
+ end
1116
+
1117
+ # DescribeUserInfo请求参数结构体
1118
+ class DescribeUserInfoRequest < TencentCloud::Common::AbstractModel
1119
+ # @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
1120
+ # @type CommId: String
1121
+ # @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
1122
+ # 注意:支持查询14天内的数据
1123
+ # @type StartTime: Integer
1124
+ # @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
1125
+ # 注意:与StartTime间隔时间不超过4小时。
1126
+ # @type EndTime: Integer
1127
+ # @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
1128
+ # @type SdkAppId: Integer
1129
+ # @param UserIds: 需查询的用户数组,不填默认返回6个用户
1130
+ # 范围:[1,100]。
1131
+ # @type UserIds: Array
1132
+ # @param PageNumber: 当前页数,默认为0,
1133
+ # 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
1134
+ # @type PageNumber: Integer
1135
+ # @param PageSize: 每页个数,默认为6,
1136
+ # 范围:[1,100]。
1137
+ # @type PageSize: Integer
1138
+
1139
+ attr_accessor :CommId, :StartTime, :EndTime, :SdkAppId, :UserIds, :PageNumber, :PageSize
1140
+
1141
+ def initialize(commid=nil, starttime=nil, endtime=nil, sdkappid=nil, userids=nil, pagenumber=nil, pagesize=nil)
1142
+ @CommId = commid
1143
+ @StartTime = starttime
1144
+ @EndTime = endtime
1145
+ @SdkAppId = sdkappid
1146
+ @UserIds = userids
1147
+ @PageNumber = pagenumber
1148
+ @PageSize = pagesize
1149
+ end
1150
+
1151
+ def deserialize(params)
1152
+ @CommId = params['CommId']
1153
+ @StartTime = params['StartTime']
1154
+ @EndTime = params['EndTime']
1155
+ @SdkAppId = params['SdkAppId']
1156
+ @UserIds = params['UserIds']
1157
+ @PageNumber = params['PageNumber']
1158
+ @PageSize = params['PageSize']
1159
+ end
1160
+ end
1161
+
1162
+ # DescribeUserInfo返回参数结构体
1163
+ class DescribeUserInfoResponse < TencentCloud::Common::AbstractModel
1164
+ # @param Total: 返回的用户总条数
1165
+ # @type Total: Integer
1166
+ # @param UserList: 用户信息列表
1167
+ # 注意:此字段可能返回 null,表示取不到有效值。
1168
+ # @type UserList: Array
1169
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1170
+ # @type RequestId: String
1171
+
1172
+ attr_accessor :Total, :UserList, :RequestId
1173
+
1174
+ def initialize(total=nil, userlist=nil, requestid=nil)
1175
+ @Total = total
1176
+ @UserList = userlist
1177
+ @RequestId = requestid
1178
+ end
1179
+
1180
+ def deserialize(params)
1181
+ @Total = params['Total']
1182
+ unless params['UserList'].nil?
1183
+ @UserList = []
1184
+ params['UserList'].each do |i|
1185
+ userinformation_tmp = UserInformation.new
1186
+ userinformation_tmp.deserialize(i)
1187
+ @UserList << userinformation_tmp
1188
+ end
1189
+ end
1190
+ @RequestId = params['RequestId']
1191
+ end
1192
+ end
1193
+
755
1194
  # DescribeUserInformation请求参数结构体
756
1195
  class DescribeUserInformationRequest < TencentCloud::Common::AbstractModel
757
1196
  # @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trtc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.361
4
+ version: 1.0.362
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-07-21 00:00:00.000000000 Z
11
+ date: 2022-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common