lib/v20190722/client.rb in tencentcloud-sdk-trtc-1.0.337 vs lib/v20190722/client.rb in tencentcloud-sdk-trtc-1.0.338
- old
+ new
@@ -482,37 +482,9 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 查询旁路转码计费时长。
- # - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
- # - 单次查询统计区间最多不能超过2天。
- # - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
- # - 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
-
- # @param request: Request instance for MeasureTrtcMcuExternal.
- # @type request: :class:`Tencentcloud::trtc::V20190722::MeasureTrtcMcuExternalRequest`
- # @rtype: :class:`Tencentcloud::trtc::V20190722::MeasureTrtcMcuExternalResponse`
- def MeasureTrtcMcuExternal(request)
- body = send_request('MeasureTrtcMcuExternal', request.serialize)
- response = JSON.parse(body)
- if response['Response'].key?('Error') == false
- model = MeasureTrtcMcuExternalResponse.new
- model.deserialize(response['Response'])
- model
- else
- code = response['Response']['Error']['Code']
- message = response['Response']['Error']['Message']
- reqid = response['Response']['RequestId']
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
- end
- rescue TencentCloud::Common::TencentCloudSDKException => e
- raise e
- rescue StandardError => e
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
- end
-
# 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
# @param request: Request instance for ModifyCloudRecording.
# @type request: :class:`Tencentcloud::trtc::V20190722::ModifyCloudRecordingRequest`
# @rtype: :class:`Tencentcloud::trtc::V20190722::ModifyCloudRecordingResponse`
\ No newline at end of file