tencentcloud-sdk-vod 3.0.1212 → 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 +120 -0
- data/lib/v20180717/models.rb +319 -4
- 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
|
@@ -356,6 +356,30 @@ module TencentCloud
|
|
|
356
356
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
357
357
|
end
|
|
358
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
|
+
|
|
359
383
|
# 由 VOD 创建新的日志集。
|
|
360
384
|
|
|
361
385
|
# @param request: Request instance for CreateCLSLogset.
|
|
@@ -1230,6 +1254,30 @@ module TencentCloud
|
|
|
1230
1254
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1231
1255
|
end
|
|
1232
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
|
+
|
|
1233
1281
|
# 删除点播开通的日志主题。
|
|
1234
1282
|
|
|
1235
1283
|
# @param request: Request instance for DeleteCLSTopic.
|
|
@@ -2013,6 +2061,30 @@ module TencentCloud
|
|
|
2013
2061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2014
2062
|
end
|
|
2015
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
|
+
|
|
2016
2088
|
# 该接口用于查询点播域名的 CDN 带宽、流量等统计数据。
|
|
2017
2089
|
# * 查询的起始时间和结束时间跨度不超过90天。
|
|
2018
2090
|
# * 可以查询不同服务区域的数据。
|
|
@@ -3434,6 +3506,30 @@ module TencentCloud
|
|
|
3434
3506
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3435
3507
|
end
|
|
3436
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
|
+
|
|
3437
3533
|
# 如果有盗录溯源需求,请参考 [幽灵水印](https://cloud.tencent.com/document/product/266/94228)。
|
|
3438
3534
|
|
|
3439
3535
|
# @param request: Request instance for ExtractCopyRightWatermark.
|
|
@@ -3805,6 +3901,30 @@ module TencentCloud
|
|
|
3805
3901
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3806
3902
|
end
|
|
3807
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
|
+
|
|
3808
3928
|
# 修改媒体分类属性。
|
|
3809
3929
|
|
|
3810
3930
|
# @param request: Request instance for ModifyClass.
|
data/lib/v20180717/models.rb
CHANGED
|
@@ -280,14 +280,16 @@ module TencentCloud
|
|
|
280
280
|
# @type SubStreamSet: Array
|
|
281
281
|
# @param CopyRightWatermarkText: 版权信息。
|
|
282
282
|
# @type CopyRightWatermarkText: String
|
|
283
|
+
# @param BlindWatermarkDefinition: 数字水印模板id。
|
|
284
|
+
# @type BlindWatermarkDefinition: Integer
|
|
283
285
|
# @param SubtitleSet: 字幕信息列表。
|
|
284
286
|
# @type SubtitleSet: Array
|
|
285
287
|
# @param DefaultSubtitleId: 默认字幕的唯一标识。
|
|
286
288
|
# @type DefaultSubtitleId: String
|
|
287
289
|
|
|
288
|
-
attr_accessor :Definition, :Package, :DrmType, :Url, :Size, :DigitalWatermarkType, :SubStreamSet, :CopyRightWatermarkText, :SubtitleSet, :DefaultSubtitleId
|
|
290
|
+
attr_accessor :Definition, :Package, :DrmType, :Url, :Size, :DigitalWatermarkType, :SubStreamSet, :CopyRightWatermarkText, :BlindWatermarkDefinition, :SubtitleSet, :DefaultSubtitleId
|
|
289
291
|
|
|
290
|
-
def initialize(definition=nil, package=nil, drmtype=nil, url=nil, size=nil, digitalwatermarktype=nil, substreamset=nil, copyrightwatermarktext=nil, subtitleset=nil, defaultsubtitleid=nil)
|
|
292
|
+
def initialize(definition=nil, package=nil, drmtype=nil, url=nil, size=nil, digitalwatermarktype=nil, substreamset=nil, copyrightwatermarktext=nil, blindwatermarkdefinition=nil, subtitleset=nil, defaultsubtitleid=nil)
|
|
291
293
|
@Definition = definition
|
|
292
294
|
@Package = package
|
|
293
295
|
@DrmType = drmtype
|
|
@@ -296,6 +298,7 @@ module TencentCloud
|
|
|
296
298
|
@DigitalWatermarkType = digitalwatermarktype
|
|
297
299
|
@SubStreamSet = substreamset
|
|
298
300
|
@CopyRightWatermarkText = copyrightwatermarktext
|
|
301
|
+
@BlindWatermarkDefinition = blindwatermarkdefinition
|
|
299
302
|
@SubtitleSet = subtitleset
|
|
300
303
|
@DefaultSubtitleId = defaultsubtitleid
|
|
301
304
|
end
|
|
@@ -316,6 +319,7 @@ module TencentCloud
|
|
|
316
319
|
end
|
|
317
320
|
end
|
|
318
321
|
@CopyRightWatermarkText = params['CopyRightWatermarkText']
|
|
322
|
+
@BlindWatermarkDefinition = params['BlindWatermarkDefinition']
|
|
319
323
|
unless params['SubtitleSet'].nil?
|
|
320
324
|
@SubtitleSet = []
|
|
321
325
|
params['SubtitleSet'].each do |i|
|
|
@@ -6002,6 +6006,46 @@ module TencentCloud
|
|
|
6002
6006
|
end
|
|
6003
6007
|
end
|
|
6004
6008
|
|
|
6009
|
+
# 数字水印模板详情
|
|
6010
|
+
class BlindWatermarkTemplate < TencentCloud::Common::AbstractModel
|
|
6011
|
+
# @param Definition: 数字水印模板唯一标识。
|
|
6012
|
+
# @type Definition: Integer
|
|
6013
|
+
# @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-nagra:NAGRA取证水印;</li>
|
|
6014
|
+
# @type Type: String
|
|
6015
|
+
# @param Name: 数字水印模板名称。
|
|
6016
|
+
# @type Name: String
|
|
6017
|
+
# @param TextContent: 数字水印模板文本内容,长度不超过64个字符。
|
|
6018
|
+
# @type TextContent: String
|
|
6019
|
+
# @param Comment: 数字水印模板描述信息。
|
|
6020
|
+
# @type Comment: String
|
|
6021
|
+
# @param CreateTime: 数字水印模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
6022
|
+
# @type CreateTime: String
|
|
6023
|
+
# @param UpdateTime: 数字水印模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
6024
|
+
# @type UpdateTime: String
|
|
6025
|
+
|
|
6026
|
+
attr_accessor :Definition, :Type, :Name, :TextContent, :Comment, :CreateTime, :UpdateTime
|
|
6027
|
+
|
|
6028
|
+
def initialize(definition=nil, type=nil, name=nil, textcontent=nil, comment=nil, createtime=nil, updatetime=nil)
|
|
6029
|
+
@Definition = definition
|
|
6030
|
+
@Type = type
|
|
6031
|
+
@Name = name
|
|
6032
|
+
@TextContent = textcontent
|
|
6033
|
+
@Comment = comment
|
|
6034
|
+
@CreateTime = createtime
|
|
6035
|
+
@UpdateTime = updatetime
|
|
6036
|
+
end
|
|
6037
|
+
|
|
6038
|
+
def deserialize(params)
|
|
6039
|
+
@Definition = params['Definition']
|
|
6040
|
+
@Type = params['Type']
|
|
6041
|
+
@Name = params['Name']
|
|
6042
|
+
@TextContent = params['TextContent']
|
|
6043
|
+
@Comment = params['Comment']
|
|
6044
|
+
@CreateTime = params['CreateTime']
|
|
6045
|
+
@UpdateTime = params['UpdateTime']
|
|
6046
|
+
end
|
|
6047
|
+
end
|
|
6048
|
+
|
|
6005
6049
|
# 视频画面模糊检测的控制参数。
|
|
6006
6050
|
class BlurConfigureInfo < TencentCloud::Common::AbstractModel
|
|
6007
6051
|
# @param Switch: 视频画面模糊检测开关,可选值:
|
|
@@ -7933,6 +7977,58 @@ module TencentCloud
|
|
|
7933
7977
|
end
|
|
7934
7978
|
end
|
|
7935
7979
|
|
|
7980
|
+
# CreateBlindWatermarkTemplate请求参数结构体
|
|
7981
|
+
class CreateBlindWatermarkTemplateRequest < TencentCloud::Common::AbstractModel
|
|
7982
|
+
# @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-nagra:NAGRA水印;</li>
|
|
7983
|
+
# @type Type: String
|
|
7984
|
+
# @param TextContent: 数字水印文字内容,长度不超过64个字符,NAGRA水印类型的模板创建后不支持修改文字内容。
|
|
7985
|
+
# @type TextContent: String
|
|
7986
|
+
# @param SubAppId: 点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。
|
|
7987
|
+
# @type SubAppId: Integer
|
|
7988
|
+
# @param Name: 数字水印模板名称,支持中文、英文、数字、_、-和. 六种格式,长度限制:64 个字符。
|
|
7989
|
+
# @type Name: String
|
|
7990
|
+
# @param Comment: 数字水印模板描述信息,长度限制:256 个字符。
|
|
7991
|
+
# @type Comment: String
|
|
7992
|
+
|
|
7993
|
+
attr_accessor :Type, :TextContent, :SubAppId, :Name, :Comment
|
|
7994
|
+
|
|
7995
|
+
def initialize(type=nil, textcontent=nil, subappid=nil, name=nil, comment=nil)
|
|
7996
|
+
@Type = type
|
|
7997
|
+
@TextContent = textcontent
|
|
7998
|
+
@SubAppId = subappid
|
|
7999
|
+
@Name = name
|
|
8000
|
+
@Comment = comment
|
|
8001
|
+
end
|
|
8002
|
+
|
|
8003
|
+
def deserialize(params)
|
|
8004
|
+
@Type = params['Type']
|
|
8005
|
+
@TextContent = params['TextContent']
|
|
8006
|
+
@SubAppId = params['SubAppId']
|
|
8007
|
+
@Name = params['Name']
|
|
8008
|
+
@Comment = params['Comment']
|
|
8009
|
+
end
|
|
8010
|
+
end
|
|
8011
|
+
|
|
8012
|
+
# CreateBlindWatermarkTemplate返回参数结构体
|
|
8013
|
+
class CreateBlindWatermarkTemplateResponse < TencentCloud::Common::AbstractModel
|
|
8014
|
+
# @param Definition: 数字水印模板唯一标识。
|
|
8015
|
+
# @type Definition: Integer
|
|
8016
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8017
|
+
# @type RequestId: String
|
|
8018
|
+
|
|
8019
|
+
attr_accessor :Definition, :RequestId
|
|
8020
|
+
|
|
8021
|
+
def initialize(definition=nil, requestid=nil)
|
|
8022
|
+
@Definition = definition
|
|
8023
|
+
@RequestId = requestid
|
|
8024
|
+
end
|
|
8025
|
+
|
|
8026
|
+
def deserialize(params)
|
|
8027
|
+
@Definition = params['Definition']
|
|
8028
|
+
@RequestId = params['RequestId']
|
|
8029
|
+
end
|
|
8030
|
+
end
|
|
8031
|
+
|
|
7936
8032
|
# CreateCLSLogset请求参数结构体
|
|
7937
8033
|
class CreateCLSLogsetRequest < TencentCloud::Common::AbstractModel
|
|
7938
8034
|
# @param CLSRegion: 日志集所属的地域,取值有: <li>ap-guangzhou:广州;</li> <li>ap-beijing:北京;</li> <li>ap-chengdu:成都;</li> <li>ap-chongqing:重庆;</li> <li>ap-nanjing:南京;</li> <li>ap-shanghai:上海;</li> <li>ap-singapore:新加坡。</li>
|
|
@@ -10376,6 +10472,42 @@ module TencentCloud
|
|
|
10376
10472
|
end
|
|
10377
10473
|
end
|
|
10378
10474
|
|
|
10475
|
+
# DeleteBlindWatermarkTemplate请求参数结构体
|
|
10476
|
+
class DeleteBlindWatermarkTemplateRequest < TencentCloud::Common::AbstractModel
|
|
10477
|
+
# @param Definition: 数字水印模板唯一标识。
|
|
10478
|
+
# @type Definition: Integer
|
|
10479
|
+
# @param SubAppId: 点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。
|
|
10480
|
+
# @type SubAppId: Integer
|
|
10481
|
+
|
|
10482
|
+
attr_accessor :Definition, :SubAppId
|
|
10483
|
+
|
|
10484
|
+
def initialize(definition=nil, subappid=nil)
|
|
10485
|
+
@Definition = definition
|
|
10486
|
+
@SubAppId = subappid
|
|
10487
|
+
end
|
|
10488
|
+
|
|
10489
|
+
def deserialize(params)
|
|
10490
|
+
@Definition = params['Definition']
|
|
10491
|
+
@SubAppId = params['SubAppId']
|
|
10492
|
+
end
|
|
10493
|
+
end
|
|
10494
|
+
|
|
10495
|
+
# DeleteBlindWatermarkTemplate返回参数结构体
|
|
10496
|
+
class DeleteBlindWatermarkTemplateResponse < TencentCloud::Common::AbstractModel
|
|
10497
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10498
|
+
# @type RequestId: String
|
|
10499
|
+
|
|
10500
|
+
attr_accessor :RequestId
|
|
10501
|
+
|
|
10502
|
+
def initialize(requestid=nil)
|
|
10503
|
+
@RequestId = requestid
|
|
10504
|
+
end
|
|
10505
|
+
|
|
10506
|
+
def deserialize(params)
|
|
10507
|
+
@RequestId = params['RequestId']
|
|
10508
|
+
end
|
|
10509
|
+
end
|
|
10510
|
+
|
|
10379
10511
|
# DeleteCLSTopic请求参数结构体
|
|
10380
10512
|
class DeleteCLSTopicRequest < TencentCloud::Common::AbstractModel
|
|
10381
10513
|
# @param CLSRegion: 日志集所属的地域,取值有: <li>ap-guangzhou:广州;</li> <li>ap-beijing:北京;</li> <li>ap-chengdu:成都;</li> <li>ap-chongqing:重庆;</li> <li>ap-nanjing:南京;</li> <li>ap-shanghai:上海;</li> <li>ap-singapore:新加坡。</li>
|
|
@@ -11696,6 +11828,71 @@ module TencentCloud
|
|
|
11696
11828
|
end
|
|
11697
11829
|
end
|
|
11698
11830
|
|
|
11831
|
+
# DescribeBlindWatermarkTemplates请求参数结构体
|
|
11832
|
+
class DescribeBlindWatermarkTemplatesRequest < TencentCloud::Common::AbstractModel
|
|
11833
|
+
# @param SubAppId: 点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。
|
|
11834
|
+
# @type SubAppId: Integer
|
|
11835
|
+
# @param Definitions: 数字水印模板唯一标识过滤条件,数组长度限制:100。
|
|
11836
|
+
# @type Definitions: Array
|
|
11837
|
+
# @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-nagra:Nagra取证水印;</li>
|
|
11838
|
+
# @type Type: String
|
|
11839
|
+
# @param Offset: 分页偏移量,默认值:0。
|
|
11840
|
+
# @type Offset: Integer
|
|
11841
|
+
# @param Limit: 返回记录条数
|
|
11842
|
+
# <li>默认值:10;</li>
|
|
11843
|
+
# <li>最大值:100。</li>
|
|
11844
|
+
# @type Limit: Integer
|
|
11845
|
+
|
|
11846
|
+
attr_accessor :SubAppId, :Definitions, :Type, :Offset, :Limit
|
|
11847
|
+
|
|
11848
|
+
def initialize(subappid=nil, definitions=nil, type=nil, offset=nil, limit=nil)
|
|
11849
|
+
@SubAppId = subappid
|
|
11850
|
+
@Definitions = definitions
|
|
11851
|
+
@Type = type
|
|
11852
|
+
@Offset = offset
|
|
11853
|
+
@Limit = limit
|
|
11854
|
+
end
|
|
11855
|
+
|
|
11856
|
+
def deserialize(params)
|
|
11857
|
+
@SubAppId = params['SubAppId']
|
|
11858
|
+
@Definitions = params['Definitions']
|
|
11859
|
+
@Type = params['Type']
|
|
11860
|
+
@Offset = params['Offset']
|
|
11861
|
+
@Limit = params['Limit']
|
|
11862
|
+
end
|
|
11863
|
+
end
|
|
11864
|
+
|
|
11865
|
+
# DescribeBlindWatermarkTemplates返回参数结构体
|
|
11866
|
+
class DescribeBlindWatermarkTemplatesResponse < TencentCloud::Common::AbstractModel
|
|
11867
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
|
11868
|
+
# @type TotalCount: Integer
|
|
11869
|
+
# @param BlindWatermarkTemplateSet: 数字水印模板详情列表。
|
|
11870
|
+
# @type BlindWatermarkTemplateSet: Array
|
|
11871
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11872
|
+
# @type RequestId: String
|
|
11873
|
+
|
|
11874
|
+
attr_accessor :TotalCount, :BlindWatermarkTemplateSet, :RequestId
|
|
11875
|
+
|
|
11876
|
+
def initialize(totalcount=nil, blindwatermarktemplateset=nil, requestid=nil)
|
|
11877
|
+
@TotalCount = totalcount
|
|
11878
|
+
@BlindWatermarkTemplateSet = blindwatermarktemplateset
|
|
11879
|
+
@RequestId = requestid
|
|
11880
|
+
end
|
|
11881
|
+
|
|
11882
|
+
def deserialize(params)
|
|
11883
|
+
@TotalCount = params['TotalCount']
|
|
11884
|
+
unless params['BlindWatermarkTemplateSet'].nil?
|
|
11885
|
+
@BlindWatermarkTemplateSet = []
|
|
11886
|
+
params['BlindWatermarkTemplateSet'].each do |i|
|
|
11887
|
+
blindwatermarktemplate_tmp = BlindWatermarkTemplate.new
|
|
11888
|
+
blindwatermarktemplate_tmp.deserialize(i)
|
|
11889
|
+
@BlindWatermarkTemplateSet << blindwatermarktemplate_tmp
|
|
11890
|
+
end
|
|
11891
|
+
end
|
|
11892
|
+
@RequestId = params['RequestId']
|
|
11893
|
+
end
|
|
11894
|
+
end
|
|
11895
|
+
|
|
11699
11896
|
# DescribeCDNStatDetails请求参数结构体
|
|
11700
11897
|
class DescribeCDNStatDetailsRequest < TencentCloud::Common::AbstractModel
|
|
11701
11898
|
# @param Metric: 查询指标,取值有:
|
|
@@ -16542,6 +16739,72 @@ module TencentCloud
|
|
|
16542
16739
|
end
|
|
16543
16740
|
end
|
|
16544
16741
|
|
|
16742
|
+
# ExtractBlindWatermark请求参数结构体
|
|
16743
|
+
class ExtractBlindWatermarkRequest < TencentCloud::Common::AbstractModel
|
|
16744
|
+
# @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-trace:溯源ab序列水印;</li>
|
|
16745
|
+
# @type Type: String
|
|
16746
|
+
# @param InputInfo: 媒体处理的文件输入信息。
|
|
16747
|
+
# @type InputInfo: :class:`Tencentcloud::Vod.v20180717.models.ExtractBlindWatermarkInputInfo`
|
|
16748
|
+
# @param SubAppId: 添加水印时的点播应用 ID。注意不管是传入FILEID还是URL,都必须与添加水印时的SubAppId吻合才能提取到水印。
|
|
16749
|
+
# @type SubAppId: Integer
|
|
16750
|
+
# @param ExtractBlindWatermarkConfig: 提取数字水印任务配置
|
|
16751
|
+
# @type ExtractBlindWatermarkConfig: :class:`Tencentcloud::Vod.v20180717.models.ExtractBlindWatermarkTaskConfig`
|
|
16752
|
+
# @param SessionContext: 标识来源上下文,用于透传用户请求信息,在 ExtractBlindWatermarkComplete 回调和任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
|
16753
|
+
# @type SessionContext: String
|
|
16754
|
+
# @param SessionId: 用于任务去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
|
16755
|
+
# @type SessionId: String
|
|
16756
|
+
# @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
|
|
16757
|
+
# @type TasksPriority: Integer
|
|
16758
|
+
|
|
16759
|
+
attr_accessor :Type, :InputInfo, :SubAppId, :ExtractBlindWatermarkConfig, :SessionContext, :SessionId, :TasksPriority
|
|
16760
|
+
|
|
16761
|
+
def initialize(type=nil, inputinfo=nil, subappid=nil, extractblindwatermarkconfig=nil, sessioncontext=nil, sessionid=nil, taskspriority=nil)
|
|
16762
|
+
@Type = type
|
|
16763
|
+
@InputInfo = inputinfo
|
|
16764
|
+
@SubAppId = subappid
|
|
16765
|
+
@ExtractBlindWatermarkConfig = extractblindwatermarkconfig
|
|
16766
|
+
@SessionContext = sessioncontext
|
|
16767
|
+
@SessionId = sessionid
|
|
16768
|
+
@TasksPriority = taskspriority
|
|
16769
|
+
end
|
|
16770
|
+
|
|
16771
|
+
def deserialize(params)
|
|
16772
|
+
@Type = params['Type']
|
|
16773
|
+
unless params['InputInfo'].nil?
|
|
16774
|
+
@InputInfo = ExtractBlindWatermarkInputInfo.new
|
|
16775
|
+
@InputInfo.deserialize(params['InputInfo'])
|
|
16776
|
+
end
|
|
16777
|
+
@SubAppId = params['SubAppId']
|
|
16778
|
+
unless params['ExtractBlindWatermarkConfig'].nil?
|
|
16779
|
+
@ExtractBlindWatermarkConfig = ExtractBlindWatermarkTaskConfig.new
|
|
16780
|
+
@ExtractBlindWatermarkConfig.deserialize(params['ExtractBlindWatermarkConfig'])
|
|
16781
|
+
end
|
|
16782
|
+
@SessionContext = params['SessionContext']
|
|
16783
|
+
@SessionId = params['SessionId']
|
|
16784
|
+
@TasksPriority = params['TasksPriority']
|
|
16785
|
+
end
|
|
16786
|
+
end
|
|
16787
|
+
|
|
16788
|
+
# ExtractBlindWatermark返回参数结构体
|
|
16789
|
+
class ExtractBlindWatermarkResponse < TencentCloud::Common::AbstractModel
|
|
16790
|
+
# @param TaskId: 任务 ID。
|
|
16791
|
+
# @type TaskId: String
|
|
16792
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16793
|
+
# @type RequestId: String
|
|
16794
|
+
|
|
16795
|
+
attr_accessor :TaskId, :RequestId
|
|
16796
|
+
|
|
16797
|
+
def initialize(taskid=nil, requestid=nil)
|
|
16798
|
+
@TaskId = taskid
|
|
16799
|
+
@RequestId = requestid
|
|
16800
|
+
end
|
|
16801
|
+
|
|
16802
|
+
def deserialize(params)
|
|
16803
|
+
@TaskId = params['TaskId']
|
|
16804
|
+
@RequestId = params['RequestId']
|
|
16805
|
+
end
|
|
16806
|
+
end
|
|
16807
|
+
|
|
16545
16808
|
# 提取视频数字水印任务信息
|
|
16546
16809
|
class ExtractBlindWatermarkTask < TencentCloud::Common::AbstractModel
|
|
16547
16810
|
# @param TaskId: 媒体处理任务 ID。
|
|
@@ -21427,10 +21690,12 @@ module TencentCloud
|
|
|
21427
21690
|
# @type DigitalWatermarkType: String
|
|
21428
21691
|
# @param CopyRightWatermarkText: 版权信息。
|
|
21429
21692
|
# @type CopyRightWatermarkText: String
|
|
21693
|
+
# @param BlindWatermarkDefinition: 数字水印模板id。
|
|
21694
|
+
# @type BlindWatermarkDefinition: Integer
|
|
21430
21695
|
|
|
21431
|
-
attr_accessor :Url, :Definition, :Bitrate, :Height, :Width, :Size, :Duration, :Md5, :Container, :VideoStreamSet, :AudioStreamSet, :DigitalWatermarkType, :CopyRightWatermarkText
|
|
21696
|
+
attr_accessor :Url, :Definition, :Bitrate, :Height, :Width, :Size, :Duration, :Md5, :Container, :VideoStreamSet, :AudioStreamSet, :DigitalWatermarkType, :CopyRightWatermarkText, :BlindWatermarkDefinition
|
|
21432
21697
|
|
|
21433
|
-
def initialize(url=nil, definition=nil, bitrate=nil, height=nil, width=nil, size=nil, duration=nil, md5=nil, container=nil, videostreamset=nil, audiostreamset=nil, digitalwatermarktype=nil, copyrightwatermarktext=nil)
|
|
21698
|
+
def initialize(url=nil, definition=nil, bitrate=nil, height=nil, width=nil, size=nil, duration=nil, md5=nil, container=nil, videostreamset=nil, audiostreamset=nil, digitalwatermarktype=nil, copyrightwatermarktext=nil, blindwatermarkdefinition=nil)
|
|
21434
21699
|
@Url = url
|
|
21435
21700
|
@Definition = definition
|
|
21436
21701
|
@Bitrate = bitrate
|
|
@@ -21444,6 +21709,7 @@ module TencentCloud
|
|
|
21444
21709
|
@AudioStreamSet = audiostreamset
|
|
21445
21710
|
@DigitalWatermarkType = digitalwatermarktype
|
|
21446
21711
|
@CopyRightWatermarkText = copyrightwatermarktext
|
|
21712
|
+
@BlindWatermarkDefinition = blindwatermarkdefinition
|
|
21447
21713
|
end
|
|
21448
21714
|
|
|
21449
21715
|
def deserialize(params)
|
|
@@ -21474,6 +21740,7 @@ module TencentCloud
|
|
|
21474
21740
|
end
|
|
21475
21741
|
@DigitalWatermarkType = params['DigitalWatermarkType']
|
|
21476
21742
|
@CopyRightWatermarkText = params['CopyRightWatermarkText']
|
|
21743
|
+
@BlindWatermarkDefinition = params['BlindWatermarkDefinition']
|
|
21477
21744
|
end
|
|
21478
21745
|
end
|
|
21479
21746
|
|
|
@@ -21904,6 +22171,54 @@ module TencentCloud
|
|
|
21904
22171
|
end
|
|
21905
22172
|
end
|
|
21906
22173
|
|
|
22174
|
+
# ModifyBlindWatermarkTemplate请求参数结构体
|
|
22175
|
+
class ModifyBlindWatermarkTemplateRequest < TencentCloud::Common::AbstractModel
|
|
22176
|
+
# @param Definition: 数字水印模板唯一标识。
|
|
22177
|
+
# @type Definition: Integer
|
|
22178
|
+
# @param SubAppId: 点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。
|
|
22179
|
+
# @type SubAppId: Integer
|
|
22180
|
+
# @param Name: 数字水印模板名称,支持 中文、英文、数字、_、-和. 六种格式,长度限制:64 个字符。
|
|
22181
|
+
# @type Name: String
|
|
22182
|
+
# @param Comment: 数字水印模板描述信息,长度限制:256 个字符。
|
|
22183
|
+
# @type Comment: String
|
|
22184
|
+
# @param TextContent: 数字水印文字内容,长度不超过64个字符,NAGRA水印类型的模板不支持修改文字内容。
|
|
22185
|
+
# @type TextContent: String
|
|
22186
|
+
|
|
22187
|
+
attr_accessor :Definition, :SubAppId, :Name, :Comment, :TextContent
|
|
22188
|
+
|
|
22189
|
+
def initialize(definition=nil, subappid=nil, name=nil, comment=nil, textcontent=nil)
|
|
22190
|
+
@Definition = definition
|
|
22191
|
+
@SubAppId = subappid
|
|
22192
|
+
@Name = name
|
|
22193
|
+
@Comment = comment
|
|
22194
|
+
@TextContent = textcontent
|
|
22195
|
+
end
|
|
22196
|
+
|
|
22197
|
+
def deserialize(params)
|
|
22198
|
+
@Definition = params['Definition']
|
|
22199
|
+
@SubAppId = params['SubAppId']
|
|
22200
|
+
@Name = params['Name']
|
|
22201
|
+
@Comment = params['Comment']
|
|
22202
|
+
@TextContent = params['TextContent']
|
|
22203
|
+
end
|
|
22204
|
+
end
|
|
22205
|
+
|
|
22206
|
+
# ModifyBlindWatermarkTemplate返回参数结构体
|
|
22207
|
+
class ModifyBlindWatermarkTemplateResponse < TencentCloud::Common::AbstractModel
|
|
22208
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22209
|
+
# @type RequestId: String
|
|
22210
|
+
|
|
22211
|
+
attr_accessor :RequestId
|
|
22212
|
+
|
|
22213
|
+
def initialize(requestid=nil)
|
|
22214
|
+
@RequestId = requestid
|
|
22215
|
+
end
|
|
22216
|
+
|
|
22217
|
+
def deserialize(params)
|
|
22218
|
+
@RequestId = params['RequestId']
|
|
22219
|
+
end
|
|
22220
|
+
end
|
|
22221
|
+
|
|
21907
22222
|
# ModifyClass请求参数结构体
|
|
21908
22223
|
class ModifyClassRequest < TencentCloud::Common::AbstractModel
|
|
21909
22224
|
# @param ClassId: 分类 ID
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-vod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1213
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|