tencentcloud-sdk-vod 3.0.713 → 3.0.715
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 +24 -0
- data/lib/v20180717/models.rb +48 -6
- 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: 4241650b593a527316434041c523d0e96c4c89b7
|
4
|
+
data.tar.gz: afa85b27849157891b082a65f15d509c1e0efa8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cbd7b877f3ca5b3a92dc5634b751b62cc68ed50952ee5ef3087ae277798c2b6432ed2bcec445ad92375ee3105cf356420cc9c8f70211a1ca9e78838eeabedff
|
7
|
+
data.tar.gz: 904b6c0d7293410608de67ef728239b5d93c1416b2210d91cc79e55895be99ab8f7d47dce6b11c56ee9cd0bf9f115df27e763e4245ae1160600e084d52e0c927
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.715
|
data/lib/v20180717/client.rb
CHANGED
@@ -4173,6 +4173,30 @@ module TencentCloud
|
|
4173
4173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4174
4174
|
end
|
4175
4175
|
|
4176
|
+
# 设置点播域名 HTTPS 证书。
|
4177
|
+
|
4178
|
+
# @param request: Request instance for SetVodDomainCertificate.
|
4179
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::SetVodDomainCertificateRequest`
|
4180
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::SetVodDomainCertificateResponse`
|
4181
|
+
def SetVodDomainCertificate(request)
|
4182
|
+
body = send_request('SetVodDomainCertificate', request.serialize)
|
4183
|
+
response = JSON.parse(body)
|
4184
|
+
if response['Response'].key?('Error') == false
|
4185
|
+
model = SetVodDomainCertificateResponse.new
|
4186
|
+
model.deserialize(response['Response'])
|
4187
|
+
model
|
4188
|
+
else
|
4189
|
+
code = response['Response']['Error']['Code']
|
4190
|
+
message = response['Response']['Error']['Message']
|
4191
|
+
reqid = response['Response']['RequestId']
|
4192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4193
|
+
end
|
4194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4195
|
+
raise e
|
4196
|
+
rescue StandardError => e
|
4197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4198
|
+
end
|
4199
|
+
|
4176
4200
|
# 对 HLS 视频进行按时间段裁剪,实时生成一个新的视频(HLS 格式),开发者可以将其立即分享出去,或者长久保存起来。
|
4177
4201
|
|
4178
4202
|
# 腾讯云点播支持两种剪辑模式:
|
data/lib/v20180717/models.rb
CHANGED
@@ -11985,15 +11985,19 @@ module TencentCloud
|
|
11985
11985
|
# @param CertExpireTime: 证书过期时间。
|
11986
11986
|
# <li>格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。</li>
|
11987
11987
|
# @type CertExpireTime: String
|
11988
|
+
# @param CloudCertId: 腾讯云 SSL 产品中的证书 ID。
|
11989
|
+
# @type CloudCertId: String
|
11988
11990
|
|
11989
|
-
attr_accessor :CertExpireTime
|
11991
|
+
attr_accessor :CertExpireTime, :CloudCertId
|
11990
11992
|
|
11991
|
-
def initialize(certexpiretime=nil)
|
11993
|
+
def initialize(certexpiretime=nil, cloudcertid=nil)
|
11992
11994
|
@CertExpireTime = certexpiretime
|
11995
|
+
@CloudCertId = cloudcertid
|
11993
11996
|
end
|
11994
11997
|
|
11995
11998
|
def deserialize(params)
|
11996
11999
|
@CertExpireTime = params['CertExpireTime']
|
12000
|
+
@CloudCertId = params['CloudCertId']
|
11997
12001
|
end
|
11998
12002
|
end
|
11999
12003
|
|
@@ -12446,6 +12450,15 @@ module TencentCloud
|
|
12446
12450
|
|
12447
12451
|
# 视频流配置信息
|
12448
12452
|
class EditMediaVideoStream < TencentCloud::Common::AbstractModel
|
12453
|
+
# @param Codec: 视频流的编码格式,可选值:
|
12454
|
+
# <li>libx264:H.264 编码;</li>
|
12455
|
+
# <li>libx265:H.265 编码;</li>
|
12456
|
+
# <li>av1:AOMedia Video 1 编码;</li>
|
12457
|
+
# <li>H.266:H.266 编码。</li>
|
12458
|
+
# @type Codec: String
|
12459
|
+
# @param Bitrate: 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
|
12460
|
+
# 当取值为 0 或不填时,表示自动选择最佳视频码率。
|
12461
|
+
# @type Bitrate: Integer
|
12449
12462
|
# @param ResolutionAdaptive: 分辨率自适应,可选值:
|
12450
12463
|
# <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
12451
12464
|
# <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
@@ -12470,9 +12483,11 @@ module TencentCloud
|
|
12470
12483
|
# 默认值为 0。
|
12471
12484
|
# @type Fps: Integer
|
12472
12485
|
|
12473
|
-
attr_accessor :ResolutionAdaptive, :Width, :Height, :Fps
|
12486
|
+
attr_accessor :Codec, :Bitrate, :ResolutionAdaptive, :Width, :Height, :Fps
|
12474
12487
|
|
12475
|
-
def initialize(resolutionadaptive=nil, width=nil, height=nil, fps=nil)
|
12488
|
+
def initialize(codec=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, fps=nil)
|
12489
|
+
@Codec = codec
|
12490
|
+
@Bitrate = bitrate
|
12476
12491
|
@ResolutionAdaptive = resolutionadaptive
|
12477
12492
|
@Width = width
|
12478
12493
|
@Height = height
|
@@ -12480,6 +12495,8 @@ module TencentCloud
|
|
12480
12495
|
end
|
12481
12496
|
|
12482
12497
|
def deserialize(params)
|
12498
|
+
@Codec = params['Codec']
|
12499
|
+
@Bitrate = params['Bitrate']
|
12483
12500
|
@ResolutionAdaptive = params['ResolutionAdaptive']
|
12484
12501
|
@Width = params['Width']
|
12485
12502
|
@Height = params['Height']
|
@@ -14906,8 +14923,6 @@ module TencentCloud
|
|
14906
14923
|
# <li>Image: 图片文件</li>
|
14907
14924
|
# @type Category: String
|
14908
14925
|
# @param Status: 文件状态:Normal:正常,Forbidden:封禁。
|
14909
|
-
|
14910
|
-
# *注意:此字段暂不支持。
|
14911
14926
|
# @type Status: String
|
14912
14927
|
# @param StorageClass: 媒体文件的存储类别:
|
14913
14928
|
# <li> STANDARD:标准存储。</li>
|
@@ -24349,6 +24364,33 @@ module TencentCloud
|
|
24349
24364
|
end
|
24350
24365
|
end
|
24351
24366
|
|
24367
|
+
# SetVodDomainCertificate请求参数结构体
|
24368
|
+
class SetVodDomainCertificateRequest < TencentCloud::Common::AbstractModel
|
24369
|
+
|
24370
|
+
|
24371
|
+
def initialize()
|
24372
|
+
end
|
24373
|
+
|
24374
|
+
def deserialize(params)
|
24375
|
+
end
|
24376
|
+
end
|
24377
|
+
|
24378
|
+
# SetVodDomainCertificate返回参数结构体
|
24379
|
+
class SetVodDomainCertificateResponse < TencentCloud::Common::AbstractModel
|
24380
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
24381
|
+
# @type RequestId: String
|
24382
|
+
|
24383
|
+
attr_accessor :RequestId
|
24384
|
+
|
24385
|
+
def initialize(requestid=nil)
|
24386
|
+
@RequestId = requestid
|
24387
|
+
end
|
24388
|
+
|
24389
|
+
def deserialize(params)
|
24390
|
+
@RequestId = params['RequestId']
|
24391
|
+
end
|
24392
|
+
end
|
24393
|
+
|
24352
24394
|
# 细节增强控制
|
24353
24395
|
class SharpEnhanceInfo < TencentCloud::Common::AbstractModel
|
24354
24396
|
# @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.715
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|