tencentcloud-sdk-trtc 3.0.535 → 3.0.536
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/v20190722/client.rb +27 -0
- data/lib/v20190722/models.rb +27 -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: 9d3009884d1cf7b2d4942c52673ea66c940bc75f
|
4
|
+
data.tar.gz: 1e7b4e3e5bb04e6bdfeb68da4936f224c5ecc47a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3df8ec6115b7b60138f362df214c2610bf79c67124d106e7c35836172c7f280d7110e9c5340334a34b045e1528203b15235a1f37160c394027ca811b3d5350a9
|
7
|
+
data.tar.gz: a95ff6635f7795c2e3f0430d6f2f0711e3e191296ce118b5901c881a22804aa99b0fefa1d42a918485919199db0b3236bfb58d88f80dc620530c7312eb458f2f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.536
|
data/lib/v20190722/client.rb
CHANGED
@@ -555,6 +555,33 @@ module TencentCloud
|
|
555
555
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
556
556
|
end
|
557
557
|
|
558
|
+
# 查询TRTC音视频房间维度用量。
|
559
|
+
# - 单次只能查询一天数据,返回查询时间段内的汇总数据;通过多次查询可以查不同天数据。若查询跨天用量,由于统计延迟等原因,返回数据可能不够准确。
|
560
|
+
# - 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
561
|
+
# - 默认接口请求频率限制:1次/15秒。
|
562
|
+
|
563
|
+
# @param request: Request instance for DescribeTrtcRoomUsage.
|
564
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeTrtcRoomUsageRequest`
|
565
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeTrtcRoomUsageResponse`
|
566
|
+
def DescribeTrtcRoomUsage(request)
|
567
|
+
body = send_request('DescribeTrtcRoomUsage', request.serialize)
|
568
|
+
response = JSON.parse(body)
|
569
|
+
if response['Response'].key?('Error') == false
|
570
|
+
model = DescribeTrtcRoomUsageResponse.new
|
571
|
+
model.deserialize(response['Response'])
|
572
|
+
model
|
573
|
+
else
|
574
|
+
code = response['Response']['Error']['Code']
|
575
|
+
message = response['Response']['Error']['Message']
|
576
|
+
reqid = response['Response']['RequestId']
|
577
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
578
|
+
end
|
579
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
580
|
+
raise e
|
581
|
+
rescue StandardError => e
|
582
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
583
|
+
end
|
584
|
+
|
558
585
|
# 获取TRTC音视频互动的用量明细。
|
559
586
|
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
560
587
|
# - 单次查询统计区间最多不能超过31天。
|
data/lib/v20190722/models.rb
CHANGED
@@ -1341,6 +1341,33 @@ module TencentCloud
|
|
1341
1341
|
end
|
1342
1342
|
end
|
1343
1343
|
|
1344
|
+
# DescribeTrtcRoomUsage请求参数结构体
|
1345
|
+
class DescribeTrtcRoomUsageRequest < TencentCloud::Common::AbstractModel
|
1346
|
+
|
1347
|
+
|
1348
|
+
def initialize()
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
def deserialize(params)
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# DescribeTrtcRoomUsage返回参数结构体
|
1356
|
+
class DescribeTrtcRoomUsageResponse < TencentCloud::Common::AbstractModel
|
1357
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1358
|
+
# @type RequestId: String
|
1359
|
+
|
1360
|
+
attr_accessor :RequestId
|
1361
|
+
|
1362
|
+
def initialize(requestid=nil)
|
1363
|
+
@RequestId = requestid
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
def deserialize(params)
|
1367
|
+
@RequestId = params['RequestId']
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
|
1344
1371
|
# DescribeTrtcUsage请求参数结构体
|
1345
1372
|
class DescribeTrtcUsageRequest < TencentCloud::Common::AbstractModel
|
1346
1373
|
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
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: 3.0.
|
4
|
+
version: 3.0.536
|
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-
|
11
|
+
date: 2023-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|