tencentcloud-sdk-vod 1.0.334 → 1.0.335
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 +51 -0
- data/lib/v20180717/models.rb +248 -156
- 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: 8cfe6164796fadfc9d42479da129aec1fc792038
|
4
|
+
data.tar.gz: 123d6678195e90ad98538283ce2a3bbcf82ae52e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efd0b4a108c3fd89b2a6aed32813223dec91eff5ed37ce04088cceb72fdbda2bc366a84da4150a9d5bc443f7551aa3f2ebd1ad77e73ee867f94e14df5dde3960
|
7
|
+
data.tar.gz: 8fb17b4e0409ca7ecf08415d5c68f86430388caa2b0b2130a35948ae49b1bbdbf7ef09196b8de974733754d09adb6509290ef0cdd8e0fd8552b9244f0d19407a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.335
|
data/lib/v20180717/client.rb
CHANGED
@@ -3089,6 +3089,33 @@ module TencentCloud
|
|
3089
3089
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3090
3090
|
end
|
3091
3091
|
|
3092
|
+
# 1. 刷新指定的 URL 列表。
|
3093
|
+
# 2. URL 的域名必须已在云点播中注册。
|
3094
|
+
# 3. 单次请求最多指定20个 URL。
|
3095
|
+
# 4. 默认刷新配额为每天100000个 URL。
|
3096
|
+
|
3097
|
+
# @param request: Request instance for RefreshUrlCache.
|
3098
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::RefreshUrlCacheRequest`
|
3099
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::RefreshUrlCacheResponse`
|
3100
|
+
def RefreshUrlCache(request)
|
3101
|
+
body = send_request('RefreshUrlCache', request.serialize)
|
3102
|
+
response = JSON.parse(body)
|
3103
|
+
if response['Response'].key?('Error') == false
|
3104
|
+
model = RefreshUrlCacheResponse.new
|
3105
|
+
model.deserialize(response['Response'])
|
3106
|
+
model
|
3107
|
+
else
|
3108
|
+
code = response['Response']['Error']['Code']
|
3109
|
+
message = response['Response']['Error']['Message']
|
3110
|
+
reqid = response['Response']['RequestId']
|
3111
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3112
|
+
end
|
3113
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3114
|
+
raise e
|
3115
|
+
rescue StandardError => e
|
3116
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3117
|
+
end
|
3118
|
+
|
3092
3119
|
# 重新设置用户自定义任务流模板的内容。
|
3093
3120
|
|
3094
3121
|
# @param request: Request instance for ResetProcedureTemplate.
|
@@ -3113,6 +3140,30 @@ module TencentCloud
|
|
3113
3140
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3114
3141
|
end
|
3115
3142
|
|
3143
|
+
# 当媒体文件的存储类型是归档存储或深度归档存储时,是不可访问的。如需访问,则需要调用本接口进行解冻,解冻后可访问的媒体文件是临时的,在有效期过后,则不可访问。
|
3144
|
+
|
3145
|
+
# @param request: Request instance for RestoreMedia.
|
3146
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::RestoreMediaRequest`
|
3147
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::RestoreMediaResponse`
|
3148
|
+
def RestoreMedia(request)
|
3149
|
+
body = send_request('RestoreMedia', request.serialize)
|
3150
|
+
response = JSON.parse(body)
|
3151
|
+
if response['Response'].key?('Error') == false
|
3152
|
+
model = RestoreMediaResponse.new
|
3153
|
+
model.deserialize(response['Response'])
|
3154
|
+
model
|
3155
|
+
else
|
3156
|
+
code = response['Response']['Error']['Code']
|
3157
|
+
message = response['Response']['Error']['Message']
|
3158
|
+
reqid = response['Response']['RequestId']
|
3159
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3160
|
+
end
|
3161
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3162
|
+
raise e
|
3163
|
+
rescue StandardError => e
|
3164
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3165
|
+
end
|
3166
|
+
|
3116
3167
|
# 对点播中的图片文件发起智能识别(令人反感的信息、不安全的信息、不适宜的信息)任务。
|
3117
3168
|
|
3118
3169
|
# ><li>图片文件大小支持:文件 < 5M;</li>
|