tencentcloud-sdk-vod 3.0.509 → 3.0.511
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/v20180717/client.rb +24 -0
- data/lib/v20180717/models.rb +1034 -135
- 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: e2fec048c1c79b1e3fd0e78977a99f753f3bef58
|
4
|
+
data.tar.gz: 12d4f967b0e303f118f1069f98a134e7da7f691c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d2c5ce704dcae9a4b4fa690689c367c33cf1b2dc2302a033bf48d366b75514385bf6a09d71c325e3212a2a8719b5e0806686681ee315055d00800e13762b1e6
|
7
|
+
data.tar.gz: 81c1c2b4b83f9b6fa5f894153f7ba606f8439d1d3b05f2e8ca337902bc6e4015607463d218ef3a2a336be3c6794b2c6e6b922c2713c1abac48efa086100c9483
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.511
|
data/lib/v20180717/client.rb
CHANGED
@@ -3404,6 +3404,30 @@ module TencentCloud
|
|
3404
3404
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3405
3405
|
end
|
3406
3406
|
|
3407
|
+
# 发起音画质重生
|
3408
|
+
|
3409
|
+
# @param request: Request instance for RebuildMedia.
|
3410
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::RebuildMediaRequest`
|
3411
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::RebuildMediaResponse`
|
3412
|
+
def RebuildMedia(request)
|
3413
|
+
body = send_request('RebuildMedia', request.serialize)
|
3414
|
+
response = JSON.parse(body)
|
3415
|
+
if response['Response'].key?('Error') == false
|
3416
|
+
model = RebuildMediaResponse.new
|
3417
|
+
model.deserialize(response['Response'])
|
3418
|
+
model
|
3419
|
+
else
|
3420
|
+
code = response['Response']['Error']['Code']
|
3421
|
+
message = response['Response']['Error']['Message']
|
3422
|
+
reqid = response['Response']['RequestId']
|
3423
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3424
|
+
end
|
3425
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3426
|
+
raise e
|
3427
|
+
rescue StandardError => e
|
3428
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3429
|
+
end
|
3430
|
+
|
3407
3431
|
# 1. 刷新指定的 URL 列表。
|
3408
3432
|
# 2. URL 的域名必须已在云点播中注册。
|
3409
3433
|
# 3. 单次请求最多指定20个 URL。
|