tencentcloud-sdk-vod 1.0.272 → 1.0.275
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 +36 -0
- data/lib/v20180717/models.rb +68 -9
- 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: 9e0cfda6182a72f26d2d87cae1b0c795e9dcd1c5
|
4
|
+
data.tar.gz: 452c0309d907ff38b67becba79a121c84d3843d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbb280126980c054f637fd0ad04be2d1b9fedc24c75fd8c845be19fe9718c6ce860ec0cf59a90478949d0b10bbb83366f8eedffa4bee9c9c331f36635a920491
|
7
|
+
data.tar.gz: 0e103f890b9c4e5fd31d0de7dddf2e8311246a43439681397985e14c50d6a675713ce36a2bb2decd224d1380af9cc7e50a2efe665da043a7b1fc9dfcce3b1dcd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.275
|
data/lib/v20180717/client.rb
CHANGED
@@ -2404,6 +2404,42 @@ module TencentCloud
|
|
2404
2404
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2405
2405
|
end
|
2406
2406
|
|
2407
|
+
# 修改媒体文件的存储类型。
|
2408
|
+
# 当媒体文件的存储类型为标准存储时,可以修改为以下类型:
|
2409
|
+
# <li>低频存储</li>
|
2410
|
+
# <li>归档存储</li>
|
2411
|
+
# <li>深度归档存储</li>
|
2412
|
+
# 当媒体文件的当前存储类型为低频存储时,可以修改为以下类型:
|
2413
|
+
# <li>标准存储</li>
|
2414
|
+
# <li>归档存储</li>
|
2415
|
+
# <li>深度归档存储</li>
|
2416
|
+
# 当媒体文件的当前存储类型为归档存储时,可以修改为以下类型:
|
2417
|
+
# <li>标准存储</li>
|
2418
|
+
# 当媒体文件的当前存储类型为深度归档存储时,可以修改为以下类型:
|
2419
|
+
# <li>标准存储</li>
|
2420
|
+
|
2421
|
+
# @param request: Request instance for ModifyMediaStorageClass.
|
2422
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyMediaStorageClassRequest`
|
2423
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyMediaStorageClassResponse`
|
2424
|
+
def ModifyMediaStorageClass(request)
|
2425
|
+
body = send_request('ModifyMediaStorageClass', request.serialize)
|
2426
|
+
response = JSON.parse(body)
|
2427
|
+
if response['Response'].key?('Error') == false
|
2428
|
+
model = ModifyMediaStorageClassResponse.new
|
2429
|
+
model.deserialize(response['Response'])
|
2430
|
+
model
|
2431
|
+
else
|
2432
|
+
code = response['Response']['Error']['Code']
|
2433
|
+
message = response['Response']['Error']['Message']
|
2434
|
+
reqid = response['Response']['RequestId']
|
2435
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2436
|
+
end
|
2437
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2438
|
+
raise e
|
2439
|
+
rescue StandardError => e
|
2440
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2441
|
+
end
|
2442
|
+
|
2407
2443
|
# 该接口用于根据素材 ID,修改素材样本信息,包括名称、描述的修改,以及五官、标签的添加、删除、重置操作。五官删除操作需保证至少剩余 1 张图片,否则,请使用重置操作。
|
2408
2444
|
|
2409
2445
|
# @param request: Request instance for ModifyPersonSample.
|
data/lib/v20180717/models.rb
CHANGED
@@ -370,14 +370,18 @@ module TencentCloud
|
|
370
370
|
# <li>0:否,</li>
|
371
371
|
# <li>1:是。</li>
|
372
372
|
# @type RemoveVideo: Integer
|
373
|
+
# @param TEHDConfig: 极速高清转码参数。
|
374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
375
|
+
# @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfig`
|
373
376
|
|
374
|
-
attr_accessor :Video, :Audio, :RemoveAudio, :RemoveVideo
|
377
|
+
attr_accessor :Video, :Audio, :RemoveAudio, :RemoveVideo, :TEHDConfig
|
375
378
|
|
376
|
-
def initialize(video=nil, audio=nil, removeaudio=nil, removevideo=nil)
|
379
|
+
def initialize(video=nil, audio=nil, removeaudio=nil, removevideo=nil, tehdconfig=nil)
|
377
380
|
@Video = video
|
378
381
|
@Audio = audio
|
379
382
|
@RemoveAudio = removeaudio
|
380
383
|
@RemoveVideo = removevideo
|
384
|
+
@TEHDConfig = tehdconfig
|
381
385
|
end
|
382
386
|
|
383
387
|
def deserialize(params)
|
@@ -391,6 +395,10 @@ module TencentCloud
|
|
391
395
|
end
|
392
396
|
@RemoveAudio = params['RemoveAudio']
|
393
397
|
@RemoveVideo = params['RemoveVideo']
|
398
|
+
unless params['TEHDConfig'].nil?
|
399
|
+
@TEHDConfig = TEHDConfig.new
|
400
|
+
@TEHDConfig.deserialize(params['TEHDConfig'])
|
401
|
+
end
|
394
402
|
end
|
395
403
|
end
|
396
404
|
|
@@ -13843,6 +13851,61 @@ module TencentCloud
|
|
13843
13851
|
end
|
13844
13852
|
end
|
13845
13853
|
|
13854
|
+
# ModifyMediaStorageClass请求参数结构体
|
13855
|
+
class ModifyMediaStorageClassRequest < TencentCloud::Common::AbstractModel
|
13856
|
+
# @param FileIds: 媒体文件唯一标识列表。
|
13857
|
+
# @type FileIds: Array
|
13858
|
+
# @param StorageClass: 目标存储类型。可选值有:
|
13859
|
+
# <li> STANDARD:标准存储。</li>
|
13860
|
+
# <li> STANDARD_IA:低频存储。</li>
|
13861
|
+
# <li> ARCHIVE:归档存储。</li>
|
13862
|
+
# <li> DEEP_ARCHIVE:深度归档存储。</li>
|
13863
|
+
# @type StorageClass: String
|
13864
|
+
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
13865
|
+
# @type SubAppId: Integer
|
13866
|
+
# @param RestoreTier: 取回模式。当文件的存储类型从归档或深度归档转换为标准存储时,需要指定取回(也称为解冻)操作的模式,具体说明请参考[数据取回及取回模式](https://cloud.tencent.com/document/product/266/56196#retake)。
|
13867
|
+
# 当媒体文件目前的存储类型为归档存储时,有以下取值:
|
13868
|
+
# <li>Expedited:极速模式。</li>
|
13869
|
+
# <li>Standard:标准模式。</li>
|
13870
|
+
# <li>Bulk:批量模式。</li>
|
13871
|
+
# 当媒体文件目前的存储类型为深度归档存储时,有以下取值:
|
13872
|
+
# <li>Standard:标准模式。</li>
|
13873
|
+
# <li>Bulk:批量模式。</li>
|
13874
|
+
# @type RestoreTier: String
|
13875
|
+
|
13876
|
+
attr_accessor :FileIds, :StorageClass, :SubAppId, :RestoreTier
|
13877
|
+
|
13878
|
+
def initialize(fileids=nil, storageclass=nil, subappid=nil, restoretier=nil)
|
13879
|
+
@FileIds = fileids
|
13880
|
+
@StorageClass = storageclass
|
13881
|
+
@SubAppId = subappid
|
13882
|
+
@RestoreTier = restoretier
|
13883
|
+
end
|
13884
|
+
|
13885
|
+
def deserialize(params)
|
13886
|
+
@FileIds = params['FileIds']
|
13887
|
+
@StorageClass = params['StorageClass']
|
13888
|
+
@SubAppId = params['SubAppId']
|
13889
|
+
@RestoreTier = params['RestoreTier']
|
13890
|
+
end
|
13891
|
+
end
|
13892
|
+
|
13893
|
+
# ModifyMediaStorageClass返回参数结构体
|
13894
|
+
class ModifyMediaStorageClassResponse < TencentCloud::Common::AbstractModel
|
13895
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13896
|
+
# @type RequestId: String
|
13897
|
+
|
13898
|
+
attr_accessor :RequestId
|
13899
|
+
|
13900
|
+
def initialize(requestid=nil)
|
13901
|
+
@RequestId = requestid
|
13902
|
+
end
|
13903
|
+
|
13904
|
+
def deserialize(params)
|
13905
|
+
@RequestId = params['RequestId']
|
13906
|
+
end
|
13907
|
+
end
|
13908
|
+
|
13846
13909
|
# ModifyPersonSample请求参数结构体
|
13847
13910
|
class ModifyPersonSampleRequest < TencentCloud::Common::AbstractModel
|
13848
13911
|
# @param PersonId: 素材 ID。
|
@@ -16959,7 +17022,7 @@ module TencentCloud
|
|
16959
17022
|
end
|
16960
17023
|
end
|
16961
17024
|
|
16962
|
-
#
|
17025
|
+
# 简单加密加解密密钥对。
|
16963
17026
|
class SimpleAesEdkPair < TencentCloud::Common::AbstractModel
|
16964
17027
|
# @param Edk: 加密后的数据密钥。
|
16965
17028
|
# @type Edk: String
|
@@ -17778,9 +17841,7 @@ module TencentCloud
|
|
17778
17841
|
|
17779
17842
|
# 极速高清参数配置。
|
17780
17843
|
class TEHDConfig < TencentCloud::Common::AbstractModel
|
17781
|
-
# @param Type:
|
17782
|
-
# <li>TEHD-100:极速高清-100。</li>
|
17783
|
-
# 不填代表不启用极速高清。
|
17844
|
+
# @param Type: 极速高清类型,可选值:<li>TEHD-100 表示极速高清-100;</li> <li>OFF 表示关闭极速高清。</li>不填表示 OFF。
|
17784
17845
|
# @type Type: String
|
17785
17846
|
# @param MaxVideoBitrate: 视频码率上限,当 Type 指定了极速高清类型时有效。
|
17786
17847
|
# 不填或填0表示不设视频码率上限。
|
@@ -17801,9 +17862,7 @@ module TencentCloud
|
|
17801
17862
|
|
17802
17863
|
# 极速高清参数配置。
|
17803
17864
|
class TEHDConfigForUpdate < TencentCloud::Common::AbstractModel
|
17804
|
-
# @param Type:
|
17805
|
-
# <li>TEHD-100:极速高清-100。</li>
|
17806
|
-
# 不填代表不修改。
|
17865
|
+
# @param Type: 极速高清类型,可选值:<li>TEHD-100 表示极速高清-100;</li> <li>OFF 表示关闭极速高清。</li>不填表示不修改。
|
17807
17866
|
# @type Type: String
|
17808
17867
|
# @param MaxVideoBitrate: 视频码率上限,不填代表不修改。
|
17809
17868
|
# @type MaxVideoBitrate: Integer
|
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: 1.0.
|
4
|
+
version: 1.0.275
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|