tencentcloud-sdk-vod 3.0.1209 → 3.0.1213
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/v20180717/client.rb +216 -0
- data/lib/v20180717/models.rb +795 -63
- 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: 6bac4708d2414b80c0a73dcbd40e2119f8fa2486
|
|
4
|
+
data.tar.gz: 9cf2dd1dc561e58dd0e3cd6b28ba1ab3fbe25f06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6feb24f5f0be964f8bbf4992ce391f49e45931abd73fb3e67ee89f664aeb74463f2c29a2214004d940cdcd8c8c84fe1cbeac6b6947b67265984a61bb199606fd
|
|
7
|
+
data.tar.gz: 77b91e10f1015c03b324da7068ee9e0afcc820fe16277f47cb7deb69d599f77fe125cefa96be2e3670477ecbccd12c09083eaf06036430c010ff32fa3f3ef2f7
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1213
|
data/lib/v20180717/client.rb
CHANGED
|
@@ -236,6 +236,30 @@ module TencentCloud
|
|
|
236
236
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
237
237
|
end
|
|
238
238
|
|
|
239
|
+
# 创建AIGC调用API的Token。创建后数据同步有延时,约30秒后可查询或删除。
|
|
240
|
+
|
|
241
|
+
# @param request: Request instance for CreateAigcApiToken.
|
|
242
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateAigcApiTokenRequest`
|
|
243
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateAigcApiTokenResponse`
|
|
244
|
+
def CreateAigcApiToken(request)
|
|
245
|
+
body = send_request('CreateAigcApiToken', request.serialize)
|
|
246
|
+
response = JSON.parse(body)
|
|
247
|
+
if response['Response'].key?('Error') == false
|
|
248
|
+
model = CreateAigcApiTokenResponse.new
|
|
249
|
+
model.deserialize(response['Response'])
|
|
250
|
+
model
|
|
251
|
+
else
|
|
252
|
+
code = response['Response']['Error']['Code']
|
|
253
|
+
message = response['Response']['Error']['Message']
|
|
254
|
+
reqid = response['Response']['RequestId']
|
|
255
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
256
|
+
end
|
|
257
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
258
|
+
raise e
|
|
259
|
+
rescue StandardError => e
|
|
260
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
261
|
+
end
|
|
262
|
+
|
|
239
263
|
# 调用该接口,针对指定模型进行主体创建。
|
|
240
264
|
|
|
241
265
|
# @param request: Request instance for CreateAigcCustomElement.
|
|
@@ -332,6 +356,30 @@ module TencentCloud
|
|
|
332
356
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
333
357
|
end
|
|
334
358
|
|
|
359
|
+
# 创建用户自定义数字水印模板。
|
|
360
|
+
|
|
361
|
+
# @param request: Request instance for CreateBlindWatermarkTemplate.
|
|
362
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateBlindWatermarkTemplateRequest`
|
|
363
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateBlindWatermarkTemplateResponse`
|
|
364
|
+
def CreateBlindWatermarkTemplate(request)
|
|
365
|
+
body = send_request('CreateBlindWatermarkTemplate', request.serialize)
|
|
366
|
+
response = JSON.parse(body)
|
|
367
|
+
if response['Response'].key?('Error') == false
|
|
368
|
+
model = CreateBlindWatermarkTemplateResponse.new
|
|
369
|
+
model.deserialize(response['Response'])
|
|
370
|
+
model
|
|
371
|
+
else
|
|
372
|
+
code = response['Response']['Error']['Code']
|
|
373
|
+
message = response['Response']['Error']['Message']
|
|
374
|
+
reqid = response['Response']['RequestId']
|
|
375
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
376
|
+
end
|
|
377
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
378
|
+
raise e
|
|
379
|
+
rescue StandardError => e
|
|
380
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
381
|
+
end
|
|
382
|
+
|
|
335
383
|
# 由 VOD 创建新的日志集。
|
|
336
384
|
|
|
337
385
|
# @param request: Request instance for CreateCLSLogset.
|
|
@@ -1158,6 +1206,30 @@ module TencentCloud
|
|
|
1158
1206
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1159
1207
|
end
|
|
1160
1208
|
|
|
1209
|
+
# 删除 AIGC API Token
|
|
1210
|
+
|
|
1211
|
+
# @param request: Request instance for DeleteAigcApiToken.
|
|
1212
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteAigcApiTokenRequest`
|
|
1213
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteAigcApiTokenResponse`
|
|
1214
|
+
def DeleteAigcApiToken(request)
|
|
1215
|
+
body = send_request('DeleteAigcApiToken', request.serialize)
|
|
1216
|
+
response = JSON.parse(body)
|
|
1217
|
+
if response['Response'].key?('Error') == false
|
|
1218
|
+
model = DeleteAigcApiTokenResponse.new
|
|
1219
|
+
model.deserialize(response['Response'])
|
|
1220
|
+
model
|
|
1221
|
+
else
|
|
1222
|
+
code = response['Response']['Error']['Code']
|
|
1223
|
+
message = response['Response']['Error']['Message']
|
|
1224
|
+
reqid = response['Response']['RequestId']
|
|
1225
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1226
|
+
end
|
|
1227
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1228
|
+
raise e
|
|
1229
|
+
rescue StandardError => e
|
|
1230
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1161
1233
|
# 删除用户自定义转动图模板。
|
|
1162
1234
|
|
|
1163
1235
|
# @param request: Request instance for DeleteAnimatedGraphicsTemplate.
|
|
@@ -1182,6 +1254,30 @@ module TencentCloud
|
|
|
1182
1254
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1183
1255
|
end
|
|
1184
1256
|
|
|
1257
|
+
# 删除用户自定义数字水印模板。
|
|
1258
|
+
|
|
1259
|
+
# @param request: Request instance for DeleteBlindWatermarkTemplate.
|
|
1260
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteBlindWatermarkTemplateRequest`
|
|
1261
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteBlindWatermarkTemplateResponse`
|
|
1262
|
+
def DeleteBlindWatermarkTemplate(request)
|
|
1263
|
+
body = send_request('DeleteBlindWatermarkTemplate', request.serialize)
|
|
1264
|
+
response = JSON.parse(body)
|
|
1265
|
+
if response['Response'].key?('Error') == false
|
|
1266
|
+
model = DeleteBlindWatermarkTemplateResponse.new
|
|
1267
|
+
model.deserialize(response['Response'])
|
|
1268
|
+
model
|
|
1269
|
+
else
|
|
1270
|
+
code = response['Response']['Error']['Code']
|
|
1271
|
+
message = response['Response']['Error']['Message']
|
|
1272
|
+
reqid = response['Response']['RequestId']
|
|
1273
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1274
|
+
end
|
|
1275
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1276
|
+
raise e
|
|
1277
|
+
rescue StandardError => e
|
|
1278
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1279
|
+
end
|
|
1280
|
+
|
|
1185
1281
|
# 删除点播开通的日志主题。
|
|
1186
1282
|
|
|
1187
1283
|
# @param request: Request instance for DeleteCLSTopic.
|
|
@@ -1842,6 +1938,54 @@ module TencentCloud
|
|
|
1842
1938
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1843
1939
|
end
|
|
1844
1940
|
|
|
1941
|
+
# 查询 AIGC API Token 列表。创建或删除后数据同步有延时,约30秒后可查询最新数据。
|
|
1942
|
+
|
|
1943
|
+
# @param request: Request instance for DescribeAigcApiTokens.
|
|
1944
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeAigcApiTokensRequest`
|
|
1945
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeAigcApiTokensResponse`
|
|
1946
|
+
def DescribeAigcApiTokens(request)
|
|
1947
|
+
body = send_request('DescribeAigcApiTokens', request.serialize)
|
|
1948
|
+
response = JSON.parse(body)
|
|
1949
|
+
if response['Response'].key?('Error') == false
|
|
1950
|
+
model = DescribeAigcApiTokensResponse.new
|
|
1951
|
+
model.deserialize(response['Response'])
|
|
1952
|
+
model
|
|
1953
|
+
else
|
|
1954
|
+
code = response['Response']['Error']['Code']
|
|
1955
|
+
message = response['Response']['Error']['Message']
|
|
1956
|
+
reqid = response['Response']['RequestId']
|
|
1957
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1958
|
+
end
|
|
1959
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1960
|
+
raise e
|
|
1961
|
+
rescue StandardError => e
|
|
1962
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1963
|
+
end
|
|
1964
|
+
|
|
1965
|
+
# 该接口用于获取 AIGC 人脸信息。注意,调用本接口会产生人脸识别费用,请参考[计费文档](https://cloud.tencent.com/document/product/266/95125#96b3b59a-f9e1-49e9-966a-bedb70a4bf12)。
|
|
1966
|
+
|
|
1967
|
+
# @param request: Request instance for DescribeAigcFaceInfo.
|
|
1968
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeAigcFaceInfoRequest`
|
|
1969
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeAigcFaceInfoResponse`
|
|
1970
|
+
def DescribeAigcFaceInfo(request)
|
|
1971
|
+
body = send_request('DescribeAigcFaceInfo', request.serialize)
|
|
1972
|
+
response = JSON.parse(body)
|
|
1973
|
+
if response['Response'].key?('Error') == false
|
|
1974
|
+
model = DescribeAigcFaceInfoResponse.new
|
|
1975
|
+
model.deserialize(response['Response'])
|
|
1976
|
+
model
|
|
1977
|
+
else
|
|
1978
|
+
code = response['Response']['Error']['Code']
|
|
1979
|
+
message = response['Response']['Error']['Message']
|
|
1980
|
+
reqid = response['Response']['RequestId']
|
|
1981
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1982
|
+
end
|
|
1983
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1984
|
+
raise e
|
|
1985
|
+
rescue StandardError => e
|
|
1986
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1987
|
+
end
|
|
1988
|
+
|
|
1845
1989
|
# 该接口返回查询时间范围内AIGC的统计信息。
|
|
1846
1990
|
# 1. 可以查询最近365天内的AIGC统计数据。
|
|
1847
1991
|
# 2. 查询时间跨度不超过90天。
|
|
@@ -1917,6 +2061,30 @@ module TencentCloud
|
|
|
1917
2061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1918
2062
|
end
|
|
1919
2063
|
|
|
2064
|
+
# 查询用户自定义数字水印模板。
|
|
2065
|
+
|
|
2066
|
+
# @param request: Request instance for DescribeBlindWatermarkTemplates.
|
|
2067
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeBlindWatermarkTemplatesRequest`
|
|
2068
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeBlindWatermarkTemplatesResponse`
|
|
2069
|
+
def DescribeBlindWatermarkTemplates(request)
|
|
2070
|
+
body = send_request('DescribeBlindWatermarkTemplates', request.serialize)
|
|
2071
|
+
response = JSON.parse(body)
|
|
2072
|
+
if response['Response'].key?('Error') == false
|
|
2073
|
+
model = DescribeBlindWatermarkTemplatesResponse.new
|
|
2074
|
+
model.deserialize(response['Response'])
|
|
2075
|
+
model
|
|
2076
|
+
else
|
|
2077
|
+
code = response['Response']['Error']['Code']
|
|
2078
|
+
message = response['Response']['Error']['Message']
|
|
2079
|
+
reqid = response['Response']['RequestId']
|
|
2080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2081
|
+
end
|
|
2082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2083
|
+
raise e
|
|
2084
|
+
rescue StandardError => e
|
|
2085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2086
|
+
end
|
|
2087
|
+
|
|
1920
2088
|
# 该接口用于查询点播域名的 CDN 带宽、流量等统计数据。
|
|
1921
2089
|
# * 查询的起始时间和结束时间跨度不超过90天。
|
|
1922
2090
|
# * 可以查询不同服务区域的数据。
|
|
@@ -3338,6 +3506,30 @@ module TencentCloud
|
|
|
3338
3506
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3339
3507
|
end
|
|
3340
3508
|
|
|
3509
|
+
# 用于发起提取视频数字水印任务,提取结果可以通过DescribeTaskDetail查询。
|
|
3510
|
+
|
|
3511
|
+
# @param request: Request instance for ExtractBlindWatermark.
|
|
3512
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ExtractBlindWatermarkRequest`
|
|
3513
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ExtractBlindWatermarkResponse`
|
|
3514
|
+
def ExtractBlindWatermark(request)
|
|
3515
|
+
body = send_request('ExtractBlindWatermark', request.serialize)
|
|
3516
|
+
response = JSON.parse(body)
|
|
3517
|
+
if response['Response'].key?('Error') == false
|
|
3518
|
+
model = ExtractBlindWatermarkResponse.new
|
|
3519
|
+
model.deserialize(response['Response'])
|
|
3520
|
+
model
|
|
3521
|
+
else
|
|
3522
|
+
code = response['Response']['Error']['Code']
|
|
3523
|
+
message = response['Response']['Error']['Message']
|
|
3524
|
+
reqid = response['Response']['RequestId']
|
|
3525
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3526
|
+
end
|
|
3527
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3528
|
+
raise e
|
|
3529
|
+
rescue StandardError => e
|
|
3530
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3531
|
+
end
|
|
3532
|
+
|
|
3341
3533
|
# 如果有盗录溯源需求,请参考 [幽灵水印](https://cloud.tencent.com/document/product/266/94228)。
|
|
3342
3534
|
|
|
3343
3535
|
# @param request: Request instance for ExtractCopyRightWatermark.
|
|
@@ -3709,6 +3901,30 @@ module TencentCloud
|
|
|
3709
3901
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3710
3902
|
end
|
|
3711
3903
|
|
|
3904
|
+
# 修改用户自定义数字水印模板,数字水印类型不允许修改。
|
|
3905
|
+
|
|
3906
|
+
# @param request: Request instance for ModifyBlindWatermarkTemplate.
|
|
3907
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyBlindWatermarkTemplateRequest`
|
|
3908
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyBlindWatermarkTemplateResponse`
|
|
3909
|
+
def ModifyBlindWatermarkTemplate(request)
|
|
3910
|
+
body = send_request('ModifyBlindWatermarkTemplate', request.serialize)
|
|
3911
|
+
response = JSON.parse(body)
|
|
3912
|
+
if response['Response'].key?('Error') == false
|
|
3913
|
+
model = ModifyBlindWatermarkTemplateResponse.new
|
|
3914
|
+
model.deserialize(response['Response'])
|
|
3915
|
+
model
|
|
3916
|
+
else
|
|
3917
|
+
code = response['Response']['Error']['Code']
|
|
3918
|
+
message = response['Response']['Error']['Message']
|
|
3919
|
+
reqid = response['Response']['RequestId']
|
|
3920
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3921
|
+
end
|
|
3922
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3923
|
+
raise e
|
|
3924
|
+
rescue StandardError => e
|
|
3925
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3926
|
+
end
|
|
3927
|
+
|
|
3712
3928
|
# 修改媒体分类属性。
|
|
3713
3929
|
|
|
3714
3930
|
# @param request: Request instance for ModifyClass.
|