tencentcloud-sdk-vod 3.0.656 → 3.0.658
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 +48 -0
- data/lib/v20180717/models.rb +134 -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: 5680af2e8e2a0a6ed0be0ffffc133443fe24b7c7
|
4
|
+
data.tar.gz: 49af95e566f36d159e8cf33af9df9b2a00d8634a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e3c2bce009d7bfdd793d665cf8db3539ce57c10cce2f0f83c9dfb7d89d236495a5ac304243fb94448a10b4fbfb408553b3257b3eae1451fec1950e53bba47b3
|
7
|
+
data.tar.gz: 85d124560ab9835a0faa4e05189b8276961624b95e2d03165d095f18572fc130e391efd73d3440af0c60a7a5f9258060486abd341e1d196ef41f969435301265
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.658
|
data/lib/v20180717/client.rb
CHANGED
@@ -312,6 +312,30 @@ module TencentCloud
|
|
312
312
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
313
313
|
end
|
314
314
|
|
315
|
+
# 该接口用于生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。
|
316
|
+
|
317
|
+
# @param request: Request instance for CreateDomainVerifyRecord.
|
318
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateDomainVerifyRecordRequest`
|
319
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateDomainVerifyRecordResponse`
|
320
|
+
def CreateDomainVerifyRecord(request)
|
321
|
+
body = send_request('CreateDomainVerifyRecord', request.serialize)
|
322
|
+
response = JSON.parse(body)
|
323
|
+
if response['Response'].key?('Error') == false
|
324
|
+
model = CreateDomainVerifyRecordResponse.new
|
325
|
+
model.deserialize(response['Response'])
|
326
|
+
model
|
327
|
+
else
|
328
|
+
code = response['Response']['Error']['Code']
|
329
|
+
message = response['Response']['Error']['Message']
|
330
|
+
reqid = response['Response']['RequestId']
|
331
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
332
|
+
end
|
333
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
334
|
+
raise e
|
335
|
+
rescue StandardError => e
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
337
|
+
end
|
338
|
+
|
315
339
|
# 创建音画质重生模板。
|
316
340
|
|
317
341
|
# @param request: Request instance for CreateEnhanceMediaTemplate.
|
@@ -4123,6 +4147,30 @@ module TencentCloud
|
|
4123
4147
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4124
4148
|
end
|
4125
4149
|
|
4150
|
+
# 该接口用于验证域名解析值。
|
4151
|
+
|
4152
|
+
# @param request: Request instance for VerifyDomainRecord.
|
4153
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::VerifyDomainRecordRequest`
|
4154
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::VerifyDomainRecordResponse`
|
4155
|
+
def VerifyDomainRecord(request)
|
4156
|
+
body = send_request('VerifyDomainRecord', request.serialize)
|
4157
|
+
response = JSON.parse(body)
|
4158
|
+
if response['Response'].key?('Error') == false
|
4159
|
+
model = VerifyDomainRecordResponse.new
|
4160
|
+
model.deserialize(response['Response'])
|
4161
|
+
model
|
4162
|
+
else
|
4163
|
+
code = response['Response']['Error']['Code']
|
4164
|
+
message = response['Response']['Error']['Message']
|
4165
|
+
reqid = response['Response']['RequestId']
|
4166
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4167
|
+
end
|
4168
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4169
|
+
raise e
|
4170
|
+
rescue StandardError => e
|
4171
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4172
|
+
end
|
4173
|
+
|
4126
4174
|
# 将点播视频发布到微信小程序,供微信小程序播放器播放。
|
4127
4175
|
# 本接口支持发布原始视频和转码后视频,暂不支持发布自适应码流。
|
4128
4176
|
|
data/lib/v20180717/models.rb
CHANGED
@@ -5952,6 +5952,47 @@ module TencentCloud
|
|
5952
5952
|
end
|
5953
5953
|
end
|
5954
5954
|
|
5955
|
+
# CreateDomainVerifyRecord请求参数结构体
|
5956
|
+
class CreateDomainVerifyRecordRequest < TencentCloud::Common::AbstractModel
|
5957
|
+
|
5958
|
+
|
5959
|
+
def initialize()
|
5960
|
+
end
|
5961
|
+
|
5962
|
+
def deserialize(params)
|
5963
|
+
end
|
5964
|
+
end
|
5965
|
+
|
5966
|
+
# CreateDomainVerifyRecord返回参数结构体
|
5967
|
+
class CreateDomainVerifyRecordResponse < TencentCloud::Common::AbstractModel
|
5968
|
+
# @param DNSVerifyInfo: DNS解析信息
|
5969
|
+
# @type DNSVerifyInfo: :class:`Tencentcloud::Vod.v20180717.models.DNSVerifyInfo`
|
5970
|
+
# @param FileVerifyInfo: 文件验证信息
|
5971
|
+
# @type FileVerifyInfo: :class:`Tencentcloud::Vod.v20180717.models.FileVerifyInfo`
|
5972
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5973
|
+
# @type RequestId: String
|
5974
|
+
|
5975
|
+
attr_accessor :DNSVerifyInfo, :FileVerifyInfo, :RequestId
|
5976
|
+
|
5977
|
+
def initialize(dnsverifyinfo=nil, fileverifyinfo=nil, requestid=nil)
|
5978
|
+
@DNSVerifyInfo = dnsverifyinfo
|
5979
|
+
@FileVerifyInfo = fileverifyinfo
|
5980
|
+
@RequestId = requestid
|
5981
|
+
end
|
5982
|
+
|
5983
|
+
def deserialize(params)
|
5984
|
+
unless params['DNSVerifyInfo'].nil?
|
5985
|
+
@DNSVerifyInfo = DNSVerifyInfo.new
|
5986
|
+
@DNSVerifyInfo.deserialize(params['DNSVerifyInfo'])
|
5987
|
+
end
|
5988
|
+
unless params['FileVerifyInfo'].nil?
|
5989
|
+
@FileVerifyInfo = FileVerifyInfo.new
|
5990
|
+
@FileVerifyInfo.deserialize(params['FileVerifyInfo'])
|
5991
|
+
end
|
5992
|
+
@RequestId = params['RequestId']
|
5993
|
+
end
|
5994
|
+
end
|
5995
|
+
|
5955
5996
|
# CreateEnhanceMediaTemplate请求参数结构体
|
5956
5997
|
class CreateEnhanceMediaTemplateRequest < TencentCloud::Common::AbstractModel
|
5957
5998
|
# @param Container: 输出文件封装格式,可选值:mp4、flv、hls。
|
@@ -7444,6 +7485,30 @@ module TencentCloud
|
|
7444
7485
|
end
|
7445
7486
|
end
|
7446
7487
|
|
7488
|
+
# DNS解析验证信息
|
7489
|
+
class DNSVerifyInfo < TencentCloud::Common::AbstractModel
|
7490
|
+
# @param SubDomain: 子解析。
|
7491
|
+
# @type SubDomain: String
|
7492
|
+
# @param Record: 解析值。
|
7493
|
+
# @type Record: String
|
7494
|
+
# @param RecordType: 解析类型。
|
7495
|
+
# @type RecordType: String
|
7496
|
+
|
7497
|
+
attr_accessor :SubDomain, :Record, :RecordType
|
7498
|
+
|
7499
|
+
def initialize(subdomain=nil, record=nil, recordtype=nil)
|
7500
|
+
@SubDomain = subdomain
|
7501
|
+
@Record = record
|
7502
|
+
@RecordType = recordtype
|
7503
|
+
end
|
7504
|
+
|
7505
|
+
def deserialize(params)
|
7506
|
+
@SubDomain = params['SubDomain']
|
7507
|
+
@Record = params['Record']
|
7508
|
+
@RecordType = params['RecordType']
|
7509
|
+
end
|
7510
|
+
end
|
7511
|
+
|
7447
7512
|
# 播放统计信息。
|
7448
7513
|
class DailyPlayStatInfo < TencentCloud::Common::AbstractModel
|
7449
7514
|
# @param Date: 播放媒体文件的日期,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
@@ -13125,6 +13190,31 @@ module TencentCloud
|
|
13125
13190
|
end
|
13126
13191
|
end
|
13127
13192
|
|
13193
|
+
# 文件验证信息
|
13194
|
+
class FileVerifyInfo < TencentCloud::Common::AbstractModel
|
13195
|
+
# @param FileVerifyUrl: 文件验证 URL 指引。
|
13196
|
+
# @type FileVerifyUrl: String
|
13197
|
+
# @param FileVerifyDomains: 文件校验域名列表。
|
13198
|
+
# @type FileVerifyDomains: Array
|
13199
|
+
# @param FileVerifyName: 文件校验文件名。
|
13200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13201
|
+
# @type FileVerifyName: String
|
13202
|
+
|
13203
|
+
attr_accessor :FileVerifyUrl, :FileVerifyDomains, :FileVerifyName
|
13204
|
+
|
13205
|
+
def initialize(fileverifyurl=nil, fileverifydomains=nil, fileverifyname=nil)
|
13206
|
+
@FileVerifyUrl = fileverifyurl
|
13207
|
+
@FileVerifyDomains = fileverifydomains
|
13208
|
+
@FileVerifyName = fileverifyname
|
13209
|
+
end
|
13210
|
+
|
13211
|
+
def deserialize(params)
|
13212
|
+
@FileVerifyUrl = params['FileVerifyUrl']
|
13213
|
+
@FileVerifyDomains = params['FileVerifyDomains']
|
13214
|
+
@FileVerifyName = params['FileVerifyName']
|
13215
|
+
end
|
13216
|
+
end
|
13217
|
+
|
13128
13218
|
# ForbidMediaDistribution请求参数结构体
|
13129
13219
|
class ForbidMediaDistributionRequest < TencentCloud::Common::AbstractModel
|
13130
13220
|
# @param FileIds: 媒体文件列表,每次最多可提交 20 条。
|
@@ -26036,6 +26126,50 @@ module TencentCloud
|
|
26036
26126
|
end
|
26037
26127
|
end
|
26038
26128
|
|
26129
|
+
# VerifyDomainRecord请求参数结构体
|
26130
|
+
class VerifyDomainRecordRequest < TencentCloud::Common::AbstractModel
|
26131
|
+
# @param Domain: 需要接入点播的加速域名。
|
26132
|
+
# @type Domain: String
|
26133
|
+
# @param VerifyType: 验证方式:
|
26134
|
+
# <li>dns:DNS 解析验证;</li>
|
26135
|
+
# <li>fIle:文件验证。</li>
|
26136
|
+
|
26137
|
+
# 默认值:dns。
|
26138
|
+
# @type VerifyType: String
|
26139
|
+
|
26140
|
+
attr_accessor :Domain, :VerifyType
|
26141
|
+
|
26142
|
+
def initialize(domain=nil, verifytype=nil)
|
26143
|
+
@Domain = domain
|
26144
|
+
@VerifyType = verifytype
|
26145
|
+
end
|
26146
|
+
|
26147
|
+
def deserialize(params)
|
26148
|
+
@Domain = params['Domain']
|
26149
|
+
@VerifyType = params['VerifyType']
|
26150
|
+
end
|
26151
|
+
end
|
26152
|
+
|
26153
|
+
# VerifyDomainRecord返回参数结构体
|
26154
|
+
class VerifyDomainRecordResponse < TencentCloud::Common::AbstractModel
|
26155
|
+
# @param Result: 是否验证成功。
|
26156
|
+
# @type Result: Boolean
|
26157
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
26158
|
+
# @type RequestId: String
|
26159
|
+
|
26160
|
+
attr_accessor :Result, :RequestId
|
26161
|
+
|
26162
|
+
def initialize(result=nil, requestid=nil)
|
26163
|
+
@Result = result
|
26164
|
+
@RequestId = requestid
|
26165
|
+
end
|
26166
|
+
|
26167
|
+
def deserialize(params)
|
26168
|
+
@Result = params['Result']
|
26169
|
+
@RequestId = params['RequestId']
|
26170
|
+
end
|
26171
|
+
end
|
26172
|
+
|
26039
26173
|
# 视频降噪控制参数
|
26040
26174
|
class VideoDenoiseInfo < TencentCloud::Common::AbstractModel
|
26041
26175
|
# @param Switch: 视频降噪控制开关,可选值:
|
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.658
|
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-09-
|
11
|
+
date: 2023-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|