tencentcloud-sdk-cdn 1.0.301 → 1.0.302
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 +82 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 573e7a73134f14ec62b7b18c5b0a0ac17005e7e8
|
4
|
+
data.tar.gz: 6557523e81dab3385787d636c1755474cb7a49fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53f4b6b7e60c2e33e68fe9f86563e07e5d690d183214403dd6441ee3ec143d9f9883f15087d412ad825b9078f491336c5494bf4db0c9a4135827240f38eb506d
|
7
|
+
data.tar.gz: 9e25509c0d829ec4d34981fc6b532ea7189c2bbba9f893aecc93c48f65875a974028444f6db86c1f792346cca81082fab846a18011bd4526569bd7400d132843
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.302
|
data/lib/v20180606/models.rb
CHANGED
@@ -1953,6 +1953,27 @@ module TencentCloud
|
|
1953
1953
|
end
|
1954
1954
|
end
|
1955
1955
|
|
1956
|
+
# 启发式自定义时间缓存配置
|
1957
|
+
class CacheConfig < TencentCloud::Common::AbstractModel
|
1958
|
+
# @param HeuristicCacheTimeSwitch: on 代表开启自定义启发式缓存时间
|
1959
|
+
# off 代表关闭自定义启发式缓存时间
|
1960
|
+
# @type HeuristicCacheTimeSwitch: String
|
1961
|
+
# @param HeuristicCacheTime: 单位 秒.
|
1962
|
+
# @type HeuristicCacheTime: Integer
|
1963
|
+
|
1964
|
+
attr_accessor :HeuristicCacheTimeSwitch, :HeuristicCacheTime
|
1965
|
+
|
1966
|
+
def initialize(heuristiccachetimeswitch=nil, heuristiccachetime=nil)
|
1967
|
+
@HeuristicCacheTimeSwitch = heuristiccachetimeswitch
|
1968
|
+
@HeuristicCacheTime = heuristiccachetime
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
def deserialize(params)
|
1972
|
+
@HeuristicCacheTimeSwitch = params['HeuristicCacheTimeSwitch']
|
1973
|
+
@HeuristicCacheTime = params['HeuristicCacheTime']
|
1974
|
+
end
|
1975
|
+
end
|
1976
|
+
|
1956
1977
|
# 路径缓存缓存配置
|
1957
1978
|
class CacheConfigCache < TencentCloud::Common::AbstractModel
|
1958
1979
|
# @param Switch: 缓存配置开关
|
@@ -2008,15 +2029,23 @@ module TencentCloud
|
|
2008
2029
|
# on:开启
|
2009
2030
|
# off:关闭
|
2010
2031
|
# @type Switch: String
|
2032
|
+
# @param HeuristicCache: 启发式缓存配置
|
2033
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2034
|
+
# @type HeuristicCache: :class:`Tencentcloud::Cdn.v20180606.models.HeuristicCache`
|
2011
2035
|
|
2012
|
-
attr_accessor :Switch
|
2036
|
+
attr_accessor :Switch, :HeuristicCache
|
2013
2037
|
|
2014
|
-
def initialize(switch=nil)
|
2038
|
+
def initialize(switch=nil, heuristiccache=nil)
|
2015
2039
|
@Switch = switch
|
2040
|
+
@HeuristicCache = heuristiccache
|
2016
2041
|
end
|
2017
2042
|
|
2018
2043
|
def deserialize(params)
|
2019
2044
|
@Switch = params['Switch']
|
2045
|
+
unless params['HeuristicCache'].nil?
|
2046
|
+
@HeuristicCache = HeuristicCache.new
|
2047
|
+
@HeuristicCache.deserialize(params['HeuristicCache'])
|
2048
|
+
end
|
2020
2049
|
end
|
2021
2050
|
end
|
2022
2051
|
|
@@ -3301,10 +3330,12 @@ module TencentCloud
|
|
3301
3330
|
# @type Metric: String
|
3302
3331
|
# @param Product: 指定查询的产品数据,可选为cdn或者ecdn,默认为cdn
|
3303
3332
|
# @type Product: String
|
3333
|
+
# @param TimeZone: 指定查询时间的时区,默认UTC+08:00
|
3334
|
+
# @type TimeZone: String
|
3304
3335
|
|
3305
|
-
attr_accessor :StartTime, :EndTime, :Interval, :Domain, :Project, :Area, :District, :Metric, :Product
|
3336
|
+
attr_accessor :StartTime, :EndTime, :Interval, :Domain, :Project, :Area, :District, :Metric, :Product, :TimeZone
|
3306
3337
|
|
3307
|
-
def initialize(starttime=nil, endtime=nil, interval=nil, domain=nil, project=nil, area=nil, district=nil, metric=nil, product=nil)
|
3338
|
+
def initialize(starttime=nil, endtime=nil, interval=nil, domain=nil, project=nil, area=nil, district=nil, metric=nil, product=nil, timezone=nil)
|
3308
3339
|
@StartTime = starttime
|
3309
3340
|
@EndTime = endtime
|
3310
3341
|
@Interval = interval
|
@@ -3314,6 +3345,7 @@ module TencentCloud
|
|
3314
3345
|
@District = district
|
3315
3346
|
@Metric = metric
|
3316
3347
|
@Product = product
|
3348
|
+
@TimeZone = timezone
|
3317
3349
|
end
|
3318
3350
|
|
3319
3351
|
def deserialize(params)
|
@@ -3326,6 +3358,7 @@ module TencentCloud
|
|
3326
3358
|
@District = params['District']
|
3327
3359
|
@Metric = params['Metric']
|
3328
3360
|
@Product = params['Product']
|
3361
|
+
@TimeZone = params['TimeZone']
|
3329
3362
|
end
|
3330
3363
|
end
|
3331
3364
|
|
@@ -3561,10 +3594,12 @@ module TencentCloud
|
|
3561
3594
|
# @type AreaType: String
|
3562
3595
|
# @param Product: 指定查询的产品数据,可选为cdn或者ecdn,默认为cdn
|
3563
3596
|
# @type Product: String
|
3597
|
+
# @param TimeZone: 指定查询时间的时区,默认UTC+08:00
|
3598
|
+
# @type TimeZone: String
|
3564
3599
|
|
3565
|
-
attr_accessor :StartTime, :EndTime, :Metric, :Domains, :Project, :Interval, :Detail, :Isp, :District, :Protocol, :DataSource, :IpProtocol, :Area, :AreaType, :Product
|
3600
|
+
attr_accessor :StartTime, :EndTime, :Metric, :Domains, :Project, :Interval, :Detail, :Isp, :District, :Protocol, :DataSource, :IpProtocol, :Area, :AreaType, :Product, :TimeZone
|
3566
3601
|
|
3567
|
-
def initialize(starttime=nil, endtime=nil, metric=nil, domains=nil, project=nil, interval=nil, detail=nil, isp=nil, district=nil, protocol=nil, datasource=nil, ipprotocol=nil, area=nil, areatype=nil, product=nil)
|
3602
|
+
def initialize(starttime=nil, endtime=nil, metric=nil, domains=nil, project=nil, interval=nil, detail=nil, isp=nil, district=nil, protocol=nil, datasource=nil, ipprotocol=nil, area=nil, areatype=nil, product=nil, timezone=nil)
|
3568
3603
|
@StartTime = starttime
|
3569
3604
|
@EndTime = endtime
|
3570
3605
|
@Metric = metric
|
@@ -3580,6 +3615,7 @@ module TencentCloud
|
|
3580
3615
|
@Area = area
|
3581
3616
|
@AreaType = areatype
|
3582
3617
|
@Product = product
|
3618
|
+
@TimeZone = timezone
|
3583
3619
|
end
|
3584
3620
|
|
3585
3621
|
def deserialize(params)
|
@@ -3598,6 +3634,7 @@ module TencentCloud
|
|
3598
3634
|
@Area = params['Area']
|
3599
3635
|
@AreaType = params['AreaType']
|
3600
3636
|
@Product = params['Product']
|
3637
|
+
@TimeZone = params['TimeZone']
|
3601
3638
|
end
|
3602
3639
|
end
|
3603
3640
|
|
@@ -4619,10 +4656,12 @@ module TencentCloud
|
|
4619
4656
|
# mainland:指定查询中国境内 CDN 数据
|
4620
4657
|
# overseas:指定查询中国境外 CDN 数据
|
4621
4658
|
# @type Area: String
|
4659
|
+
# @param TimeZone: 指定查询时间的时区,默认UTC+08:00
|
4660
|
+
# @type TimeZone: String
|
4622
4661
|
|
4623
|
-
attr_accessor :StartTime, :EndTime, :Metric, :Domains, :Project, :Interval, :Detail, :Area
|
4662
|
+
attr_accessor :StartTime, :EndTime, :Metric, :Domains, :Project, :Interval, :Detail, :Area, :TimeZone
|
4624
4663
|
|
4625
|
-
def initialize(starttime=nil, endtime=nil, metric=nil, domains=nil, project=nil, interval=nil, detail=nil, area=nil)
|
4664
|
+
def initialize(starttime=nil, endtime=nil, metric=nil, domains=nil, project=nil, interval=nil, detail=nil, area=nil, timezone=nil)
|
4626
4665
|
@StartTime = starttime
|
4627
4666
|
@EndTime = endtime
|
4628
4667
|
@Metric = metric
|
@@ -4631,6 +4670,7 @@ module TencentCloud
|
|
4631
4670
|
@Interval = interval
|
4632
4671
|
@Detail = detail
|
4633
4672
|
@Area = area
|
4673
|
+
@TimeZone = timezone
|
4634
4674
|
end
|
4635
4675
|
|
4636
4676
|
def deserialize(params)
|
@@ -4642,6 +4682,7 @@ module TencentCloud
|
|
4642
4682
|
@Interval = params['Interval']
|
4643
4683
|
@Detail = params['Detail']
|
4644
4684
|
@Area = params['Area']
|
4685
|
+
@TimeZone = params['TimeZone']
|
4645
4686
|
end
|
4646
4687
|
end
|
4647
4688
|
|
@@ -7300,6 +7341,30 @@ module TencentCloud
|
|
7300
7341
|
end
|
7301
7342
|
end
|
7302
7343
|
|
7344
|
+
# 启发式缓存配置
|
7345
|
+
class HeuristicCache < TencentCloud::Common::AbstractModel
|
7346
|
+
# @param Switch: on 代表开启启发式缓存
|
7347
|
+
# off 代表关闭启发式缓存
|
7348
|
+
# @type Switch: String
|
7349
|
+
# @param CacheConfig: 自定义启发式缓存时间配置
|
7350
|
+
# @type CacheConfig: :class:`Tencentcloud::Cdn.v20180606.models.CacheConfig`
|
7351
|
+
|
7352
|
+
attr_accessor :Switch, :CacheConfig
|
7353
|
+
|
7354
|
+
def initialize(switch=nil, cacheconfig=nil)
|
7355
|
+
@Switch = switch
|
7356
|
+
@CacheConfig = cacheconfig
|
7357
|
+
end
|
7358
|
+
|
7359
|
+
def deserialize(params)
|
7360
|
+
@Switch = params['Switch']
|
7361
|
+
unless params['CacheConfig'].nil?
|
7362
|
+
@CacheConfig = CacheConfig.new
|
7363
|
+
@CacheConfig.deserialize(params['CacheConfig'])
|
7364
|
+
end
|
7365
|
+
end
|
7366
|
+
end
|
7367
|
+
|
7303
7368
|
# HSTS 配置。
|
7304
7369
|
class Hsts < TencentCloud::Common::AbstractModel
|
7305
7370
|
# @param Switch: 是否开启,on或off。
|
@@ -12563,6 +12628,8 @@ module TencentCloud
|
|
12563
12628
|
# @type OfflineCache: :class:`Tencentcloud::Cdn.v20180606.models.OfflineCache`
|
12564
12629
|
# @param OriginCombine: 合并回源
|
12565
12630
|
# @type OriginCombine: :class:`Tencentcloud::Cdn.v20180606.models.OriginCombine`
|
12631
|
+
# @param PostMaxSize: POST请求传输配置
|
12632
|
+
# @type PostMaxSize: :class:`Tencentcloud::Cdn.v20180606.models.PostSize`
|
12566
12633
|
# @param Quic: Quic访问(收费服务,详见计费说明和产品文档)
|
12567
12634
|
# @type Quic: :class:`Tencentcloud::Cdn.v20180606.models.Quic`
|
12568
12635
|
# @param OssPrivateAccess: 回源OSS私有鉴权
|
@@ -12578,9 +12645,9 @@ module TencentCloud
|
|
12578
12645
|
# @param QnPrivateAccess: 七牛云对象存储回源鉴权
|
12579
12646
|
# @type QnPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.QnPrivateAccess`
|
12580
12647
|
|
12581
|
-
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
|
12648
|
+
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, :PostMaxSize, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication, :ShareCname, :HwPrivateAccess, :QnPrivateAccess
|
12582
12649
|
|
12583
|
-
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)
|
12650
|
+
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, postmaxsize=nil, quic=nil, ossprivateaccess=nil, websocket=nil, remoteauthentication=nil, sharecname=nil, hwprivateaccess=nil, qnprivateaccess=nil)
|
12584
12651
|
@Domain = domain
|
12585
12652
|
@ProjectId = projectid
|
12586
12653
|
@Origin = origin
|
@@ -12620,6 +12687,7 @@ module TencentCloud
|
|
12620
12687
|
@Ipv6Access = ipv6access
|
12621
12688
|
@OfflineCache = offlinecache
|
12622
12689
|
@OriginCombine = origincombine
|
12690
|
+
@PostMaxSize = postmaxsize
|
12623
12691
|
@Quic = quic
|
12624
12692
|
@OssPrivateAccess = ossprivateaccess
|
12625
12693
|
@WebSocket = websocket
|
@@ -12771,6 +12839,10 @@ module TencentCloud
|
|
12771
12839
|
@OriginCombine = OriginCombine.new
|
12772
12840
|
@OriginCombine.deserialize(params['OriginCombine'])
|
12773
12841
|
end
|
12842
|
+
unless params['PostMaxSize'].nil?
|
12843
|
+
@PostMaxSize = PostSize.new
|
12844
|
+
@PostMaxSize.deserialize(params['PostMaxSize'])
|
12845
|
+
end
|
12774
12846
|
unless params['Quic'].nil?
|
12775
12847
|
@Quic = Quic.new
|
12776
12848
|
@Quic.deserialize(params['Quic'])
|