tencentcloud-sdk-vod 3.0.703 → 3.0.705
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 +96 -0
- data/lib/v20180717/models.rb +459 -0
- 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: 6a5dcaf28b0167ec2b107a592ea3cf8b3f07d352
|
|
4
|
+
data.tar.gz: aa70d69fa5ea41b799a060fa05eb88e0da06fd2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 062679bbe12c504a087bf50d7f60245cfbd1c544e03119f482041505745533d9e75516550691c137cbddb27a510a9eeaaf997bf26d182094ee5b5798ca96f4c6
|
|
7
|
+
data.tar.gz: 4291b919a3a78f34424576ff3fb1d56f9e2dc0b9cc698ab5f54cb858ac1a962d6efc41a33c89e4169bdbc4ee880f058d0bc46751bbdac13d0f97fb843c5a7c4a
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.705
|
data/lib/v20180717/client.rb
CHANGED
|
@@ -432,6 +432,30 @@ module TencentCloud
|
|
|
432
432
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
+
# 创建即时转码模板。
|
|
436
|
+
|
|
437
|
+
# @param request: Request instance for CreateJustInTimeTranscodeTemplate.
|
|
438
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateJustInTimeTranscodeTemplateRequest`
|
|
439
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateJustInTimeTranscodeTemplateResponse`
|
|
440
|
+
def CreateJustInTimeTranscodeTemplate(request)
|
|
441
|
+
body = send_request('CreateJustInTimeTranscodeTemplate', request.serialize)
|
|
442
|
+
response = JSON.parse(body)
|
|
443
|
+
if response['Response'].key?('Error') == false
|
|
444
|
+
model = CreateJustInTimeTranscodeTemplateResponse.new
|
|
445
|
+
model.deserialize(response['Response'])
|
|
446
|
+
model
|
|
447
|
+
else
|
|
448
|
+
code = response['Response']['Error']['Code']
|
|
449
|
+
message = response['Response']['Error']['Message']
|
|
450
|
+
reqid = response['Response']['RequestId']
|
|
451
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
452
|
+
end
|
|
453
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
454
|
+
raise e
|
|
455
|
+
rescue StandardError => e
|
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
457
|
+
end
|
|
458
|
+
|
|
435
459
|
# 该接口用于创建素材样本,用于通过五官定位等技术,进行内容识别、不适宜视频识别等视频处理。
|
|
436
460
|
|
|
437
461
|
# @param request: Request instance for CreatePersonSample.
|
|
@@ -1043,6 +1067,30 @@ module TencentCloud
|
|
|
1043
1067
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1044
1068
|
end
|
|
1045
1069
|
|
|
1070
|
+
# 删除即时转码模板。
|
|
1071
|
+
|
|
1072
|
+
# @param request: Request instance for DeleteJustInTimeTranscodeTemplate.
|
|
1073
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteJustInTimeTranscodeTemplateRequest`
|
|
1074
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteJustInTimeTranscodeTemplateResponse`
|
|
1075
|
+
def DeleteJustInTimeTranscodeTemplate(request)
|
|
1076
|
+
body = send_request('DeleteJustInTimeTranscodeTemplate', request.serialize)
|
|
1077
|
+
response = JSON.parse(body)
|
|
1078
|
+
if response['Response'].key?('Error') == false
|
|
1079
|
+
model = DeleteJustInTimeTranscodeTemplateResponse.new
|
|
1080
|
+
model.deserialize(response['Response'])
|
|
1081
|
+
model
|
|
1082
|
+
else
|
|
1083
|
+
code = response['Response']['Error']['Code']
|
|
1084
|
+
message = response['Response']['Error']['Message']
|
|
1085
|
+
reqid = response['Response']['RequestId']
|
|
1086
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1087
|
+
end
|
|
1088
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1089
|
+
raise e
|
|
1090
|
+
rescue StandardError => e
|
|
1091
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1046
1094
|
# * 删除媒体及其对应的视频处理文件(原始文件、如转码视频、雪碧图、截图、微信发布视频等);
|
|
1047
1095
|
# * 可单独删除指定 ID 的视频文件下的原文件、转码视频、微信发布视频等;
|
|
1048
1096
|
# * 注意:原文件删除后,无法发起转码、微信发布等任何视频处理操作。
|
|
@@ -1976,6 +2024,30 @@ module TencentCloud
|
|
|
1976
2024
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1977
2025
|
end
|
|
1978
2026
|
|
|
2027
|
+
# 获取即时转码模板列表。
|
|
2028
|
+
|
|
2029
|
+
# @param request: Request instance for DescribeJustInTimeTranscodeTemplates.
|
|
2030
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeJustInTimeTranscodeTemplatesRequest`
|
|
2031
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeJustInTimeTranscodeTemplatesResponse`
|
|
2032
|
+
def DescribeJustInTimeTranscodeTemplates(request)
|
|
2033
|
+
body = send_request('DescribeJustInTimeTranscodeTemplates', request.serialize)
|
|
2034
|
+
response = JSON.parse(body)
|
|
2035
|
+
if response['Response'].key?('Error') == false
|
|
2036
|
+
model = DescribeJustInTimeTranscodeTemplatesResponse.new
|
|
2037
|
+
model.deserialize(response['Response'])
|
|
2038
|
+
model
|
|
2039
|
+
else
|
|
2040
|
+
code = response['Response']['Error']['Code']
|
|
2041
|
+
message = response['Response']['Error']['Message']
|
|
2042
|
+
reqid = response['Response']['RequestId']
|
|
2043
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2044
|
+
end
|
|
2045
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2046
|
+
raise e
|
|
2047
|
+
rescue StandardError => e
|
|
2048
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2049
|
+
end
|
|
2050
|
+
|
|
1979
2051
|
# 该接口返回查询时间范围内每天 License 请求次数信息。
|
|
1980
2052
|
# 1. 可以查询最近365天内的 License 请求次数统计数据。
|
|
1981
2053
|
# 2. 查询时间跨度不超过90天。
|
|
@@ -3138,6 +3210,30 @@ module TencentCloud
|
|
|
3138
3210
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3139
3211
|
end
|
|
3140
3212
|
|
|
3213
|
+
# 修改即时转码模板。
|
|
3214
|
+
|
|
3215
|
+
# @param request: Request instance for ModifyJustInTimeTranscodeTemplate.
|
|
3216
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyJustInTimeTranscodeTemplateRequest`
|
|
3217
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyJustInTimeTranscodeTemplateResponse`
|
|
3218
|
+
def ModifyJustInTimeTranscodeTemplate(request)
|
|
3219
|
+
body = send_request('ModifyJustInTimeTranscodeTemplate', request.serialize)
|
|
3220
|
+
response = JSON.parse(body)
|
|
3221
|
+
if response['Response'].key?('Error') == false
|
|
3222
|
+
model = ModifyJustInTimeTranscodeTemplateResponse.new
|
|
3223
|
+
model.deserialize(response['Response'])
|
|
3224
|
+
model
|
|
3225
|
+
else
|
|
3226
|
+
code = response['Response']['Error']['Code']
|
|
3227
|
+
message = response['Response']['Error']['Message']
|
|
3228
|
+
reqid = response['Response']['RequestId']
|
|
3229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3230
|
+
end
|
|
3231
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3232
|
+
raise e
|
|
3233
|
+
rescue StandardError => e
|
|
3234
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3235
|
+
end
|
|
3236
|
+
|
|
3141
3237
|
# 修改媒体文件的属性,包括分类、名称、描述、标签、过期时间、打点信息、视频封面、字幕信息等。
|
|
3142
3238
|
|
|
3143
3239
|
# @param request: Request instance for ModifyMediaInfo.
|
data/lib/v20180717/models.rb
CHANGED
|
@@ -6396,6 +6396,60 @@ module TencentCloud
|
|
|
6396
6396
|
end
|
|
6397
6397
|
end
|
|
6398
6398
|
|
|
6399
|
+
# CreateJustInTimeTranscodeTemplate请求参数结构体
|
|
6400
|
+
class CreateJustInTimeTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
|
6401
|
+
# @param Name: 模板名字,长度限制64个字符。
|
|
6402
|
+
# @type Name: String
|
|
6403
|
+
# @param VideoConfigure: 视频参数配置。
|
|
6404
|
+
# @type VideoConfigure: :class:`Tencentcloud::Vod.v20180717.models.VideoConfigureInfo`
|
|
6405
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
|
6406
|
+
# @type SubAppId: Integer
|
|
6407
|
+
# @param WatermarkConfigure: 水印参数配置。
|
|
6408
|
+
# @type WatermarkConfigure: :class:`Tencentcloud::Vod.v20180717.models.WatermarkConfigureInfo`
|
|
6409
|
+
# @param Comment: 模板描述,长度限制256个字符。
|
|
6410
|
+
# @type Comment: String
|
|
6411
|
+
|
|
6412
|
+
attr_accessor :Name, :VideoConfigure, :SubAppId, :WatermarkConfigure, :Comment
|
|
6413
|
+
|
|
6414
|
+
def initialize(name=nil, videoconfigure=nil, subappid=nil, watermarkconfigure=nil, comment=nil)
|
|
6415
|
+
@Name = name
|
|
6416
|
+
@VideoConfigure = videoconfigure
|
|
6417
|
+
@SubAppId = subappid
|
|
6418
|
+
@WatermarkConfigure = watermarkconfigure
|
|
6419
|
+
@Comment = comment
|
|
6420
|
+
end
|
|
6421
|
+
|
|
6422
|
+
def deserialize(params)
|
|
6423
|
+
@Name = params['Name']
|
|
6424
|
+
unless params['VideoConfigure'].nil?
|
|
6425
|
+
@VideoConfigure = VideoConfigureInfo.new
|
|
6426
|
+
@VideoConfigure.deserialize(params['VideoConfigure'])
|
|
6427
|
+
end
|
|
6428
|
+
@SubAppId = params['SubAppId']
|
|
6429
|
+
unless params['WatermarkConfigure'].nil?
|
|
6430
|
+
@WatermarkConfigure = WatermarkConfigureInfo.new
|
|
6431
|
+
@WatermarkConfigure.deserialize(params['WatermarkConfigure'])
|
|
6432
|
+
end
|
|
6433
|
+
@Comment = params['Comment']
|
|
6434
|
+
end
|
|
6435
|
+
end
|
|
6436
|
+
|
|
6437
|
+
# CreateJustInTimeTranscodeTemplate返回参数结构体
|
|
6438
|
+
class CreateJustInTimeTranscodeTemplateResponse < TencentCloud::Common::AbstractModel
|
|
6439
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6440
|
+
# @type RequestId: String
|
|
6441
|
+
|
|
6442
|
+
attr_accessor :RequestId
|
|
6443
|
+
|
|
6444
|
+
def initialize(requestid=nil)
|
|
6445
|
+
@RequestId = requestid
|
|
6446
|
+
end
|
|
6447
|
+
|
|
6448
|
+
def deserialize(params)
|
|
6449
|
+
@RequestId = params['RequestId']
|
|
6450
|
+
end
|
|
6451
|
+
end
|
|
6452
|
+
|
|
6399
6453
|
# CreatePersonSample请求参数结构体
|
|
6400
6454
|
class CreatePersonSampleRequest < TencentCloud::Common::AbstractModel
|
|
6401
6455
|
# @param Name: 素材名称,长度限制:20 个字符。
|
|
@@ -7943,6 +7997,42 @@ module TencentCloud
|
|
|
7943
7997
|
end
|
|
7944
7998
|
end
|
|
7945
7999
|
|
|
8000
|
+
# DeleteJustInTimeTranscodeTemplate请求参数结构体
|
|
8001
|
+
class DeleteJustInTimeTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
|
8002
|
+
# @param Name: 模板名字。
|
|
8003
|
+
# @type Name: String
|
|
8004
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
|
8005
|
+
# @type SubAppId: Integer
|
|
8006
|
+
|
|
8007
|
+
attr_accessor :Name, :SubAppId
|
|
8008
|
+
|
|
8009
|
+
def initialize(name=nil, subappid=nil)
|
|
8010
|
+
@Name = name
|
|
8011
|
+
@SubAppId = subappid
|
|
8012
|
+
end
|
|
8013
|
+
|
|
8014
|
+
def deserialize(params)
|
|
8015
|
+
@Name = params['Name']
|
|
8016
|
+
@SubAppId = params['SubAppId']
|
|
8017
|
+
end
|
|
8018
|
+
end
|
|
8019
|
+
|
|
8020
|
+
# DeleteJustInTimeTranscodeTemplate返回参数结构体
|
|
8021
|
+
class DeleteJustInTimeTranscodeTemplateResponse < TencentCloud::Common::AbstractModel
|
|
8022
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8023
|
+
# @type RequestId: String
|
|
8024
|
+
|
|
8025
|
+
attr_accessor :RequestId
|
|
8026
|
+
|
|
8027
|
+
def initialize(requestid=nil)
|
|
8028
|
+
@RequestId = requestid
|
|
8029
|
+
end
|
|
8030
|
+
|
|
8031
|
+
def deserialize(params)
|
|
8032
|
+
@RequestId = params['RequestId']
|
|
8033
|
+
end
|
|
8034
|
+
end
|
|
8035
|
+
|
|
7946
8036
|
# DeleteMedia请求参数结构体
|
|
7947
8037
|
class DeleteMediaRequest < TencentCloud::Common::AbstractModel
|
|
7948
8038
|
# @param FileId: 媒体文件的唯一标识。
|
|
@@ -9936,6 +10026,71 @@ module TencentCloud
|
|
|
9936
10026
|
end
|
|
9937
10027
|
end
|
|
9938
10028
|
|
|
10029
|
+
# DescribeJustInTimeTranscodeTemplates请求参数结构体
|
|
10030
|
+
class DescribeJustInTimeTranscodeTemplatesRequest < TencentCloud::Common::AbstractModel
|
|
10031
|
+
# @param Names: 模板名过滤条件,数组长度限制:100。
|
|
10032
|
+
# @type Names: Array
|
|
10033
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
|
10034
|
+
# @type SubAppId: Integer
|
|
10035
|
+
# @param Type: 模板类型过滤条件,可选值:
|
|
10036
|
+
# <li>Preset:系统预置任务流模板;</li>
|
|
10037
|
+
# <li>Custom:用户自定义任务流模板。</li>
|
|
10038
|
+
# @type Type: String
|
|
10039
|
+
# @param Offset: 分页偏移量,默认值:0。
|
|
10040
|
+
# @type Offset: Integer
|
|
10041
|
+
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
|
10042
|
+
# @type Limit: Integer
|
|
10043
|
+
|
|
10044
|
+
attr_accessor :Names, :SubAppId, :Type, :Offset, :Limit
|
|
10045
|
+
|
|
10046
|
+
def initialize(names=nil, subappid=nil, type=nil, offset=nil, limit=nil)
|
|
10047
|
+
@Names = names
|
|
10048
|
+
@SubAppId = subappid
|
|
10049
|
+
@Type = type
|
|
10050
|
+
@Offset = offset
|
|
10051
|
+
@Limit = limit
|
|
10052
|
+
end
|
|
10053
|
+
|
|
10054
|
+
def deserialize(params)
|
|
10055
|
+
@Names = params['Names']
|
|
10056
|
+
@SubAppId = params['SubAppId']
|
|
10057
|
+
@Type = params['Type']
|
|
10058
|
+
@Offset = params['Offset']
|
|
10059
|
+
@Limit = params['Limit']
|
|
10060
|
+
end
|
|
10061
|
+
end
|
|
10062
|
+
|
|
10063
|
+
# DescribeJustInTimeTranscodeTemplates返回参数结构体
|
|
10064
|
+
class DescribeJustInTimeTranscodeTemplatesResponse < TencentCloud::Common::AbstractModel
|
|
10065
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
|
10066
|
+
# @type TotalCount: Integer
|
|
10067
|
+
# @param JustInTimeTranscodeTemplateSet: 模板详情列表。
|
|
10068
|
+
# @type JustInTimeTranscodeTemplateSet: Array
|
|
10069
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10070
|
+
# @type RequestId: String
|
|
10071
|
+
|
|
10072
|
+
attr_accessor :TotalCount, :JustInTimeTranscodeTemplateSet, :RequestId
|
|
10073
|
+
|
|
10074
|
+
def initialize(totalcount=nil, justintimetranscodetemplateset=nil, requestid=nil)
|
|
10075
|
+
@TotalCount = totalcount
|
|
10076
|
+
@JustInTimeTranscodeTemplateSet = justintimetranscodetemplateset
|
|
10077
|
+
@RequestId = requestid
|
|
10078
|
+
end
|
|
10079
|
+
|
|
10080
|
+
def deserialize(params)
|
|
10081
|
+
@TotalCount = params['TotalCount']
|
|
10082
|
+
unless params['JustInTimeTranscodeTemplateSet'].nil?
|
|
10083
|
+
@JustInTimeTranscodeTemplateSet = []
|
|
10084
|
+
params['JustInTimeTranscodeTemplateSet'].each do |i|
|
|
10085
|
+
justintimetranscodetemplate_tmp = JustInTimeTranscodeTemplate.new
|
|
10086
|
+
justintimetranscodetemplate_tmp.deserialize(i)
|
|
10087
|
+
@JustInTimeTranscodeTemplateSet << justintimetranscodetemplate_tmp
|
|
10088
|
+
end
|
|
10089
|
+
end
|
|
10090
|
+
@RequestId = params['RequestId']
|
|
10091
|
+
end
|
|
10092
|
+
end
|
|
10093
|
+
|
|
9939
10094
|
# DescribeLicenseUsageData请求参数结构体
|
|
9940
10095
|
class DescribeLicenseUsageDataRequest < TencentCloud::Common::AbstractModel
|
|
9941
10096
|
# @param StartTime: 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
|
@@ -14112,6 +14267,46 @@ module TencentCloud
|
|
|
14112
14267
|
end
|
|
14113
14268
|
end
|
|
14114
14269
|
|
|
14270
|
+
# 即时转码模板详情。
|
|
14271
|
+
class JustInTimeTranscodeTemplate < TencentCloud::Common::AbstractModel
|
|
14272
|
+
# @param Type: 模板类型。
|
|
14273
|
+
# @type Type: String
|
|
14274
|
+
# @param Name: 模板名。
|
|
14275
|
+
# @type Name: String
|
|
14276
|
+
# @param Comment: 模板描述。
|
|
14277
|
+
# @type Comment: String
|
|
14278
|
+
# @param VideoConfigure: 视频参数配置。
|
|
14279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14280
|
+
# @type VideoConfigure: :class:`Tencentcloud::Vod.v20180717.models.VideoConfigureInfo`
|
|
14281
|
+
# @param WatermarkConfigure: 水印参数配置。
|
|
14282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14283
|
+
# @type WatermarkConfigure: :class:`Tencentcloud::Vod.v20180717.models.WatermarkConfigureData`
|
|
14284
|
+
|
|
14285
|
+
attr_accessor :Type, :Name, :Comment, :VideoConfigure, :WatermarkConfigure
|
|
14286
|
+
|
|
14287
|
+
def initialize(type=nil, name=nil, comment=nil, videoconfigure=nil, watermarkconfigure=nil)
|
|
14288
|
+
@Type = type
|
|
14289
|
+
@Name = name
|
|
14290
|
+
@Comment = comment
|
|
14291
|
+
@VideoConfigure = videoconfigure
|
|
14292
|
+
@WatermarkConfigure = watermarkconfigure
|
|
14293
|
+
end
|
|
14294
|
+
|
|
14295
|
+
def deserialize(params)
|
|
14296
|
+
@Type = params['Type']
|
|
14297
|
+
@Name = params['Name']
|
|
14298
|
+
@Comment = params['Comment']
|
|
14299
|
+
unless params['VideoConfigure'].nil?
|
|
14300
|
+
@VideoConfigure = VideoConfigureInfo.new
|
|
14301
|
+
@VideoConfigure.deserialize(params['VideoConfigure'])
|
|
14302
|
+
end
|
|
14303
|
+
unless params['WatermarkConfigure'].nil?
|
|
14304
|
+
@WatermarkConfigure = WatermarkConfigureData.new
|
|
14305
|
+
@WatermarkConfigure.deserialize(params['WatermarkConfigure'])
|
|
14306
|
+
end
|
|
14307
|
+
end
|
|
14308
|
+
end
|
|
14309
|
+
|
|
14115
14310
|
# License 请求次数统计数据。
|
|
14116
14311
|
class LicenseUsageDataItem < TencentCloud::Common::AbstractModel
|
|
14117
14312
|
# @param Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
|
|
@@ -17425,6 +17620,60 @@ module TencentCloud
|
|
|
17425
17620
|
end
|
|
17426
17621
|
end
|
|
17427
17622
|
|
|
17623
|
+
# ModifyJustInTimeTranscodeTemplate请求参数结构体
|
|
17624
|
+
class ModifyJustInTimeTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
|
|
17625
|
+
# @param Name: 模板名字。
|
|
17626
|
+
# @type Name: String
|
|
17627
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
|
17628
|
+
# @type SubAppId: Integer
|
|
17629
|
+
# @param VideoConfigure: 视频参数配置。
|
|
17630
|
+
# @type VideoConfigure: :class:`Tencentcloud::Vod.v20180717.models.VideoConfigureInfoForUpdate`
|
|
17631
|
+
# @param WatermarkConfigure: 水印参数配置。
|
|
17632
|
+
# @type WatermarkConfigure: :class:`Tencentcloud::Vod.v20180717.models.WatermarkConfigureInfoForUpdate`
|
|
17633
|
+
# @param Comment: 模板描述,长度限制256个字符。
|
|
17634
|
+
# @type Comment: String
|
|
17635
|
+
|
|
17636
|
+
attr_accessor :Name, :SubAppId, :VideoConfigure, :WatermarkConfigure, :Comment
|
|
17637
|
+
|
|
17638
|
+
def initialize(name=nil, subappid=nil, videoconfigure=nil, watermarkconfigure=nil, comment=nil)
|
|
17639
|
+
@Name = name
|
|
17640
|
+
@SubAppId = subappid
|
|
17641
|
+
@VideoConfigure = videoconfigure
|
|
17642
|
+
@WatermarkConfigure = watermarkconfigure
|
|
17643
|
+
@Comment = comment
|
|
17644
|
+
end
|
|
17645
|
+
|
|
17646
|
+
def deserialize(params)
|
|
17647
|
+
@Name = params['Name']
|
|
17648
|
+
@SubAppId = params['SubAppId']
|
|
17649
|
+
unless params['VideoConfigure'].nil?
|
|
17650
|
+
@VideoConfigure = VideoConfigureInfoForUpdate.new
|
|
17651
|
+
@VideoConfigure.deserialize(params['VideoConfigure'])
|
|
17652
|
+
end
|
|
17653
|
+
unless params['WatermarkConfigure'].nil?
|
|
17654
|
+
@WatermarkConfigure = WatermarkConfigureInfoForUpdate.new
|
|
17655
|
+
@WatermarkConfigure.deserialize(params['WatermarkConfigure'])
|
|
17656
|
+
end
|
|
17657
|
+
@Comment = params['Comment']
|
|
17658
|
+
end
|
|
17659
|
+
end
|
|
17660
|
+
|
|
17661
|
+
# ModifyJustInTimeTranscodeTemplate返回参数结构体
|
|
17662
|
+
class ModifyJustInTimeTranscodeTemplateResponse < TencentCloud::Common::AbstractModel
|
|
17663
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
17664
|
+
# @type RequestId: String
|
|
17665
|
+
|
|
17666
|
+
attr_accessor :RequestId
|
|
17667
|
+
|
|
17668
|
+
def initialize(requestid=nil)
|
|
17669
|
+
@RequestId = requestid
|
|
17670
|
+
end
|
|
17671
|
+
|
|
17672
|
+
def deserialize(params)
|
|
17673
|
+
@RequestId = params['RequestId']
|
|
17674
|
+
end
|
|
17675
|
+
end
|
|
17676
|
+
|
|
17428
17677
|
# ModifyMediaInfo请求参数结构体
|
|
17429
17678
|
class ModifyMediaInfoRequest < TencentCloud::Common::AbstractModel
|
|
17430
17679
|
# @param FileId: 媒体文件唯一标识。
|
|
@@ -26299,6 +26548,96 @@ module TencentCloud
|
|
|
26299
26548
|
end
|
|
26300
26549
|
end
|
|
26301
26550
|
|
|
26551
|
+
# 即时转码视频模板配置。
|
|
26552
|
+
class VideoConfigureInfo < TencentCloud::Common::AbstractModel
|
|
26553
|
+
# @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 1920],单位:px。
|
|
26554
|
+
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
26555
|
+
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
26556
|
+
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
26557
|
+
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
26558
|
+
|
|
26559
|
+
# 默认值:0。
|
|
26560
|
+
# @type Width: Integer
|
|
26561
|
+
# @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 1920],单位:px。
|
|
26562
|
+
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
26563
|
+
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
26564
|
+
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
26565
|
+
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
26566
|
+
|
|
26567
|
+
# 默认值:0。
|
|
26568
|
+
# @type Height: Integer
|
|
26569
|
+
# @param ResolutionAdaptive: 分辨率自适应,可选值:
|
|
26570
|
+
# <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
|
26571
|
+
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
|
26572
|
+
|
|
26573
|
+
# 默认值:open。
|
|
26574
|
+
# @type ResolutionAdaptive: String
|
|
26575
|
+
# @param Bitrate: 视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。
|
|
26576
|
+
# 当取值为 0,表示视频码率和原始视频保持一致。
|
|
26577
|
+
# @type Bitrate: Integer
|
|
26578
|
+
|
|
26579
|
+
attr_accessor :Width, :Height, :ResolutionAdaptive, :Bitrate
|
|
26580
|
+
|
|
26581
|
+
def initialize(width=nil, height=nil, resolutionadaptive=nil, bitrate=nil)
|
|
26582
|
+
@Width = width
|
|
26583
|
+
@Height = height
|
|
26584
|
+
@ResolutionAdaptive = resolutionadaptive
|
|
26585
|
+
@Bitrate = bitrate
|
|
26586
|
+
end
|
|
26587
|
+
|
|
26588
|
+
def deserialize(params)
|
|
26589
|
+
@Width = params['Width']
|
|
26590
|
+
@Height = params['Height']
|
|
26591
|
+
@ResolutionAdaptive = params['ResolutionAdaptive']
|
|
26592
|
+
@Bitrate = params['Bitrate']
|
|
26593
|
+
end
|
|
26594
|
+
end
|
|
26595
|
+
|
|
26596
|
+
# 即时转码视频模板更新配置。
|
|
26597
|
+
class VideoConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
|
26598
|
+
# @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 1920],单位:px。
|
|
26599
|
+
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
26600
|
+
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
26601
|
+
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
26602
|
+
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
26603
|
+
|
|
26604
|
+
# 默认值:0。
|
|
26605
|
+
# @type Width: Integer
|
|
26606
|
+
# @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 1920],单位:px。
|
|
26607
|
+
# <li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
26608
|
+
# <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
26609
|
+
# <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
26610
|
+
# <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
26611
|
+
|
|
26612
|
+
# 默认值:0。
|
|
26613
|
+
# @type Height: Integer
|
|
26614
|
+
# @param ResolutionAdaptive: 分辨率自适应,可选值:
|
|
26615
|
+
# <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
|
26616
|
+
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
|
26617
|
+
|
|
26618
|
+
# 默认值:open。
|
|
26619
|
+
# @type ResolutionAdaptive: String
|
|
26620
|
+
# @param Bitrate: 视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。
|
|
26621
|
+
# 当取值为 0,表示视频码率和原始视频保持一致。
|
|
26622
|
+
# @type Bitrate: Integer
|
|
26623
|
+
|
|
26624
|
+
attr_accessor :Width, :Height, :ResolutionAdaptive, :Bitrate
|
|
26625
|
+
|
|
26626
|
+
def initialize(width=nil, height=nil, resolutionadaptive=nil, bitrate=nil)
|
|
26627
|
+
@Width = width
|
|
26628
|
+
@Height = height
|
|
26629
|
+
@ResolutionAdaptive = resolutionadaptive
|
|
26630
|
+
@Bitrate = bitrate
|
|
26631
|
+
end
|
|
26632
|
+
|
|
26633
|
+
def deserialize(params)
|
|
26634
|
+
@Width = params['Width']
|
|
26635
|
+
@Height = params['Height']
|
|
26636
|
+
@ResolutionAdaptive = params['ResolutionAdaptive']
|
|
26637
|
+
@Bitrate = params['Bitrate']
|
|
26638
|
+
end
|
|
26639
|
+
end
|
|
26640
|
+
|
|
26302
26641
|
# 视频降噪控制参数
|
|
26303
26642
|
class VideoDenoiseInfo < TencentCloud::Common::AbstractModel
|
|
26304
26643
|
# @param Switch: 视频降噪控制开关,可选值:
|
|
@@ -26656,6 +26995,126 @@ module TencentCloud
|
|
|
26656
26995
|
end
|
|
26657
26996
|
end
|
|
26658
26997
|
|
|
26998
|
+
# 即时转码水印模板配置。
|
|
26999
|
+
class WatermarkConfigureData < TencentCloud::Common::AbstractModel
|
|
27000
|
+
# @param Switch: 是否启用水印。可取值:
|
|
27001
|
+
# <li>ON:表示启用水印;</li>
|
|
27002
|
+
# <li>OFF:表示关闭水印。</li>
|
|
27003
|
+
# @type Switch: String
|
|
27004
|
+
# @param Url: 水印 Url。
|
|
27005
|
+
# @type Url: String
|
|
27006
|
+
# @param Width: 水印的宽度。
|
|
27007
|
+
# <li>字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
|
|
27008
|
+
# @type Width: String
|
|
27009
|
+
# @param Height: 水印的高度。
|
|
27010
|
+
# <li>字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
|
|
27011
|
+
# @type Height: String
|
|
27012
|
+
# @param XPos: 水印原点距离视频图像坐标原点的水平位置。字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;
|
|
27013
|
+
# @type XPos: String
|
|
27014
|
+
# @param YPos: 水印原点距离视频图像坐标原点的垂直位置。当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%。
|
|
27015
|
+
# @type YPos: String
|
|
27016
|
+
|
|
27017
|
+
attr_accessor :Switch, :Url, :Width, :Height, :XPos, :YPos
|
|
27018
|
+
|
|
27019
|
+
def initialize(switch=nil, url=nil, width=nil, height=nil, xpos=nil, ypos=nil)
|
|
27020
|
+
@Switch = switch
|
|
27021
|
+
@Url = url
|
|
27022
|
+
@Width = width
|
|
27023
|
+
@Height = height
|
|
27024
|
+
@XPos = xpos
|
|
27025
|
+
@YPos = ypos
|
|
27026
|
+
end
|
|
27027
|
+
|
|
27028
|
+
def deserialize(params)
|
|
27029
|
+
@Switch = params['Switch']
|
|
27030
|
+
@Url = params['Url']
|
|
27031
|
+
@Width = params['Width']
|
|
27032
|
+
@Height = params['Height']
|
|
27033
|
+
@XPos = params['XPos']
|
|
27034
|
+
@YPos = params['YPos']
|
|
27035
|
+
end
|
|
27036
|
+
end
|
|
27037
|
+
|
|
27038
|
+
# 即时转码水印模板配置。
|
|
27039
|
+
class WatermarkConfigureInfo < TencentCloud::Common::AbstractModel
|
|
27040
|
+
# @param Switch: 是否启用水印。可取值:
|
|
27041
|
+
# <li>ON:表示启用水印;</li>
|
|
27042
|
+
# <li>OFF:表示关闭水印。</li>
|
|
27043
|
+
# @type Switch: String
|
|
27044
|
+
# @param ImageContent: 水印图片 Base64 编码后的字符串。支持 jpeg、png 图片格式。
|
|
27045
|
+
# @type ImageContent: String
|
|
27046
|
+
# @param Width: 水印的宽度。
|
|
27047
|
+
# <li>字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
|
|
27048
|
+
# @type Width: String
|
|
27049
|
+
# @param Height: 水印的高度。
|
|
27050
|
+
# <li>字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
|
|
27051
|
+
# @type Height: String
|
|
27052
|
+
# @param XPos: 水印原点距离视频图像坐标原点的水平位置。字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;
|
|
27053
|
+
# @type XPos: String
|
|
27054
|
+
# @param YPos: 水印原点距离视频图像坐标原点的垂直位置。当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%。
|
|
27055
|
+
# @type YPos: String
|
|
27056
|
+
|
|
27057
|
+
attr_accessor :Switch, :ImageContent, :Width, :Height, :XPos, :YPos
|
|
27058
|
+
|
|
27059
|
+
def initialize(switch=nil, imagecontent=nil, width=nil, height=nil, xpos=nil, ypos=nil)
|
|
27060
|
+
@Switch = switch
|
|
27061
|
+
@ImageContent = imagecontent
|
|
27062
|
+
@Width = width
|
|
27063
|
+
@Height = height
|
|
27064
|
+
@XPos = xpos
|
|
27065
|
+
@YPos = ypos
|
|
27066
|
+
end
|
|
27067
|
+
|
|
27068
|
+
def deserialize(params)
|
|
27069
|
+
@Switch = params['Switch']
|
|
27070
|
+
@ImageContent = params['ImageContent']
|
|
27071
|
+
@Width = params['Width']
|
|
27072
|
+
@Height = params['Height']
|
|
27073
|
+
@XPos = params['XPos']
|
|
27074
|
+
@YPos = params['YPos']
|
|
27075
|
+
end
|
|
27076
|
+
end
|
|
27077
|
+
|
|
27078
|
+
# 即时转码水印模板更新配置。
|
|
27079
|
+
class WatermarkConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
|
|
27080
|
+
# @param Switch: 是否启用水印。可取值:
|
|
27081
|
+
# <li>ON:表示启用水印;</li>
|
|
27082
|
+
# <li>OFF:表示关闭水印。</li>
|
|
27083
|
+
# @type Switch: String
|
|
27084
|
+
# @param ImageContent: 水印图片 Base64 编码后的字符串。支持 jpeg、png 图片格式。
|
|
27085
|
+
# @type ImageContent: String
|
|
27086
|
+
# @param Width: 水印的宽度。
|
|
27087
|
+
# <li>字符串以 % 结尾,表示水印 Width 为视频宽度的百分比大小,如 10% 表示 Width 为视频宽度的 10%;</li>
|
|
27088
|
+
# @type Width: String
|
|
27089
|
+
# @param Height: 水印的高度。
|
|
27090
|
+
# <li>字符串以 % 结尾,表示水印 Height 为视频高度的百分比大小,如 10% 表示 Height 为视频高度的 10%;</li>
|
|
27091
|
+
# @type Height: String
|
|
27092
|
+
# @param XPos: 水印原点距离视频图像坐标原点的水平位置。字符串以 % 结尾,表示水印 XPos 为视频宽度指定百分比,如 10% 表示 XPos 为视频宽度的 10%;
|
|
27093
|
+
# @type XPos: String
|
|
27094
|
+
# @param YPos: 水印原点距离视频图像坐标原点的垂直位置。当字符串以 % 结尾,表示水印 YPos 为视频高度指定百分比,如 10% 表示 YPos 为视频高度的 10%。
|
|
27095
|
+
# @type YPos: String
|
|
27096
|
+
|
|
27097
|
+
attr_accessor :Switch, :ImageContent, :Width, :Height, :XPos, :YPos
|
|
27098
|
+
|
|
27099
|
+
def initialize(switch=nil, imagecontent=nil, width=nil, height=nil, xpos=nil, ypos=nil)
|
|
27100
|
+
@Switch = switch
|
|
27101
|
+
@ImageContent = imagecontent
|
|
27102
|
+
@Width = width
|
|
27103
|
+
@Height = height
|
|
27104
|
+
@XPos = xpos
|
|
27105
|
+
@YPos = ypos
|
|
27106
|
+
end
|
|
27107
|
+
|
|
27108
|
+
def deserialize(params)
|
|
27109
|
+
@Switch = params['Switch']
|
|
27110
|
+
@ImageContent = params['ImageContent']
|
|
27111
|
+
@Width = params['Width']
|
|
27112
|
+
@Height = params['Height']
|
|
27113
|
+
@XPos = params['XPos']
|
|
27114
|
+
@YPos = params['YPos']
|
|
27115
|
+
end
|
|
27116
|
+
end
|
|
27117
|
+
|
|
26659
27118
|
# 水印周期配置。
|
|
26660
27119
|
class WatermarkCycleConfigForUpdate < TencentCloud::Common::AbstractModel
|
|
26661
27120
|
# @param StartTime: 水印在视频里第一次出现的播放时间点,单位:秒。
|
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.705
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-11-
|
|
11
|
+
date: 2023-11-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|