tencentcloud-sdk-trtc 3.0.609 → 3.0.610
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/client.rb +0 -27
- data/lib/v20190722/models.rb +0 -149
- 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: f948c04f4bfb920b39874cb821ddb3e74d756547
|
4
|
+
data.tar.gz: fe4a78636aeecb0f2657cc19527ce31d4bcd4256
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1c1641c10817984e385bfee1d26080f839b6a4bac701ff0d812133dfd89a8f1c3317a5186b9a6f54f60555abbf3d4c46745bf0b3718949498868e16ea53e964
|
7
|
+
data.tar.gz: d7f43802be857d89dc5c48f53951dae921e19fcd89d1dd3f887006e0d589efd634e55e31875a042a43e9a6d054650c398eec44b1d4a6f0fce178b3c52b9c59b9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.610
|
data/lib/v20190722/client.rb
CHANGED
@@ -188,33 +188,6 @@ module TencentCloud
|
|
188
188
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
189
189
|
end
|
190
190
|
|
191
|
-
# 接口内部调用计量接口,计量接口迁通用集群后不可用。目前已有新的对外接口可以供用户使用。
|
192
|
-
|
193
|
-
# 获取Trtc的用量统计数据。走计费渠道二期 只允许查两天的数据。
|
194
|
-
# 当前接口已不再更新维护,请使用新版音视频用量接口:DescribeTrtcUsage (https://cloud.tencent.com/document/product/647/81425)
|
195
|
-
|
196
|
-
# @param request: Request instance for DescribeExternalTrtcMeasure.
|
197
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeExternalTrtcMeasureRequest`
|
198
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeExternalTrtcMeasureResponse`
|
199
|
-
def DescribeExternalTrtcMeasure(request)
|
200
|
-
body = send_request('DescribeExternalTrtcMeasure', request.serialize)
|
201
|
-
response = JSON.parse(body)
|
202
|
-
if response['Response'].key?('Error') == false
|
203
|
-
model = DescribeExternalTrtcMeasureResponse.new
|
204
|
-
model.deserialize(response['Response'])
|
205
|
-
model
|
206
|
-
else
|
207
|
-
code = response['Response']['Error']['Code']
|
208
|
-
message = response['Response']['Error']['Message']
|
209
|
-
reqid = response['Response']['RequestId']
|
210
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
211
|
-
end
|
212
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
213
|
-
raise e
|
214
|
-
rescue StandardError => e
|
215
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
216
|
-
end
|
217
|
-
|
218
191
|
# 获取TRTC混流转码的用量明细。
|
219
192
|
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
220
193
|
# - 单次查询统计区间最多不能超过31天。
|
data/lib/v20190722/models.rb
CHANGED
@@ -608,65 +608,6 @@ module TencentCloud
|
|
608
608
|
end
|
609
609
|
end
|
610
610
|
|
611
|
-
# DescribeExternalTrtcMeasure请求参数结构体
|
612
|
-
class DescribeExternalTrtcMeasureRequest < TencentCloud::Common::AbstractModel
|
613
|
-
# @param StartTime: 查询开始日期。
|
614
|
-
# @type StartTime: String
|
615
|
-
# @param EndTime: 查询结束日期。
|
616
|
-
# @type EndTime: String
|
617
|
-
# @param SdkAppId: 对应的应用。如果没有这个参数,表示获取用户名下全部实时音视频应用的汇总。
|
618
|
-
# @type SdkAppId: Integer
|
619
|
-
|
620
|
-
attr_accessor :StartTime, :EndTime, :SdkAppId
|
621
|
-
|
622
|
-
def initialize(starttime=nil, endtime=nil, sdkappid=nil)
|
623
|
-
@StartTime = starttime
|
624
|
-
@EndTime = endtime
|
625
|
-
@SdkAppId = sdkappid
|
626
|
-
end
|
627
|
-
|
628
|
-
def deserialize(params)
|
629
|
-
@StartTime = params['StartTime']
|
630
|
-
@EndTime = params['EndTime']
|
631
|
-
@SdkAppId = params['SdkAppId']
|
632
|
-
end
|
633
|
-
end
|
634
|
-
|
635
|
-
# DescribeExternalTrtcMeasure返回参数结构体
|
636
|
-
class DescribeExternalTrtcMeasureResponse < TencentCloud::Common::AbstractModel
|
637
|
-
# @param SdkAppIdTrtrTimeUsages: 每个SdkAppId的时长使用信息
|
638
|
-
# @type SdkAppIdTrtrTimeUsages: Array
|
639
|
-
# @param AnchorUsageMode: 主播的用量统计方式。取值"InRoomTime":房间时长,"SubscribeTime":"订阅时长","Bandwidth":带宽
|
640
|
-
# @type AnchorUsageMode: String
|
641
|
-
# @param AudienceUsageMode: 观众的用量统计方式。取值"InRoomTime":在房间时长,"SubscribeTime":"订阅时长","Bandwidth":带宽,"MergeWithAnchor":"不区分麦上麦下"
|
642
|
-
# @type AudienceUsageMode: String
|
643
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
644
|
-
# @type RequestId: String
|
645
|
-
|
646
|
-
attr_accessor :SdkAppIdTrtrTimeUsages, :AnchorUsageMode, :AudienceUsageMode, :RequestId
|
647
|
-
|
648
|
-
def initialize(sdkappidtrtrtimeusages=nil, anchorusagemode=nil, audienceusagemode=nil, requestid=nil)
|
649
|
-
@SdkAppIdTrtrTimeUsages = sdkappidtrtrtimeusages
|
650
|
-
@AnchorUsageMode = anchorusagemode
|
651
|
-
@AudienceUsageMode = audienceusagemode
|
652
|
-
@RequestId = requestid
|
653
|
-
end
|
654
|
-
|
655
|
-
def deserialize(params)
|
656
|
-
unless params['SdkAppIdTrtrTimeUsages'].nil?
|
657
|
-
@SdkAppIdTrtrTimeUsages = []
|
658
|
-
params['SdkAppIdTrtrTimeUsages'].each do |i|
|
659
|
-
sdkappidnewtrtctimeusage_tmp = SdkAppIdNewTrtcTimeUsage.new
|
660
|
-
sdkappidnewtrtctimeusage_tmp.deserialize(i)
|
661
|
-
@SdkAppIdTrtrTimeUsages << sdkappidnewtrtctimeusage_tmp
|
662
|
-
end
|
663
|
-
end
|
664
|
-
@AnchorUsageMode = params['AnchorUsageMode']
|
665
|
-
@AudienceUsageMode = params['AudienceUsageMode']
|
666
|
-
@RequestId = params['RequestId']
|
667
|
-
end
|
668
|
-
end
|
669
|
-
|
670
611
|
# DescribeMixTranscodingUsage请求参数结构体
|
671
612
|
class DescribeMixTranscodingUsageRequest < TencentCloud::Common::AbstractModel
|
672
613
|
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
@@ -3171,44 +3112,6 @@ module TencentCloud
|
|
3171
3112
|
end
|
3172
3113
|
end
|
3173
3114
|
|
3174
|
-
# SdkAppId级别实时音视频的用量数据
|
3175
|
-
class SdkAppIdNewTrtcTimeUsage < TencentCloud::Common::AbstractModel
|
3176
|
-
# @param SdkAppId: SdkAppId的值。
|
3177
|
-
# @type SdkAppId: String
|
3178
|
-
# @param TrtcTimeUsages: 统计的时间点数据。
|
3179
|
-
# @type TrtcTimeUsages: Array
|
3180
|
-
# @param AudienceTrtcTimeUsages: 统计的麦下用量的时间点数据。
|
3181
|
-
# @type AudienceTrtcTimeUsages: Array
|
3182
|
-
|
3183
|
-
attr_accessor :SdkAppId, :TrtcTimeUsages, :AudienceTrtcTimeUsages
|
3184
|
-
|
3185
|
-
def initialize(sdkappid=nil, trtctimeusages=nil, audiencetrtctimeusages=nil)
|
3186
|
-
@SdkAppId = sdkappid
|
3187
|
-
@TrtcTimeUsages = trtctimeusages
|
3188
|
-
@AudienceTrtcTimeUsages = audiencetrtctimeusages
|
3189
|
-
end
|
3190
|
-
|
3191
|
-
def deserialize(params)
|
3192
|
-
@SdkAppId = params['SdkAppId']
|
3193
|
-
unless params['TrtcTimeUsages'].nil?
|
3194
|
-
@TrtcTimeUsages = []
|
3195
|
-
params['TrtcTimeUsages'].each do |i|
|
3196
|
-
trtctimenewusage_tmp = TrtcTimeNewUsage.new
|
3197
|
-
trtctimenewusage_tmp.deserialize(i)
|
3198
|
-
@TrtcTimeUsages << trtctimenewusage_tmp
|
3199
|
-
end
|
3200
|
-
end
|
3201
|
-
unless params['AudienceTrtcTimeUsages'].nil?
|
3202
|
-
@AudienceTrtcTimeUsages = []
|
3203
|
-
params['AudienceTrtcTimeUsages'].each do |i|
|
3204
|
-
trtctimenewusage_tmp = TrtcTimeNewUsage.new
|
3205
|
-
trtctimenewusage_tmp.deserialize(i)
|
3206
|
-
@AudienceTrtcTimeUsages << trtctimenewusage_tmp
|
3207
|
-
end
|
3208
|
-
end
|
3209
|
-
end
|
3210
|
-
end
|
3211
|
-
|
3212
3115
|
# SdkAppId级别录制时长数据。
|
3213
3116
|
class SdkAppIdRecordUsage < TencentCloud::Common::AbstractModel
|
3214
3117
|
# @param SdkAppId: SdkAppId的值。
|
@@ -3885,58 +3788,6 @@ module TencentCloud
|
|
3885
3788
|
end
|
3886
3789
|
end
|
3887
3790
|
|
3888
|
-
# 实时音视频用量的某一时间段的统计信息.
|
3889
|
-
class TrtcTimeNewUsage < TencentCloud::Common::AbstractModel
|
3890
|
-
# @param TimeKey: 时间点。
|
3891
|
-
# @type TimeKey: String
|
3892
|
-
# @param VoiceUserNum: 通话人数。仅供参考。在线人数以仪表盘查询结果为准。
|
3893
|
-
# @type VoiceUserNum: Integer
|
3894
|
-
# @param VideoTime: 音视频通话收费时长。单位:秒。
|
3895
|
-
# @type VideoTime: Integer
|
3896
|
-
# @param Class1VideoTime: 标清视频通话收费时长。单位:秒。
|
3897
|
-
# @type Class1VideoTime: Integer
|
3898
|
-
# @param Class2VideoTime: 高清视频通话收费时长。单位:秒。
|
3899
|
-
# @type Class2VideoTime: Integer
|
3900
|
-
# @param Class3VideoTime: 超高清视频通话收费时长。单位:秒。
|
3901
|
-
# @type Class3VideoTime: Integer
|
3902
|
-
# @param AudioTime: 音频通话收费时长。单位:秒。
|
3903
|
-
# @type AudioTime: Integer
|
3904
|
-
# @param Bandwidth: 带宽。单位:Mbps。
|
3905
|
-
# @type Bandwidth: Float
|
3906
|
-
# @param Video2KTime: 2k视频通话收费时长。单位:秒。
|
3907
|
-
# @type Video2KTime: Integer
|
3908
|
-
# @param Video4KTime: 4k视频通话收费时长。单位:秒。
|
3909
|
-
# @type Video4KTime: Integer
|
3910
|
-
|
3911
|
-
attr_accessor :TimeKey, :VoiceUserNum, :VideoTime, :Class1VideoTime, :Class2VideoTime, :Class3VideoTime, :AudioTime, :Bandwidth, :Video2KTime, :Video4KTime
|
3912
|
-
|
3913
|
-
def initialize(timekey=nil, voiceusernum=nil, videotime=nil, class1videotime=nil, class2videotime=nil, class3videotime=nil, audiotime=nil, bandwidth=nil, video2ktime=nil, video4ktime=nil)
|
3914
|
-
@TimeKey = timekey
|
3915
|
-
@VoiceUserNum = voiceusernum
|
3916
|
-
@VideoTime = videotime
|
3917
|
-
@Class1VideoTime = class1videotime
|
3918
|
-
@Class2VideoTime = class2videotime
|
3919
|
-
@Class3VideoTime = class3videotime
|
3920
|
-
@AudioTime = audiotime
|
3921
|
-
@Bandwidth = bandwidth
|
3922
|
-
@Video2KTime = video2ktime
|
3923
|
-
@Video4KTime = video4ktime
|
3924
|
-
end
|
3925
|
-
|
3926
|
-
def deserialize(params)
|
3927
|
-
@TimeKey = params['TimeKey']
|
3928
|
-
@VoiceUserNum = params['VoiceUserNum']
|
3929
|
-
@VideoTime = params['VideoTime']
|
3930
|
-
@Class1VideoTime = params['Class1VideoTime']
|
3931
|
-
@Class2VideoTime = params['Class2VideoTime']
|
3932
|
-
@Class3VideoTime = params['Class3VideoTime']
|
3933
|
-
@AudioTime = params['AudioTime']
|
3934
|
-
@Bandwidth = params['Bandwidth']
|
3935
|
-
@Video2KTime = params['Video2KTime']
|
3936
|
-
@Video4KTime = params['Video4KTime']
|
3937
|
-
end
|
3938
|
-
end
|
3939
|
-
|
3940
3791
|
# 实时音视频用量在某一时间段的统计信息。
|
3941
3792
|
class TrtcUsage < TencentCloud::Common::AbstractModel
|
3942
3793
|
# @param TimeKey: 时间点,格式为YYYY-MM-DD HH:mm:ss。多天查询时,HH:mm:ss为00:00:00。
|
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.610
|
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-07-
|
11
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|