tencentcloud-sdk-vod 3.0.1030 → 3.0.1031
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/models.rb +16 -12
- data/lib/v20240718/client.rb +152 -0
- data/lib/v20240718/models.rb +754 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed1812a21c586bfd59785a2add21bad6bdcdc58d
|
4
|
+
data.tar.gz: 21d5ea60ac9ba1c22f10d4262bc742dd6ffdb4c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1b01a2a321b86c2f64854c433935caacd484741ec10a04c0792d67e9a6a6ffc9bb656122801cd313b0bfd21860ddb8296a5a26a90719e67534925c4aeb498be
|
7
|
+
data.tar.gz: e49ec871b76ce2b03a9ddbf81e073022ecd37362d55e20b1a6ed726e1074b47fc2b68be8b406564c87cbf9fc1ef44df59493234533930faea0cc3e326ce07885
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1031
|
data/lib/v20180717/models.rb
CHANGED
@@ -2144,8 +2144,8 @@ module TencentCloud
|
|
2144
2144
|
|
2145
2145
|
attr_accessor :Name, :SegmentSet, :RecognitionSegmentSet
|
2146
2146
|
extend Gem::Deprecate
|
2147
|
-
deprecate :SegmentSet, :none, 2025,
|
2148
|
-
deprecate :SegmentSet=, :none, 2025,
|
2147
|
+
deprecate :SegmentSet, :none, 2025, 4
|
2148
|
+
deprecate :SegmentSet=, :none, 2025, 4
|
2149
2149
|
|
2150
2150
|
def initialize(name=nil, segmentset=nil, recognitionsegmentset=nil)
|
2151
2151
|
@Name = name
|
@@ -8051,17 +8051,21 @@ module TencentCloud
|
|
8051
8051
|
# @type Name: String
|
8052
8052
|
# @param Description: 应用简介,长度限制: 300个字符。不填则应用简介默认为空。
|
8053
8053
|
# @type Description: String
|
8054
|
+
# @param Type: 应用类型, 取值有:<li>AllInOne:一体化;</li><li>Professional:专业版。</li>默认值为 AllInOne。
|
8055
|
+
# @type Type: String
|
8054
8056
|
|
8055
|
-
attr_accessor :Name, :Description
|
8057
|
+
attr_accessor :Name, :Description, :Type
|
8056
8058
|
|
8057
|
-
def initialize(name=nil, description=nil)
|
8059
|
+
def initialize(name=nil, description=nil, type=nil)
|
8058
8060
|
@Name = name
|
8059
8061
|
@Description = description
|
8062
|
+
@Type = type
|
8060
8063
|
end
|
8061
8064
|
|
8062
8065
|
def deserialize(params)
|
8063
8066
|
@Name = params['Name']
|
8064
8067
|
@Description = params['Description']
|
8068
|
+
@Type = params['Type']
|
8065
8069
|
end
|
8066
8070
|
end
|
8067
8071
|
|
@@ -10590,8 +10594,8 @@ module TencentCloud
|
|
10590
10594
|
|
10591
10595
|
attr_accessor :DomainName, :Domain, :Scheme, :PlayKey, :RequestId
|
10592
10596
|
extend Gem::Deprecate
|
10593
|
-
deprecate :DomainName, :none, 2025,
|
10594
|
-
deprecate :DomainName=, :none, 2025,
|
10597
|
+
deprecate :DomainName, :none, 2025, 4
|
10598
|
+
deprecate :DomainName=, :none, 2025, 4
|
10595
10599
|
|
10596
10600
|
def initialize(domainname=nil, domain=nil, scheme=nil, playkey=nil, requestid=nil)
|
10597
10601
|
@DomainName = domainname
|
@@ -18372,8 +18376,8 @@ module TencentCloud
|
|
18372
18376
|
|
18373
18377
|
attr_accessor :Duration, :Transitions, :MediaTransitions
|
18374
18378
|
extend Gem::Deprecate
|
18375
|
-
deprecate :Transitions, :none, 2025,
|
18376
|
-
deprecate :Transitions=, :none, 2025,
|
18379
|
+
deprecate :Transitions, :none, 2025, 4
|
18380
|
+
deprecate :Transitions=, :none, 2025, 4
|
18377
18381
|
|
18378
18382
|
def initialize(duration=nil, transitions=nil, mediatransitions=nil)
|
18379
18383
|
@Duration = duration
|
@@ -22290,8 +22294,8 @@ module TencentCloud
|
|
22290
22294
|
|
22291
22295
|
attr_accessor :ProductType, :StartTime, :ExpireTime, :ProductInstanceId, :LastConsumeDate, :BindStatus, :ProductInstanceResourceSet, :ResourceSet, :ProductInstanceStatus, :RefundStatus, :RenewStatus
|
22292
22296
|
extend Gem::Deprecate
|
22293
|
-
deprecate :ProductInstanceResourceSet, :none, 2025,
|
22294
|
-
deprecate :ProductInstanceResourceSet=, :none, 2025,
|
22297
|
+
deprecate :ProductInstanceResourceSet, :none, 2025, 4
|
22298
|
+
deprecate :ProductInstanceResourceSet=, :none, 2025, 4
|
22295
22299
|
|
22296
22300
|
def initialize(producttype=nil, starttime=nil, expiretime=nil, productinstanceid=nil, lastconsumedate=nil, bindstatus=nil, productinstanceresourceset=nil, resourceset=nil, productinstancestatus=nil, refundstatus=nil, renewstatus=nil)
|
22297
22301
|
@ProductType = producttype
|
@@ -27104,8 +27108,8 @@ module TencentCloud
|
|
27104
27108
|
|
27105
27109
|
attr_accessor :Width, :Height, :CycleConfig
|
27106
27110
|
extend Gem::Deprecate
|
27107
|
-
deprecate :CycleConfig, :none, 2025,
|
27108
|
-
deprecate :CycleConfig=, :none, 2025,
|
27111
|
+
deprecate :CycleConfig, :none, 2025, 4
|
27112
|
+
deprecate :CycleConfig=, :none, 2025, 4
|
27109
27113
|
|
27110
27114
|
def initialize(width=nil, height=nil, cycleconfig=nil)
|
27111
27115
|
@Width = width
|
data/lib/v20240718/client.rb
CHANGED
@@ -29,6 +29,59 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 创建增量迁移策略。
|
33
|
+
|
34
|
+
# @param request: Request instance for CreateIncrementalMigrationStrategy.
|
35
|
+
# @type request: :class:`Tencentcloud::vod::V20240718::CreateIncrementalMigrationStrategyRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::vod::V20240718::CreateIncrementalMigrationStrategyResponse`
|
37
|
+
def CreateIncrementalMigrationStrategy(request)
|
38
|
+
body = send_request('CreateIncrementalMigrationStrategy', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CreateIncrementalMigrationStrategyResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 该接口用于为专业版应用创建存储桶。
|
57
|
+
|
58
|
+
# 注:
|
59
|
+
# - 本接口仅用于专业版应用;
|
60
|
+
# - 客户创建点播专业版应用时,系统默认为客户开通了部分地域的存储,用户如果需要开通其它地域的存储,可以通过该接口进行开通;
|
61
|
+
# - 通过 [DescribeStorageRegions](https://cloud.tencent.com/document/product/266/72480) 接口可以查询到所有存储地域及已经开通存储桶的地域。
|
62
|
+
|
63
|
+
# @param request: Request instance for CreateStorage.
|
64
|
+
# @type request: :class:`Tencentcloud::vod::V20240718::CreateStorageRequest`
|
65
|
+
# @rtype: :class:`Tencentcloud::vod::V20240718::CreateStorageResponse`
|
66
|
+
def CreateStorage(request)
|
67
|
+
body = send_request('CreateStorage', request.serialize)
|
68
|
+
response = JSON.parse(body)
|
69
|
+
if response['Response'].key?('Error') == false
|
70
|
+
model = CreateStorageResponse.new
|
71
|
+
model.deserialize(response['Response'])
|
72
|
+
model
|
73
|
+
else
|
74
|
+
code = response['Response']['Error']['Code']
|
75
|
+
message = response['Response']['Error']['Message']
|
76
|
+
reqid = response['Response']['RequestId']
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
78
|
+
end
|
79
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
80
|
+
raise e
|
81
|
+
rescue StandardError => e
|
82
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
83
|
+
end
|
84
|
+
|
32
85
|
# 用于按指定策略,生成专业版应用的临时访问凭证,比如生成用于客户端上传的临时凭证。
|
33
86
|
|
34
87
|
# @param request: Request instance for CreateStorageCredentials.
|
@@ -53,6 +106,105 @@ module TencentCloud
|
|
53
106
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
107
|
end
|
55
108
|
|
109
|
+
# 删除增量迁移策略。
|
110
|
+
|
111
|
+
# @param request: Request instance for DeleteIncrementalMigrationStrategy.
|
112
|
+
# @type request: :class:`Tencentcloud::vod::V20240718::DeleteIncrementalMigrationStrategyRequest`
|
113
|
+
# @rtype: :class:`Tencentcloud::vod::V20240718::DeleteIncrementalMigrationStrategyResponse`
|
114
|
+
def DeleteIncrementalMigrationStrategy(request)
|
115
|
+
body = send_request('DeleteIncrementalMigrationStrategy', request.serialize)
|
116
|
+
response = JSON.parse(body)
|
117
|
+
if response['Response'].key?('Error') == false
|
118
|
+
model = DeleteIncrementalMigrationStrategyResponse.new
|
119
|
+
model.deserialize(response['Response'])
|
120
|
+
model
|
121
|
+
else
|
122
|
+
code = response['Response']['Error']['Code']
|
123
|
+
message = response['Response']['Error']['Message']
|
124
|
+
reqid = response['Response']['RequestId']
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
126
|
+
end
|
127
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
128
|
+
raise e
|
129
|
+
rescue StandardError => e
|
130
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
131
|
+
end
|
132
|
+
|
133
|
+
# 查询增量迁移策略信息。
|
134
|
+
|
135
|
+
# @param request: Request instance for DescribeIncrementalMigrationStrategyInfos.
|
136
|
+
# @type request: :class:`Tencentcloud::vod::V20240718::DescribeIncrementalMigrationStrategyInfosRequest`
|
137
|
+
# @rtype: :class:`Tencentcloud::vod::V20240718::DescribeIncrementalMigrationStrategyInfosResponse`
|
138
|
+
def DescribeIncrementalMigrationStrategyInfos(request)
|
139
|
+
body = send_request('DescribeIncrementalMigrationStrategyInfos', request.serialize)
|
140
|
+
response = JSON.parse(body)
|
141
|
+
if response['Response'].key?('Error') == false
|
142
|
+
model = DescribeIncrementalMigrationStrategyInfosResponse.new
|
143
|
+
model.deserialize(response['Response'])
|
144
|
+
model
|
145
|
+
else
|
146
|
+
code = response['Response']['Error']['Code']
|
147
|
+
message = response['Response']['Error']['Message']
|
148
|
+
reqid = response['Response']['RequestId']
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
150
|
+
end
|
151
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
152
|
+
raise e
|
153
|
+
rescue StandardError => e
|
154
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
155
|
+
end
|
156
|
+
|
157
|
+
# 该接口用于查询专业版应用中的存储桶信息,同时支持分页查询。
|
158
|
+
|
159
|
+
# 注:
|
160
|
+
# - 本接口仅用于专业版应用。
|
161
|
+
|
162
|
+
# @param request: Request instance for DescribeStorage.
|
163
|
+
# @type request: :class:`Tencentcloud::vod::V20240718::DescribeStorageRequest`
|
164
|
+
# @rtype: :class:`Tencentcloud::vod::V20240718::DescribeStorageResponse`
|
165
|
+
def DescribeStorage(request)
|
166
|
+
body = send_request('DescribeStorage', request.serialize)
|
167
|
+
response = JSON.parse(body)
|
168
|
+
if response['Response'].key?('Error') == false
|
169
|
+
model = DescribeStorageResponse.new
|
170
|
+
model.deserialize(response['Response'])
|
171
|
+
model
|
172
|
+
else
|
173
|
+
code = response['Response']['Error']['Code']
|
174
|
+
message = response['Response']['Error']['Message']
|
175
|
+
reqid = response['Response']['RequestId']
|
176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
177
|
+
end
|
178
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
179
|
+
raise e
|
180
|
+
rescue StandardError => e
|
181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
182
|
+
end
|
183
|
+
|
184
|
+
# 创建增量迁移策略。
|
185
|
+
|
186
|
+
# @param request: Request instance for ModifyIncrementalMigrationStrategy.
|
187
|
+
# @type request: :class:`Tencentcloud::vod::V20240718::ModifyIncrementalMigrationStrategyRequest`
|
188
|
+
# @rtype: :class:`Tencentcloud::vod::V20240718::ModifyIncrementalMigrationStrategyResponse`
|
189
|
+
def ModifyIncrementalMigrationStrategy(request)
|
190
|
+
body = send_request('ModifyIncrementalMigrationStrategy', request.serialize)
|
191
|
+
response = JSON.parse(body)
|
192
|
+
if response['Response'].key?('Error') == false
|
193
|
+
model = ModifyIncrementalMigrationStrategyResponse.new
|
194
|
+
model.deserialize(response['Response'])
|
195
|
+
model
|
196
|
+
else
|
197
|
+
code = response['Response']['Error']['Code']
|
198
|
+
message = response['Response']['Error']['Message']
|
199
|
+
reqid = response['Response']['RequestId']
|
200
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
201
|
+
end
|
202
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
203
|
+
raise e
|
204
|
+
rescue StandardError => e
|
205
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
206
|
+
end
|
207
|
+
|
56
208
|
|
57
209
|
end
|
58
210
|
end
|
data/lib/v20240718/models.rb
CHANGED
@@ -17,6 +17,62 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Vod
|
19
19
|
module V20240718
|
20
|
+
# CreateIncrementalMigrationStrategy请求参数结构体
|
21
|
+
class CreateIncrementalMigrationStrategyRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param SubAppId: <b>点播[专业版](/document/product/266/115396)[应用](/document/product/266/14574) ID。</b>
|
23
|
+
# @type SubAppId: Integer
|
24
|
+
# @param BucketId: 策略生效的存储桶 ID。
|
25
|
+
# @type BucketId: String
|
26
|
+
# @param StrategyName: 增量迁移策略名称,名称长度不超过100个字符,允许的字符为:`中文、英文、0-9、_、-`。
|
27
|
+
# @type StrategyName: String
|
28
|
+
# @param OriginType: 源站类型。取值有:
|
29
|
+
# <li>HTTP:HTTP 源。</li>
|
30
|
+
# @type OriginType: String
|
31
|
+
# @param HttpOriginConfig: 增量迁移 HTTP 回源源站配置,当 OriginType 取值 `HTTP` 时必填。
|
32
|
+
# @type HttpOriginConfig: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationHttpOriginConfig`
|
33
|
+
|
34
|
+
attr_accessor :SubAppId, :BucketId, :StrategyName, :OriginType, :HttpOriginConfig
|
35
|
+
|
36
|
+
def initialize(subappid=nil, bucketid=nil, strategyname=nil, origintype=nil, httporiginconfig=nil)
|
37
|
+
@SubAppId = subappid
|
38
|
+
@BucketId = bucketid
|
39
|
+
@StrategyName = strategyname
|
40
|
+
@OriginType = origintype
|
41
|
+
@HttpOriginConfig = httporiginconfig
|
42
|
+
end
|
43
|
+
|
44
|
+
def deserialize(params)
|
45
|
+
@SubAppId = params['SubAppId']
|
46
|
+
@BucketId = params['BucketId']
|
47
|
+
@StrategyName = params['StrategyName']
|
48
|
+
@OriginType = params['OriginType']
|
49
|
+
unless params['HttpOriginConfig'].nil?
|
50
|
+
@HttpOriginConfig = IncrementalMigrationHttpOriginConfig.new
|
51
|
+
@HttpOriginConfig.deserialize(params['HttpOriginConfig'])
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# CreateIncrementalMigrationStrategy返回参数结构体
|
57
|
+
class CreateIncrementalMigrationStrategyResponse < TencentCloud::Common::AbstractModel
|
58
|
+
# @param StrategyId: 增量迁移策略 ID。
|
59
|
+
# @type StrategyId: String
|
60
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
61
|
+
# @type RequestId: String
|
62
|
+
|
63
|
+
attr_accessor :StrategyId, :RequestId
|
64
|
+
|
65
|
+
def initialize(strategyid=nil, requestid=nil)
|
66
|
+
@StrategyId = strategyid
|
67
|
+
@RequestId = requestid
|
68
|
+
end
|
69
|
+
|
70
|
+
def deserialize(params)
|
71
|
+
@StrategyId = params['StrategyId']
|
72
|
+
@RequestId = params['RequestId']
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
20
76
|
# CreateStorageCredentials请求参数结构体
|
21
77
|
class CreateStorageCredentialsRequest < TencentCloud::Common::AbstractModel
|
22
78
|
# @param SubAppId: <b>点播专业版[应用](/document/product/266/14574) ID。</b>
|
@@ -69,6 +125,54 @@ module TencentCloud
|
|
69
125
|
end
|
70
126
|
end
|
71
127
|
|
128
|
+
# CreateStorage请求参数结构体
|
129
|
+
class CreateStorageRequest < TencentCloud::Common::AbstractModel
|
130
|
+
# @param SubAppId: <b>点播专业版[应用](/document/product/266/14574) ID。</b>
|
131
|
+
# @type SubAppId: Integer
|
132
|
+
# @param StorageRegion: 存储地域,必须是系统支持地域。
|
133
|
+
# 通过 [DescribeStorageRegions](https://cloud.tencent.com/document/product/266/72480) 接口可以查询到所有存储地域及已经开通存储桶的地域。
|
134
|
+
# @type StorageRegion: String
|
135
|
+
# @param StorageName: 存储名称。
|
136
|
+
# <li>仅支持小写英文字母、数字、中划线 “-” 及其组合;</li>
|
137
|
+
# <li>存储命名不能以 “-” 开头或结尾;</li>
|
138
|
+
# <li>存储命名最大长度为 64 字符。</li>
|
139
|
+
# @type StorageName: String
|
140
|
+
|
141
|
+
attr_accessor :SubAppId, :StorageRegion, :StorageName
|
142
|
+
|
143
|
+
def initialize(subappid=nil, storageregion=nil, storagename=nil)
|
144
|
+
@SubAppId = subappid
|
145
|
+
@StorageRegion = storageregion
|
146
|
+
@StorageName = storagename
|
147
|
+
end
|
148
|
+
|
149
|
+
def deserialize(params)
|
150
|
+
@SubAppId = params['SubAppId']
|
151
|
+
@StorageRegion = params['StorageRegion']
|
152
|
+
@StorageName = params['StorageName']
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
# CreateStorage返回参数结构体
|
157
|
+
class CreateStorageResponse < TencentCloud::Common::AbstractModel
|
158
|
+
# @param BucketId: 存储桶 ID。
|
159
|
+
# @type BucketId: String
|
160
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
161
|
+
# @type RequestId: String
|
162
|
+
|
163
|
+
attr_accessor :BucketId, :RequestId
|
164
|
+
|
165
|
+
def initialize(bucketid=nil, requestid=nil)
|
166
|
+
@BucketId = bucketid
|
167
|
+
@RequestId = requestid
|
168
|
+
end
|
169
|
+
|
170
|
+
def deserialize(params)
|
171
|
+
@BucketId = params['BucketId']
|
172
|
+
@RequestId = params['RequestId']
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
72
176
|
# 临时访问凭证。
|
73
177
|
class Credentials < TencentCloud::Common::AbstractModel
|
74
178
|
# @param AccessKeyId: 访问凭证 ID。
|
@@ -97,6 +201,656 @@ module TencentCloud
|
|
97
201
|
end
|
98
202
|
end
|
99
203
|
|
204
|
+
# DeleteIncrementalMigrationStrategy请求参数结构体
|
205
|
+
class DeleteIncrementalMigrationStrategyRequest < TencentCloud::Common::AbstractModel
|
206
|
+
# @param SubAppId: <b>点播[专业版](/document/product/266/115396)[应用](/document/product/266/14574) ID。</b>
|
207
|
+
# @type SubAppId: Integer
|
208
|
+
# @param BucketId: 策略生效的存储桶 ID。
|
209
|
+
# @type BucketId: String
|
210
|
+
# @param StrategyId: 增量迁移策略 ID。
|
211
|
+
# @type StrategyId: String
|
212
|
+
|
213
|
+
attr_accessor :SubAppId, :BucketId, :StrategyId
|
214
|
+
|
215
|
+
def initialize(subappid=nil, bucketid=nil, strategyid=nil)
|
216
|
+
@SubAppId = subappid
|
217
|
+
@BucketId = bucketid
|
218
|
+
@StrategyId = strategyid
|
219
|
+
end
|
220
|
+
|
221
|
+
def deserialize(params)
|
222
|
+
@SubAppId = params['SubAppId']
|
223
|
+
@BucketId = params['BucketId']
|
224
|
+
@StrategyId = params['StrategyId']
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
# DeleteIncrementalMigrationStrategy返回参数结构体
|
229
|
+
class DeleteIncrementalMigrationStrategyResponse < TencentCloud::Common::AbstractModel
|
230
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
231
|
+
# @type RequestId: String
|
232
|
+
|
233
|
+
attr_accessor :RequestId
|
234
|
+
|
235
|
+
def initialize(requestid=nil)
|
236
|
+
@RequestId = requestid
|
237
|
+
end
|
238
|
+
|
239
|
+
def deserialize(params)
|
240
|
+
@RequestId = params['RequestId']
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# DescribeIncrementalMigrationStrategyInfos请求参数结构体
|
245
|
+
class DescribeIncrementalMigrationStrategyInfosRequest < TencentCloud::Common::AbstractModel
|
246
|
+
# @param SubAppId: <b>点播[专业版](/document/product/266/115396)[应用](/document/product/266/14574) ID。</b>
|
247
|
+
# @type SubAppId: Integer
|
248
|
+
# @param Filters: 过滤条件,Filters.Values 的上限为 `20`;若 Filters 长度为 `0` 则查询时无过滤条件限制。 详细的过滤条件如下: <li>BucketId<br> 按照【<strong>存储桶 ID</strong>】进行过滤<br> 类型:String<br> 必选:否<br></li><li>StrategyId<br> 按照【<strong>策略 ID</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
249
|
+
# @type Filters: Array
|
250
|
+
# @param SortBy: 返回结果的排序。 SortBy.Field 取值有:<li>UpdateTime:创建时间。</li>若不填,SortBy.Field 默认值为 `UpdateTime`,SortBy.Order 默认值为 `Desc`。
|
251
|
+
# @type SortBy: :class:`Tencentcloud::Vod.v20240718.models.SortBy`
|
252
|
+
# @param Offset: 分页返回的起始偏移量,默认值为 `0`。
|
253
|
+
# @type Offset: Integer
|
254
|
+
# @param Limit: 分页返回的记录条数,默认值为 `20`,最大值为 `100`。
|
255
|
+
# @type Limit: Integer
|
256
|
+
|
257
|
+
attr_accessor :SubAppId, :Filters, :SortBy, :Offset, :Limit
|
258
|
+
|
259
|
+
def initialize(subappid=nil, filters=nil, sortby=nil, offset=nil, limit=nil)
|
260
|
+
@SubAppId = subappid
|
261
|
+
@Filters = filters
|
262
|
+
@SortBy = sortby
|
263
|
+
@Offset = offset
|
264
|
+
@Limit = limit
|
265
|
+
end
|
266
|
+
|
267
|
+
def deserialize(params)
|
268
|
+
@SubAppId = params['SubAppId']
|
269
|
+
unless params['Filters'].nil?
|
270
|
+
@Filters = []
|
271
|
+
params['Filters'].each do |i|
|
272
|
+
filter_tmp = Filter.new
|
273
|
+
filter_tmp.deserialize(i)
|
274
|
+
@Filters << filter_tmp
|
275
|
+
end
|
276
|
+
end
|
277
|
+
unless params['SortBy'].nil?
|
278
|
+
@SortBy = SortBy.new
|
279
|
+
@SortBy.deserialize(params['SortBy'])
|
280
|
+
end
|
281
|
+
@Offset = params['Offset']
|
282
|
+
@Limit = params['Limit']
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
# DescribeIncrementalMigrationStrategyInfos返回参数结构体
|
287
|
+
class DescribeIncrementalMigrationStrategyInfosResponse < TencentCloud::Common::AbstractModel
|
288
|
+
# @param TotalCount: 总数。
|
289
|
+
# @type TotalCount: Integer
|
290
|
+
# @param StrategyInfoSet: 策略信息集合。
|
291
|
+
# @type StrategyInfoSet: Array
|
292
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
293
|
+
# @type RequestId: String
|
294
|
+
|
295
|
+
attr_accessor :TotalCount, :StrategyInfoSet, :RequestId
|
296
|
+
|
297
|
+
def initialize(totalcount=nil, strategyinfoset=nil, requestid=nil)
|
298
|
+
@TotalCount = totalcount
|
299
|
+
@StrategyInfoSet = strategyinfoset
|
300
|
+
@RequestId = requestid
|
301
|
+
end
|
302
|
+
|
303
|
+
def deserialize(params)
|
304
|
+
@TotalCount = params['TotalCount']
|
305
|
+
unless params['StrategyInfoSet'].nil?
|
306
|
+
@StrategyInfoSet = []
|
307
|
+
params['StrategyInfoSet'].each do |i|
|
308
|
+
incrementalmigrationstrategyinfo_tmp = IncrementalMigrationStrategyInfo.new
|
309
|
+
incrementalmigrationstrategyinfo_tmp.deserialize(i)
|
310
|
+
@StrategyInfoSet << incrementalmigrationstrategyinfo_tmp
|
311
|
+
end
|
312
|
+
end
|
313
|
+
@RequestId = params['RequestId']
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
# DescribeStorage请求参数结构体
|
318
|
+
class DescribeStorageRequest < TencentCloud::Common::AbstractModel
|
319
|
+
# @param SubAppId: <b>点播专业版[应用](/document/product/266/14574) ID。</b>
|
320
|
+
# @type SubAppId: Integer
|
321
|
+
# @param Filters: 过滤条件,Filters.Values 的上限为 20;若 Filters 长度为 0 则分页查询子应用 SubAppId 下的存储信息。 详细的过滤条件如下:
|
322
|
+
# <li>BucketId<br> 按照【<strong>存储桶 ID</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
323
|
+
# <li>StorageName<br> 按照【<strong>存储名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
324
|
+
# @type Filters: Array
|
325
|
+
# @param SortBy: 返回结果的排序。 SortBy.Field 取值有:
|
326
|
+
# <li>CreateTime:创建时间。</li>若不填,SortBy.Field 默认值为 CreateTime,SortBy.Order 默认值为 Asc。
|
327
|
+
# @type SortBy: :class:`Tencentcloud::Vod.v20240718.models.SortBy`
|
328
|
+
# @param Offset: 分页返回的起始偏移量,默认值为 0。
|
329
|
+
# @type Offset: Integer
|
330
|
+
# @param Limit: 分页返回的记录条数,默认值为 20,最大值为 1000。
|
331
|
+
# @type Limit: Integer
|
332
|
+
|
333
|
+
attr_accessor :SubAppId, :Filters, :SortBy, :Offset, :Limit
|
334
|
+
|
335
|
+
def initialize(subappid=nil, filters=nil, sortby=nil, offset=nil, limit=nil)
|
336
|
+
@SubAppId = subappid
|
337
|
+
@Filters = filters
|
338
|
+
@SortBy = sortby
|
339
|
+
@Offset = offset
|
340
|
+
@Limit = limit
|
341
|
+
end
|
342
|
+
|
343
|
+
def deserialize(params)
|
344
|
+
@SubAppId = params['SubAppId']
|
345
|
+
unless params['Filters'].nil?
|
346
|
+
@Filters = []
|
347
|
+
params['Filters'].each do |i|
|
348
|
+
filter_tmp = Filter.new
|
349
|
+
filter_tmp.deserialize(i)
|
350
|
+
@Filters << filter_tmp
|
351
|
+
end
|
352
|
+
end
|
353
|
+
unless params['SortBy'].nil?
|
354
|
+
@SortBy = SortBy.new
|
355
|
+
@SortBy.deserialize(params['SortBy'])
|
356
|
+
end
|
357
|
+
@Offset = params['Offset']
|
358
|
+
@Limit = params['Limit']
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
# DescribeStorage返回参数结构体
|
363
|
+
class DescribeStorageResponse < TencentCloud::Common::AbstractModel
|
364
|
+
# @param TotalCount: 符合条件的存储数量。
|
365
|
+
# @type TotalCount: Integer
|
366
|
+
# @param StorageInfoSet: 符合条件的存储信息列表。
|
367
|
+
# @type StorageInfoSet: Array
|
368
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
369
|
+
# @type RequestId: String
|
370
|
+
|
371
|
+
attr_accessor :TotalCount, :StorageInfoSet, :RequestId
|
372
|
+
|
373
|
+
def initialize(totalcount=nil, storageinfoset=nil, requestid=nil)
|
374
|
+
@TotalCount = totalcount
|
375
|
+
@StorageInfoSet = storageinfoset
|
376
|
+
@RequestId = requestid
|
377
|
+
end
|
378
|
+
|
379
|
+
def deserialize(params)
|
380
|
+
@TotalCount = params['TotalCount']
|
381
|
+
unless params['StorageInfoSet'].nil?
|
382
|
+
@StorageInfoSet = []
|
383
|
+
params['StorageInfoSet'].each do |i|
|
384
|
+
storageinfo_tmp = StorageInfo.new
|
385
|
+
storageinfo_tmp.deserialize(i)
|
386
|
+
@StorageInfoSet << storageinfo_tmp
|
387
|
+
end
|
388
|
+
end
|
389
|
+
@RequestId = params['RequestId']
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
# 键值对过滤器,用于条件过滤查询。例如过滤 ID、名称或状态等。
|
394
|
+
# 若存在多个 Filter 时,Filter 间的关系为逻辑与(AND)关系。
|
395
|
+
# 若同一个 Filter 存在多个 Values,同一 Filter 下 Values 间的关系为逻辑或(OR)关系。
|
396
|
+
|
397
|
+
# 过滤器筛选字段均为精确匹配。
|
398
|
+
class Filter < TencentCloud::Common::AbstractModel
|
399
|
+
# @param Name: 需要过滤的字段。
|
400
|
+
# @type Name: String
|
401
|
+
# @param Values: 字段的过滤值。
|
402
|
+
# @type Values: Array
|
403
|
+
|
404
|
+
attr_accessor :Name, :Values
|
405
|
+
|
406
|
+
def initialize(name=nil, values=nil)
|
407
|
+
@Name = name
|
408
|
+
@Values = values
|
409
|
+
end
|
410
|
+
|
411
|
+
def deserialize(params)
|
412
|
+
@Name = params['Name']
|
413
|
+
@Values = params['Values']
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
# 增量迁移源站地址信息。
|
418
|
+
class IncrementalMigrationHttpEndpointInfo < TencentCloud::Common::AbstractModel
|
419
|
+
# @param Endpoint: 地址信息,支持域名或 IP 地址。
|
420
|
+
# @type Endpoint: String
|
421
|
+
# @param StandbyEndpointSet: 备份地址信息。
|
422
|
+
# @type StandbyEndpointSet: Array
|
423
|
+
|
424
|
+
attr_accessor :Endpoint, :StandbyEndpointSet
|
425
|
+
|
426
|
+
def initialize(endpoint=nil, standbyendpointset=nil)
|
427
|
+
@Endpoint = endpoint
|
428
|
+
@StandbyEndpointSet = standbyendpointset
|
429
|
+
end
|
430
|
+
|
431
|
+
def deserialize(params)
|
432
|
+
@Endpoint = params['Endpoint']
|
433
|
+
@StandbyEndpointSet = params['StandbyEndpointSet']
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
# 增量迁移回源 HTTP Header。
|
438
|
+
class IncrementalMigrationHttpHeader < TencentCloud::Common::AbstractModel
|
439
|
+
# @param Key: Header 键。
|
440
|
+
# @type Key: String
|
441
|
+
# @param Value: Header 值。
|
442
|
+
# @type Value: String
|
443
|
+
|
444
|
+
attr_accessor :Key, :Value
|
445
|
+
|
446
|
+
def initialize(key=nil, value=nil)
|
447
|
+
@Key = key
|
448
|
+
@Value = value
|
449
|
+
end
|
450
|
+
|
451
|
+
def deserialize(params)
|
452
|
+
@Key = params['Key']
|
453
|
+
@Value = params['Value']
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
# 增量迁移回源 HTTP Header 信息。
|
458
|
+
class IncrementalMigrationHttpHeaderInfo < TencentCloud::Common::AbstractModel
|
459
|
+
# @param HeaderFollowMode: Http Header 透传模式。取值有:
|
460
|
+
# <li>FOLLOW_ALL:透传所有头部信息;</li>
|
461
|
+
# <li>FOLLOW_PART:透传部分头部信息;</li>
|
462
|
+
# <li>IGNORE_PART:忽略部分头部信息。</li>参数必填。
|
463
|
+
# @type HeaderFollowMode: String
|
464
|
+
# @param FollowHttpHeaderKeySet: 需透传 Header Key 集合,仅当 HeaderFollowMode 取值 `FOLLOW_PART` 时需要填充。
|
465
|
+
# @type FollowHttpHeaderKeySet: Array
|
466
|
+
# @param NewHttpHeaderSet: 新增 Header 键值对集合。
|
467
|
+
# @type NewHttpHeaderSet: Array
|
468
|
+
|
469
|
+
attr_accessor :HeaderFollowMode, :FollowHttpHeaderKeySet, :NewHttpHeaderSet
|
470
|
+
|
471
|
+
def initialize(headerfollowmode=nil, followhttpheaderkeyset=nil, newhttpheaderset=nil)
|
472
|
+
@HeaderFollowMode = headerfollowmode
|
473
|
+
@FollowHttpHeaderKeySet = followhttpheaderkeyset
|
474
|
+
@NewHttpHeaderSet = newhttpheaderset
|
475
|
+
end
|
476
|
+
|
477
|
+
def deserialize(params)
|
478
|
+
@HeaderFollowMode = params['HeaderFollowMode']
|
479
|
+
@FollowHttpHeaderKeySet = params['FollowHttpHeaderKeySet']
|
480
|
+
unless params['NewHttpHeaderSet'].nil?
|
481
|
+
@NewHttpHeaderSet = []
|
482
|
+
params['NewHttpHeaderSet'].each do |i|
|
483
|
+
incrementalmigrationhttpheader_tmp = IncrementalMigrationHttpHeader.new
|
484
|
+
incrementalmigrationhttpheader_tmp.deserialize(i)
|
485
|
+
@NewHttpHeaderSet << incrementalmigrationhttpheader_tmp
|
486
|
+
end
|
487
|
+
end
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
# 增量迁移回源条件。
|
492
|
+
class IncrementalMigrationHttpOriginCondition < TencentCloud::Common::AbstractModel
|
493
|
+
# @param HttpStatusCode: 触发回源条件的 HTTP Code。若不填充,默认取值 `404`。
|
494
|
+
# @type HttpStatusCode: Integer
|
495
|
+
# @param Prefix: 触发回源条件的对象键前缀。
|
496
|
+
# @type Prefix: String
|
497
|
+
|
498
|
+
attr_accessor :HttpStatusCode, :Prefix
|
499
|
+
|
500
|
+
def initialize(httpstatuscode=nil, prefix=nil)
|
501
|
+
@HttpStatusCode = httpstatuscode
|
502
|
+
@Prefix = prefix
|
503
|
+
end
|
504
|
+
|
505
|
+
def deserialize(params)
|
506
|
+
@HttpStatusCode = params['HttpStatusCode']
|
507
|
+
@Prefix = params['Prefix']
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
# 增量迁移回源源站配置。
|
512
|
+
class IncrementalMigrationHttpOriginConfig < TencentCloud::Common::AbstractModel
|
513
|
+
# @param OriginInfo: 回源源站信息。
|
514
|
+
# @type OriginInfo: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationHttpOriginInfo`
|
515
|
+
# @param OriginParameter: 回源参数。
|
516
|
+
# @type OriginParameter: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationHttpOriginParameter`
|
517
|
+
# @param Mode: 回源模式。取值有:
|
518
|
+
# <li>SYNC:同步回源;</li>
|
519
|
+
# <li>ASYNC:异步回源。</li>若不填,默认取 `SYNC` 同步回源。
|
520
|
+
# @type Mode: String
|
521
|
+
# @param OriginCondition: 回源条件。
|
522
|
+
# @type OriginCondition: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationHttpOriginCondition`
|
523
|
+
|
524
|
+
attr_accessor :OriginInfo, :OriginParameter, :Mode, :OriginCondition
|
525
|
+
|
526
|
+
def initialize(origininfo=nil, originparameter=nil, mode=nil, origincondition=nil)
|
527
|
+
@OriginInfo = origininfo
|
528
|
+
@OriginParameter = originparameter
|
529
|
+
@Mode = mode
|
530
|
+
@OriginCondition = origincondition
|
531
|
+
end
|
532
|
+
|
533
|
+
def deserialize(params)
|
534
|
+
unless params['OriginInfo'].nil?
|
535
|
+
@OriginInfo = IncrementalMigrationHttpOriginInfo.new
|
536
|
+
@OriginInfo.deserialize(params['OriginInfo'])
|
537
|
+
end
|
538
|
+
unless params['OriginParameter'].nil?
|
539
|
+
@OriginParameter = IncrementalMigrationHttpOriginParameter.new
|
540
|
+
@OriginParameter.deserialize(params['OriginParameter'])
|
541
|
+
end
|
542
|
+
@Mode = params['Mode']
|
543
|
+
unless params['OriginCondition'].nil?
|
544
|
+
@OriginCondition = IncrementalMigrationHttpOriginCondition.new
|
545
|
+
@OriginCondition.deserialize(params['OriginCondition'])
|
546
|
+
end
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
# 增量迁移源站信息。
|
551
|
+
class IncrementalMigrationHttpOriginInfo < TencentCloud::Common::AbstractModel
|
552
|
+
# @param EndpointInfo: 增量迁移源站地址信息。
|
553
|
+
# @type EndpointInfo: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationHttpEndpointInfo`
|
554
|
+
# @param FileInfo: 增量迁移源站文件信息。
|
555
|
+
# @type FileInfo: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationOriginFileInfo`
|
556
|
+
|
557
|
+
attr_accessor :EndpointInfo, :FileInfo
|
558
|
+
|
559
|
+
def initialize(endpointinfo=nil, fileinfo=nil)
|
560
|
+
@EndpointInfo = endpointinfo
|
561
|
+
@FileInfo = fileinfo
|
562
|
+
end
|
563
|
+
|
564
|
+
def deserialize(params)
|
565
|
+
unless params['EndpointInfo'].nil?
|
566
|
+
@EndpointInfo = IncrementalMigrationHttpEndpointInfo.new
|
567
|
+
@EndpointInfo.deserialize(params['EndpointInfo'])
|
568
|
+
end
|
569
|
+
unless params['FileInfo'].nil?
|
570
|
+
@FileInfo = IncrementalMigrationOriginFileInfo.new
|
571
|
+
@FileInfo.deserialize(params['FileInfo'])
|
572
|
+
end
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
576
|
+
# 增量迁移回源参数。
|
577
|
+
class IncrementalMigrationHttpOriginParameter < TencentCloud::Common::AbstractModel
|
578
|
+
# @param HttpHeaderInfo: HTTP 头部透传信息。
|
579
|
+
# @type HttpHeaderInfo: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationHttpHeaderInfo`
|
580
|
+
# @param Protocol: 回源协议。取值有:
|
581
|
+
# <li>HTTP:强制 HTTP;</li>
|
582
|
+
# <li>HTTPS:强制 HTTPS;</li>
|
583
|
+
# <li>FOLLOW:跟随请求协议。</li>若不填,默认取值 `FOLLOW`。
|
584
|
+
# @type Protocol: String
|
585
|
+
# @param QueryStringFollowMode: 请求参数透传模式。取值有:
|
586
|
+
# <li>FOLLOW:全部透传;</li>
|
587
|
+
# <li>IGNORE:忽略,全部不透传。</li> 默认取值 `FOLLOW`。
|
588
|
+
# @type QueryStringFollowMode: String
|
589
|
+
# @param HttpRedirectCode: 重定向的 HTTP Code,目前仅支持 `301`,`302` 和 `307`。默认取值 `302`。
|
590
|
+
# @type HttpRedirectCode: Integer
|
591
|
+
# @param OriginRedirectionFollowMode: 源站重定向跟随模式。取值有:
|
592
|
+
# <li>FOLLOW:跟随源站重定向;</li>
|
593
|
+
# <li>IGNORE:忽略源站重定向。</li> 默认取值 `FOLLOW` 跟随源站重定向,即源站返回 `3xx` 时,会默认跟随至对应源站拉取数据。
|
594
|
+
# @type OriginRedirectionFollowMode: String
|
595
|
+
|
596
|
+
attr_accessor :HttpHeaderInfo, :Protocol, :QueryStringFollowMode, :HttpRedirectCode, :OriginRedirectionFollowMode
|
597
|
+
|
598
|
+
def initialize(httpheaderinfo=nil, protocol=nil, querystringfollowmode=nil, httpredirectcode=nil, originredirectionfollowmode=nil)
|
599
|
+
@HttpHeaderInfo = httpheaderinfo
|
600
|
+
@Protocol = protocol
|
601
|
+
@QueryStringFollowMode = querystringfollowmode
|
602
|
+
@HttpRedirectCode = httpredirectcode
|
603
|
+
@OriginRedirectionFollowMode = originredirectionfollowmode
|
604
|
+
end
|
605
|
+
|
606
|
+
def deserialize(params)
|
607
|
+
unless params['HttpHeaderInfo'].nil?
|
608
|
+
@HttpHeaderInfo = IncrementalMigrationHttpHeaderInfo.new
|
609
|
+
@HttpHeaderInfo.deserialize(params['HttpHeaderInfo'])
|
610
|
+
end
|
611
|
+
@Protocol = params['Protocol']
|
612
|
+
@QueryStringFollowMode = params['QueryStringFollowMode']
|
613
|
+
@HttpRedirectCode = params['HttpRedirectCode']
|
614
|
+
@OriginRedirectionFollowMode = params['OriginRedirectionFollowMode']
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
|
+
# 增量迁移源站文件信息。
|
619
|
+
class IncrementalMigrationOriginFileInfo < TencentCloud::Common::AbstractModel
|
620
|
+
# @param PrefixConfig: 文件前缀配置。
|
621
|
+
# @type PrefixConfig: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationOriginPrefixConfig`
|
622
|
+
# @param SuffixConfig: 文件后缀配置。
|
623
|
+
# @type SuffixConfig: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationOriginSuffixConfig`
|
624
|
+
# @param FixedFileConfig: 固定文件配置。
|
625
|
+
# @type FixedFileConfig: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationOriginFixedFileConfig`
|
626
|
+
|
627
|
+
attr_accessor :PrefixConfig, :SuffixConfig, :FixedFileConfig
|
628
|
+
|
629
|
+
def initialize(prefixconfig=nil, suffixconfig=nil, fixedfileconfig=nil)
|
630
|
+
@PrefixConfig = prefixconfig
|
631
|
+
@SuffixConfig = suffixconfig
|
632
|
+
@FixedFileConfig = fixedfileconfig
|
633
|
+
end
|
634
|
+
|
635
|
+
def deserialize(params)
|
636
|
+
unless params['PrefixConfig'].nil?
|
637
|
+
@PrefixConfig = IncrementalMigrationOriginPrefixConfig.new
|
638
|
+
@PrefixConfig.deserialize(params['PrefixConfig'])
|
639
|
+
end
|
640
|
+
unless params['SuffixConfig'].nil?
|
641
|
+
@SuffixConfig = IncrementalMigrationOriginSuffixConfig.new
|
642
|
+
@SuffixConfig.deserialize(params['SuffixConfig'])
|
643
|
+
end
|
644
|
+
unless params['FixedFileConfig'].nil?
|
645
|
+
@FixedFileConfig = IncrementalMigrationOriginFixedFileConfig.new
|
646
|
+
@FixedFileConfig.deserialize(params['FixedFileConfig'])
|
647
|
+
end
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
651
|
+
# 增量迁移源站固定文件路径配置。
|
652
|
+
class IncrementalMigrationOriginFixedFileConfig < TencentCloud::Common::AbstractModel
|
653
|
+
# @param FixedFilePath: 固定文件路径;如填充 `example/test.png`,则回源地址为: `http(s)://<回源域名>/example/test.png`。
|
654
|
+
# @type FixedFilePath: String
|
655
|
+
|
656
|
+
attr_accessor :FixedFilePath
|
657
|
+
|
658
|
+
def initialize(fixedfilepath=nil)
|
659
|
+
@FixedFilePath = fixedfilepath
|
660
|
+
end
|
661
|
+
|
662
|
+
def deserialize(params)
|
663
|
+
@FixedFilePath = params['FixedFilePath']
|
664
|
+
end
|
665
|
+
end
|
666
|
+
|
667
|
+
# 增量迁移源站地址前缀配置。
|
668
|
+
class IncrementalMigrationOriginPrefixConfig < TencentCloud::Common::AbstractModel
|
669
|
+
# @param Prefix: 源站地址前缀,如填充 `test/`,则回源地址为 `http(s)://<回源域名>/test/<文件名>`。
|
670
|
+
# @type Prefix: String
|
671
|
+
|
672
|
+
attr_accessor :Prefix
|
673
|
+
|
674
|
+
def initialize(prefix=nil)
|
675
|
+
@Prefix = prefix
|
676
|
+
end
|
677
|
+
|
678
|
+
def deserialize(params)
|
679
|
+
@Prefix = params['Prefix']
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
# 增量迁移源站文件后缀配置。
|
684
|
+
class IncrementalMigrationOriginSuffixConfig < TencentCloud::Common::AbstractModel
|
685
|
+
# @param Suffix: 文件后缀;如填充 `.ts` ,则回源地址为:`http(s)://<回源域名>/<文件名>.ts`。
|
686
|
+
# @type Suffix: String
|
687
|
+
|
688
|
+
attr_accessor :Suffix
|
689
|
+
|
690
|
+
def initialize(suffix=nil)
|
691
|
+
@Suffix = suffix
|
692
|
+
end
|
693
|
+
|
694
|
+
def deserialize(params)
|
695
|
+
@Suffix = params['Suffix']
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
# 增量迁移策略信息。
|
700
|
+
class IncrementalMigrationStrategyInfo < TencentCloud::Common::AbstractModel
|
701
|
+
# @param StrategyId: 策略 ID。
|
702
|
+
# @type StrategyId: String
|
703
|
+
# @param StrategyName: 策略名称。
|
704
|
+
# @type StrategyName: String
|
705
|
+
# @param SubAppId: <b>策略生效的点播专业版[应用](/document/product/266/14574) ID。</b>
|
706
|
+
# @type SubAppId: Integer
|
707
|
+
# @param BucketId: 策略生效的存储桶 ID。
|
708
|
+
# @type BucketId: String
|
709
|
+
# @param OriginType: 源站类型。取值有:<li>HTTP:HTTP 源。</li>
|
710
|
+
# @type OriginType: String
|
711
|
+
# @param HttpOriginConfig: 回源源站配置。
|
712
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
713
|
+
# @type HttpOriginConfig: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationHttpOriginConfig`
|
714
|
+
|
715
|
+
attr_accessor :StrategyId, :StrategyName, :SubAppId, :BucketId, :OriginType, :HttpOriginConfig
|
716
|
+
|
717
|
+
def initialize(strategyid=nil, strategyname=nil, subappid=nil, bucketid=nil, origintype=nil, httporiginconfig=nil)
|
718
|
+
@StrategyId = strategyid
|
719
|
+
@StrategyName = strategyname
|
720
|
+
@SubAppId = subappid
|
721
|
+
@BucketId = bucketid
|
722
|
+
@OriginType = origintype
|
723
|
+
@HttpOriginConfig = httporiginconfig
|
724
|
+
end
|
725
|
+
|
726
|
+
def deserialize(params)
|
727
|
+
@StrategyId = params['StrategyId']
|
728
|
+
@StrategyName = params['StrategyName']
|
729
|
+
@SubAppId = params['SubAppId']
|
730
|
+
@BucketId = params['BucketId']
|
731
|
+
@OriginType = params['OriginType']
|
732
|
+
unless params['HttpOriginConfig'].nil?
|
733
|
+
@HttpOriginConfig = IncrementalMigrationHttpOriginConfig.new
|
734
|
+
@HttpOriginConfig.deserialize(params['HttpOriginConfig'])
|
735
|
+
end
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
739
|
+
# ModifyIncrementalMigrationStrategy请求参数结构体
|
740
|
+
class ModifyIncrementalMigrationStrategyRequest < TencentCloud::Common::AbstractModel
|
741
|
+
# @param SubAppId: <b>点播[专业版](/document/product/266/115396)[应用](/document/product/266/14574) ID。</b>
|
742
|
+
# @type SubAppId: Integer
|
743
|
+
# @param BucketId: 策略生效的存储桶 ID。
|
744
|
+
# @type BucketId: String
|
745
|
+
# @param StrategyId: 增量迁移策略 ID。
|
746
|
+
# @type StrategyId: String
|
747
|
+
# @param StrategyName: 策略名称。若不填充或填充空字符串,则不修改。
|
748
|
+
# @type StrategyName: String
|
749
|
+
# @param OriginType: 源站类型。取值有:<li>HTTP:HTTP 源。</li>若不填或填充空字符串,则不修改。
|
750
|
+
# @type OriginType: String
|
751
|
+
# @param HttpOriginConfig: HTTP 回源源站配置,若不填则默认不修改。
|
752
|
+
# @type HttpOriginConfig: :class:`Tencentcloud::Vod.v20240718.models.IncrementalMigrationHttpOriginConfig`
|
753
|
+
|
754
|
+
attr_accessor :SubAppId, :BucketId, :StrategyId, :StrategyName, :OriginType, :HttpOriginConfig
|
755
|
+
|
756
|
+
def initialize(subappid=nil, bucketid=nil, strategyid=nil, strategyname=nil, origintype=nil, httporiginconfig=nil)
|
757
|
+
@SubAppId = subappid
|
758
|
+
@BucketId = bucketid
|
759
|
+
@StrategyId = strategyid
|
760
|
+
@StrategyName = strategyname
|
761
|
+
@OriginType = origintype
|
762
|
+
@HttpOriginConfig = httporiginconfig
|
763
|
+
end
|
764
|
+
|
765
|
+
def deserialize(params)
|
766
|
+
@SubAppId = params['SubAppId']
|
767
|
+
@BucketId = params['BucketId']
|
768
|
+
@StrategyId = params['StrategyId']
|
769
|
+
@StrategyName = params['StrategyName']
|
770
|
+
@OriginType = params['OriginType']
|
771
|
+
unless params['HttpOriginConfig'].nil?
|
772
|
+
@HttpOriginConfig = IncrementalMigrationHttpOriginConfig.new
|
773
|
+
@HttpOriginConfig.deserialize(params['HttpOriginConfig'])
|
774
|
+
end
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
# ModifyIncrementalMigrationStrategy返回参数结构体
|
779
|
+
class ModifyIncrementalMigrationStrategyResponse < TencentCloud::Common::AbstractModel
|
780
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
781
|
+
# @type RequestId: String
|
782
|
+
|
783
|
+
attr_accessor :RequestId
|
784
|
+
|
785
|
+
def initialize(requestid=nil)
|
786
|
+
@RequestId = requestid
|
787
|
+
end
|
788
|
+
|
789
|
+
def deserialize(params)
|
790
|
+
@RequestId = params['RequestId']
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
# 排序依据。
|
795
|
+
class SortBy < TencentCloud::Common::AbstractModel
|
796
|
+
# @param Field: 排序字段。
|
797
|
+
# @type Field: String
|
798
|
+
# @param Order: 排序方式,可选值有:
|
799
|
+
# <li>Asc: 升序;</li>
|
800
|
+
# <li>Desc: 降序。</li>
|
801
|
+
# @type Order: String
|
802
|
+
|
803
|
+
attr_accessor :Field, :Order
|
804
|
+
|
805
|
+
def initialize(field=nil, order=nil)
|
806
|
+
@Field = field
|
807
|
+
@Order = order
|
808
|
+
end
|
809
|
+
|
810
|
+
def deserialize(params)
|
811
|
+
@Field = params['Field']
|
812
|
+
@Order = params['Order']
|
813
|
+
end
|
814
|
+
end
|
815
|
+
|
816
|
+
# 专业版应用的存储信息。
|
817
|
+
class StorageInfo < TencentCloud::Common::AbstractModel
|
818
|
+
# @param BucketId: 存储桶 ID。
|
819
|
+
# @type BucketId: String
|
820
|
+
# @param StorageName: 存储名称。
|
821
|
+
# @type StorageName: String
|
822
|
+
# @param StorageRegion: 存储所在区域。
|
823
|
+
# @type StorageRegion: String
|
824
|
+
# @param InternetAccessDomainStatus: 存储公网源站访问域名的状态,取值有:
|
825
|
+
# <li>ONLINE:已生效;</li>
|
826
|
+
# <li>DEPLOYING: 部署中。</li>
|
827
|
+
# @type InternetAccessDomainStatus: String
|
828
|
+
# @param InternetAccessDomain: 存储公网源站访问域名。
|
829
|
+
# @type InternetAccessDomain: String
|
830
|
+
# @param CreateTime: 存储的创建时间。
|
831
|
+
# @type CreateTime: String
|
832
|
+
|
833
|
+
attr_accessor :BucketId, :StorageName, :StorageRegion, :InternetAccessDomainStatus, :InternetAccessDomain, :CreateTime
|
834
|
+
|
835
|
+
def initialize(bucketid=nil, storagename=nil, storageregion=nil, internetaccessdomainstatus=nil, internetaccessdomain=nil, createtime=nil)
|
836
|
+
@BucketId = bucketid
|
837
|
+
@StorageName = storagename
|
838
|
+
@StorageRegion = storageregion
|
839
|
+
@InternetAccessDomainStatus = internetaccessdomainstatus
|
840
|
+
@InternetAccessDomain = internetaccessdomain
|
841
|
+
@CreateTime = createtime
|
842
|
+
end
|
843
|
+
|
844
|
+
def deserialize(params)
|
845
|
+
@BucketId = params['BucketId']
|
846
|
+
@StorageName = params['StorageName']
|
847
|
+
@StorageRegion = params['StorageRegion']
|
848
|
+
@InternetAccessDomainStatus = params['InternetAccessDomainStatus']
|
849
|
+
@InternetAccessDomain = params['InternetAccessDomain']
|
850
|
+
@CreateTime = params['CreateTime']
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
100
854
|
end
|
101
855
|
end
|
102
856
|
end
|
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.1031
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,10 +34,10 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-vod.rb
|
37
|
-
- lib/v20240718/models.rb
|
38
37
|
- lib/v20240718/client.rb
|
39
|
-
- lib/
|
38
|
+
- lib/v20240718/models.rb
|
40
39
|
- lib/v20180717/client.rb
|
40
|
+
- lib/v20180717/models.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|