tencentcloud-sdk-cdn 1.0.293 → 1.0.296
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 +155 -14
- 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: b5f3d02124774ecf27fdab05877c78a76a412ecb
|
|
4
|
+
data.tar.gz: 1b8e3ab0cd3acee50c86b52da2268fd77a68c5e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a7d4f0e4a75f574acef8019b6db0d65a1b154fe3744ea6ca3b5de208d560b09d33954db8fbffa17cf9f97b31ef190c6fa5e8c9d4f4983410b57cb670494976d
|
|
7
|
+
data.tar.gz: ba91a824b7689db974109e733b484297ee9ef641193f197fa0a032b1c5af9c0eafd9dae9cd1f16da57f2cde3a65e99a86dd75c14ea4420f17290e1bf8ed59ff8
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.296
|
data/lib/v20180606/models.rb
CHANGED
|
@@ -168,10 +168,14 @@ module TencentCloud
|
|
|
168
168
|
# @type AwsPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.AwsPrivateAccess`
|
|
169
169
|
# @param OssPrivateAccess: 回源OSS私有鉴权
|
|
170
170
|
# @type OssPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.OssPrivateAccess`
|
|
171
|
+
# @param HwPrivateAccess: 华为云对象存储回源鉴权
|
|
172
|
+
# @type HwPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.HwPrivateAccess`
|
|
173
|
+
# @param QnPrivateAccess: 七牛云对象存储回源鉴权
|
|
174
|
+
# @type QnPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.QnPrivateAccess`
|
|
171
175
|
|
|
172
|
-
attr_accessor :Domain, :ServiceType, :Origin, :ProjectId, :IpFilter, :IpFreqLimit, :StatusCodeCache, :Compression, :BandwidthAlert, :RangeOriginPull, :FollowRedirect, :ErrorPage, :RequestHeader, :ResponseHeader, :DownstreamCapping, :CacheKey, :ResponseHeaderCache, :VideoSeek, :Cache, :OriginPullOptimization, :Https, :Authentication, :Seo, :ForceRedirect, :Referer, :MaxAge, :Ipv6, :SpecificConfig, :Area, :OriginPullTimeout, :Tag, :Ipv6Access, :OfflineCache, :Quic, :AwsPrivateAccess, :OssPrivateAccess
|
|
176
|
+
attr_accessor :Domain, :ServiceType, :Origin, :ProjectId, :IpFilter, :IpFreqLimit, :StatusCodeCache, :Compression, :BandwidthAlert, :RangeOriginPull, :FollowRedirect, :ErrorPage, :RequestHeader, :ResponseHeader, :DownstreamCapping, :CacheKey, :ResponseHeaderCache, :VideoSeek, :Cache, :OriginPullOptimization, :Https, :Authentication, :Seo, :ForceRedirect, :Referer, :MaxAge, :Ipv6, :SpecificConfig, :Area, :OriginPullTimeout, :Tag, :Ipv6Access, :OfflineCache, :Quic, :AwsPrivateAccess, :OssPrivateAccess, :HwPrivateAccess, :QnPrivateAccess
|
|
173
177
|
|
|
174
|
-
def initialize(domain=nil, servicetype=nil, origin=nil, projectid=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, ipv6=nil, specificconfig=nil, area=nil, originpulltimeout=nil, tag=nil, ipv6access=nil, offlinecache=nil, quic=nil, awsprivateaccess=nil, ossprivateaccess=nil)
|
|
178
|
+
def initialize(domain=nil, servicetype=nil, origin=nil, projectid=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, ipv6=nil, specificconfig=nil, area=nil, originpulltimeout=nil, tag=nil, ipv6access=nil, offlinecache=nil, quic=nil, awsprivateaccess=nil, ossprivateaccess=nil, hwprivateaccess=nil, qnprivateaccess=nil)
|
|
175
179
|
@Domain = domain
|
|
176
180
|
@ServiceType = servicetype
|
|
177
181
|
@Origin = origin
|
|
@@ -208,6 +212,8 @@ module TencentCloud
|
|
|
208
212
|
@Quic = quic
|
|
209
213
|
@AwsPrivateAccess = awsprivateaccess
|
|
210
214
|
@OssPrivateAccess = ossprivateaccess
|
|
215
|
+
@HwPrivateAccess = hwprivateaccess
|
|
216
|
+
@QnPrivateAccess = qnprivateaccess
|
|
211
217
|
end
|
|
212
218
|
|
|
213
219
|
def deserialize(params)
|
|
@@ -347,6 +353,14 @@ module TencentCloud
|
|
|
347
353
|
@OssPrivateAccess = OssPrivateAccess.new
|
|
348
354
|
@OssPrivateAccess.deserialize(params['OssPrivateAccess'])
|
|
349
355
|
end
|
|
356
|
+
unless params['HwPrivateAccess'].nil?
|
|
357
|
+
@HwPrivateAccess = HwPrivateAccess.new
|
|
358
|
+
@HwPrivateAccess.deserialize(params['HwPrivateAccess'])
|
|
359
|
+
end
|
|
360
|
+
unless params['QnPrivateAccess'].nil?
|
|
361
|
+
@QnPrivateAccess = QnPrivateAccess.new
|
|
362
|
+
@QnPrivateAccess.deserialize(params['QnPrivateAccess'])
|
|
363
|
+
end
|
|
350
364
|
end
|
|
351
365
|
end
|
|
352
366
|
|
|
@@ -1452,19 +1466,29 @@ module TencentCloud
|
|
|
1452
1466
|
# @param SecretKey: 密钥。
|
|
1453
1467
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1454
1468
|
# @type SecretKey: String
|
|
1469
|
+
# @param Region: 地域
|
|
1470
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1471
|
+
# @type Region: String
|
|
1472
|
+
# @param Bucket: Bucketname
|
|
1473
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1474
|
+
# @type Bucket: String
|
|
1455
1475
|
|
|
1456
|
-
attr_accessor :Switch, :AccessKey, :SecretKey
|
|
1476
|
+
attr_accessor :Switch, :AccessKey, :SecretKey, :Region, :Bucket
|
|
1457
1477
|
|
|
1458
|
-
def initialize(switch=nil, accesskey=nil, secretkey=nil)
|
|
1478
|
+
def initialize(switch=nil, accesskey=nil, secretkey=nil, region=nil, bucket=nil)
|
|
1459
1479
|
@Switch = switch
|
|
1460
1480
|
@AccessKey = accesskey
|
|
1461
1481
|
@SecretKey = secretkey
|
|
1482
|
+
@Region = region
|
|
1483
|
+
@Bucket = bucket
|
|
1462
1484
|
end
|
|
1463
1485
|
|
|
1464
1486
|
def deserialize(params)
|
|
1465
1487
|
@Switch = params['Switch']
|
|
1466
1488
|
@AccessKey = params['AccessKey']
|
|
1467
1489
|
@SecretKey = params['SecretKey']
|
|
1490
|
+
@Region = params['Region']
|
|
1491
|
+
@Bucket = params['Bucket']
|
|
1468
1492
|
end
|
|
1469
1493
|
end
|
|
1470
1494
|
|
|
@@ -6100,10 +6124,16 @@ module TencentCloud
|
|
|
6100
6124
|
# @param ParentHost: 主域名
|
|
6101
6125
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6102
6126
|
# @type ParentHost: String
|
|
6127
|
+
# @param HwPrivateAccess: 华为云对象存储回源鉴权
|
|
6128
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6129
|
+
# @type HwPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.HwPrivateAccess`
|
|
6130
|
+
# @param QnPrivateAccess: 七牛云对象存储回源鉴权
|
|
6131
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6132
|
+
# @type QnPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.QnPrivateAccess`
|
|
6103
6133
|
|
|
6104
|
-
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, :RuleEngine, :ParentHost
|
|
6134
|
+
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, :RuleEngine, :ParentHost, :HwPrivateAccess, :QnPrivateAccess
|
|
6105
6135
|
|
|
6106
|
-
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, ruleengine=nil, parenthost=nil)
|
|
6136
|
+
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, ruleengine=nil, parenthost=nil, hwprivateaccess=nil, qnprivateaccess=nil)
|
|
6107
6137
|
@ResourceId = resourceid
|
|
6108
6138
|
@AppId = appid
|
|
6109
6139
|
@Domain = domain
|
|
@@ -6166,6 +6196,8 @@ module TencentCloud
|
|
|
6166
6196
|
@ShareCname = sharecname
|
|
6167
6197
|
@RuleEngine = ruleengine
|
|
6168
6198
|
@ParentHost = parenthost
|
|
6199
|
+
@HwPrivateAccess = hwprivateaccess
|
|
6200
|
+
@QnPrivateAccess = qnprivateaccess
|
|
6169
6201
|
end
|
|
6170
6202
|
|
|
6171
6203
|
def deserialize(params)
|
|
@@ -6380,6 +6412,14 @@ module TencentCloud
|
|
|
6380
6412
|
@RuleEngine.deserialize(params['RuleEngine'])
|
|
6381
6413
|
end
|
|
6382
6414
|
@ParentHost = params['ParentHost']
|
|
6415
|
+
unless params['HwPrivateAccess'].nil?
|
|
6416
|
+
@HwPrivateAccess = HwPrivateAccess.new
|
|
6417
|
+
@HwPrivateAccess.deserialize(params['HwPrivateAccess'])
|
|
6418
|
+
end
|
|
6419
|
+
unless params['QnPrivateAccess'].nil?
|
|
6420
|
+
@QnPrivateAccess = QnPrivateAccess.new
|
|
6421
|
+
@QnPrivateAccess.deserialize(params['QnPrivateAccess'])
|
|
6422
|
+
end
|
|
6383
6423
|
end
|
|
6384
6424
|
end
|
|
6385
6425
|
|
|
@@ -7449,6 +7489,37 @@ module TencentCloud
|
|
|
7449
7489
|
end
|
|
7450
7490
|
end
|
|
7451
7491
|
|
|
7492
|
+
# 华为云对象存储回源鉴权
|
|
7493
|
+
class HwPrivateAccess < TencentCloud::Common::AbstractModel
|
|
7494
|
+
# @param Switch: 开关 on/off
|
|
7495
|
+
# @type Switch: String
|
|
7496
|
+
# @param AccessKey: 访问 ID
|
|
7497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7498
|
+
# @type AccessKey: String
|
|
7499
|
+
# @param SecretKey: 密钥
|
|
7500
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7501
|
+
# @type SecretKey: String
|
|
7502
|
+
# @param Bucket: bucketname
|
|
7503
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7504
|
+
# @type Bucket: String
|
|
7505
|
+
|
|
7506
|
+
attr_accessor :Switch, :AccessKey, :SecretKey, :Bucket
|
|
7507
|
+
|
|
7508
|
+
def initialize(switch=nil, accesskey=nil, secretkey=nil, bucket=nil)
|
|
7509
|
+
@Switch = switch
|
|
7510
|
+
@AccessKey = accesskey
|
|
7511
|
+
@SecretKey = secretkey
|
|
7512
|
+
@Bucket = bucket
|
|
7513
|
+
end
|
|
7514
|
+
|
|
7515
|
+
def deserialize(params)
|
|
7516
|
+
@Switch = params['Switch']
|
|
7517
|
+
@AccessKey = params['AccessKey']
|
|
7518
|
+
@SecretKey = params['SecretKey']
|
|
7519
|
+
@Bucket = params['Bucket']
|
|
7520
|
+
end
|
|
7521
|
+
end
|
|
7522
|
+
|
|
7452
7523
|
# ImageOptimization配置
|
|
7453
7524
|
class ImageOptimization < TencentCloud::Common::AbstractModel
|
|
7454
7525
|
# @param WebpAdapter: WebpAdapter配置
|
|
@@ -8778,10 +8849,16 @@ module TencentCloud
|
|
|
8778
8849
|
# @param OssPrivateAccess: 回源OSS私有鉴权。
|
|
8779
8850
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8780
8851
|
# @type OssPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.OssPrivateAccess`
|
|
8852
|
+
# @param HwPrivateAccess: 华为云对象存储回源鉴权
|
|
8853
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8854
|
+
# @type HwPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.HwPrivateAccess`
|
|
8855
|
+
# @param QnPrivateAccess: 七牛云对象存储回源鉴权
|
|
8856
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8857
|
+
# @type QnPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.QnPrivateAccess`
|
|
8781
8858
|
|
|
8782
|
-
attr_accessor :Authentication, :BandwidthAlert, :Cache, :CacheKey, :Compression, :DownstreamCapping, :ErrorPage, :FollowRedirect, :ForceRedirect, :Https, :IpFilter, :IpFreqLimit, :MaxAge, :Origin, :OriginPullOptimization, :RangeOriginPull, :Referer, :RequestHeader, :ResponseHeader, :ResponseHeaderCache, :Seo, :ServiceType, :StatusCodeCache, :VideoSeek, :AwsPrivateAccess, :OssPrivateAccess
|
|
8859
|
+
attr_accessor :Authentication, :BandwidthAlert, :Cache, :CacheKey, :Compression, :DownstreamCapping, :ErrorPage, :FollowRedirect, :ForceRedirect, :Https, :IpFilter, :IpFreqLimit, :MaxAge, :Origin, :OriginPullOptimization, :RangeOriginPull, :Referer, :RequestHeader, :ResponseHeader, :ResponseHeaderCache, :Seo, :ServiceType, :StatusCodeCache, :VideoSeek, :AwsPrivateAccess, :OssPrivateAccess, :HwPrivateAccess, :QnPrivateAccess
|
|
8783
8860
|
|
|
8784
|
-
def initialize(authentication=nil, bandwidthalert=nil, cache=nil, cachekey=nil, compression=nil, downstreamcapping=nil, errorpage=nil, followredirect=nil, forceredirect=nil, https=nil, ipfilter=nil, ipfreqlimit=nil, maxage=nil, origin=nil, originpulloptimization=nil, rangeoriginpull=nil, referer=nil, requestheader=nil, responseheader=nil, responseheadercache=nil, seo=nil, servicetype=nil, statuscodecache=nil, videoseek=nil, awsprivateaccess=nil, ossprivateaccess=nil)
|
|
8861
|
+
def initialize(authentication=nil, bandwidthalert=nil, cache=nil, cachekey=nil, compression=nil, downstreamcapping=nil, errorpage=nil, followredirect=nil, forceredirect=nil, https=nil, ipfilter=nil, ipfreqlimit=nil, maxage=nil, origin=nil, originpulloptimization=nil, rangeoriginpull=nil, referer=nil, requestheader=nil, responseheader=nil, responseheadercache=nil, seo=nil, servicetype=nil, statuscodecache=nil, videoseek=nil, awsprivateaccess=nil, ossprivateaccess=nil, hwprivateaccess=nil, qnprivateaccess=nil)
|
|
8785
8862
|
@Authentication = authentication
|
|
8786
8863
|
@BandwidthAlert = bandwidthalert
|
|
8787
8864
|
@Cache = cache
|
|
@@ -8808,6 +8885,8 @@ module TencentCloud
|
|
|
8808
8885
|
@VideoSeek = videoseek
|
|
8809
8886
|
@AwsPrivateAccess = awsprivateaccess
|
|
8810
8887
|
@OssPrivateAccess = ossprivateaccess
|
|
8888
|
+
@HwPrivateAccess = hwprivateaccess
|
|
8889
|
+
@QnPrivateAccess = qnprivateaccess
|
|
8811
8890
|
end
|
|
8812
8891
|
|
|
8813
8892
|
def deserialize(params)
|
|
@@ -8912,6 +8991,14 @@ module TencentCloud
|
|
|
8912
8991
|
@OssPrivateAccess = OssPrivateAccess.new
|
|
8913
8992
|
@OssPrivateAccess.deserialize(params['OssPrivateAccess'])
|
|
8914
8993
|
end
|
|
8994
|
+
unless params['HwPrivateAccess'].nil?
|
|
8995
|
+
@HwPrivateAccess = HwPrivateAccess.new
|
|
8996
|
+
@HwPrivateAccess.deserialize(params['HwPrivateAccess'])
|
|
8997
|
+
end
|
|
8998
|
+
unless params['QnPrivateAccess'].nil?
|
|
8999
|
+
@QnPrivateAccess = QnPrivateAccess.new
|
|
9000
|
+
@QnPrivateAccess.deserialize(params['QnPrivateAccess'])
|
|
9001
|
+
end
|
|
8915
9002
|
end
|
|
8916
9003
|
end
|
|
8917
9004
|
|
|
@@ -9202,10 +9289,13 @@ module TencentCloud
|
|
|
9202
9289
|
# @param AdvanceHttps: HTTPS回源高级配置
|
|
9203
9290
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9204
9291
|
# @type AdvanceHttps: :class:`Tencentcloud::Cdn.v20180606.models.AdvanceHttps`
|
|
9292
|
+
# @param OriginCompany: 对象存储回源厂商
|
|
9293
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9294
|
+
# @type OriginCompany: String
|
|
9205
9295
|
|
|
9206
|
-
attr_accessor :Origins, :OriginType, :ServerName, :CosPrivateAccess, :OriginPullProtocol, :BackupOrigins, :BackupOriginType, :BackupServerName, :BasePath, :PathRules, :PathBasedOrigin, :AdvanceHttps
|
|
9296
|
+
attr_accessor :Origins, :OriginType, :ServerName, :CosPrivateAccess, :OriginPullProtocol, :BackupOrigins, :BackupOriginType, :BackupServerName, :BasePath, :PathRules, :PathBasedOrigin, :AdvanceHttps, :OriginCompany
|
|
9207
9297
|
|
|
9208
|
-
def initialize(origins=nil, origintype=nil, servername=nil, cosprivateaccess=nil, originpullprotocol=nil, backuporigins=nil, backuporigintype=nil, backupservername=nil, basepath=nil, pathrules=nil, pathbasedorigin=nil, advancehttps=nil)
|
|
9298
|
+
def initialize(origins=nil, origintype=nil, servername=nil, cosprivateaccess=nil, originpullprotocol=nil, backuporigins=nil, backuporigintype=nil, backupservername=nil, basepath=nil, pathrules=nil, pathbasedorigin=nil, advancehttps=nil, origincompany=nil)
|
|
9209
9299
|
@Origins = origins
|
|
9210
9300
|
@OriginType = origintype
|
|
9211
9301
|
@ServerName = servername
|
|
@@ -9218,6 +9308,7 @@ module TencentCloud
|
|
|
9218
9308
|
@PathRules = pathrules
|
|
9219
9309
|
@PathBasedOrigin = pathbasedorigin
|
|
9220
9310
|
@AdvanceHttps = advancehttps
|
|
9311
|
+
@OriginCompany = origincompany
|
|
9221
9312
|
end
|
|
9222
9313
|
|
|
9223
9314
|
def deserialize(params)
|
|
@@ -9250,6 +9341,7 @@ module TencentCloud
|
|
|
9250
9341
|
@AdvanceHttps = AdvanceHttps.new
|
|
9251
9342
|
@AdvanceHttps.deserialize(params['AdvanceHttps'])
|
|
9252
9343
|
end
|
|
9344
|
+
@OriginCompany = params['OriginCompany']
|
|
9253
9345
|
end
|
|
9254
9346
|
end
|
|
9255
9347
|
|
|
@@ -9384,19 +9476,29 @@ module TencentCloud
|
|
|
9384
9476
|
# @param SecretKey: 密钥。
|
|
9385
9477
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9386
9478
|
# @type SecretKey: String
|
|
9479
|
+
# @param Region: 地域
|
|
9480
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9481
|
+
# @type Region: String
|
|
9482
|
+
# @param Bucket: Bucketname
|
|
9483
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9484
|
+
# @type Bucket: String
|
|
9387
9485
|
|
|
9388
|
-
attr_accessor :Switch, :AccessKey, :SecretKey
|
|
9486
|
+
attr_accessor :Switch, :AccessKey, :SecretKey, :Region, :Bucket
|
|
9389
9487
|
|
|
9390
|
-
def initialize(switch=nil, accesskey=nil, secretkey=nil)
|
|
9488
|
+
def initialize(switch=nil, accesskey=nil, secretkey=nil, region=nil, bucket=nil)
|
|
9391
9489
|
@Switch = switch
|
|
9392
9490
|
@AccessKey = accesskey
|
|
9393
9491
|
@SecretKey = secretkey
|
|
9492
|
+
@Region = region
|
|
9493
|
+
@Bucket = bucket
|
|
9394
9494
|
end
|
|
9395
9495
|
|
|
9396
9496
|
def deserialize(params)
|
|
9397
9497
|
@Switch = params['Switch']
|
|
9398
9498
|
@AccessKey = params['AccessKey']
|
|
9399
9499
|
@SecretKey = params['SecretKey']
|
|
9500
|
+
@Region = params['Region']
|
|
9501
|
+
@Bucket = params['Bucket']
|
|
9400
9502
|
end
|
|
9401
9503
|
end
|
|
9402
9504
|
|
|
@@ -9996,6 +10098,31 @@ module TencentCloud
|
|
|
9996
10098
|
end
|
|
9997
10099
|
end
|
|
9998
10100
|
|
|
10101
|
+
# 七牛元对象存储回源鉴权配置
|
|
10102
|
+
class QnPrivateAccess < TencentCloud::Common::AbstractModel
|
|
10103
|
+
# @param Switch: 开关 on/off
|
|
10104
|
+
# @type Switch: String
|
|
10105
|
+
# @param AccessKey: 访问 ID
|
|
10106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10107
|
+
# @type AccessKey: String
|
|
10108
|
+
# @param SecretKey: 密钥
|
|
10109
|
+
# @type SecretKey: String
|
|
10110
|
+
|
|
10111
|
+
attr_accessor :Switch, :AccessKey, :SecretKey
|
|
10112
|
+
|
|
10113
|
+
def initialize(switch=nil, accesskey=nil, secretkey=nil)
|
|
10114
|
+
@Switch = switch
|
|
10115
|
+
@AccessKey = accesskey
|
|
10116
|
+
@SecretKey = secretkey
|
|
10117
|
+
end
|
|
10118
|
+
|
|
10119
|
+
def deserialize(params)
|
|
10120
|
+
@Switch = params['Switch']
|
|
10121
|
+
@AccessKey = params['AccessKey']
|
|
10122
|
+
@SecretKey = params['SecretKey']
|
|
10123
|
+
end
|
|
10124
|
+
end
|
|
10125
|
+
|
|
9999
10126
|
# 组成CacheKey的一部分
|
|
10000
10127
|
class QueryStringKey < TencentCloud::Common::AbstractModel
|
|
10001
10128
|
# @param Switch: on | off CacheKey是否由QueryString组成
|
|
@@ -12430,10 +12557,14 @@ module TencentCloud
|
|
|
12430
12557
|
# @type RemoteAuthentication: :class:`Tencentcloud::Cdn.v20180606.models.RemoteAuthentication`
|
|
12431
12558
|
# @param ShareCname: 共享CNAME配置,白名单功能
|
|
12432
12559
|
# @type ShareCname: :class:`Tencentcloud::Cdn.v20180606.models.ShareCname`
|
|
12560
|
+
# @param HwPrivateAccess: 华为云对象存储回源鉴权
|
|
12561
|
+
# @type HwPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.HwPrivateAccess`
|
|
12562
|
+
# @param QnPrivateAccess: 七牛云对象存储回源鉴权
|
|
12563
|
+
# @type QnPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.QnPrivateAccess`
|
|
12433
12564
|
|
|
12434
|
-
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, :SpecificConfig, :ServiceType, :Area, :OriginPullTimeout, :AwsPrivateAccess, :UserAgentFilter, :AccessControl, :UrlRedirect, :AccessPort, :AdvancedAuthentication, :OriginAuthentication, :Ipv6Access, :OfflineCache, :OriginCombine, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication, :ShareCname
|
|
12565
|
+
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, :SpecificConfig, :ServiceType, :Area, :OriginPullTimeout, :AwsPrivateAccess, :UserAgentFilter, :AccessControl, :UrlRedirect, :AccessPort, :AdvancedAuthentication, :OriginAuthentication, :Ipv6Access, :OfflineCache, :OriginCombine, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication, :ShareCname, :HwPrivateAccess, :QnPrivateAccess
|
|
12435
12566
|
|
|
12436
|
-
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, specificconfig=nil, servicetype=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)
|
|
12567
|
+
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, specificconfig=nil, servicetype=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, hwprivateaccess=nil, qnprivateaccess=nil)
|
|
12437
12568
|
@Domain = domain
|
|
12438
12569
|
@ProjectId = projectid
|
|
12439
12570
|
@Origin = origin
|
|
@@ -12478,6 +12609,8 @@ module TencentCloud
|
|
|
12478
12609
|
@WebSocket = websocket
|
|
12479
12610
|
@RemoteAuthentication = remoteauthentication
|
|
12480
12611
|
@ShareCname = sharecname
|
|
12612
|
+
@HwPrivateAccess = hwprivateaccess
|
|
12613
|
+
@QnPrivateAccess = qnprivateaccess
|
|
12481
12614
|
end
|
|
12482
12615
|
|
|
12483
12616
|
def deserialize(params)
|
|
@@ -12642,6 +12775,14 @@ module TencentCloud
|
|
|
12642
12775
|
@ShareCname = ShareCname.new
|
|
12643
12776
|
@ShareCname.deserialize(params['ShareCname'])
|
|
12644
12777
|
end
|
|
12778
|
+
unless params['HwPrivateAccess'].nil?
|
|
12779
|
+
@HwPrivateAccess = HwPrivateAccess.new
|
|
12780
|
+
@HwPrivateAccess.deserialize(params['HwPrivateAccess'])
|
|
12781
|
+
end
|
|
12782
|
+
unless params['QnPrivateAccess'].nil?
|
|
12783
|
+
@QnPrivateAccess = QnPrivateAccess.new
|
|
12784
|
+
@QnPrivateAccess.deserialize(params['QnPrivateAccess'])
|
|
12785
|
+
end
|
|
12645
12786
|
end
|
|
12646
12787
|
end
|
|
12647
12788
|
|
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.296
|
|
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-04-
|
|
11
|
+
date: 2022-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|