tencentcloud-sdk-vod 3.0.771 → 3.0.772
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 +52 -0
- data/lib/v20180717/models.rb +107 -7
- 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: acfce7f7bd87a7a85acdb30637ce1cec1fa749de
|
|
4
|
+
data.tar.gz: 60db03875eb42abbd2b1556883218743f3629fa4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97e1d1581af7159fc43fda226622c63c39fe9f21f98638040296c7f50594031b37304894f0dda5147b2999d2b1be53743ed3eb1330aa63e7bc766e304991047d
|
|
7
|
+
data.tar.gz: 7f829d536ee2626f113f99610ff879399ce20c750c93f782077cd3dcc26fb0cb21faac15200fc72e1a0c1e70172760d1cf5119369a9b6c1c89d0338f9fdf86cd
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.772
|
data/lib/v20180717/client.rb
CHANGED
|
@@ -1922,6 +1922,32 @@ module TencentCloud
|
|
|
1922
1922
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1923
1923
|
end
|
|
1924
1924
|
|
|
1925
|
+
# 该接口用于查询默认分发配置。
|
|
1926
|
+
# * 分发域名和分发协议,即媒体文件分发 URL 中的域名和协议。媒体文件按默认分发配置进行分发。
|
|
1927
|
+
# * 播放密钥,用于计算播放器签名。
|
|
1928
|
+
|
|
1929
|
+
# @param request: Request instance for DescribeDefaultDistributionConfig.
|
|
1930
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeDefaultDistributionConfigRequest`
|
|
1931
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeDefaultDistributionConfigResponse`
|
|
1932
|
+
def DescribeDefaultDistributionConfig(request)
|
|
1933
|
+
body = send_request('DescribeDefaultDistributionConfig', request.serialize)
|
|
1934
|
+
response = JSON.parse(body)
|
|
1935
|
+
if response['Response'].key?('Error') == false
|
|
1936
|
+
model = DescribeDefaultDistributionConfigResponse.new
|
|
1937
|
+
model.deserialize(response['Response'])
|
|
1938
|
+
model
|
|
1939
|
+
else
|
|
1940
|
+
code = response['Response']['Error']['Code']
|
|
1941
|
+
message = response['Response']['Error']['Message']
|
|
1942
|
+
reqid = response['Response']['RequestId']
|
|
1943
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1944
|
+
end
|
|
1945
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1946
|
+
raise e
|
|
1947
|
+
rescue StandardError => e
|
|
1948
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1949
|
+
end
|
|
1950
|
+
|
|
1925
1951
|
# 本 API 是 [旧版本加密](https://cloud.tencent.com/document/product/266/9638) 中 [DescribeDrmDataKey 的 API 2017 接口](https://cloud.tencent.com/document/product/266/9643) 的升级版本。
|
|
1926
1952
|
|
|
1927
1953
|
# 如果您是新接入点播加密的用户,不要使用该 API,请参考 [视频加密综述](https://cloud.tencent.com/document/product/266/45552) 使用推荐的加密方式。
|
|
@@ -3261,6 +3287,32 @@ module TencentCloud
|
|
|
3261
3287
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3262
3288
|
end
|
|
3263
3289
|
|
|
3290
|
+
# 该接口用于修改默认分发配置。
|
|
3291
|
+
# * 分发域名和分发协议,即媒体文件分发 URL 中的域名和协议。媒体文件按默认分发配置进行分发。
|
|
3292
|
+
# * 播放密钥,用于计算播放器签名。
|
|
3293
|
+
|
|
3294
|
+
# @param request: Request instance for ModifyDefaultDistributionConfig.
|
|
3295
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyDefaultDistributionConfigRequest`
|
|
3296
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyDefaultDistributionConfigResponse`
|
|
3297
|
+
def ModifyDefaultDistributionConfig(request)
|
|
3298
|
+
body = send_request('ModifyDefaultDistributionConfig', request.serialize)
|
|
3299
|
+
response = JSON.parse(body)
|
|
3300
|
+
if response['Response'].key?('Error') == false
|
|
3301
|
+
model = ModifyDefaultDistributionConfigResponse.new
|
|
3302
|
+
model.deserialize(response['Response'])
|
|
3303
|
+
model
|
|
3304
|
+
else
|
|
3305
|
+
code = response['Response']['Error']['Code']
|
|
3306
|
+
message = response['Response']['Error']['Message']
|
|
3307
|
+
reqid = response['Response']['RequestId']
|
|
3308
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3309
|
+
end
|
|
3310
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3311
|
+
raise e
|
|
3312
|
+
rescue StandardError => e
|
|
3313
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3314
|
+
end
|
|
3315
|
+
|
|
3264
3316
|
# 该接口用于设置默认的存储地域。上传文件时如果没有指定地域,将上传到默认地域。
|
|
3265
3317
|
|
|
3266
3318
|
# @param request: Request instance for ModifyDefaultStorageRegion.
|
data/lib/v20180717/models.rb
CHANGED
|
@@ -1983,8 +1983,8 @@ module TencentCloud
|
|
|
1983
1983
|
|
|
1984
1984
|
attr_accessor :Name, :SegmentSet, :RecognitionSegmentSet
|
|
1985
1985
|
extend Gem::Deprecate
|
|
1986
|
-
deprecate :SegmentSet, :none, 2024,
|
|
1987
|
-
deprecate :SegmentSet=, :none, 2024,
|
|
1986
|
+
deprecate :SegmentSet, :none, 2024, 3
|
|
1987
|
+
deprecate :SegmentSet=, :none, 2024, 3
|
|
1988
1988
|
|
|
1989
1989
|
def initialize(name=nil, segmentset=nil, recognitionsegmentset=nil)
|
|
1990
1990
|
@Name = name
|
|
@@ -6161,12 +6161,17 @@ module TencentCloud
|
|
|
6161
6161
|
|
|
6162
6162
|
# CreateDomainVerifyRecord请求参数结构体
|
|
6163
6163
|
class CreateDomainVerifyRecordRequest < TencentCloud::Common::AbstractModel
|
|
6164
|
+
# @param Domain: 需要接入点播的加速域名。
|
|
6165
|
+
# @type Domain: String
|
|
6164
6166
|
|
|
6167
|
+
attr_accessor :Domain
|
|
6165
6168
|
|
|
6166
|
-
def initialize()
|
|
6169
|
+
def initialize(domain=nil)
|
|
6170
|
+
@Domain = domain
|
|
6167
6171
|
end
|
|
6168
6172
|
|
|
6169
6173
|
def deserialize(params)
|
|
6174
|
+
@Domain = params['Domain']
|
|
6170
6175
|
end
|
|
6171
6176
|
end
|
|
6172
6177
|
|
|
@@ -9778,6 +9783,57 @@ module TencentCloud
|
|
|
9778
9783
|
end
|
|
9779
9784
|
end
|
|
9780
9785
|
|
|
9786
|
+
# DescribeDefaultDistributionConfig请求参数结构体
|
|
9787
|
+
class DescribeDefaultDistributionConfigRequest < TencentCloud::Common::AbstractModel
|
|
9788
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
9789
|
+
# @type SubAppId: Integer
|
|
9790
|
+
|
|
9791
|
+
attr_accessor :SubAppId
|
|
9792
|
+
|
|
9793
|
+
def initialize(subappid=nil)
|
|
9794
|
+
@SubAppId = subappid
|
|
9795
|
+
end
|
|
9796
|
+
|
|
9797
|
+
def deserialize(params)
|
|
9798
|
+
@SubAppId = params['SubAppId']
|
|
9799
|
+
end
|
|
9800
|
+
end
|
|
9801
|
+
|
|
9802
|
+
# DescribeDefaultDistributionConfig返回参数结构体
|
|
9803
|
+
class DescribeDefaultDistributionConfigResponse < TencentCloud::Common::AbstractModel
|
|
9804
|
+
# @param DomainName: 分发配置的域名(已废弃)。
|
|
9805
|
+
# @type DomainName: String
|
|
9806
|
+
# @param Domain: 分发配置的域名。
|
|
9807
|
+
# @type Domain: String
|
|
9808
|
+
# @param Scheme: 分发配置的协议,为 HTTP 或 HTTPS。
|
|
9809
|
+
# @type Scheme: String
|
|
9810
|
+
# @param PlayKey: 播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。
|
|
9811
|
+
# @type PlayKey: String
|
|
9812
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9813
|
+
# @type RequestId: String
|
|
9814
|
+
|
|
9815
|
+
attr_accessor :DomainName, :Domain, :Scheme, :PlayKey, :RequestId
|
|
9816
|
+
extend Gem::Deprecate
|
|
9817
|
+
deprecate :DomainName, :none, 2024, 3
|
|
9818
|
+
deprecate :DomainName=, :none, 2024, 3
|
|
9819
|
+
|
|
9820
|
+
def initialize(domainname=nil, domain=nil, scheme=nil, playkey=nil, requestid=nil)
|
|
9821
|
+
@DomainName = domainname
|
|
9822
|
+
@Domain = domain
|
|
9823
|
+
@Scheme = scheme
|
|
9824
|
+
@PlayKey = playkey
|
|
9825
|
+
@RequestId = requestid
|
|
9826
|
+
end
|
|
9827
|
+
|
|
9828
|
+
def deserialize(params)
|
|
9829
|
+
@DomainName = params['DomainName']
|
|
9830
|
+
@Domain = params['Domain']
|
|
9831
|
+
@Scheme = params['Scheme']
|
|
9832
|
+
@PlayKey = params['PlayKey']
|
|
9833
|
+
@RequestId = params['RequestId']
|
|
9834
|
+
end
|
|
9835
|
+
end
|
|
9836
|
+
|
|
9781
9837
|
# DescribeDrmDataKey请求参数结构体
|
|
9782
9838
|
class DescribeDrmDataKeyRequest < TencentCloud::Common::AbstractModel
|
|
9783
9839
|
# @param EdkList: 加密后的数据密钥列表,最大支持10个。
|
|
@@ -17290,8 +17346,8 @@ module TencentCloud
|
|
|
17290
17346
|
|
|
17291
17347
|
attr_accessor :Duration, :Transitions, :MediaTransitions
|
|
17292
17348
|
extend Gem::Deprecate
|
|
17293
|
-
deprecate :Transitions, :none, 2024,
|
|
17294
|
-
deprecate :Transitions=, :none, 2024,
|
|
17349
|
+
deprecate :Transitions, :none, 2024, 3
|
|
17350
|
+
deprecate :Transitions=, :none, 2024, 3
|
|
17295
17351
|
|
|
17296
17352
|
def initialize(duration=nil, transitions=nil, mediatransitions=nil)
|
|
17297
17353
|
@Duration = duration
|
|
@@ -17839,6 +17895,50 @@ module TencentCloud
|
|
|
17839
17895
|
end
|
|
17840
17896
|
end
|
|
17841
17897
|
|
|
17898
|
+
# ModifyDefaultDistributionConfig请求参数结构体
|
|
17899
|
+
class ModifyDefaultDistributionConfigRequest < TencentCloud::Common::AbstractModel
|
|
17900
|
+
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
17901
|
+
# @type SubAppId: Integer
|
|
17902
|
+
# @param Domain: 分发域名,取值为点播域名列表里的域名。不填或者填空,表示不修改域名。
|
|
17903
|
+
# @type Domain: String
|
|
17904
|
+
# @param Scheme: 分发协议,取值为 HTTP 或者 HTTPS。
|
|
17905
|
+
# @type Scheme: String
|
|
17906
|
+
# @param PlayKey: 播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。
|
|
17907
|
+
# @type PlayKey: String
|
|
17908
|
+
|
|
17909
|
+
attr_accessor :SubAppId, :Domain, :Scheme, :PlayKey
|
|
17910
|
+
|
|
17911
|
+
def initialize(subappid=nil, domain=nil, scheme=nil, playkey=nil)
|
|
17912
|
+
@SubAppId = subappid
|
|
17913
|
+
@Domain = domain
|
|
17914
|
+
@Scheme = scheme
|
|
17915
|
+
@PlayKey = playkey
|
|
17916
|
+
end
|
|
17917
|
+
|
|
17918
|
+
def deserialize(params)
|
|
17919
|
+
@SubAppId = params['SubAppId']
|
|
17920
|
+
@Domain = params['Domain']
|
|
17921
|
+
@Scheme = params['Scheme']
|
|
17922
|
+
@PlayKey = params['PlayKey']
|
|
17923
|
+
end
|
|
17924
|
+
end
|
|
17925
|
+
|
|
17926
|
+
# ModifyDefaultDistributionConfig返回参数结构体
|
|
17927
|
+
class ModifyDefaultDistributionConfigResponse < TencentCloud::Common::AbstractModel
|
|
17928
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
17929
|
+
# @type RequestId: String
|
|
17930
|
+
|
|
17931
|
+
attr_accessor :RequestId
|
|
17932
|
+
|
|
17933
|
+
def initialize(requestid=nil)
|
|
17934
|
+
@RequestId = requestid
|
|
17935
|
+
end
|
|
17936
|
+
|
|
17937
|
+
def deserialize(params)
|
|
17938
|
+
@RequestId = params['RequestId']
|
|
17939
|
+
end
|
|
17940
|
+
end
|
|
17941
|
+
|
|
17842
17942
|
# ModifyDefaultStorageRegion请求参数结构体
|
|
17843
17943
|
class ModifyDefaultStorageRegionRequest < TencentCloud::Common::AbstractModel
|
|
17844
17944
|
# @param StorageRegion: 默认的存储地域,必须是已经开通的地域(通过 DescribeStorageRegions 接口查询)。
|
|
@@ -21158,8 +21258,8 @@ module TencentCloud
|
|
|
21158
21258
|
|
|
21159
21259
|
attr_accessor :ProductType, :StartTime, :ExpireTime, :ProductInstanceId, :LastConsumeDate, :BindStatus, :ProductInstanceResourceSet, :ResourceSet, :ProductInstanceStatus, :RefundStatus, :RenewStatus
|
|
21160
21260
|
extend Gem::Deprecate
|
|
21161
|
-
deprecate :ProductInstanceResourceSet, :none, 2024,
|
|
21162
|
-
deprecate :ProductInstanceResourceSet=, :none, 2024,
|
|
21261
|
+
deprecate :ProductInstanceResourceSet, :none, 2024, 3
|
|
21262
|
+
deprecate :ProductInstanceResourceSet=, :none, 2024, 3
|
|
21163
21263
|
|
|
21164
21264
|
def initialize(producttype=nil, starttime=nil, expiretime=nil, productinstanceid=nil, lastconsumedate=nil, bindstatus=nil, productinstanceresourceset=nil, resourceset=nil, productinstancestatus=nil, refundstatus=nil, renewstatus=nil)
|
|
21165
21265
|
@ProductType = producttype
|
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.772
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-02-
|
|
11
|
+
date: 2024-02-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|