tencentcloud-sdk-cdn 1.0.301 → 1.0.304
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 +170 -18
- 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: f82dc0b1996dbcc6fdfff4342d509a5ffc667904
|
|
4
|
+
data.tar.gz: 39b8dbc31bcc230f6dd4ab24a3174df67be5ec82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b684fbb711bbf1078a9b1bc4399fc93fd45d9884b82d9a10dbf0b5236bae19c58c35c6ee245f1ea4b15e7ebdd6334818ead01778672287c713b5974ae4bb4cab
|
|
7
|
+
data.tar.gz: 1ce926e2f57494b4ef0b7c3716a19fdbf0bbf786540ab2d0d02eaa3befa892ea81988a78f7c17a57a32586b2bf8c539241e4ee60a02b676ca8483526a4bd311d
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.304
|
data/lib/v20180606/models.rb
CHANGED
|
@@ -1525,10 +1525,13 @@ module TencentCloud
|
|
|
1525
1525
|
# 流量:flux
|
|
1526
1526
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1527
1527
|
# @type Metric: String
|
|
1528
|
+
# @param StatisticItems: 累计用量配置
|
|
1529
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1530
|
+
# @type StatisticItems: Array
|
|
1528
1531
|
|
|
1529
|
-
attr_accessor :Switch, :BpsThreshold, :CounterMeasure, :LastTriggerTime, :AlertSwitch, :AlertPercentage, :LastTriggerTimeOverseas, :Metric
|
|
1532
|
+
attr_accessor :Switch, :BpsThreshold, :CounterMeasure, :LastTriggerTime, :AlertSwitch, :AlertPercentage, :LastTriggerTimeOverseas, :Metric, :StatisticItems
|
|
1530
1533
|
|
|
1531
|
-
def initialize(switch=nil, bpsthreshold=nil, countermeasure=nil, lasttriggertime=nil, alertswitch=nil, alertpercentage=nil, lasttriggertimeoverseas=nil, metric=nil)
|
|
1534
|
+
def initialize(switch=nil, bpsthreshold=nil, countermeasure=nil, lasttriggertime=nil, alertswitch=nil, alertpercentage=nil, lasttriggertimeoverseas=nil, metric=nil, statisticitems=nil)
|
|
1532
1535
|
@Switch = switch
|
|
1533
1536
|
@BpsThreshold = bpsthreshold
|
|
1534
1537
|
@CounterMeasure = countermeasure
|
|
@@ -1537,6 +1540,7 @@ module TencentCloud
|
|
|
1537
1540
|
@AlertPercentage = alertpercentage
|
|
1538
1541
|
@LastTriggerTimeOverseas = lasttriggertimeoverseas
|
|
1539
1542
|
@Metric = metric
|
|
1543
|
+
@StatisticItems = statisticitems
|
|
1540
1544
|
end
|
|
1541
1545
|
|
|
1542
1546
|
def deserialize(params)
|
|
@@ -1548,6 +1552,14 @@ module TencentCloud
|
|
|
1548
1552
|
@AlertPercentage = params['AlertPercentage']
|
|
1549
1553
|
@LastTriggerTimeOverseas = params['LastTriggerTimeOverseas']
|
|
1550
1554
|
@Metric = params['Metric']
|
|
1555
|
+
unless params['StatisticItems'].nil?
|
|
1556
|
+
@StatisticItems = []
|
|
1557
|
+
params['StatisticItems'].each do |i|
|
|
1558
|
+
statisticitem_tmp = StatisticItem.new
|
|
1559
|
+
statisticitem_tmp.deserialize(i)
|
|
1560
|
+
@StatisticItems << statisticitem_tmp
|
|
1561
|
+
end
|
|
1562
|
+
end
|
|
1551
1563
|
end
|
|
1552
1564
|
end
|
|
1553
1565
|
|
|
@@ -1953,6 +1965,27 @@ module TencentCloud
|
|
|
1953
1965
|
end
|
|
1954
1966
|
end
|
|
1955
1967
|
|
|
1968
|
+
# 启发式自定义时间缓存配置
|
|
1969
|
+
class CacheConfig < TencentCloud::Common::AbstractModel
|
|
1970
|
+
# @param HeuristicCacheTimeSwitch: on 代表开启自定义启发式缓存时间
|
|
1971
|
+
# off 代表关闭自定义启发式缓存时间
|
|
1972
|
+
# @type HeuristicCacheTimeSwitch: String
|
|
1973
|
+
# @param HeuristicCacheTime: 单位 秒.
|
|
1974
|
+
# @type HeuristicCacheTime: Integer
|
|
1975
|
+
|
|
1976
|
+
attr_accessor :HeuristicCacheTimeSwitch, :HeuristicCacheTime
|
|
1977
|
+
|
|
1978
|
+
def initialize(heuristiccachetimeswitch=nil, heuristiccachetime=nil)
|
|
1979
|
+
@HeuristicCacheTimeSwitch = heuristiccachetimeswitch
|
|
1980
|
+
@HeuristicCacheTime = heuristiccachetime
|
|
1981
|
+
end
|
|
1982
|
+
|
|
1983
|
+
def deserialize(params)
|
|
1984
|
+
@HeuristicCacheTimeSwitch = params['HeuristicCacheTimeSwitch']
|
|
1985
|
+
@HeuristicCacheTime = params['HeuristicCacheTime']
|
|
1986
|
+
end
|
|
1987
|
+
end
|
|
1988
|
+
|
|
1956
1989
|
# 路径缓存缓存配置
|
|
1957
1990
|
class CacheConfigCache < TencentCloud::Common::AbstractModel
|
|
1958
1991
|
# @param Switch: 缓存配置开关
|
|
@@ -2008,15 +2041,23 @@ module TencentCloud
|
|
|
2008
2041
|
# on:开启
|
|
2009
2042
|
# off:关闭
|
|
2010
2043
|
# @type Switch: String
|
|
2044
|
+
# @param HeuristicCache: 启发式缓存配置
|
|
2045
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2046
|
+
# @type HeuristicCache: :class:`Tencentcloud::Cdn.v20180606.models.HeuristicCache`
|
|
2011
2047
|
|
|
2012
|
-
attr_accessor :Switch
|
|
2048
|
+
attr_accessor :Switch, :HeuristicCache
|
|
2013
2049
|
|
|
2014
|
-
def initialize(switch=nil)
|
|
2050
|
+
def initialize(switch=nil, heuristiccache=nil)
|
|
2015
2051
|
@Switch = switch
|
|
2052
|
+
@HeuristicCache = heuristiccache
|
|
2016
2053
|
end
|
|
2017
2054
|
|
|
2018
2055
|
def deserialize(params)
|
|
2019
2056
|
@Switch = params['Switch']
|
|
2057
|
+
unless params['HeuristicCache'].nil?
|
|
2058
|
+
@HeuristicCache = HeuristicCache.new
|
|
2059
|
+
@HeuristicCache.deserialize(params['HeuristicCache'])
|
|
2060
|
+
end
|
|
2020
2061
|
end
|
|
2021
2062
|
end
|
|
2022
2063
|
|
|
@@ -3037,15 +3078,19 @@ module TencentCloud
|
|
|
3037
3078
|
# @type Record: String
|
|
3038
3079
|
# @param RecordType: 解析类型
|
|
3039
3080
|
# @type RecordType: String
|
|
3081
|
+
# @param FileVerifyUrl: 文件验证 URL 指引
|
|
3082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3083
|
+
# @type FileVerifyUrl: String
|
|
3040
3084
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3041
3085
|
# @type RequestId: String
|
|
3042
3086
|
|
|
3043
|
-
attr_accessor :SubDomain, :Record, :RecordType, :RequestId
|
|
3087
|
+
attr_accessor :SubDomain, :Record, :RecordType, :FileVerifyUrl, :RequestId
|
|
3044
3088
|
|
|
3045
|
-
def initialize(subdomain=nil, record=nil, recordtype=nil, requestid=nil)
|
|
3089
|
+
def initialize(subdomain=nil, record=nil, recordtype=nil, fileverifyurl=nil, requestid=nil)
|
|
3046
3090
|
@SubDomain = subdomain
|
|
3047
3091
|
@Record = record
|
|
3048
3092
|
@RecordType = recordtype
|
|
3093
|
+
@FileVerifyUrl = fileverifyurl
|
|
3049
3094
|
@RequestId = requestid
|
|
3050
3095
|
end
|
|
3051
3096
|
|
|
@@ -3053,6 +3098,7 @@ module TencentCloud
|
|
|
3053
3098
|
@SubDomain = params['SubDomain']
|
|
3054
3099
|
@Record = params['Record']
|
|
3055
3100
|
@RecordType = params['RecordType']
|
|
3101
|
+
@FileVerifyUrl = params['FileVerifyUrl']
|
|
3056
3102
|
@RequestId = params['RequestId']
|
|
3057
3103
|
end
|
|
3058
3104
|
end
|
|
@@ -3301,10 +3347,12 @@ module TencentCloud
|
|
|
3301
3347
|
# @type Metric: String
|
|
3302
3348
|
# @param Product: 指定查询的产品数据,可选为cdn或者ecdn,默认为cdn
|
|
3303
3349
|
# @type Product: String
|
|
3350
|
+
# @param TimeZone: 指定查询时间的时区,默认UTC+08:00
|
|
3351
|
+
# @type TimeZone: String
|
|
3304
3352
|
|
|
3305
|
-
attr_accessor :StartTime, :EndTime, :Interval, :Domain, :Project, :Area, :District, :Metric, :Product
|
|
3353
|
+
attr_accessor :StartTime, :EndTime, :Interval, :Domain, :Project, :Area, :District, :Metric, :Product, :TimeZone
|
|
3306
3354
|
|
|
3307
|
-
def initialize(starttime=nil, endtime=nil, interval=nil, domain=nil, project=nil, area=nil, district=nil, metric=nil, product=nil)
|
|
3355
|
+
def initialize(starttime=nil, endtime=nil, interval=nil, domain=nil, project=nil, area=nil, district=nil, metric=nil, product=nil, timezone=nil)
|
|
3308
3356
|
@StartTime = starttime
|
|
3309
3357
|
@EndTime = endtime
|
|
3310
3358
|
@Interval = interval
|
|
@@ -3314,6 +3362,7 @@ module TencentCloud
|
|
|
3314
3362
|
@District = district
|
|
3315
3363
|
@Metric = metric
|
|
3316
3364
|
@Product = product
|
|
3365
|
+
@TimeZone = timezone
|
|
3317
3366
|
end
|
|
3318
3367
|
|
|
3319
3368
|
def deserialize(params)
|
|
@@ -3326,6 +3375,7 @@ module TencentCloud
|
|
|
3326
3375
|
@District = params['District']
|
|
3327
3376
|
@Metric = params['Metric']
|
|
3328
3377
|
@Product = params['Product']
|
|
3378
|
+
@TimeZone = params['TimeZone']
|
|
3329
3379
|
end
|
|
3330
3380
|
end
|
|
3331
3381
|
|
|
@@ -3561,10 +3611,12 @@ module TencentCloud
|
|
|
3561
3611
|
# @type AreaType: String
|
|
3562
3612
|
# @param Product: 指定查询的产品数据,可选为cdn或者ecdn,默认为cdn
|
|
3563
3613
|
# @type Product: String
|
|
3614
|
+
# @param TimeZone: 指定查询时间的时区,默认UTC+08:00
|
|
3615
|
+
# @type TimeZone: String
|
|
3564
3616
|
|
|
3565
|
-
attr_accessor :StartTime, :EndTime, :Metric, :Domains, :Project, :Interval, :Detail, :Isp, :District, :Protocol, :DataSource, :IpProtocol, :Area, :AreaType, :Product
|
|
3617
|
+
attr_accessor :StartTime, :EndTime, :Metric, :Domains, :Project, :Interval, :Detail, :Isp, :District, :Protocol, :DataSource, :IpProtocol, :Area, :AreaType, :Product, :TimeZone
|
|
3566
3618
|
|
|
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)
|
|
3619
|
+
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
3620
|
@StartTime = starttime
|
|
3569
3621
|
@EndTime = endtime
|
|
3570
3622
|
@Metric = metric
|
|
@@ -3580,6 +3632,7 @@ module TencentCloud
|
|
|
3580
3632
|
@Area = area
|
|
3581
3633
|
@AreaType = areatype
|
|
3582
3634
|
@Product = product
|
|
3635
|
+
@TimeZone = timezone
|
|
3583
3636
|
end
|
|
3584
3637
|
|
|
3585
3638
|
def deserialize(params)
|
|
@@ -3598,6 +3651,7 @@ module TencentCloud
|
|
|
3598
3651
|
@Area = params['Area']
|
|
3599
3652
|
@AreaType = params['AreaType']
|
|
3600
3653
|
@Product = params['Product']
|
|
3654
|
+
@TimeZone = params['TimeZone']
|
|
3601
3655
|
end
|
|
3602
3656
|
end
|
|
3603
3657
|
|
|
@@ -4619,10 +4673,12 @@ module TencentCloud
|
|
|
4619
4673
|
# mainland:指定查询中国境内 CDN 数据
|
|
4620
4674
|
# overseas:指定查询中国境外 CDN 数据
|
|
4621
4675
|
# @type Area: String
|
|
4676
|
+
# @param TimeZone: 指定查询时间的时区,默认UTC+08:00
|
|
4677
|
+
# @type TimeZone: String
|
|
4622
4678
|
|
|
4623
|
-
attr_accessor :StartTime, :EndTime, :Metric, :Domains, :Project, :Interval, :Detail, :Area
|
|
4679
|
+
attr_accessor :StartTime, :EndTime, :Metric, :Domains, :Project, :Interval, :Detail, :Area, :TimeZone
|
|
4624
4680
|
|
|
4625
|
-
def initialize(starttime=nil, endtime=nil, metric=nil, domains=nil, project=nil, interval=nil, detail=nil, area=nil)
|
|
4681
|
+
def initialize(starttime=nil, endtime=nil, metric=nil, domains=nil, project=nil, interval=nil, detail=nil, area=nil, timezone=nil)
|
|
4626
4682
|
@StartTime = starttime
|
|
4627
4683
|
@EndTime = endtime
|
|
4628
4684
|
@Metric = metric
|
|
@@ -4631,6 +4687,7 @@ module TencentCloud
|
|
|
4631
4687
|
@Interval = interval
|
|
4632
4688
|
@Detail = detail
|
|
4633
4689
|
@Area = area
|
|
4690
|
+
@TimeZone = timezone
|
|
4634
4691
|
end
|
|
4635
4692
|
|
|
4636
4693
|
def deserialize(params)
|
|
@@ -4642,6 +4699,7 @@ module TencentCloud
|
|
|
4642
4699
|
@Interval = params['Interval']
|
|
4643
4700
|
@Detail = params['Detail']
|
|
4644
4701
|
@Area = params['Area']
|
|
4702
|
+
@TimeZone = params['TimeZone']
|
|
4645
4703
|
end
|
|
4646
4704
|
end
|
|
4647
4705
|
|
|
@@ -7300,6 +7358,30 @@ module TencentCloud
|
|
|
7300
7358
|
end
|
|
7301
7359
|
end
|
|
7302
7360
|
|
|
7361
|
+
# 启发式缓存配置
|
|
7362
|
+
class HeuristicCache < TencentCloud::Common::AbstractModel
|
|
7363
|
+
# @param Switch: on 代表开启启发式缓存
|
|
7364
|
+
# off 代表关闭启发式缓存
|
|
7365
|
+
# @type Switch: String
|
|
7366
|
+
# @param CacheConfig: 自定义启发式缓存时间配置
|
|
7367
|
+
# @type CacheConfig: :class:`Tencentcloud::Cdn.v20180606.models.CacheConfig`
|
|
7368
|
+
|
|
7369
|
+
attr_accessor :Switch, :CacheConfig
|
|
7370
|
+
|
|
7371
|
+
def initialize(switch=nil, cacheconfig=nil)
|
|
7372
|
+
@Switch = switch
|
|
7373
|
+
@CacheConfig = cacheconfig
|
|
7374
|
+
end
|
|
7375
|
+
|
|
7376
|
+
def deserialize(params)
|
|
7377
|
+
@Switch = params['Switch']
|
|
7378
|
+
unless params['CacheConfig'].nil?
|
|
7379
|
+
@CacheConfig = CacheConfig.new
|
|
7380
|
+
@CacheConfig.deserialize(params['CacheConfig'])
|
|
7381
|
+
end
|
|
7382
|
+
end
|
|
7383
|
+
end
|
|
7384
|
+
|
|
7303
7385
|
# HSTS 配置。
|
|
7304
7386
|
class Hsts < TencentCloud::Common::AbstractModel
|
|
7305
7387
|
# @param Switch: 是否开启,on或off。
|
|
@@ -10328,8 +10410,8 @@ module TencentCloud
|
|
|
10328
10410
|
# @param Referers: referer 内容列表列表
|
|
10329
10411
|
# @type Referers: Array
|
|
10330
10412
|
# @param AllowEmpty: 是否允许空 referer
|
|
10331
|
-
# true
|
|
10332
|
-
# false
|
|
10413
|
+
# 防盗链类型为白名单时,true表示允许空 referer,false表示不允许空 referer;
|
|
10414
|
+
# 防盗链类型为黑名单时,true表示拒绝空referer,false表示不拒绝空referer;
|
|
10333
10415
|
# @type AllowEmpty: Boolean
|
|
10334
10416
|
|
|
10335
10417
|
attr_accessor :RuleType, :RulePaths, :RefererType, :Referers, :AllowEmpty
|
|
@@ -12030,6 +12112,63 @@ module TencentCloud
|
|
|
12030
12112
|
end
|
|
12031
12113
|
end
|
|
12032
12114
|
|
|
12115
|
+
# 累计用量封顶的配置
|
|
12116
|
+
class StatisticItem < TencentCloud::Common::AbstractModel
|
|
12117
|
+
# @param Type: 封顶类型,累计用量total,瞬时用量moment
|
|
12118
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12119
|
+
# @type Type: String
|
|
12120
|
+
# @param UnBlockTime: 自动解封时间
|
|
12121
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12122
|
+
# @type UnBlockTime: Integer
|
|
12123
|
+
# @param BpsThreshold: 带宽、流量阈值
|
|
12124
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12125
|
+
# @type BpsThreshold: Integer
|
|
12126
|
+
# @param CounterMeasure: 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN
|
|
12127
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12128
|
+
# @type CounterMeasure: String
|
|
12129
|
+
# @param AlertPercentage: 触发提醒阈值百分比
|
|
12130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12131
|
+
# @type AlertPercentage: Integer
|
|
12132
|
+
# @param AlertSwitch: 提醒开关 on/off
|
|
12133
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12134
|
+
# @type AlertSwitch: String
|
|
12135
|
+
# @param Metric: 指标类型,流量flux或带宽bandwidth
|
|
12136
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12137
|
+
# @type Metric: String
|
|
12138
|
+
# @param Cycle: 检测周期,单位分钟,60或1440
|
|
12139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12140
|
+
# @type Cycle: Integer
|
|
12141
|
+
# @param Switch: 是否开启该选项,on/off
|
|
12142
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12143
|
+
# @type Switch: String
|
|
12144
|
+
|
|
12145
|
+
attr_accessor :Type, :UnBlockTime, :BpsThreshold, :CounterMeasure, :AlertPercentage, :AlertSwitch, :Metric, :Cycle, :Switch
|
|
12146
|
+
|
|
12147
|
+
def initialize(type=nil, unblocktime=nil, bpsthreshold=nil, countermeasure=nil, alertpercentage=nil, alertswitch=nil, metric=nil, cycle=nil, switch=nil)
|
|
12148
|
+
@Type = type
|
|
12149
|
+
@UnBlockTime = unblocktime
|
|
12150
|
+
@BpsThreshold = bpsthreshold
|
|
12151
|
+
@CounterMeasure = countermeasure
|
|
12152
|
+
@AlertPercentage = alertpercentage
|
|
12153
|
+
@AlertSwitch = alertswitch
|
|
12154
|
+
@Metric = metric
|
|
12155
|
+
@Cycle = cycle
|
|
12156
|
+
@Switch = switch
|
|
12157
|
+
end
|
|
12158
|
+
|
|
12159
|
+
def deserialize(params)
|
|
12160
|
+
@Type = params['Type']
|
|
12161
|
+
@UnBlockTime = params['UnBlockTime']
|
|
12162
|
+
@BpsThreshold = params['BpsThreshold']
|
|
12163
|
+
@CounterMeasure = params['CounterMeasure']
|
|
12164
|
+
@AlertPercentage = params['AlertPercentage']
|
|
12165
|
+
@AlertSwitch = params['AlertSwitch']
|
|
12166
|
+
@Metric = params['Metric']
|
|
12167
|
+
@Cycle = params['Cycle']
|
|
12168
|
+
@Switch = params['Switch']
|
|
12169
|
+
end
|
|
12170
|
+
end
|
|
12171
|
+
|
|
12033
12172
|
# 状态码缓存过期配置,默认情况下会对 404 状态码缓存 10 秒
|
|
12034
12173
|
class StatusCodeCache < TencentCloud::Common::AbstractModel
|
|
12035
12174
|
# @param Switch: 状态码缓存过期配置开关
|
|
@@ -12563,6 +12702,8 @@ module TencentCloud
|
|
|
12563
12702
|
# @type OfflineCache: :class:`Tencentcloud::Cdn.v20180606.models.OfflineCache`
|
|
12564
12703
|
# @param OriginCombine: 合并回源
|
|
12565
12704
|
# @type OriginCombine: :class:`Tencentcloud::Cdn.v20180606.models.OriginCombine`
|
|
12705
|
+
# @param PostMaxSize: POST请求传输配置
|
|
12706
|
+
# @type PostMaxSize: :class:`Tencentcloud::Cdn.v20180606.models.PostSize`
|
|
12566
12707
|
# @param Quic: Quic访问(收费服务,详见计费说明和产品文档)
|
|
12567
12708
|
# @type Quic: :class:`Tencentcloud::Cdn.v20180606.models.Quic`
|
|
12568
12709
|
# @param OssPrivateAccess: 回源OSS私有鉴权
|
|
@@ -12578,9 +12719,9 @@ module TencentCloud
|
|
|
12578
12719
|
# @param QnPrivateAccess: 七牛云对象存储回源鉴权
|
|
12579
12720
|
# @type QnPrivateAccess: :class:`Tencentcloud::Cdn.v20180606.models.QnPrivateAccess`
|
|
12580
12721
|
|
|
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
|
|
12722
|
+
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
12723
|
|
|
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)
|
|
12724
|
+
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
12725
|
@Domain = domain
|
|
12585
12726
|
@ProjectId = projectid
|
|
12586
12727
|
@Origin = origin
|
|
@@ -12620,6 +12761,7 @@ module TencentCloud
|
|
|
12620
12761
|
@Ipv6Access = ipv6access
|
|
12621
12762
|
@OfflineCache = offlinecache
|
|
12622
12763
|
@OriginCombine = origincombine
|
|
12764
|
+
@PostMaxSize = postmaxsize
|
|
12623
12765
|
@Quic = quic
|
|
12624
12766
|
@OssPrivateAccess = ossprivateaccess
|
|
12625
12767
|
@WebSocket = websocket
|
|
@@ -12771,6 +12913,10 @@ module TencentCloud
|
|
|
12771
12913
|
@OriginCombine = OriginCombine.new
|
|
12772
12914
|
@OriginCombine.deserialize(params['OriginCombine'])
|
|
12773
12915
|
end
|
|
12916
|
+
unless params['PostMaxSize'].nil?
|
|
12917
|
+
@PostMaxSize = PostSize.new
|
|
12918
|
+
@PostMaxSize.deserialize(params['PostMaxSize'])
|
|
12919
|
+
end
|
|
12774
12920
|
unless params['Quic'].nil?
|
|
12775
12921
|
@Quic = Quic.new
|
|
12776
12922
|
@Quic.deserialize(params['Quic'])
|
|
@@ -13143,15 +13289,21 @@ module TencentCloud
|
|
|
13143
13289
|
class VerifyDomainRecordRequest < TencentCloud::Common::AbstractModel
|
|
13144
13290
|
# @param Domain: 域名
|
|
13145
13291
|
# @type Domain: String
|
|
13292
|
+
# @param VerifyType: 验证方式
|
|
13293
|
+
# dns: DNS 解析验证(默认值)
|
|
13294
|
+
# file: 文件验证
|
|
13295
|
+
# @type VerifyType: String
|
|
13146
13296
|
|
|
13147
|
-
attr_accessor :Domain
|
|
13297
|
+
attr_accessor :Domain, :VerifyType
|
|
13148
13298
|
|
|
13149
|
-
def initialize(domain=nil)
|
|
13299
|
+
def initialize(domain=nil, verifytype=nil)
|
|
13150
13300
|
@Domain = domain
|
|
13301
|
+
@VerifyType = verifytype
|
|
13151
13302
|
end
|
|
13152
13303
|
|
|
13153
13304
|
def deserialize(params)
|
|
13154
13305
|
@Domain = params['Domain']
|
|
13306
|
+
@VerifyType = params['VerifyType']
|
|
13155
13307
|
end
|
|
13156
13308
|
end
|
|
13157
13309
|
|
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.304
|
|
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-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|