tencentcloud-sdk-cdn 1.0.205 → 1.0.206
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/v20180606/models.rb +74 -12
- 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: e8ffda2fddce54828793a8c1ef4b6fff33aa102e
|
4
|
+
data.tar.gz: 00f6e6321eba97161a6de3f0a4d69539dcdc4aca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 516c0f4285bdbf42f1ed31e525fbd3aab7763feaab20d19e0a94706f09648b92390e787863f2d3da11840988654585464c4c9c6319c1645a106e060cfbf354f1
|
7
|
+
data.tar.gz: ddb1b6732a9d9fee93e02452c9dacbd2491ed83aa0cd1086682d45d5a9a4c2df5205b5b2a3e817bb4deae1eb0fbe60a5a22c1f72eb3e0fefd3cdcca88fa76dbd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.206
|
data/lib/v20180606/models.rb
CHANGED
@@ -1217,15 +1217,20 @@ module TencentCloud
|
|
1217
1217
|
# @param FilterType: whitelist:白名单,表示对除了 FileExtensions 列表之外的所有类型进行鉴权
|
1218
1218
|
# blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权
|
1219
1219
|
# @type FilterType: String
|
1220
|
+
# @param BackupSecretKey: 计算签名的备用密钥
|
1221
|
+
# 仅允许大小写字母与数字,长度 6~32 位
|
1222
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1223
|
+
# @type BackupSecretKey: String
|
1220
1224
|
|
1221
|
-
attr_accessor :SecretKey, :SignParam, :ExpireTime, :FileExtensions, :FilterType
|
1225
|
+
attr_accessor :SecretKey, :SignParam, :ExpireTime, :FileExtensions, :FilterType, :BackupSecretKey
|
1222
1226
|
|
1223
|
-
def initialize(secretkey=nil, signparam=nil, expiretime=nil, fileextensions=nil, filtertype=nil)
|
1227
|
+
def initialize(secretkey=nil, signparam=nil, expiretime=nil, fileextensions=nil, filtertype=nil, backupsecretkey=nil)
|
1224
1228
|
@SecretKey = secretkey
|
1225
1229
|
@SignParam = signparam
|
1226
1230
|
@ExpireTime = expiretime
|
1227
1231
|
@FileExtensions = fileextensions
|
1228
1232
|
@FilterType = filtertype
|
1233
|
+
@BackupSecretKey = backupsecretkey
|
1229
1234
|
end
|
1230
1235
|
|
1231
1236
|
def deserialize(params)
|
@@ -1234,6 +1239,7 @@ module TencentCloud
|
|
1234
1239
|
@ExpireTime = params['ExpireTime']
|
1235
1240
|
@FileExtensions = params['FileExtensions']
|
1236
1241
|
@FilterType = params['FilterType']
|
1242
|
+
@BackupSecretKey = params['BackupSecretKey']
|
1237
1243
|
end
|
1238
1244
|
end
|
1239
1245
|
|
@@ -1252,14 +1258,19 @@ module TencentCloud
|
|
1252
1258
|
# @param FilterType: whitelist:白名单,表示对除了 FileExtensions 列表之外的所有类型进行鉴权
|
1253
1259
|
# blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权
|
1254
1260
|
# @type FilterType: String
|
1261
|
+
# @param BackupSecretKey: 计算签名的备用密钥
|
1262
|
+
# 仅允许大小写字母与数字,长度 6~32 位
|
1263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1264
|
+
# @type BackupSecretKey: String
|
1255
1265
|
|
1256
|
-
attr_accessor :SecretKey, :ExpireTime, :FileExtensions, :FilterType
|
1266
|
+
attr_accessor :SecretKey, :ExpireTime, :FileExtensions, :FilterType, :BackupSecretKey
|
1257
1267
|
|
1258
|
-
def initialize(secretkey=nil, expiretime=nil, fileextensions=nil, filtertype=nil)
|
1268
|
+
def initialize(secretkey=nil, expiretime=nil, fileextensions=nil, filtertype=nil, backupsecretkey=nil)
|
1259
1269
|
@SecretKey = secretkey
|
1260
1270
|
@ExpireTime = expiretime
|
1261
1271
|
@FileExtensions = fileextensions
|
1262
1272
|
@FilterType = filtertype
|
1273
|
+
@BackupSecretKey = backupsecretkey
|
1263
1274
|
end
|
1264
1275
|
|
1265
1276
|
def deserialize(params)
|
@@ -1267,6 +1278,7 @@ module TencentCloud
|
|
1267
1278
|
@ExpireTime = params['ExpireTime']
|
1268
1279
|
@FileExtensions = params['FileExtensions']
|
1269
1280
|
@FilterType = params['FilterType']
|
1281
|
+
@BackupSecretKey = params['BackupSecretKey']
|
1270
1282
|
end
|
1271
1283
|
end
|
1272
1284
|
|
@@ -1293,15 +1305,20 @@ module TencentCloud
|
|
1293
1305
|
# hex:十六进制
|
1294
1306
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1295
1307
|
# @type TimeFormat: String
|
1308
|
+
# @param BackupSecretKey: 计算签名的备用密钥
|
1309
|
+
# 仅允许大小写字母与数字,长度 6~32 位
|
1310
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1311
|
+
# @type BackupSecretKey: String
|
1296
1312
|
|
1297
|
-
attr_accessor :SecretKey, :ExpireTime, :FileExtensions, :FilterType, :TimeFormat
|
1313
|
+
attr_accessor :SecretKey, :ExpireTime, :FileExtensions, :FilterType, :TimeFormat, :BackupSecretKey
|
1298
1314
|
|
1299
|
-
def initialize(secretkey=nil, expiretime=nil, fileextensions=nil, filtertype=nil, timeformat=nil)
|
1315
|
+
def initialize(secretkey=nil, expiretime=nil, fileextensions=nil, filtertype=nil, timeformat=nil, backupsecretkey=nil)
|
1300
1316
|
@SecretKey = secretkey
|
1301
1317
|
@ExpireTime = expiretime
|
1302
1318
|
@FileExtensions = fileextensions
|
1303
1319
|
@FilterType = filtertype
|
1304
1320
|
@TimeFormat = timeformat
|
1321
|
+
@BackupSecretKey = backupsecretkey
|
1305
1322
|
end
|
1306
1323
|
|
1307
1324
|
def deserialize(params)
|
@@ -1310,6 +1327,7 @@ module TencentCloud
|
|
1310
1327
|
@FileExtensions = params['FileExtensions']
|
1311
1328
|
@FilterType = params['FilterType']
|
1312
1329
|
@TimeFormat = params['TimeFormat']
|
1330
|
+
@BackupSecretKey = params['BackupSecretKey']
|
1313
1331
|
end
|
1314
1332
|
end
|
1315
1333
|
|
@@ -1341,10 +1359,14 @@ module TencentCloud
|
|
1341
1359
|
# dec:十进制
|
1342
1360
|
# hex:十六进制
|
1343
1361
|
# @type TimeFormat: String
|
1362
|
+
# @param BackupSecretKey: 计算签名的备用密钥
|
1363
|
+
# 仅允许大小写字母与数字,长度 6~32 位
|
1364
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1365
|
+
# @type BackupSecretKey: String
|
1344
1366
|
|
1345
|
-
attr_accessor :SecretKey, :ExpireTime, :FileExtensions, :FilterType, :SignParam, :TimeParam, :TimeFormat
|
1367
|
+
attr_accessor :SecretKey, :ExpireTime, :FileExtensions, :FilterType, :SignParam, :TimeParam, :TimeFormat, :BackupSecretKey
|
1346
1368
|
|
1347
|
-
def initialize(secretkey=nil, expiretime=nil, fileextensions=nil, filtertype=nil, signparam=nil, timeparam=nil, timeformat=nil)
|
1369
|
+
def initialize(secretkey=nil, expiretime=nil, fileextensions=nil, filtertype=nil, signparam=nil, timeparam=nil, timeformat=nil, backupsecretkey=nil)
|
1348
1370
|
@SecretKey = secretkey
|
1349
1371
|
@ExpireTime = expiretime
|
1350
1372
|
@FileExtensions = fileextensions
|
@@ -1352,6 +1374,7 @@ module TencentCloud
|
|
1352
1374
|
@SignParam = signparam
|
1353
1375
|
@TimeParam = timeparam
|
1354
1376
|
@TimeFormat = timeformat
|
1377
|
+
@BackupSecretKey = backupsecretkey
|
1355
1378
|
end
|
1356
1379
|
|
1357
1380
|
def deserialize(params)
|
@@ -1362,6 +1385,7 @@ module TencentCloud
|
|
1362
1385
|
@SignParam = params['SignParam']
|
1363
1386
|
@TimeParam = params['TimeParam']
|
1364
1387
|
@TimeFormat = params['TimeFormat']
|
1388
|
+
@BackupSecretKey = params['BackupSecretKey']
|
1365
1389
|
end
|
1366
1390
|
end
|
1367
1391
|
|
@@ -5966,10 +5990,13 @@ module TencentCloud
|
|
5966
5990
|
# @param RemoteAuthentication: 远程鉴权配置
|
5967
5991
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5968
5992
|
# @type RemoteAuthentication: :class:`Tencentcloud::Cdn.v20180606.models.RemoteAuthentication`
|
5993
|
+
# @param ShareCname: 共享CNAME配置(白名单功能)
|
5994
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5995
|
+
# @type ShareCname: :class:`Tencentcloud::Cdn.v20180606.models.ShareCname`
|
5969
5996
|
|
5970
|
-
attr_accessor :ResourceId, :AppId, :Domain, :Cname, :Status, :ProjectId, :ServiceType, :CreateTime, :UpdateTime, :Origin, :IpFilter, :IpFreqLimit, :StatusCodeCache, :Compression, :BandwidthAlert, :RangeOriginPull, :FollowRedirect, :ErrorPage, :RequestHeader, :ResponseHeader, :DownstreamCapping, :CacheKey, :ResponseHeaderCache, :VideoSeek, :Cache, :OriginPullOptimization, :Https, :Authentication, :Seo, :Disable, :ForceRedirect, :Referer, :MaxAge, :Ipv6, :Compatibility, :SpecificConfig, :Area, :Readonly, :OriginPullTimeout, :AwsPrivateAccess, :SecurityConfig, :ImageOptimization, :UserAgentFilter, :AccessControl, :Advance, :UrlRedirect, :AccessPort, :Tag, :AdvancedAuthentication, :OriginAuthentication, :Ipv6Access, :AdvanceSet, :OfflineCache, :OriginCombine, :PostMaxSize, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication
|
5997
|
+
attr_accessor :ResourceId, :AppId, :Domain, :Cname, :Status, :ProjectId, :ServiceType, :CreateTime, :UpdateTime, :Origin, :IpFilter, :IpFreqLimit, :StatusCodeCache, :Compression, :BandwidthAlert, :RangeOriginPull, :FollowRedirect, :ErrorPage, :RequestHeader, :ResponseHeader, :DownstreamCapping, :CacheKey, :ResponseHeaderCache, :VideoSeek, :Cache, :OriginPullOptimization, :Https, :Authentication, :Seo, :Disable, :ForceRedirect, :Referer, :MaxAge, :Ipv6, :Compatibility, :SpecificConfig, :Area, :Readonly, :OriginPullTimeout, :AwsPrivateAccess, :SecurityConfig, :ImageOptimization, :UserAgentFilter, :AccessControl, :Advance, :UrlRedirect, :AccessPort, :Tag, :AdvancedAuthentication, :OriginAuthentication, :Ipv6Access, :AdvanceSet, :OfflineCache, :OriginCombine, :PostMaxSize, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication, :ShareCname
|
5971
5998
|
|
5972
|
-
def initialize(resourceid=nil, appid=nil, domain=nil, cname=nil, status=nil, projectid=nil, servicetype=nil, createtime=nil, updatetime=nil, origin=nil, ipfilter=nil, ipfreqlimit=nil, statuscodecache=nil, compression=nil, bandwidthalert=nil, rangeoriginpull=nil, followredirect=nil, errorpage=nil, requestheader=nil, responseheader=nil, downstreamcapping=nil, cachekey=nil, responseheadercache=nil, videoseek=nil, cache=nil, originpulloptimization=nil, https=nil, authentication=nil, seo=nil, disable=nil, forceredirect=nil, referer=nil, maxage=nil, ipv6=nil, compatibility=nil, specificconfig=nil, area=nil, readonly=nil, originpulltimeout=nil, awsprivateaccess=nil, securityconfig=nil, imageoptimization=nil, useragentfilter=nil, accesscontrol=nil, advance=nil, urlredirect=nil, accessport=nil, tag=nil, advancedauthentication=nil, originauthentication=nil, ipv6access=nil, advanceset=nil, offlinecache=nil, origincombine=nil, postmaxsize=nil, quic=nil, ossprivateaccess=nil, websocket=nil, remoteauthentication=nil)
|
5999
|
+
def initialize(resourceid=nil, appid=nil, domain=nil, cname=nil, status=nil, projectid=nil, servicetype=nil, createtime=nil, updatetime=nil, origin=nil, ipfilter=nil, ipfreqlimit=nil, statuscodecache=nil, compression=nil, bandwidthalert=nil, rangeoriginpull=nil, followredirect=nil, errorpage=nil, requestheader=nil, responseheader=nil, downstreamcapping=nil, cachekey=nil, responseheadercache=nil, videoseek=nil, cache=nil, originpulloptimization=nil, https=nil, authentication=nil, seo=nil, disable=nil, forceredirect=nil, referer=nil, maxage=nil, ipv6=nil, compatibility=nil, specificconfig=nil, area=nil, readonly=nil, originpulltimeout=nil, awsprivateaccess=nil, securityconfig=nil, imageoptimization=nil, useragentfilter=nil, accesscontrol=nil, advance=nil, urlredirect=nil, accessport=nil, tag=nil, advancedauthentication=nil, originauthentication=nil, ipv6access=nil, advanceset=nil, offlinecache=nil, origincombine=nil, postmaxsize=nil, quic=nil, ossprivateaccess=nil, websocket=nil, remoteauthentication=nil, sharecname=nil)
|
5973
6000
|
@ResourceId = resourceid
|
5974
6001
|
@AppId = appid
|
5975
6002
|
@Domain = domain
|
@@ -6029,6 +6056,7 @@ module TencentCloud
|
|
6029
6056
|
@OssPrivateAccess = ossprivateaccess
|
6030
6057
|
@WebSocket = websocket
|
6031
6058
|
@RemoteAuthentication = remoteauthentication
|
6059
|
+
@ShareCname = sharecname
|
6032
6060
|
end
|
6033
6061
|
|
6034
6062
|
def deserialize(params)
|
@@ -6234,6 +6262,10 @@ module TencentCloud
|
|
6234
6262
|
@RemoteAuthentication = RemoteAuthentication.new
|
6235
6263
|
@RemoteAuthentication.deserialize(params['RemoteAuthentication'])
|
6236
6264
|
end
|
6265
|
+
unless params['ShareCname'].nil?
|
6266
|
+
@ShareCname = ShareCname.new
|
6267
|
+
@ShareCname.deserialize(params['ShareCname'])
|
6268
|
+
end
|
6237
6269
|
end
|
6238
6270
|
end
|
6239
6271
|
|
@@ -11360,6 +11392,29 @@ module TencentCloud
|
|
11360
11392
|
end
|
11361
11393
|
end
|
11362
11394
|
|
11395
|
+
# ShareCname配置
|
11396
|
+
class ShareCname < TencentCloud::Common::AbstractModel
|
11397
|
+
# @param Switch: ShareCname 配置开关, 开关为off时,域名使用默认CNAME,若需要使用共享CNAME,将开关置为on.
|
11398
|
+
|
11399
|
+
# * ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
|
11400
|
+
# @type Switch: String
|
11401
|
+
# @param Cname: 设置共享CNAME.
|
11402
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11403
|
+
# @type Cname: String
|
11404
|
+
|
11405
|
+
attr_accessor :Switch, :Cname
|
11406
|
+
|
11407
|
+
def initialize(switch=nil, cname=nil)
|
11408
|
+
@Switch = switch
|
11409
|
+
@Cname = cname
|
11410
|
+
end
|
11411
|
+
|
11412
|
+
def deserialize(params)
|
11413
|
+
@Switch = params['Switch']
|
11414
|
+
@Cname = params['Cname']
|
11415
|
+
end
|
11416
|
+
end
|
11417
|
+
|
11363
11418
|
# 缓存配置基础版本
|
11364
11419
|
# 默认情况下所有文件缓存过期时间为 30 天
|
11365
11420
|
# 默认情况下静态加速类型的域名 .php;.jsp;.asp;.aspx 不缓存
|
@@ -12114,10 +12169,12 @@ module TencentCloud
|
|
12114
12169
|
# @type WebSocket: :class:`Tencentcloud::Cdn.v20180606.models.WebSocket`
|
12115
12170
|
# @param RemoteAuthentication: 远程鉴权配置
|
12116
12171
|
# @type RemoteAuthentication: :class:`Tencentcloud::Cdn.v20180606.models.RemoteAuthentication`
|
12172
|
+
# @param ShareCname: 共享CNAME配置,白名单功能
|
12173
|
+
# @type ShareCname: :class:`Tencentcloud::Cdn.v20180606.models.ShareCname`
|
12117
12174
|
|
12118
|
-
attr_accessor :Domain, :ProjectId, :Origin, :IpFilter, :IpFreqLimit, :StatusCodeCache, :Compression, :BandwidthAlert, :RangeOriginPull, :FollowRedirect, :ErrorPage, :RequestHeader, :ResponseHeader, :DownstreamCapping, :CacheKey, :ResponseHeaderCache, :VideoSeek, :Cache, :OriginPullOptimization, :Https, :Authentication, :Seo, :ForceRedirect, :Referer, :MaxAge, :ServiceType, :SpecificConfig, :Area, :OriginPullTimeout, :AwsPrivateAccess, :UserAgentFilter, :AccessControl, :UrlRedirect, :AccessPort, :AdvancedAuthentication, :OriginAuthentication, :Ipv6Access, :OfflineCache, :OriginCombine, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication
|
12175
|
+
attr_accessor :Domain, :ProjectId, :Origin, :IpFilter, :IpFreqLimit, :StatusCodeCache, :Compression, :BandwidthAlert, :RangeOriginPull, :FollowRedirect, :ErrorPage, :RequestHeader, :ResponseHeader, :DownstreamCapping, :CacheKey, :ResponseHeaderCache, :VideoSeek, :Cache, :OriginPullOptimization, :Https, :Authentication, :Seo, :ForceRedirect, :Referer, :MaxAge, :ServiceType, :SpecificConfig, :Area, :OriginPullTimeout, :AwsPrivateAccess, :UserAgentFilter, :AccessControl, :UrlRedirect, :AccessPort, :AdvancedAuthentication, :OriginAuthentication, :Ipv6Access, :OfflineCache, :OriginCombine, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication, :ShareCname
|
12119
12176
|
|
12120
|
-
def initialize(domain=nil, projectid=nil, origin=nil, ipfilter=nil, ipfreqlimit=nil, statuscodecache=nil, compression=nil, bandwidthalert=nil, rangeoriginpull=nil, followredirect=nil, errorpage=nil, requestheader=nil, responseheader=nil, downstreamcapping=nil, cachekey=nil, responseheadercache=nil, videoseek=nil, cache=nil, originpulloptimization=nil, https=nil, authentication=nil, seo=nil, forceredirect=nil, referer=nil, maxage=nil, servicetype=nil, specificconfig=nil, area=nil, originpulltimeout=nil, awsprivateaccess=nil, useragentfilter=nil, accesscontrol=nil, urlredirect=nil, accessport=nil, advancedauthentication=nil, originauthentication=nil, ipv6access=nil, offlinecache=nil, origincombine=nil, quic=nil, ossprivateaccess=nil, websocket=nil, remoteauthentication=nil)
|
12177
|
+
def initialize(domain=nil, projectid=nil, origin=nil, ipfilter=nil, ipfreqlimit=nil, statuscodecache=nil, compression=nil, bandwidthalert=nil, rangeoriginpull=nil, followredirect=nil, errorpage=nil, requestheader=nil, responseheader=nil, downstreamcapping=nil, cachekey=nil, responseheadercache=nil, videoseek=nil, cache=nil, originpulloptimization=nil, https=nil, authentication=nil, seo=nil, forceredirect=nil, referer=nil, maxage=nil, servicetype=nil, specificconfig=nil, area=nil, originpulltimeout=nil, awsprivateaccess=nil, useragentfilter=nil, accesscontrol=nil, urlredirect=nil, accessport=nil, advancedauthentication=nil, originauthentication=nil, ipv6access=nil, offlinecache=nil, origincombine=nil, quic=nil, ossprivateaccess=nil, websocket=nil, remoteauthentication=nil, sharecname=nil)
|
12121
12178
|
@Domain = domain
|
12122
12179
|
@ProjectId = projectid
|
12123
12180
|
@Origin = origin
|
@@ -12161,6 +12218,7 @@ module TencentCloud
|
|
12161
12218
|
@OssPrivateAccess = ossprivateaccess
|
12162
12219
|
@WebSocket = websocket
|
12163
12220
|
@RemoteAuthentication = remoteauthentication
|
12221
|
+
@ShareCname = sharecname
|
12164
12222
|
end
|
12165
12223
|
|
12166
12224
|
def deserialize(params)
|
@@ -12321,6 +12379,10 @@ module TencentCloud
|
|
12321
12379
|
@RemoteAuthentication = RemoteAuthentication.new
|
12322
12380
|
@RemoteAuthentication.deserialize(params['RemoteAuthentication'])
|
12323
12381
|
end
|
12382
|
+
unless params['ShareCname'].nil?
|
12383
|
+
@ShareCname = ShareCname.new
|
12384
|
+
@ShareCname.deserialize(params['ShareCname'])
|
12385
|
+
end
|
12324
12386
|
end
|
12325
12387
|
end
|
12326
12388
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.206
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|