tencentcloud-sdk-trro 3.0.1134 → 3.0.1160

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 929e1bee4c572baf3341353e5968f0417bd3b8fb
4
- data.tar.gz: b97689b07e562427279c4b91230eea44fde0de33
3
+ metadata.gz: 394688527a46305ed39e38882bb8300f0b01bc3c
4
+ data.tar.gz: aac7243ed74d2d267645315dd640d507b33554e7
5
5
  SHA512:
6
- metadata.gz: f8b282ad6b088fd6754692892318ea3f24d60741a75a277bb5b14d6dc8edd1a81a2eae901b583ee01130fbe2242f49bb68185078765f04487d52e74dc6fcc6b5
7
- data.tar.gz: b93e66e4991d77422c1dd22572570d7fd5fcda50bede19cb8bc57f3a84fe80e07483c4aee7a99fd0c8f00f924f3ecb10281de68bc9af8b554aefd39f2aa712a6
6
+ metadata.gz: 17c44b9ac9e8b2a2555b1ab1e85b8514d56915d1a100fdfbc6a0e9145db306d66b1809b9ca280da9d87e6386879d066af43c120f10cd2d8b13235c53a15883d9
7
+ data.tar.gz: f495f453ee728cdcb1b291cdbb02e989ed486bc3754fa71f63d4a340ae13e8602fbb064585f23591f07635c63686d758289b18cb1174b311967856bce6d2d2d2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1134
1
+ 3.0.1160
@@ -509,6 +509,30 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
+ # 查询该时间段、对应项目、设备的不同分辨率的通话时长流水,流水以日期(天)为单位
513
+
514
+ # @param request: Request instance for GetDurationDetails.
515
+ # @type request: :class:`Tencentcloud::trro::V20220325::GetDurationDetailsRequest`
516
+ # @rtype: :class:`Tencentcloud::trro::V20220325::GetDurationDetailsResponse`
517
+ def GetDurationDetails(request)
518
+ body = send_request('GetDurationDetails', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = GetDurationDetailsResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
512
536
  # 统计license类型数量
513
537
 
514
538
  # @param request: Request instance for GetLicenseStat.
@@ -557,6 +581,30 @@ module TencentCloud
557
581
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
558
582
  end
559
583
 
584
+ # 查询该时间段、对应项目、设备的不同分辨率的通话时长汇总
585
+
586
+ # @param request: Request instance for GetTotalDuration.
587
+ # @type request: :class:`Tencentcloud::trro::V20220325::GetTotalDurationRequest`
588
+ # @rtype: :class:`Tencentcloud::trro::V20220325::GetTotalDurationResponse`
589
+ def GetTotalDuration(request)
590
+ body = send_request('GetTotalDuration', request.serialize)
591
+ response = JSON.parse(body)
592
+ if response['Response'].key?('Error') == false
593
+ model = GetTotalDurationResponse.new
594
+ model.deserialize(response['Response'])
595
+ model
596
+ else
597
+ code = response['Response']['Error']['Code']
598
+ message = response['Response']['Error']['Message']
599
+ reqid = response['Response']['RequestId']
600
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
601
+ end
602
+ rescue TencentCloud::Common::TencentCloudSDKException => e
603
+ raise e
604
+ rescue StandardError => e
605
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
+ end
607
+
560
608
  # 设置回调URL
561
609
  # 录制回调事件内容参考:https://cloud.tencent.com/document/product/647/81113
562
610
  # 转推回调事件内容参考:https://cloud.tencent.com/document/product/647/88552
@@ -1111,6 +1111,78 @@ module TencentCloud
1111
1111
  end
1112
1112
  end
1113
1113
 
1114
+ # 会话时长明细
1115
+ class DurationDetails < TencentCloud::Common::AbstractModel
1116
+ # @param SessionTime: 会话时间
1117
+ # @type SessionTime: String
1118
+ # @param Voice: 语音:min
1119
+ # @type Voice: Integer
1120
+ # @param SD: 标清:min
1121
+ # @type SD: Integer
1122
+ # @param HD: 高清:min
1123
+ # @type HD: Integer
1124
+ # @param FHD: 超高清:min
1125
+ # @type FHD: Integer
1126
+ # @param TwoK: 2k:min
1127
+ # @type TwoK: Integer
1128
+ # @param FourK: 4k:min
1129
+ # @type FourK: Integer
1130
+ # @param Online: 在线时长:min
1131
+ # @type Online: Integer
1132
+ # @param MultiSD: 多网标清:min
1133
+ # @type MultiSD: Integer
1134
+ # @param MultiHD: 多网高清:min
1135
+ # @type MultiHD: Integer
1136
+ # @param MultiFHD: 多网超高清:min
1137
+ # @type MultiFHD: Integer
1138
+ # @param MultiTwoK: 多网2k:min
1139
+ # @type MultiTwoK: Integer
1140
+ # @param MultiFourK: 多网4k:min
1141
+ # @type MultiFourK: Integer
1142
+ # @param MultiOnline: 多网在线时长:min
1143
+ # @type MultiOnline: Integer
1144
+ # @param DeductDuration: 抵扣时长:min
1145
+ # @type DeductDuration: Integer
1146
+
1147
+ attr_accessor :SessionTime, :Voice, :SD, :HD, :FHD, :TwoK, :FourK, :Online, :MultiSD, :MultiHD, :MultiFHD, :MultiTwoK, :MultiFourK, :MultiOnline, :DeductDuration
1148
+
1149
+ def initialize(sessiontime=nil, voice=nil, sd=nil, hd=nil, fhd=nil, twok=nil, fourk=nil, online=nil, multisd=nil, multihd=nil, multifhd=nil, multitwok=nil, multifourk=nil, multionline=nil, deductduration=nil)
1150
+ @SessionTime = sessiontime
1151
+ @Voice = voice
1152
+ @SD = sd
1153
+ @HD = hd
1154
+ @FHD = fhd
1155
+ @TwoK = twok
1156
+ @FourK = fourk
1157
+ @Online = online
1158
+ @MultiSD = multisd
1159
+ @MultiHD = multihd
1160
+ @MultiFHD = multifhd
1161
+ @MultiTwoK = multitwok
1162
+ @MultiFourK = multifourk
1163
+ @MultiOnline = multionline
1164
+ @DeductDuration = deductduration
1165
+ end
1166
+
1167
+ def deserialize(params)
1168
+ @SessionTime = params['SessionTime']
1169
+ @Voice = params['Voice']
1170
+ @SD = params['SD']
1171
+ @HD = params['HD']
1172
+ @FHD = params['FHD']
1173
+ @TwoK = params['TwoK']
1174
+ @FourK = params['FourK']
1175
+ @Online = params['Online']
1176
+ @MultiSD = params['MultiSD']
1177
+ @MultiHD = params['MultiHD']
1178
+ @MultiFHD = params['MultiFHD']
1179
+ @MultiTwoK = params['MultiTwoK']
1180
+ @MultiFourK = params['MultiFourK']
1181
+ @MultiOnline = params['MultiOnline']
1182
+ @DeductDuration = params['DeductDuration']
1183
+ end
1184
+ end
1185
+
1114
1186
  # GetDeviceLicense请求参数结构体
1115
1187
  class GetDeviceLicenseRequest < TencentCloud::Common::AbstractModel
1116
1188
  # @param ProjectId: 目标设备所属项目ID
@@ -1210,6 +1282,73 @@ module TencentCloud
1210
1282
  end
1211
1283
  end
1212
1284
 
1285
+ # GetDurationDetails请求参数结构体
1286
+ class GetDurationDetailsRequest < TencentCloud::Common::AbstractModel
1287
+ # @param StartTime: 开始时间
1288
+ # @type StartTime: Integer
1289
+ # @param EndTime: 结束时间
1290
+ # @type EndTime: Integer
1291
+ # @param PageNum: 页码
1292
+ # @type PageNum: Integer
1293
+ # @param PageSize: 页面数量
1294
+ # @type PageSize: Integer
1295
+ # @param ProjectId: 项目id
1296
+ # @type ProjectId: String
1297
+ # @param DeviceId: 设备ID,不传查全部设备
1298
+ # @type DeviceId: String
1299
+
1300
+ attr_accessor :StartTime, :EndTime, :PageNum, :PageSize, :ProjectId, :DeviceId
1301
+
1302
+ def initialize(starttime=nil, endtime=nil, pagenum=nil, pagesize=nil, projectid=nil, deviceid=nil)
1303
+ @StartTime = starttime
1304
+ @EndTime = endtime
1305
+ @PageNum = pagenum
1306
+ @PageSize = pagesize
1307
+ @ProjectId = projectid
1308
+ @DeviceId = deviceid
1309
+ end
1310
+
1311
+ def deserialize(params)
1312
+ @StartTime = params['StartTime']
1313
+ @EndTime = params['EndTime']
1314
+ @PageNum = params['PageNum']
1315
+ @PageSize = params['PageSize']
1316
+ @ProjectId = params['ProjectId']
1317
+ @DeviceId = params['DeviceId']
1318
+ end
1319
+ end
1320
+
1321
+ # GetDurationDetails返回参数结构体
1322
+ class GetDurationDetailsResponse < TencentCloud::Common::AbstractModel
1323
+ # @param TotalCount: 列表总数
1324
+ # @type TotalCount: Integer
1325
+ # @param DurationDetails: 时长明细列表
1326
+ # @type DurationDetails: Array
1327
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1328
+ # @type RequestId: String
1329
+
1330
+ attr_accessor :TotalCount, :DurationDetails, :RequestId
1331
+
1332
+ def initialize(totalcount=nil, durationdetails=nil, requestid=nil)
1333
+ @TotalCount = totalcount
1334
+ @DurationDetails = durationdetails
1335
+ @RequestId = requestid
1336
+ end
1337
+
1338
+ def deserialize(params)
1339
+ @TotalCount = params['TotalCount']
1340
+ unless params['DurationDetails'].nil?
1341
+ @DurationDetails = []
1342
+ params['DurationDetails'].each do |i|
1343
+ durationdetails_tmp = DurationDetails.new
1344
+ durationdetails_tmp.deserialize(i)
1345
+ @DurationDetails << durationdetails_tmp
1346
+ end
1347
+ end
1348
+ @RequestId = params['RequestId']
1349
+ end
1350
+ end
1351
+
1213
1352
  # GetLicenseStat请求参数结构体
1214
1353
  class GetLicenseStatRequest < TencentCloud::Common::AbstractModel
1215
1354
 
@@ -1320,6 +1459,106 @@ module TencentCloud
1320
1459
  end
1321
1460
  end
1322
1461
 
1462
+ # GetTotalDuration请求参数结构体
1463
+ class GetTotalDurationRequest < TencentCloud::Common::AbstractModel
1464
+ # @param StartTime: 开始时间
1465
+ # @type StartTime: Integer
1466
+ # @param EndTime: 结束时间
1467
+ # @type EndTime: Integer
1468
+ # @param ProjectId: 项目id
1469
+ # @type ProjectId: String
1470
+ # @param DeviceId: 设备id,不传查全部
1471
+ # @type DeviceId: String
1472
+
1473
+ attr_accessor :StartTime, :EndTime, :ProjectId, :DeviceId
1474
+
1475
+ def initialize(starttime=nil, endtime=nil, projectid=nil, deviceid=nil)
1476
+ @StartTime = starttime
1477
+ @EndTime = endtime
1478
+ @ProjectId = projectid
1479
+ @DeviceId = deviceid
1480
+ end
1481
+
1482
+ def deserialize(params)
1483
+ @StartTime = params['StartTime']
1484
+ @EndTime = params['EndTime']
1485
+ @ProjectId = params['ProjectId']
1486
+ @DeviceId = params['DeviceId']
1487
+ end
1488
+ end
1489
+
1490
+ # GetTotalDuration返回参数结构体
1491
+ class GetTotalDurationResponse < TencentCloud::Common::AbstractModel
1492
+ # @param Voice: 语音:min
1493
+ # @type Voice: Integer
1494
+ # @param SD: 标清:min
1495
+ # @type SD: Integer
1496
+ # @param HD: 高清:min
1497
+ # @type HD: Integer
1498
+ # @param FHD: 超高清:min
1499
+ # @type FHD: Integer
1500
+ # @param TwoK: 2k:min
1501
+ # @type TwoK: Integer
1502
+ # @param FourK: 4k:min
1503
+ # @type FourK: Integer
1504
+ # @param Online: 在线时长:min
1505
+ # @type Online: Integer
1506
+ # @param MultiSD: 多网标清:min
1507
+ # @type MultiSD: Integer
1508
+ # @param MultiHD: 多网高清:min
1509
+ # @type MultiHD: Integer
1510
+ # @param MultiFHD: 多网超高清:min
1511
+ # @type MultiFHD: Integer
1512
+ # @param MultiTwoK: 多网2k:min
1513
+ # @type MultiTwoK: Integer
1514
+ # @param MultiFourK: 多网4k:min
1515
+ # @type MultiFourK: Integer
1516
+ # @param MultiOnline: 多网在线时长:min
1517
+ # @type MultiOnline: Integer
1518
+ # @param DeductDuration: 总抵扣时长:min
1519
+ # @type DeductDuration: Integer
1520
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1521
+ # @type RequestId: String
1522
+
1523
+ attr_accessor :Voice, :SD, :HD, :FHD, :TwoK, :FourK, :Online, :MultiSD, :MultiHD, :MultiFHD, :MultiTwoK, :MultiFourK, :MultiOnline, :DeductDuration, :RequestId
1524
+
1525
+ def initialize(voice=nil, sd=nil, hd=nil, fhd=nil, twok=nil, fourk=nil, online=nil, multisd=nil, multihd=nil, multifhd=nil, multitwok=nil, multifourk=nil, multionline=nil, deductduration=nil, requestid=nil)
1526
+ @Voice = voice
1527
+ @SD = sd
1528
+ @HD = hd
1529
+ @FHD = fhd
1530
+ @TwoK = twok
1531
+ @FourK = fourk
1532
+ @Online = online
1533
+ @MultiSD = multisd
1534
+ @MultiHD = multihd
1535
+ @MultiFHD = multifhd
1536
+ @MultiTwoK = multitwok
1537
+ @MultiFourK = multifourk
1538
+ @MultiOnline = multionline
1539
+ @DeductDuration = deductduration
1540
+ @RequestId = requestid
1541
+ end
1542
+
1543
+ def deserialize(params)
1544
+ @Voice = params['Voice']
1545
+ @SD = params['SD']
1546
+ @HD = params['HD']
1547
+ @FHD = params['FHD']
1548
+ @TwoK = params['TwoK']
1549
+ @FourK = params['FourK']
1550
+ @Online = params['Online']
1551
+ @MultiSD = params['MultiSD']
1552
+ @MultiHD = params['MultiHD']
1553
+ @MultiFHD = params['MultiFHD']
1554
+ @MultiTwoK = params['MultiTwoK']
1555
+ @MultiFourK = params['MultiFourK']
1556
+ @MultiOnline = params['MultiOnline']
1557
+ @DeductDuration = params['DeductDuration']
1558
+ @RequestId = params['RequestId']
1559
+ end
1560
+ end
1561
+
1323
1562
  # 按授权查看的license列表
1324
1563
  class License < TencentCloud::Common::AbstractModel
1325
1564
  # @param Count: 该类型的license个数
@@ -1830,8 +2069,8 @@ module TencentCloud
1830
2069
 
1831
2070
  attr_accessor :DeviceType, :StartTime, :EndTime, :SessionId, :Rate, :Fps, :Lost, :NetworkLatency, :VideoLatency, :CpuUsed, :MemUsed, :TimeOffset, :ProjectId, :DeviceId, :Ver, :SdkMode, :DecodeCost, :RenderConst, :K100, :K150, :NACK, :BitRateEstimate, :Width, :Height, :EncodeCost, :CaptureCost, :RenderCost, :ConfigWidth, :ConfigHeight, :FrameDelta, :MaxFrameDelta, :TotalBitrateEstimate, :Lag100Duration, :Lag150Duration, :MultiMode, :MultiNet
1832
2071
  extend Gem::Deprecate
1833
- deprecate :RenderConst, :none, 2025, 9
1834
- deprecate :RenderConst=, :none, 2025, 9
2072
+ deprecate :RenderConst, :none, 2025, 10
2073
+ deprecate :RenderConst=, :none, 2025, 10
1835
2074
 
1836
2075
  def initialize(devicetype=nil, starttime=nil, endtime=nil, sessionid=nil, rate=nil, fps=nil, lost=nil, networklatency=nil, videolatency=nil, cpuused=nil, memused=nil, timeoffset=nil, projectid=nil, deviceid=nil, ver=nil, sdkmode=nil, decodecost=nil, renderconst=nil, k100=nil, k150=nil, nack=nil, bitrateestimate=nil, width=nil, height=nil, encodecost=nil, capturecost=nil, rendercost=nil, configwidth=nil, configheight=nil, framedelta=nil, maxframedelta=nil, totalbitrateestimate=nil, lag100duration=nil, lag150duration=nil, multimode=nil, multinet=nil)
1837
2076
  @DeviceType = devicetype
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trro
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1134
4
+ version: 3.0.1160
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-01 00:00:00.000000000 Z
11
+ date: 2025-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common