tencentcloud-sdk-teo 3.0.986 → 3.0.988

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,6 +35,24 @@ module TencentCloud
35
35
  end
36
36
  end
37
37
 
38
+ # 中国大陆加速优化配置。
39
+ class AccelerateMainlandParameters < TencentCloud::Common::AbstractModel
40
+ # @param Switch: 中国大陆加速优化配置开关,取值有:
41
+ # <li>on:开启;</li>
42
+ # <li>off:关闭。</li>
43
+ # @type Switch: String
44
+
45
+ attr_accessor :Switch
46
+
47
+ def initialize(switch=nil)
48
+ @Switch = switch
49
+ end
50
+
51
+ def deserialize(params)
52
+ @Switch = params['Switch']
53
+ end
54
+ end
55
+
38
56
  # 加速类型
39
57
  class AccelerateType < TencentCloud::Common::AbstractModel
40
58
  # @param Switch: 加速开关。取值范围:
@@ -191,6 +209,71 @@ module TencentCloud
191
209
  end
192
210
  end
193
211
 
212
+ # 访问 URL 重定向 配置参数。
213
+ class AccessURLRedirectParameters < TencentCloud::Common::AbstractModel
214
+ # @param StatusCode: 状态码,取值为 301、302、303、307、308 之一。
215
+ # @type StatusCode: Integer
216
+ # @param Protocol: 目标请求协议,取值有:
217
+ # <li>http:目标请求协议 HTTP;</li>
218
+ # <li>https:目标请求协议 HTTPS;</li>
219
+ # <li>follow:跟随请求。</li>
220
+ # @type Protocol: String
221
+ # @param HostName: 目标 HostName 。
222
+ # 注意:此字段可能返回 null,表示取不到有效值。
223
+ # @type HostName: :class:`Tencentcloud::Teo.v20220901.models.HostName`
224
+ # @param URLPath: 目标路径。
225
+ # 注意:此字段可能返回 null,表示取不到有效值。
226
+ # @type URLPath: :class:`Tencentcloud::Teo.v20220901.models.URLPath`
227
+ # @param QueryString: 携带查询参数。
228
+ # 注意:此字段可能返回 null,表示取不到有效值。
229
+ # @type QueryString: :class:`Tencentcloud::Teo.v20220901.models.AccessURLRedirectQueryString`
230
+
231
+ attr_accessor :StatusCode, :Protocol, :HostName, :URLPath, :QueryString
232
+
233
+ def initialize(statuscode=nil, protocol=nil, hostname=nil, urlpath=nil, querystring=nil)
234
+ @StatusCode = statuscode
235
+ @Protocol = protocol
236
+ @HostName = hostname
237
+ @URLPath = urlpath
238
+ @QueryString = querystring
239
+ end
240
+
241
+ def deserialize(params)
242
+ @StatusCode = params['StatusCode']
243
+ @Protocol = params['Protocol']
244
+ unless params['HostName'].nil?
245
+ @HostName = HostName.new
246
+ @HostName.deserialize(params['HostName'])
247
+ end
248
+ unless params['URLPath'].nil?
249
+ @URLPath = URLPath.new
250
+ @URLPath.deserialize(params['URLPath'])
251
+ end
252
+ unless params['QueryString'].nil?
253
+ @QueryString = AccessURLRedirectQueryString.new
254
+ @QueryString.deserialize(params['QueryString'])
255
+ end
256
+ end
257
+ end
258
+
259
+ # 访问 URL 重定向 配置参数。
260
+ class AccessURLRedirectQueryString < TencentCloud::Common::AbstractModel
261
+ # @param Action: 执行动作,取值有:
262
+ # <li>full:全部保留;</li>
263
+ # <li>ignore:全部忽略。</li>
264
+ # @type Action: String
265
+
266
+ attr_accessor :Action
267
+
268
+ def initialize(action=nil)
269
+ @Action = action
270
+ end
271
+
272
+ def deserialize(params)
273
+ @Action = params['Action']
274
+ end
275
+ end
276
+
194
277
  # 精准防护条件
195
278
  class AclCondition < TencentCloud::Common::AbstractModel
196
279
  # @param MatchFrom: 匹配字段,取值有:
@@ -962,6 +1045,56 @@ module TencentCloud
962
1045
  end
963
1046
  end
964
1047
 
1048
+ # Token 鉴权 配置参数。
1049
+ class AuthenticationParameters < TencentCloud::Common::AbstractModel
1050
+ # @param AuthType: 鉴权类型。取值有:
1051
+
1052
+ # <li>TypeA:鉴权方式 A 类型,具体含义请参考 [鉴权方式 A](https://cloud.tencent.com/document/product/1552/109329);</li>
1053
+ # <li>TypeB:鉴权方式 B 类型,具体含义请参考 [鉴权方式 B](https://cloud.tencent.com/document/product/1552/109330);</li>
1054
+ # <li>TypeC:鉴权方式 C 类型,具体含义请参考 [鉴权方式 C](https://cloud.tencent.com/document/product/1552/109331);</li>
1055
+ # <li>TypeD:鉴权方式 D 类型,具体含义请参考 [鉴权方式 D](https://cloud.tencent.com/document/product/1552/109332);</li>
1056
+ # <li>TypeVOD:鉴权方式 V 类型,具体含义请参考 [鉴权方式 V](https://cloud.tencent.com/document/product/1552/109333)。</li>
1057
+ # @type AuthType: String
1058
+ # @param SecretKey: 主鉴权密钥,由 6~40 位大小写英文字母或数字组成,不能包含 " 和 $。
1059
+ # @type SecretKey: String
1060
+ # @param Timeout: 鉴权 URL 的有效时长,单位为秒,取值:1~630720000。用于判断客户端访问请求是否过期:
1061
+ # <li>若当前时间超过 “timestamp + 有效时长” 时间,则为过期请求,直接返回 403。</li>
1062
+ # <li>若当前时间未超过 “timestamp + 有效时长” 时间,则请求未过期,继续校验 md5 字符串。</li>注意:当 AuthType 为 TypeA、TypeB、TypeC、TypeD 之一时,此字段必填。
1063
+ # @type Timeout: Integer
1064
+ # @param BackupSecretKey: 备鉴权密钥,由 6~40 位大小写英文字母或数字组成,不能包含 " 和 $。
1065
+ # @type BackupSecretKey: String
1066
+ # @param AuthParam: 鉴权参数名称,节点将校验此参数名对应的值。由 1~100 位大小写字母、数字或下划线组成。<br>注意:当 AuthType 为 TypeA、TypeD 之一时,此字段必填。
1067
+ # @type AuthParam: String
1068
+ # @param TimeParam: 鉴权时间戳,和 AuthParam 字段的值不能相同。<br>注意:当 AuthType 为 TypeD 时,此字段必填。
1069
+ # @type TimeParam: String
1070
+ # @param TimeFormat: 鉴权时间格式,取值有:
1071
+ # <li>dec:十进制;</li>
1072
+ # <li>hex:十六进制。</li>注意:当 AuthType 为 TypeD 时,此字段必填。默认为 hex。
1073
+ # @type TimeFormat: String
1074
+
1075
+ attr_accessor :AuthType, :SecretKey, :Timeout, :BackupSecretKey, :AuthParam, :TimeParam, :TimeFormat
1076
+
1077
+ def initialize(authtype=nil, secretkey=nil, timeout=nil, backupsecretkey=nil, authparam=nil, timeparam=nil, timeformat=nil)
1078
+ @AuthType = authtype
1079
+ @SecretKey = secretkey
1080
+ @Timeout = timeout
1081
+ @BackupSecretKey = backupsecretkey
1082
+ @AuthParam = authparam
1083
+ @TimeParam = timeparam
1084
+ @TimeFormat = timeformat
1085
+ end
1086
+
1087
+ def deserialize(params)
1088
+ @AuthType = params['AuthType']
1089
+ @SecretKey = params['SecretKey']
1090
+ @Timeout = params['Timeout']
1091
+ @BackupSecretKey = params['BackupSecretKey']
1092
+ @AuthParam = params['AuthParam']
1093
+ @TimeParam = params['TimeParam']
1094
+ @TimeFormat = params['TimeFormat']
1095
+ end
1096
+ end
1097
+
965
1098
  # 计费数据项
966
1099
  class BillingData < TencentCloud::Common::AbstractModel
967
1100
  # @param Time: 时间。
@@ -1573,6 +1706,64 @@ module TencentCloud
1573
1706
  end
1574
1707
  end
1575
1708
 
1709
+ # 节点缓存 TTL 自定义缓存时间配置参数。
1710
+ class CacheConfigCustomTime < TencentCloud::Common::AbstractModel
1711
+ # @param Switch: 自定义缓存时间开关,取值有:
1712
+ # <li>on:开启;</li>
1713
+ # <li>off:关闭。</li>
1714
+ # @type Switch: String
1715
+ # @param CacheTime: 自定义缓存时间数值,单位为秒,取值:0-315360000。<br>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
1716
+ # @type CacheTime: Integer
1717
+
1718
+ attr_accessor :Switch, :CacheTime
1719
+
1720
+ def initialize(switch=nil, cachetime=nil)
1721
+ @Switch = switch
1722
+ @CacheTime = cachetime
1723
+ end
1724
+
1725
+ def deserialize(params)
1726
+ @Switch = params['Switch']
1727
+ @CacheTime = params['CacheTime']
1728
+ end
1729
+ end
1730
+
1731
+ # 节点缓存 TTL 配置参数。
1732
+ class CacheConfigParameters < TencentCloud::Common::AbstractModel
1733
+ # @param FollowOrigin: 遵循源站缓存配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
1734
+ # 注意:此字段可能返回 null,表示取不到有效值。
1735
+ # @type FollowOrigin: :class:`Tencentcloud::Teo.v20220901.models.FollowOrigin`
1736
+ # @param NoCache: 不缓存配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
1737
+ # 注意:此字段可能返回 null,表示取不到有效值。
1738
+ # @type NoCache: :class:`Tencentcloud::Teo.v20220901.models.NoCache`
1739
+ # @param CustomTime: 自定义缓存时间配置。FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
1740
+ # 注意:此字段可能返回 null,表示取不到有效值。
1741
+ # @type CustomTime: :class:`Tencentcloud::Teo.v20220901.models.CacheConfigCustomTime`
1742
+
1743
+ attr_accessor :FollowOrigin, :NoCache, :CustomTime
1744
+
1745
+ def initialize(followorigin=nil, nocache=nil, customtime=nil)
1746
+ @FollowOrigin = followorigin
1747
+ @NoCache = nocache
1748
+ @CustomTime = customtime
1749
+ end
1750
+
1751
+ def deserialize(params)
1752
+ unless params['FollowOrigin'].nil?
1753
+ @FollowOrigin = FollowOrigin.new
1754
+ @FollowOrigin.deserialize(params['FollowOrigin'])
1755
+ end
1756
+ unless params['NoCache'].nil?
1757
+ @NoCache = NoCache.new
1758
+ @NoCache.deserialize(params['NoCache'])
1759
+ end
1760
+ unless params['CustomTime'].nil?
1761
+ @CustomTime = CacheConfigCustomTime.new
1762
+ @CustomTime.deserialize(params['CustomTime'])
1763
+ end
1764
+ end
1765
+ end
1766
+
1576
1767
  # 缓存键配置。
1577
1768
  class CacheKey < TencentCloud::Common::AbstractModel
1578
1769
  # @param FullUrlCache: 是否开启全路径缓存,取值有:
@@ -1607,6 +1798,259 @@ module TencentCloud
1607
1798
  end
1608
1799
  end
1609
1800
 
1801
+ # 缓存键配置。
1802
+ class CacheKeyConfigParameters < TencentCloud::Common::AbstractModel
1803
+ # @param FullURLCache: 是否开启全路径缓存,取值有:
1804
+ # <li>on:开启全路径缓存(即关闭参数忽略);</li>
1805
+ # <li>off:关闭全路径缓存(即开启参数忽略)。</li>
1806
+ # @type FullURLCache: String
1807
+ # @param IgnoreCase: 是否忽略大小写缓存,取值有:
1808
+ # <li>on:忽略;</li>
1809
+ # <li>off:不忽略。</li>
1810
+ # @type IgnoreCase: String
1811
+ # @param QueryString: 查询字符串保留配置参数。此字段和 FullURLCache 必须同时设置,但不能同为 on。
1812
+ # @type QueryString: :class:`Tencentcloud::Teo.v20220901.models.CacheKeyQueryString`
1813
+
1814
+ attr_accessor :FullURLCache, :IgnoreCase, :QueryString
1815
+
1816
+ def initialize(fullurlcache=nil, ignorecase=nil, querystring=nil)
1817
+ @FullURLCache = fullurlcache
1818
+ @IgnoreCase = ignorecase
1819
+ @QueryString = querystring
1820
+ end
1821
+
1822
+ def deserialize(params)
1823
+ @FullURLCache = params['FullURLCache']
1824
+ @IgnoreCase = params['IgnoreCase']
1825
+ unless params['QueryString'].nil?
1826
+ @QueryString = CacheKeyQueryString.new
1827
+ @QueryString.deserialize(params['QueryString'])
1828
+ end
1829
+ end
1830
+ end
1831
+
1832
+ # 自定义 Cache Key Cookie 配置参数。
1833
+ class CacheKeyCookie < TencentCloud::Common::AbstractModel
1834
+ # @param Switch: 功能开关,取值有:
1835
+ # <li>on:开启;</li>
1836
+ # <li>off:关闭。</li>
1837
+ # @type Switch: String
1838
+ # @param Action: 缓存动作,取值有:
1839
+ # <li>full:全部保留;</li>
1840
+ # <li> ignore:全部忽略;</li>
1841
+ # <li> includeCustom:保留指定参数;</li>
1842
+ # <li>excludeCustom:忽略指定参数。</li>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
1843
+ # @type Action: String
1844
+ # @param Values: 自定义 Cache Key Cookie 名称列表。<br>注意:当 Action 为 includeCustom 或 excludeCustom 时,此字段必填;当 Action 为 full 或 ignore 时,无需填写此字段,若填写则不生效。
1845
+ # @type Values: Array
1846
+
1847
+ attr_accessor :Switch, :Action, :Values
1848
+
1849
+ def initialize(switch=nil, action=nil, values=nil)
1850
+ @Switch = switch
1851
+ @Action = action
1852
+ @Values = values
1853
+ end
1854
+
1855
+ def deserialize(params)
1856
+ @Switch = params['Switch']
1857
+ @Action = params['Action']
1858
+ @Values = params['Values']
1859
+ end
1860
+ end
1861
+
1862
+ # 自定义 Cache Key HTTP 请求头配置参数。
1863
+ class CacheKeyHeader < TencentCloud::Common::AbstractModel
1864
+ # @param Switch: 功能开关,取值有:
1865
+ # <li>on:开启;</li>
1866
+ # <li>off:关闭。</li>
1867
+ # @type Switch: String
1868
+ # @param Values: 自定义 Cache Key HTTP 请求头列表。<br>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
1869
+ # @type Values: Array
1870
+
1871
+ attr_accessor :Switch, :Values
1872
+
1873
+ def initialize(switch=nil, values=nil)
1874
+ @Switch = switch
1875
+ @Values = values
1876
+ end
1877
+
1878
+ def deserialize(params)
1879
+ @Switch = params['Switch']
1880
+ @Values = params['Values']
1881
+ end
1882
+ end
1883
+
1884
+ # 自定义 Cache Key 配置参数。该配置参数的 FullURLCache 和 QueryString 采用组合表达,具体示例可以参考:
1885
+ # - 查询字符串全部保留。开启忽略大小写。
1886
+ # ```
1887
+ # {
1888
+ # "CacheKey": {
1889
+ # "FullURLCache": "on",
1890
+ # "QueryString": {
1891
+ # "Switch": "off"
1892
+ # },
1893
+ # "IgnoreCase": "on"
1894
+ # }
1895
+ # }
1896
+ # ```
1897
+ # - 查询字符串全部忽略。开启忽略大小写。
1898
+ # ```
1899
+ # {
1900
+ # "CacheKey": {
1901
+ # "FullURLCache": "off",
1902
+ # "QueryString": {
1903
+ # "Switch": "off"
1904
+ # },
1905
+ # "IgnoreCase": "on"
1906
+ # }
1907
+ # }
1908
+ # ```
1909
+ # - 查询字符串保留指定参数。关闭忽略大小写。
1910
+ # ```
1911
+ # {
1912
+ # "CacheKey": {
1913
+ # "FullURLCache": "off",
1914
+ # "QueryString": {
1915
+ # "Switch": "on",
1916
+ # "Action": "includeCustom",
1917
+ # "Values": ["name1","name2","name3"]
1918
+ # },
1919
+ # "IgnoreCase": "off"
1920
+ # }
1921
+ # }
1922
+ # ```
1923
+ # - 查询字符串忽略指定参数。关闭忽略大小写。
1924
+ # ```
1925
+ # {
1926
+ # "CacheKey": {
1927
+ # "FullURLCache": "off",
1928
+ # "QueryString": {
1929
+ # "Switch": "on",
1930
+ # "Action": "excludeCustom",
1931
+ # "Values": ["name1","name2","name3"]
1932
+ # },
1933
+ # "IgnoreCase": "off"
1934
+ # }
1935
+ # }
1936
+ # ```
1937
+ class CacheKeyParameters < TencentCloud::Common::AbstractModel
1938
+ # @param FullURLCache: 查询字符串全部保留开关,取值有:
1939
+ # <li>on:开启;</li>
1940
+ # <li>off:关闭。</li>注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。此字段和 QueryString.Switch 必须同时设置,但不能同为 on。
1941
+ # @type FullURLCache: String
1942
+ # @param QueryString: 查询字符串保留配置参数。此字段和 FullURLCache 必须同时设置,但不能同为 on。
1943
+ # 注意:此字段可能返回 null,表示取不到有效值。
1944
+ # @type QueryString: :class:`Tencentcloud::Teo.v20220901.models.CacheKeyQueryString`
1945
+ # @param IgnoreCase: 忽略大小写开关,取值有:
1946
+ # <li>on:开启;</li>
1947
+ # <li>off:关闭。</li>注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
1948
+ # @type IgnoreCase: String
1949
+ # @param Header: HTTP 请求头配置参数。FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
1950
+ # 注意:此字段可能返回 null,表示取不到有效值。
1951
+ # @type Header: :class:`Tencentcloud::Teo.v20220901.models.CacheKeyHeader`
1952
+ # @param Scheme: 请求协议开关,取值有:
1953
+ # <li>on:开启;</li>
1954
+ # <li>off:关闭。</li>注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
1955
+ # @type Scheme: String
1956
+ # @param Cookie: Cookie 配置参数。FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
1957
+ # 注意:此字段可能返回 null,表示取不到有效值。
1958
+ # @type Cookie: :class:`Tencentcloud::Teo.v20220901.models.CacheKeyCookie`
1959
+
1960
+ attr_accessor :FullURLCache, :QueryString, :IgnoreCase, :Header, :Scheme, :Cookie
1961
+
1962
+ def initialize(fullurlcache=nil, querystring=nil, ignorecase=nil, header=nil, scheme=nil, cookie=nil)
1963
+ @FullURLCache = fullurlcache
1964
+ @QueryString = querystring
1965
+ @IgnoreCase = ignorecase
1966
+ @Header = header
1967
+ @Scheme = scheme
1968
+ @Cookie = cookie
1969
+ end
1970
+
1971
+ def deserialize(params)
1972
+ @FullURLCache = params['FullURLCache']
1973
+ unless params['QueryString'].nil?
1974
+ @QueryString = CacheKeyQueryString.new
1975
+ @QueryString.deserialize(params['QueryString'])
1976
+ end
1977
+ @IgnoreCase = params['IgnoreCase']
1978
+ unless params['Header'].nil?
1979
+ @Header = CacheKeyHeader.new
1980
+ @Header.deserialize(params['Header'])
1981
+ end
1982
+ @Scheme = params['Scheme']
1983
+ unless params['Cookie'].nil?
1984
+ @Cookie = CacheKeyCookie.new
1985
+ @Cookie.deserialize(params['Cookie'])
1986
+ end
1987
+ end
1988
+ end
1989
+
1990
+ # 自定义 Cache Key 查询字符串配置参数。
1991
+ class CacheKeyQueryString < TencentCloud::Common::AbstractModel
1992
+ # @param Switch: 查询字符串保留/忽略指定参数开关,取值有:
1993
+ # <li>on:开启;</li>
1994
+ # <li>off:关闭。</li>
1995
+ # @type Switch: String
1996
+ # @param Action: 查询字符串保留/忽略指定参数动作。取值有:
1997
+ # <li>includeCustom:表示保留部分参数;</li>
1998
+ # <li>excludeCustom:表示忽略部分参数。</li>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
1999
+ # @type Action: String
2000
+ # @param Values: 查询字符串中需保留/忽略的参数名列表。<br>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
2001
+ # @type Values: Array
2002
+
2003
+ attr_accessor :Switch, :Action, :Values
2004
+
2005
+ def initialize(switch=nil, action=nil, values=nil)
2006
+ @Switch = switch
2007
+ @Action = action
2008
+ @Values = values
2009
+ end
2010
+
2011
+ def deserialize(params)
2012
+ @Switch = params['Switch']
2013
+ @Action = params['Action']
2014
+ @Values = params['Values']
2015
+ end
2016
+ end
2017
+
2018
+ # 节点缓存 TTL 配置参数。
2019
+ class CacheParameters < TencentCloud::Common::AbstractModel
2020
+ # @param FollowOrigin: 缓存遵循源站。不填表示不设置该配置,FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
2021
+ # 注意:此字段可能返回 null,表示取不到有效值。
2022
+ # @type FollowOrigin: :class:`Tencentcloud::Teo.v20220901.models.FollowOrigin`
2023
+ # @param NoCache: 不缓存。不填表示不设置该配置,FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
2024
+ # 注意:此字段可能返回 null,表示取不到有效值。
2025
+ # @type NoCache: :class:`Tencentcloud::Teo.v20220901.models.NoCache`
2026
+ # @param CustomTime: 自定义缓存时间。不填表示不设置该配置,FollowOrigin、NoCache、CustomTime 最多只能配置一个 Switch 为 on。
2027
+ # 注意:此字段可能返回 null,表示取不到有效值。
2028
+ # @type CustomTime: :class:`Tencentcloud::Teo.v20220901.models.CustomTime`
2029
+
2030
+ attr_accessor :FollowOrigin, :NoCache, :CustomTime
2031
+
2032
+ def initialize(followorigin=nil, nocache=nil, customtime=nil)
2033
+ @FollowOrigin = followorigin
2034
+ @NoCache = nocache
2035
+ @CustomTime = customtime
2036
+ end
2037
+
2038
+ def deserialize(params)
2039
+ unless params['FollowOrigin'].nil?
2040
+ @FollowOrigin = FollowOrigin.new
2041
+ @FollowOrigin.deserialize(params['FollowOrigin'])
2042
+ end
2043
+ unless params['NoCache'].nil?
2044
+ @NoCache = NoCache.new
2045
+ @NoCache.deserialize(params['NoCache'])
2046
+ end
2047
+ unless params['CustomTime'].nil?
2048
+ @CustomTime = CustomTime.new
2049
+ @CustomTime.deserialize(params['CustomTime'])
2050
+ end
2051
+ end
2052
+ end
2053
+
1610
2054
  # 缓存预刷新
1611
2055
  class CachePrefresh < TencentCloud::Common::AbstractModel
1612
2056
  # @param Switch: 缓存预刷新配置开关,取值有:
@@ -1630,6 +2074,28 @@ module TencentCloud
1630
2074
  end
1631
2075
  end
1632
2076
 
2077
+ # 缓存预刷新 配置参数。
2078
+ class CachePrefreshParameters < TencentCloud::Common::AbstractModel
2079
+ # @param Switch: 缓存预刷新开关,取值有:
2080
+ # <li>on:开启;</li>
2081
+ # <li>off:关闭。</li>
2082
+ # @type Switch: String
2083
+ # @param CacheTimePercent: 预刷新时间设置为节点缓存时间的百分比数值,取值:1~99。<br>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
2084
+ # @type CacheTimePercent: Integer
2085
+
2086
+ attr_accessor :Switch, :CacheTimePercent
2087
+
2088
+ def initialize(switch=nil, cachetimepercent=nil)
2089
+ @Switch = switch
2090
+ @CacheTimePercent = cachetimepercent
2091
+ end
2092
+
2093
+ def deserialize(params)
2094
+ @Switch = params['Switch']
2095
+ @CacheTimePercent = params['CacheTimePercent']
2096
+ end
2097
+ end
2098
+
1633
2099
  # 节点缓存清除类型取值为 purge_cache_tag 时附带的信息。
1634
2100
  class CacheTag < TencentCloud::Common::AbstractModel
1635
2101
  # @param Domains: 待清除缓存的域名列表。
@@ -1775,14 +2241,13 @@ module TencentCloud
1775
2241
  end
1776
2242
  end
1777
2243
 
1778
- # 回源时携带客户端IP所属地域信息,值的格式为ISO-3166-1两位字母代码。
1779
- class ClientIpCountry < TencentCloud::Common::AbstractModel
2244
+ # 回源时携带客户端 IP 所属地域信息,值的格式为 ISO-3166-1 两位字母代码。
2245
+ class ClientIPCountryParameters < TencentCloud::Common::AbstractModel
1780
2246
  # @param Switch: 配置开关,取值有:
1781
2247
  # <li>on:开启;</li>
1782
2248
  # <li>off:关闭。</li>
1783
2249
  # @type Switch: String
1784
- # @param HeaderName: 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。
1785
- # 为空则使用默认值:EO-Client-IPCountry。
2250
+ # @param HeaderName: 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。为空则使用默认值:EO-Client-IPCountry。
1786
2251
  # @type HeaderName: String
1787
2252
 
1788
2253
  attr_accessor :Switch, :HeaderName
@@ -1798,14 +2263,13 @@ module TencentCloud
1798
2263
  end
1799
2264
  end
1800
2265
 
1801
- # 存储客户端请求IP的头部信息配置
1802
- class ClientIpHeader < TencentCloud::Common::AbstractModel
2266
+ # 存储客户端请求IP的头部信息配置。
2267
+ class ClientIPHeaderParameters < TencentCloud::Common::AbstractModel
1803
2268
  # @param Switch: 配置开关,取值有:
1804
2269
  # <li>on:开启;</li>
1805
2270
  # <li>off:关闭。</li>
1806
2271
  # @type Switch: String
1807
2272
  # @param HeaderName: 回源时,存放客户端 IP 的请求头名称。当 Switch 为 on 时,该参数必填。该参数不允许填写 X-Forwarded-For。
1808
- # 注意:此字段可能返回 null,表示取不到有效值。
1809
2273
  # @type HeaderName: String
1810
2274
 
1811
2275
  attr_accessor :Switch, :HeaderName
@@ -1821,16 +2285,62 @@ module TencentCloud
1821
2285
  end
1822
2286
  end
1823
2287
 
1824
- # CNAME 状态
1825
- class CnameStatus < TencentCloud::Common::AbstractModel
1826
- # @param RecordName: 记录名称。
1827
- # @type RecordName: String
1828
- # @param Cname: CNAME 地址。
1829
- # 注意:此字段可能返回 null,表示取不到有效值。
1830
- # @type Cname: String
1831
- # @param Status: Cname状态信息,取值有:
1832
- # <li>active:生效;</li>
1833
- # <li>moved:不生效。</li>
2288
+ # 回源时携带客户端IP所属地域信息,值的格式为ISO-3166-1两位字母代码。
2289
+ class ClientIpCountry < TencentCloud::Common::AbstractModel
2290
+ # @param Switch: 配置开关,取值有:
2291
+ # <li>on:开启;</li>
2292
+ # <li>off:关闭。</li>
2293
+ # @type Switch: String
2294
+ # @param HeaderName: 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。
2295
+ # 为空则使用默认值:EO-Client-IPCountry。
2296
+ # @type HeaderName: String
2297
+
2298
+ attr_accessor :Switch, :HeaderName
2299
+
2300
+ def initialize(switch=nil, headername=nil)
2301
+ @Switch = switch
2302
+ @HeaderName = headername
2303
+ end
2304
+
2305
+ def deserialize(params)
2306
+ @Switch = params['Switch']
2307
+ @HeaderName = params['HeaderName']
2308
+ end
2309
+ end
2310
+
2311
+ # 存储客户端请求IP的头部信息配置
2312
+ class ClientIpHeader < TencentCloud::Common::AbstractModel
2313
+ # @param Switch: 配置开关,取值有:
2314
+ # <li>on:开启;</li>
2315
+ # <li>off:关闭。</li>
2316
+ # @type Switch: String
2317
+ # @param HeaderName: 回源时,存放客户端 IP 的请求头名称。当 Switch 为 on 时,该参数必填。该参数不允许填写 X-Forwarded-For。
2318
+ # 注意:此字段可能返回 null,表示取不到有效值。
2319
+ # @type HeaderName: String
2320
+
2321
+ attr_accessor :Switch, :HeaderName
2322
+
2323
+ def initialize(switch=nil, headername=nil)
2324
+ @Switch = switch
2325
+ @HeaderName = headername
2326
+ end
2327
+
2328
+ def deserialize(params)
2329
+ @Switch = params['Switch']
2330
+ @HeaderName = params['HeaderName']
2331
+ end
2332
+ end
2333
+
2334
+ # CNAME 状态
2335
+ class CnameStatus < TencentCloud::Common::AbstractModel
2336
+ # @param RecordName: 记录名称。
2337
+ # @type RecordName: String
2338
+ # @param Cname: CNAME 地址。
2339
+ # 注意:此字段可能返回 null,表示取不到有效值。
2340
+ # @type Cname: String
2341
+ # @param Status: Cname状态信息,取值有:
2342
+ # <li>active:生效;</li>
2343
+ # <li>moved:不生效。</li>
1834
2344
  # 注意:此字段可能返回 null,表示取不到有效值。
1835
2345
  # @type Status: String
1836
2346
 
@@ -1901,6 +2411,30 @@ module TencentCloud
1901
2411
  end
1902
2412
  end
1903
2413
 
2414
+ # 智能压缩配置。
2415
+ class CompressionParameters < TencentCloud::Common::AbstractModel
2416
+ # @param Switch: 智能压缩配置开关,取值有:
2417
+ # <li>on:开启;</li>
2418
+ # <li>off:关闭。</li>
2419
+ # @type Switch: String
2420
+ # @param Algorithms: 支持的压缩算法列表。当 Switch 为 on 时,此字段必填,否则此字段不生效。取值有:
2421
+ # <li>brotli:brotli 算法;</li>
2422
+ # <li>gzip:gzip 算法。</li>
2423
+ # @type Algorithms: Array
2424
+
2425
+ attr_accessor :Switch, :Algorithms
2426
+
2427
+ def initialize(switch=nil, algorithms=nil)
2428
+ @Switch = switch
2429
+ @Algorithms = algorithms
2430
+ end
2431
+
2432
+ def deserialize(params)
2433
+ @Switch = params['Switch']
2434
+ @Algorithms = params['Algorithms']
2435
+ end
2436
+ end
2437
+
1904
2438
  # 配置组版本信息。
1905
2439
  class ConfigGroupVersionInfo < TencentCloud::Common::AbstractModel
1906
2440
  # @param VersionId: 版本 ID。
@@ -2801,6 +3335,53 @@ module TencentCloud
2801
3335
  end
2802
3336
  end
2803
3337
 
3338
+ # CreateL7AccRules请求参数结构体
3339
+ class CreateL7AccRulesRequest < TencentCloud::Common::AbstractModel
3340
+ # @param ZoneId: 站点 ID。
3341
+ # @type ZoneId: String
3342
+ # @param Rules: 规则内容。
3343
+ # @type Rules: Array
3344
+
3345
+ attr_accessor :ZoneId, :Rules
3346
+
3347
+ def initialize(zoneid=nil, rules=nil)
3348
+ @ZoneId = zoneid
3349
+ @Rules = rules
3350
+ end
3351
+
3352
+ def deserialize(params)
3353
+ @ZoneId = params['ZoneId']
3354
+ unless params['Rules'].nil?
3355
+ @Rules = []
3356
+ params['Rules'].each do |i|
3357
+ ruleengineitem_tmp = RuleEngineItem.new
3358
+ ruleengineitem_tmp.deserialize(i)
3359
+ @Rules << ruleengineitem_tmp
3360
+ end
3361
+ end
3362
+ end
3363
+ end
3364
+
3365
+ # CreateL7AccRules返回参数结构体
3366
+ class CreateL7AccRulesResponse < TencentCloud::Common::AbstractModel
3367
+ # @param RuleIds: 规则 ID 列表。
3368
+ # @type RuleIds: Array
3369
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3370
+ # @type RequestId: String
3371
+
3372
+ attr_accessor :RuleIds, :RequestId
3373
+
3374
+ def initialize(ruleids=nil, requestid=nil)
3375
+ @RuleIds = ruleids
3376
+ @RequestId = requestid
3377
+ end
3378
+
3379
+ def deserialize(params)
3380
+ @RuleIds = params['RuleIds']
3381
+ @RequestId = params['RequestId']
3382
+ end
3383
+ end
3384
+
2804
3385
  # CreateLoadBalancer请求参数结构体
2805
3386
  class CreateLoadBalancerRequest < TencentCloud::Common::AbstractModel
2806
3387
  # @param ZoneId: 站点 ID。
@@ -3703,6 +4284,34 @@ module TencentCloud
3703
4284
  end
3704
4285
  end
3705
4286
 
4287
+ # 节点缓存 TTL 自定义缓存时间参数配置。
4288
+ class CustomTime < TencentCloud::Common::AbstractModel
4289
+ # @param Switch: 自定义缓存时间开关,取值有:
4290
+ # <li>on:开启;</li>
4291
+ # <li>off:关闭。</li>
4292
+ # @type Switch: String
4293
+ # @param IgnoreCacheControl: 忽略源站 CacheControl 开关,取值有:
4294
+ # <li>on:开启;</li>
4295
+ # <li>off:关闭。</li>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
4296
+ # @type IgnoreCacheControl: String
4297
+ # @param CacheTime: 自定义缓存时间数值,单位为秒,取值:0~315360000。<br>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
4298
+ # @type CacheTime: Integer
4299
+
4300
+ attr_accessor :Switch, :IgnoreCacheControl, :CacheTime
4301
+
4302
+ def initialize(switch=nil, ignorecachecontrol=nil, cachetime=nil)
4303
+ @Switch = switch
4304
+ @IgnoreCacheControl = ignorecachecontrol
4305
+ @CacheTime = cachetime
4306
+ end
4307
+
4308
+ def deserialize(params)
4309
+ @Switch = params['Switch']
4310
+ @IgnoreCacheControl = params['IgnoreCacheControl']
4311
+ @CacheTime = params['CacheTime']
4312
+ end
4313
+ end
4314
+
3706
4315
  # 负载均衡实例 HTTP/HTTPS 健康检查策略下可配置的自定义头部。
3707
4316
  class CustomizedHeader < TencentCloud::Common::AbstractModel
3708
4317
  # @param Key: 自定义头部 Key。
@@ -4344,6 +4953,42 @@ module TencentCloud
4344
4953
  end
4345
4954
  end
4346
4955
 
4956
+ # DeleteL7AccRules请求参数结构体
4957
+ class DeleteL7AccRulesRequest < TencentCloud::Common::AbstractModel
4958
+ # @param ZoneId: 站点 ID。
4959
+ # @type ZoneId: String
4960
+ # @param RuleIds: 需要删除的规则 ID 列表。您可以通过 DescribeL7AccRules 获取 Ruleid。
4961
+ # @type RuleIds: Array
4962
+
4963
+ attr_accessor :ZoneId, :RuleIds
4964
+
4965
+ def initialize(zoneid=nil, ruleids=nil)
4966
+ @ZoneId = zoneid
4967
+ @RuleIds = ruleids
4968
+ end
4969
+
4970
+ def deserialize(params)
4971
+ @ZoneId = params['ZoneId']
4972
+ @RuleIds = params['RuleIds']
4973
+ end
4974
+ end
4975
+
4976
+ # DeleteL7AccRules返回参数结构体
4977
+ class DeleteL7AccRulesResponse < TencentCloud::Common::AbstractModel
4978
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4979
+ # @type RequestId: String
4980
+
4981
+ attr_accessor :RequestId
4982
+
4983
+ def initialize(requestid=nil)
4984
+ @RequestId = requestid
4985
+ end
4986
+
4987
+ def deserialize(params)
4988
+ @RequestId = params['RequestId']
4989
+ end
4990
+ end
4991
+
4347
4992
  # DeleteLoadBalancer请求参数结构体
4348
4993
  class DeleteLoadBalancerRequest < TencentCloud::Common::AbstractModel
4349
4994
  # @param ZoneId: 站点 ID。
@@ -6398,6 +7043,114 @@ module TencentCloud
6398
7043
  end
6399
7044
  end
6400
7045
 
7046
+ # DescribeL7AccRules请求参数结构体
7047
+ class DescribeL7AccRulesRequest < TencentCloud::Common::AbstractModel
7048
+ # @param ZoneId: 站点 ID。
7049
+ # @type ZoneId: String
7050
+ # @param Filters: 过滤条件,Filters.Values 的上限为 20,不填写此参数时默认按顺序返回站点下的规则。详细的过滤条件如下:
7051
+ # <li>rule-id:按照规则 ID 进行过滤。</li>
7052
+ # @type Filters: Array
7053
+ # @param Limit: 分页查询限制数目,默认值:20,上限:1000。
7054
+ # @type Limit: Integer
7055
+ # @param Offset: 分页查询偏移量,默认为 0。
7056
+ # @type Offset: Integer
7057
+
7058
+ attr_accessor :ZoneId, :Filters, :Limit, :Offset
7059
+
7060
+ def initialize(zoneid=nil, filters=nil, limit=nil, offset=nil)
7061
+ @ZoneId = zoneid
7062
+ @Filters = filters
7063
+ @Limit = limit
7064
+ @Offset = offset
7065
+ end
7066
+
7067
+ def deserialize(params)
7068
+ @ZoneId = params['ZoneId']
7069
+ unless params['Filters'].nil?
7070
+ @Filters = []
7071
+ params['Filters'].each do |i|
7072
+ filter_tmp = Filter.new
7073
+ filter_tmp.deserialize(i)
7074
+ @Filters << filter_tmp
7075
+ end
7076
+ end
7077
+ @Limit = params['Limit']
7078
+ @Offset = params['Offset']
7079
+ end
7080
+ end
7081
+
7082
+ # DescribeL7AccRules返回参数结构体
7083
+ class DescribeL7AccRulesResponse < TencentCloud::Common::AbstractModel
7084
+ # @param TotalCount: 规则总数。
7085
+ # @type TotalCount: Integer
7086
+ # @param Rules: 规则列表,规则按照从上到下的顺序执行,详情参考[规则生效优先级](https://cloud.tencent.com/document/product/1552/70901#.E4.BC.98.E5.85.88.E7.BA.A7)。
7087
+ # 注意:此字段可能返回 null,表示取不到有效值。
7088
+ # @type Rules: Array
7089
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7090
+ # @type RequestId: String
7091
+
7092
+ attr_accessor :TotalCount, :Rules, :RequestId
7093
+
7094
+ def initialize(totalcount=nil, rules=nil, requestid=nil)
7095
+ @TotalCount = totalcount
7096
+ @Rules = rules
7097
+ @RequestId = requestid
7098
+ end
7099
+
7100
+ def deserialize(params)
7101
+ @TotalCount = params['TotalCount']
7102
+ unless params['Rules'].nil?
7103
+ @Rules = []
7104
+ params['Rules'].each do |i|
7105
+ ruleengineitem_tmp = RuleEngineItem.new
7106
+ ruleengineitem_tmp.deserialize(i)
7107
+ @Rules << ruleengineitem_tmp
7108
+ end
7109
+ end
7110
+ @RequestId = params['RequestId']
7111
+ end
7112
+ end
7113
+
7114
+ # DescribeL7AccSetting请求参数结构体
7115
+ class DescribeL7AccSettingRequest < TencentCloud::Common::AbstractModel
7116
+ # @param ZoneId: 站点 ID。
7117
+ # @type ZoneId: String
7118
+
7119
+ attr_accessor :ZoneId
7120
+
7121
+ def initialize(zoneid=nil)
7122
+ @ZoneId = zoneid
7123
+ end
7124
+
7125
+ def deserialize(params)
7126
+ @ZoneId = params['ZoneId']
7127
+ end
7128
+ end
7129
+
7130
+ # DescribeL7AccSetting返回参数结构体
7131
+ class DescribeL7AccSettingResponse < TencentCloud::Common::AbstractModel
7132
+ # @param ZoneSetting: 站点加速全局配置。
7133
+ # 注意:此字段可能返回 null,表示取不到有效值。
7134
+ # @type ZoneSetting: :class:`Tencentcloud::Teo.v20220901.models.ZoneConfigParameters`
7135
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7136
+ # @type RequestId: String
7137
+
7138
+ attr_accessor :ZoneSetting, :RequestId
7139
+
7140
+ def initialize(zonesetting=nil, requestid=nil)
7141
+ @ZoneSetting = zonesetting
7142
+ @RequestId = requestid
7143
+ end
7144
+
7145
+ def deserialize(params)
7146
+ unless params['ZoneSetting'].nil?
7147
+ @ZoneSetting = ZoneConfigParameters.new
7148
+ @ZoneSetting.deserialize(params['ZoneSetting'])
7149
+ end
7150
+ @RequestId = params['RequestId']
7151
+ end
7152
+ end
7153
+
6401
7154
  # DescribeLoadBalancerList请求参数结构体
6402
7155
  class DescribeLoadBalancerListRequest < TencentCloud::Common::AbstractModel
6403
7156
  # @param ZoneId: 站点 ID。
@@ -6987,7 +7740,7 @@ module TencentCloud
6987
7740
  # @param ZoneId: 站点 ID。
6988
7741
  # @type ZoneId: String
6989
7742
  # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
6990
- # <li>rule-id<br>   按照【<strong>规则ID</strong>】进行过滤。<br>   类型:string<br>   必选:否</li>
7743
+ # <li>rule-id:按照规则 ID 进行过滤。</li>
6991
7744
  # @type Filters: Array
6992
7745
 
6993
7746
  attr_accessor :ZoneId, :Filters
@@ -8552,14 +9305,58 @@ module TencentCloud
8552
9305
  end
8553
9306
  end
8554
9307
 
8555
- # 自定义错误页面被引用的来源
8556
- class ErrorPageReference < TencentCloud::Common::AbstractModel
8557
- # @param BusinessId: 引用的业务 ID,如自定义拦截规则 ID
8558
- # @type BusinessId: String
9308
+ # 自定义错误页面。
9309
+ class ErrorPage < TencentCloud::Common::AbstractModel
9310
+ # @param StatusCode: 状态码。支持范围为 400、403、404、405、414、416、451、500、501、502、503、504
9311
+ # @type StatusCode: Integer
9312
+ # @param RedirectURL: 重定向 URL,需要为完整跳转路径,如 https://www.test.com/error.html。
9313
+ # @type RedirectURL: String
8559
9314
 
8560
- attr_accessor :BusinessId
9315
+ attr_accessor :StatusCode, :RedirectURL
8561
9316
 
8562
- def initialize(businessid=nil)
9317
+ def initialize(statuscode=nil, redirecturl=nil)
9318
+ @StatusCode = statuscode
9319
+ @RedirectURL = redirecturl
9320
+ end
9321
+
9322
+ def deserialize(params)
9323
+ @StatusCode = params['StatusCode']
9324
+ @RedirectURL = params['RedirectURL']
9325
+ end
9326
+ end
9327
+
9328
+ # 自定义错误页面配置参数。
9329
+ class ErrorPageParameters < TencentCloud::Common::AbstractModel
9330
+ # @param ErrorPageParams: 自定义错误页面配置列表。
9331
+ # 注意:此字段可能返回 null,表示取不到有效值。
9332
+ # @type ErrorPageParams: Array
9333
+
9334
+ attr_accessor :ErrorPageParams
9335
+
9336
+ def initialize(errorpageparams=nil)
9337
+ @ErrorPageParams = errorpageparams
9338
+ end
9339
+
9340
+ def deserialize(params)
9341
+ unless params['ErrorPageParams'].nil?
9342
+ @ErrorPageParams = []
9343
+ params['ErrorPageParams'].each do |i|
9344
+ errorpage_tmp = ErrorPage.new
9345
+ errorpage_tmp.deserialize(i)
9346
+ @ErrorPageParams << errorpage_tmp
9347
+ end
9348
+ end
9349
+ end
9350
+ end
9351
+
9352
+ # 自定义错误页面被引用的来源
9353
+ class ErrorPageReference < TencentCloud::Common::AbstractModel
9354
+ # @param BusinessId: 引用的业务 ID,如自定义拦截规则 ID。
9355
+ # @type BusinessId: String
9356
+
9357
+ attr_accessor :BusinessId
9358
+
9359
+ def initialize(businessid=nil)
8563
9360
  @BusinessId = businessid
8564
9361
  end
8565
9362
 
@@ -8970,6 +9767,30 @@ module TencentCloud
8970
9767
  end
8971
9768
  end
8972
9769
 
9770
+ # 访问协议强制 HTTPS 跳转配置。
9771
+ class ForceRedirectHTTPSParameters < TencentCloud::Common::AbstractModel
9772
+ # @param Switch: 访问强制跳转配置开关,取值有:
9773
+ # <li>on:开启;</li>
9774
+ # <li>off:关闭。</li>
9775
+ # @type Switch: String
9776
+ # @param RedirectStatusCode: 重定向状态码。当 Switch 为 on 时,此字段必填,否则此字段不生效。取值有:
9777
+ # <li>301:301跳转;</li>
9778
+ # <li>302:302跳转。</li>
9779
+ # @type RedirectStatusCode: Integer
9780
+
9781
+ attr_accessor :Switch, :RedirectStatusCode
9782
+
9783
+ def initialize(switch=nil, redirectstatuscode=nil)
9784
+ @Switch = switch
9785
+ @RedirectStatusCode = redirectstatuscode
9786
+ end
9787
+
9788
+ def deserialize(params)
9789
+ @Switch = params['Switch']
9790
+ @RedirectStatusCode = params['RedirectStatusCode']
9791
+ end
9792
+ end
9793
+
8973
9794
  # 边缘函数详情
8974
9795
  class Function < TencentCloud::Common::AbstractModel
8975
9796
  # @param FunctionId: 函数 ID。
@@ -9132,6 +9953,112 @@ module TencentCloud
9132
9953
  end
9133
9954
  end
9134
9955
 
9956
+ # gRPC 配置项。
9957
+ class GrpcParameters < TencentCloud::Common::AbstractModel
9958
+ # @param Switch: gRPC 配置开关,取值有:
9959
+ # <li>on:开启;</li>
9960
+ # <li>off:关闭。</li>
9961
+ # @type Switch: String
9962
+
9963
+ attr_accessor :Switch
9964
+
9965
+ def initialize(switch=nil)
9966
+ @Switch = switch
9967
+ end
9968
+
9969
+ def deserialize(params)
9970
+ @Switch = params['Switch']
9971
+ end
9972
+ end
9973
+
9974
+ # HSTS 配置参数。
9975
+ class HSTSParameters < TencentCloud::Common::AbstractModel
9976
+ # @param Switch: HSTS 配置开关,取值有:
9977
+ # <li>on:开启;</li>
9978
+ # <li>off:关闭。</li>
9979
+ # @type Switch: String
9980
+ # @param Timeout: 缓存 HSTS 头部时间,单位为秒,取值:1-31536000。<br>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
9981
+ # @type Timeout: Integer
9982
+ # @param IncludeSubDomains: 是否允许其他子域名继承相同的 HSTS 头部,取值有:
9983
+ # <li>on:允许其他子域名继承相同的 HSTS 头部;</li>
9984
+ # <li>off:不允许其他子域名继承相同的 HSTS 头部。</li>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
9985
+ # @type IncludeSubDomains: String
9986
+ # @param Preload: 是否允许浏览器预加载 HSTS 头部,取值有:
9987
+ # <li>on:允许浏览器预加载 HSTS 头部;</li>
9988
+ # <li>off:不允许浏览器预加载 HSTS 头部。</li>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
9989
+ # @type Preload: String
9990
+
9991
+ attr_accessor :Switch, :Timeout, :IncludeSubDomains, :Preload
9992
+
9993
+ def initialize(switch=nil, timeout=nil, includesubdomains=nil, preload=nil)
9994
+ @Switch = switch
9995
+ @Timeout = timeout
9996
+ @IncludeSubDomains = includesubdomains
9997
+ @Preload = preload
9998
+ end
9999
+
10000
+ def deserialize(params)
10001
+ @Switch = params['Switch']
10002
+ @Timeout = params['Timeout']
10003
+ @IncludeSubDomains = params['IncludeSubDomains']
10004
+ @Preload = params['Preload']
10005
+ end
10006
+ end
10007
+
10008
+ # HTTP2 接入配置参数。
10009
+ class HTTP2Parameters < TencentCloud::Common::AbstractModel
10010
+ # @param Switch: HTTP2 接入配置开关,取值有:
10011
+ # <li>on:开启;</li>
10012
+ # <li>off:关闭。</li>
10013
+ # @type Switch: String
10014
+
10015
+ attr_accessor :Switch
10016
+
10017
+ def initialize(switch=nil)
10018
+ @Switch = switch
10019
+ end
10020
+
10021
+ def deserialize(params)
10022
+ @Switch = params['Switch']
10023
+ end
10024
+ end
10025
+
10026
+ # HTTP 应答配置参数。
10027
+ class HTTPResponseParameters < TencentCloud::Common::AbstractModel
10028
+ # @param StatusCode: 响应状态码。支持 2XX、4XX、5XX,不包括 499、514、101、301、302、303、509、520-599。
10029
+ # @type StatusCode: Integer
10030
+ # @param ResponsePage: 响应页面 ID。
10031
+ # @type ResponsePage: String
10032
+
10033
+ attr_accessor :StatusCode, :ResponsePage
10034
+
10035
+ def initialize(statuscode=nil, responsepage=nil)
10036
+ @StatusCode = statuscode
10037
+ @ResponsePage = responsepage
10038
+ end
10039
+
10040
+ def deserialize(params)
10041
+ @StatusCode = params['StatusCode']
10042
+ @ResponsePage = params['ResponsePage']
10043
+ end
10044
+ end
10045
+
10046
+ # 七层回源超时配置。
10047
+ class HTTPUpstreamTimeoutParameters < TencentCloud::Common::AbstractModel
10048
+ # @param ResponseTimeout: HTTP 应答超时时间,单位为秒,取值:5~600。
10049
+ # @type ResponseTimeout: Integer
10050
+
10051
+ attr_accessor :ResponseTimeout
10052
+
10053
+ def initialize(responsetimeout=nil)
10054
+ @ResponseTimeout = responsetimeout
10055
+ end
10056
+
10057
+ def deserialize(params)
10058
+ @ResponseTimeout = params['ResponseTimeout']
10059
+ end
10060
+ end
10061
+
9135
10062
  # HandleFunctionRuntimeEnvironment请求参数结构体
9136
10063
  class HandleFunctionRuntimeEnvironmentRequest < TencentCloud::Common::AbstractModel
9137
10064
  # @param ZoneId: 站点 ID。
@@ -9207,6 +10134,33 @@ module TencentCloud
9207
10134
  end
9208
10135
  end
9209
10136
 
10137
+ # HTTP 头部设置规则。
10138
+ class HeaderAction < TencentCloud::Common::AbstractModel
10139
+ # @param Action: HTTP 头部设置方式。取值有:
10140
+ # <li>set:设置。变更指定头部参数的取值为设置后的值;</li>
10141
+ # <li>del:删除。删除指定的头部参数;</li>
10142
+ # <li>add:增加。增加指定的头部参数。</li>
10143
+ # @type Action: String
10144
+ # @param Name: HTTP 头部名称。
10145
+ # @type Name: String
10146
+ # @param Value: HTTP 头部值。当 Action 取值为 set 或者 add 时,该参数必填;当 Action 取值为 del 时,该参数无需填写。
10147
+ # @type Value: String
10148
+
10149
+ attr_accessor :Action, :Name, :Value
10150
+
10151
+ def initialize(action=nil, name=nil, value=nil)
10152
+ @Action = action
10153
+ @Name = name
10154
+ @Value = value
10155
+ end
10156
+
10157
+ def deserialize(params)
10158
+ @Action = params['Action']
10159
+ @Name = params['Name']
10160
+ @Value = params['Value']
10161
+ end
10162
+ end
10163
+
9210
10164
  # 负载均衡实例健康检查策略。
9211
10165
  class HealthChecker < TencentCloud::Common::AbstractModel
9212
10166
  # @param Type: 健康检查策略,取值有:
@@ -9287,6 +10241,50 @@ module TencentCloud
9287
10241
  end
9288
10242
  end
9289
10243
 
10244
+ # Host Header 重写配置参数。
10245
+ class HostHeaderParameters < TencentCloud::Common::AbstractModel
10246
+ # @param Action: 执行动作,取值有:
10247
+ # <li>followOrigin:跟随源站域名;</li>
10248
+ # <li>custom:自定义。</li>
10249
+ # @type Action: String
10250
+ # @param ServerName: Host Header 重写,需要填写完整域名。<br>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
10251
+ # @type ServerName: String
10252
+
10253
+ attr_accessor :Action, :ServerName
10254
+
10255
+ def initialize(action=nil, servername=nil)
10256
+ @Action = action
10257
+ @ServerName = servername
10258
+ end
10259
+
10260
+ def deserialize(params)
10261
+ @Action = params['Action']
10262
+ @ServerName = params['ServerName']
10263
+ end
10264
+ end
10265
+
10266
+ # 访问 URL 重定向 HostName 配置参数。
10267
+ class HostName < TencentCloud::Common::AbstractModel
10268
+ # @param Action: 目标 HostName 配置,取值有:
10269
+ # <li>follow:跟随请求;</li>
10270
+ # <li>custom:自定义。</li>
10271
+ # @type Action: String
10272
+ # @param Value: 目标 HostName 自定义取值,最大长度 1024。<br>注意:当 Action 为 custom 时,此字段必填;当 Action 为 follow 时,此字段不生效。
10273
+ # @type Value: String
10274
+
10275
+ attr_accessor :Action, :Value
10276
+
10277
+ def initialize(action=nil, value=nil)
10278
+ @Action = action
10279
+ @Value = value
10280
+ end
10281
+
10282
+ def deserialize(params)
10283
+ @Action = params['Action']
10284
+ @Value = params['Value']
10285
+ end
10286
+ end
10287
+
9290
10288
  # Hsts配置
9291
10289
  class Hsts < TencentCloud::Common::AbstractModel
9292
10290
  # @param Switch: 是否开启,取值有:
@@ -9460,6 +10458,24 @@ module TencentCloud
9460
10458
  end
9461
10459
  end
9462
10460
 
10461
+ # IPv6 访问配置。
10462
+ class IPv6Parameters < TencentCloud::Common::AbstractModel
10463
+ # @param Switch: IPv6 访问功能配置,取值有:
10464
+ # <li>on:开启 IPv6 访问功能;</li>
10465
+ # <li>off:关闭 IPv6 访问功能。</li>
10466
+ # @type Switch: String
10467
+
10468
+ attr_accessor :Switch
10469
+
10470
+ def initialize(switch=nil)
10471
+ @Switch = switch
10472
+ end
10473
+
10474
+ def deserialize(params)
10475
+ @Switch = params['Switch']
10476
+ end
10477
+ end
10478
+
9463
10479
  # 站点验证信息
9464
10480
  class Identification < TencentCloud::Common::AbstractModel
9465
10481
  # @param ZoneName: 站点名称。
@@ -10303,6 +11319,28 @@ module TencentCloud
10303
11319
  end
10304
11320
  end
10305
11321
 
11322
+ # 浏览器缓存 TTL 配置参数。
11323
+ class MaxAgeParameters < TencentCloud::Common::AbstractModel
11324
+ # @param FollowOrigin: 遵循源站 Cache-Control 开关,取值有:
11325
+ # <li>on:遵循源站,忽略 CacheTime 时间设置;</li>
11326
+ # <li>off:不遵循源站,使用 CacheTime 时间设置。</li>
11327
+ # @type FollowOrigin: String
11328
+ # @param CacheTime: 自定义缓存时间数值,单位为秒,取值:0~315360000。<br>注意:当 FollowOrigin 为 off 时,表示不遵循源站,使用 CacheTime 设置缓存时间,否则此字段不生效。
11329
+ # @type CacheTime: Integer
11330
+
11331
+ attr_accessor :FollowOrigin, :CacheTime
11332
+
11333
+ def initialize(followorigin=nil, cachetime=nil)
11334
+ @FollowOrigin = followorigin
11335
+ @CacheTime = cachetime
11336
+ end
11337
+
11338
+ def deserialize(params)
11339
+ @FollowOrigin = params['FollowOrigin']
11340
+ @CacheTime = params['CacheTime']
11341
+ end
11342
+ end
11343
+
10306
11344
  # ModifyAccelerationDomain请求参数结构体
10307
11345
  class ModifyAccelerationDomainRequest < TencentCloud::Common::AbstractModel
10308
11346
  # @param ZoneId: 加速域名所属站点ID。
@@ -11320,6 +12358,85 @@ module TencentCloud
11320
12358
  end
11321
12359
  end
11322
12360
 
12361
+ # ModifyL7AccRule请求参数结构体
12362
+ class ModifyL7AccRuleRequest < TencentCloud::Common::AbstractModel
12363
+ # @param ZoneId: 站点 ID。
12364
+ # @type ZoneId: String
12365
+ # @param Rule: 需要修改的规则。您可以先通过 DescribeL7AccRules 接口来获取需要修改的规则的 Ruleid,然后传入修改后的规则内容,原规则内容会被覆盖式更新。
12366
+ # @type Rule: :class:`Tencentcloud::Teo.v20220901.models.RuleEngineItem`
12367
+
12368
+ attr_accessor :ZoneId, :Rule
12369
+
12370
+ def initialize(zoneid=nil, rule=nil)
12371
+ @ZoneId = zoneid
12372
+ @Rule = rule
12373
+ end
12374
+
12375
+ def deserialize(params)
12376
+ @ZoneId = params['ZoneId']
12377
+ unless params['Rule'].nil?
12378
+ @Rule = RuleEngineItem.new
12379
+ @Rule.deserialize(params['Rule'])
12380
+ end
12381
+ end
12382
+ end
12383
+
12384
+ # ModifyL7AccRule返回参数结构体
12385
+ class ModifyL7AccRuleResponse < TencentCloud::Common::AbstractModel
12386
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12387
+ # @type RequestId: String
12388
+
12389
+ attr_accessor :RequestId
12390
+
12391
+ def initialize(requestid=nil)
12392
+ @RequestId = requestid
12393
+ end
12394
+
12395
+ def deserialize(params)
12396
+ @RequestId = params['RequestId']
12397
+ end
12398
+ end
12399
+
12400
+ # ModifyL7AccSetting请求参数结构体
12401
+ class ModifyL7AccSettingRequest < TencentCloud::Common::AbstractModel
12402
+ # @param ZoneId: 站点 ID。
12403
+ # @type ZoneId: String
12404
+ # @param ZoneConfig: 站点加速全局配置,该参数中的配置会对站点下的所有域名生效。您只需直接修改所需的配置,未传入的其他配置将保持原有状态。
12405
+
12406
+ # @type ZoneConfig: :class:`Tencentcloud::Teo.v20220901.models.ZoneConfig`
12407
+
12408
+ attr_accessor :ZoneId, :ZoneConfig
12409
+
12410
+ def initialize(zoneid=nil, zoneconfig=nil)
12411
+ @ZoneId = zoneid
12412
+ @ZoneConfig = zoneconfig
12413
+ end
12414
+
12415
+ def deserialize(params)
12416
+ @ZoneId = params['ZoneId']
12417
+ unless params['ZoneConfig'].nil?
12418
+ @ZoneConfig = ZoneConfig.new
12419
+ @ZoneConfig.deserialize(params['ZoneConfig'])
12420
+ end
12421
+ end
12422
+ end
12423
+
12424
+ # ModifyL7AccSetting返回参数结构体
12425
+ class ModifyL7AccSettingResponse < TencentCloud::Common::AbstractModel
12426
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12427
+ # @type RequestId: String
12428
+
12429
+ attr_accessor :RequestId
12430
+
12431
+ def initialize(requestid=nil)
12432
+ @RequestId = requestid
12433
+ end
12434
+
12435
+ def deserialize(params)
12436
+ @RequestId = params['RequestId']
12437
+ end
12438
+ end
12439
+
11323
12440
  # ModifyLoadBalancer请求参数结构体
11324
12441
  class ModifyLoadBalancerRequest < TencentCloud::Common::AbstractModel
11325
12442
  # @param ZoneId: 站点 ID。
@@ -11450,17 +12567,76 @@ module TencentCloud
11450
12567
  end
11451
12568
  end
11452
12569
 
11453
- # ModifyPlan请求参数结构体
11454
- class ModifyPlanRequest < TencentCloud::Common::AbstractModel
11455
- # @param PlanId: 套餐 ID,形如 edgeone-2unuvzjmmn2q。
11456
- # @type PlanId: String
11457
- # @param RenewFlag: 预付费套餐自动续费配置。若开启了自动续费,则会在套餐到期前一天自动续费,仅支持个人版,基础版,标准版套餐。不填写表示保持原有配置。
11458
- # @type RenewFlag: :class:`Tencentcloud::Teo.v20220901.models.RenewFlag`
11459
-
11460
- attr_accessor :PlanId, :RenewFlag
11461
-
11462
- def initialize(planid=nil, renewflag=nil)
11463
- @PlanId = planid
12570
+ # 修改源站配置参数。
12571
+ class ModifyOriginParameters < TencentCloud::Common::AbstractModel
12572
+ # @param OriginType: 源站类型。取值有:
12573
+ # <li>IPDomain:IPV4、IPV6 或域名类型源站;</li>
12574
+ # <li>OriginGroup:源站组类型源站;</li>
12575
+ # <li>LoadBalance:负载均衡,该功能内测中,如需使用,请提工单或联系智能客服;</li>
12576
+ # <li>COS:腾讯云 COS 对象存储源站;</li>
12577
+ # <li>AWSS3:支持 AWS S3 协议的所有对象存储源站。</li>
12578
+ # @type OriginType: String
12579
+ # @param Origin: 源站地址,根据 OriginType 的取值分为以下情况:
12580
+ # <li>当 OriginType = IPDomain 时,该参数请填写 IPV4、IPV6 地址或域名;</li>
12581
+ # <li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
12582
+ # <li>当 OriginType = AWSS3,该参数请填写 S3 桶的访问域名;</li>
12583
+ # <li>当 OriginType = OriginGroup 时,该参数请填写源站组 ID;</li>
12584
+ # <li>当 OriginType = LoadBalance 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放。</li>
12585
+ # @type Origin: String
12586
+ # @param OriginProtocol: 回源协议配置。当 OriginType 取值为 IPDomain、OriginGroup、LoadBalance 时该参数必填。取值有:
12587
+ # <li>http:使用 HTTP 协议;</li>
12588
+ # <li>https:使用 HTTPS 协议;</li>
12589
+ # <li>follow:协议跟随。</li>
12590
+ # @type OriginProtocol: String
12591
+ # @param HTTPOriginPort: HTTP 回源端口,取值范围 1~65535。该参数仅当回源协议 OriginProtocol 为 http 或者 follow 时生效。
12592
+ # @type HTTPOriginPort: Integer
12593
+ # @param HTTPSOriginPort: HTTPS 回源端口,取值范围 1~65535。该参数仅当回源协议 OriginProtocol 为 https 或者 follow 时生效。
12594
+ # @type HTTPSOriginPort: Integer
12595
+ # @param PrivateAccess: 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS 或 AWSS3 时会生效,取值有:
12596
+ # <li>on:使用私有鉴权;</li>
12597
+ # <li>off:不使用私有鉴权。</li>不填写时,默认值为off。
12598
+ # @type PrivateAccess: String
12599
+ # @param PrivateParameters: 私有鉴权使用参数,该参数仅当 OriginType = AWSS3 且 PrivateAccess = on 时会生效。
12600
+ # 注意:此字段可能返回 null,表示取不到有效值。
12601
+ # @type PrivateParameters: :class:`Tencentcloud::Teo.v20220901.models.OriginPrivateParameters`
12602
+
12603
+ attr_accessor :OriginType, :Origin, :OriginProtocol, :HTTPOriginPort, :HTTPSOriginPort, :PrivateAccess, :PrivateParameters
12604
+
12605
+ def initialize(origintype=nil, origin=nil, originprotocol=nil, httporiginport=nil, httpsoriginport=nil, privateaccess=nil, privateparameters=nil)
12606
+ @OriginType = origintype
12607
+ @Origin = origin
12608
+ @OriginProtocol = originprotocol
12609
+ @HTTPOriginPort = httporiginport
12610
+ @HTTPSOriginPort = httpsoriginport
12611
+ @PrivateAccess = privateaccess
12612
+ @PrivateParameters = privateparameters
12613
+ end
12614
+
12615
+ def deserialize(params)
12616
+ @OriginType = params['OriginType']
12617
+ @Origin = params['Origin']
12618
+ @OriginProtocol = params['OriginProtocol']
12619
+ @HTTPOriginPort = params['HTTPOriginPort']
12620
+ @HTTPSOriginPort = params['HTTPSOriginPort']
12621
+ @PrivateAccess = params['PrivateAccess']
12622
+ unless params['PrivateParameters'].nil?
12623
+ @PrivateParameters = OriginPrivateParameters.new
12624
+ @PrivateParameters.deserialize(params['PrivateParameters'])
12625
+ end
12626
+ end
12627
+ end
12628
+
12629
+ # ModifyPlan请求参数结构体
12630
+ class ModifyPlanRequest < TencentCloud::Common::AbstractModel
12631
+ # @param PlanId: 套餐 ID,形如 edgeone-2unuvzjmmn2q。
12632
+ # @type PlanId: String
12633
+ # @param RenewFlag: 预付费套餐自动续费配置。若开启了自动续费,则会在套餐到期前一天自动续费,仅支持个人版,基础版,标准版套餐。不填写表示保持原有配置。
12634
+ # @type RenewFlag: :class:`Tencentcloud::Teo.v20220901.models.RenewFlag`
12635
+
12636
+ attr_accessor :PlanId, :RenewFlag
12637
+
12638
+ def initialize(planid=nil, renewflag=nil)
12639
+ @PlanId = planid
11464
12640
  @RenewFlag = renewflag
11465
12641
  end
11466
12642
 
@@ -11593,6 +12769,54 @@ module TencentCloud
11593
12769
  end
11594
12770
  end
11595
12771
 
12772
+ # 修改 HTTP 回源请求头配置参数。
12773
+ class ModifyRequestHeaderParameters < TencentCloud::Common::AbstractModel
12774
+ # @param HeaderActions: HTTP 头部设置规则列表。
12775
+ # 注意:此字段可能返回 null,表示取不到有效值。
12776
+ # @type HeaderActions: Array
12777
+
12778
+ attr_accessor :HeaderActions
12779
+
12780
+ def initialize(headeractions=nil)
12781
+ @HeaderActions = headeractions
12782
+ end
12783
+
12784
+ def deserialize(params)
12785
+ unless params['HeaderActions'].nil?
12786
+ @HeaderActions = []
12787
+ params['HeaderActions'].each do |i|
12788
+ headeraction_tmp = HeaderAction.new
12789
+ headeraction_tmp.deserialize(i)
12790
+ @HeaderActions << headeraction_tmp
12791
+ end
12792
+ end
12793
+ end
12794
+ end
12795
+
12796
+ # 修改 HTTP 节点响应头配置参数。
12797
+ class ModifyResponseHeaderParameters < TencentCloud::Common::AbstractModel
12798
+ # @param HeaderActions: HTTP 回源头部规则列表。
12799
+ # 注意:此字段可能返回 null,表示取不到有效值。
12800
+ # @type HeaderActions: Array
12801
+
12802
+ attr_accessor :HeaderActions
12803
+
12804
+ def initialize(headeractions=nil)
12805
+ @HeaderActions = headeractions
12806
+ end
12807
+
12808
+ def deserialize(params)
12809
+ unless params['HeaderActions'].nil?
12810
+ @HeaderActions = []
12811
+ params['HeaderActions'].each do |i|
12812
+ headeraction_tmp = HeaderAction.new
12813
+ headeraction_tmp.deserialize(i)
12814
+ @HeaderActions << headeraction_tmp
12815
+ end
12816
+ end
12817
+ end
12818
+ end
12819
+
11596
12820
  # ModifyRule请求参数结构体
11597
12821
  class ModifyRuleRequest < TencentCloud::Common::AbstractModel
11598
12822
  # @param ZoneId: 站点 ID。
@@ -12145,6 +13369,24 @@ module TencentCloud
12145
13369
  end
12146
13370
  end
12147
13371
 
13372
+ # OCSP 装订配置参数。
13373
+ class OCSPStaplingParameters < TencentCloud::Common::AbstractModel
13374
+ # @param Switch: OCSP 装订配置开关,取值有:
13375
+ # <li>on:开启;</li>
13376
+ # <li>off:关闭。</li>
13377
+ # @type Switch: String
13378
+
13379
+ attr_accessor :Switch
13380
+
13381
+ def initialize(switch=nil)
13382
+ @Switch = switch
13383
+ end
13384
+
13385
+ def deserialize(params)
13386
+ @Switch = params['Switch']
13387
+ end
13388
+ end
13389
+
12148
13390
  # 离线缓存是否开启
12149
13391
  class OfflineCache < TencentCloud::Common::AbstractModel
12150
13392
  # @param Switch: 离线缓存是否开启,取值有:
@@ -12163,6 +13405,24 @@ module TencentCloud
12163
13405
  end
12164
13406
  end
12165
13407
 
13408
+ # 离线缓存是否开启。
13409
+ class OfflineCacheParameters < TencentCloud::Common::AbstractModel
13410
+ # @param Switch: 离线缓存开关,取值有:
13411
+ # <li>on:开启;</li>
13412
+ # <li>off:关闭。</li>
13413
+ # @type Switch: String
13414
+
13415
+ attr_accessor :Switch
13416
+
13417
+ def initialize(switch=nil)
13418
+ @Switch = switch
13419
+ end
13420
+
13421
+ def deserialize(params)
13422
+ @Switch = params['Switch']
13423
+ end
13424
+ end
13425
+
12166
13426
  # 源站配置。
12167
13427
  class Origin < TencentCloud::Common::AbstractModel
12168
13428
  # @param Origins: 主源站列表。
@@ -12573,6 +13833,36 @@ module TencentCloud
12573
13833
  end
12574
13834
  end
12575
13835
 
13836
+ # 对象存储源站私有鉴权参数。
13837
+ class OriginPrivateParameters < TencentCloud::Common::AbstractModel
13838
+ # @param AccessKeyId: 鉴权参数 Access Key ID。
13839
+ # @type AccessKeyId: String
13840
+ # @param SecretAccessKey: 鉴权参数 Secret Access Key。
13841
+ # @type SecretAccessKey: String
13842
+ # @param SignatureVersion: 鉴权版本。取值有:
13843
+ # <li>v2:v2版本;</li>
13844
+ # <li>v4:v4版本。</li>
13845
+ # @type SignatureVersion: String
13846
+ # @param Region: 存储桶地域。
13847
+ # @type Region: String
13848
+
13849
+ attr_accessor :AccessKeyId, :SecretAccessKey, :SignatureVersion, :Region
13850
+
13851
+ def initialize(accesskeyid=nil, secretaccesskey=nil, signatureversion=nil, region=nil)
13852
+ @AccessKeyId = accesskeyid
13853
+ @SecretAccessKey = secretaccesskey
13854
+ @SignatureVersion = signatureversion
13855
+ @Region = region
13856
+ end
13857
+
13858
+ def deserialize(params)
13859
+ @AccessKeyId = params['AccessKeyId']
13860
+ @SecretAccessKey = params['SecretAccessKey']
13861
+ @SignatureVersion = params['SignatureVersion']
13862
+ @Region = params['Region']
13863
+ end
13864
+ end
13865
+
12576
13866
  # 源站防护信息
12577
13867
  class OriginProtectionInfo < TencentCloud::Common::AbstractModel
12578
13868
  # @param ZoneId: 站点ID。
@@ -12830,6 +14120,26 @@ module TencentCloud
12830
14120
  end
12831
14121
  end
12832
14122
 
14123
+ # POST 请求上传文件流式传输最大限制。
14124
+ class PostMaxSizeParameters < TencentCloud::Common::AbstractModel
14125
+ # @param Switch: 是否开启 POST 请求上传文件限制,单位为 Byte,平台默认为限制为 32 * 2<sup>20</sup> Byte,取值有:<li>on:开启限制;</li><li>off:关闭限制。</li>
14126
+ # @type Switch: String
14127
+ # @param MaxSize: POST 请求上传文件流式传输最大限制,单位为 Byte,取值:1 * 2<sup>20</sup> Byte~500 * 2<sup>20</sup> Byte。
14128
+ # @type MaxSize: Integer
14129
+
14130
+ attr_accessor :Switch, :MaxSize
14131
+
14132
+ def initialize(switch=nil, maxsize=nil)
14133
+ @Switch = switch
14134
+ @MaxSize = maxsize
14135
+ end
14136
+
14137
+ def deserialize(params)
14138
+ @Switch = params['Switch']
14139
+ @MaxSize = params['MaxSize']
14140
+ end
14141
+ end
14142
+
12833
14143
  # 预付费套餐计费参数
12834
14144
  class PrepaidPlanParam < TencentCloud::Common::AbstractModel
12835
14145
  # @param Period: 订阅预付费套餐的周期,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。
@@ -12879,6 +14189,24 @@ module TencentCloud
12879
14189
  end
12880
14190
  end
12881
14191
 
14192
+ # QUIC 配置项。
14193
+ class QUICParameters < TencentCloud::Common::AbstractModel
14194
+ # @param Switch: QUIC 配置开关,取值有:
14195
+ # <li>on:开启;</li>
14196
+ # <li>off:关闭。</li>
14197
+ # @type Switch: String
14198
+
14199
+ attr_accessor :Switch
14200
+
14201
+ def initialize(switch=nil)
14202
+ @Switch = switch
14203
+ end
14204
+
14205
+ def deserialize(params)
14206
+ @Switch = params['Switch']
14207
+ end
14208
+ end
14209
+
12882
14210
  # 查询条件
12883
14211
  class QueryCondition < TencentCloud::Common::AbstractModel
12884
14212
  # @param Key: 筛选条件的key。
@@ -12992,6 +14320,24 @@ module TencentCloud
12992
14320
  end
12993
14321
  end
12994
14322
 
14323
+ # 分片回源配置参数。
14324
+ class RangeOriginPullParameters < TencentCloud::Common::AbstractModel
14325
+ # @param Switch: 分片回源开关,取值有:
14326
+ # <li>on:开启;</li>
14327
+ # <li>off:关闭。</li>
14328
+ # @type Switch: String
14329
+
14330
+ attr_accessor :Switch
14331
+
14332
+ def initialize(switch=nil)
14333
+ @Switch = switch
14334
+ end
14335
+
14336
+ def deserialize(params)
14337
+ @Switch = params['Switch']
14338
+ end
14339
+ end
14340
+
12995
14341
  # 速率限制规则
12996
14342
  class RateLimitConfig < TencentCloud::Common::AbstractModel
12997
14343
  # @param Switch: 开关,取值有:
@@ -13517,6 +14863,33 @@ module TencentCloud
13517
14863
  end
13518
14864
  end
13519
14865
 
14866
+ # 单连接下载限速配置参数。
14867
+ class ResponseSpeedLimitParameters < TencentCloud::Common::AbstractModel
14868
+ # @param Mode: 下载限速模式,取值有:
14869
+ # <li>LimitUponDownload:全过程下载限速;</li>
14870
+ # <li>LimitAfterSpecificBytesDownloaded:全速下载特定字节后开始限速;</li>
14871
+ # <li>LimitAfterSpecificSecondsDownloaded:全速下载特定时间后开始限速。</li>
14872
+ # @type Mode: String
14873
+ # @param MaxSpeed: 限速值,单位为:KB/s,填写数值,指定限速大小。
14874
+ # @type MaxSpeed: String
14875
+ # @param StartAt: 限速开始值,可以为下载大小或指定时长,单位为:KB或s,当 Mode 取值为 LimitAfterSpecificBytesDownloaded 或 LimitAfterSpecificSecondsDownloaded 时,该参数必填。填写数值,指定下载大小或指定时长。
14876
+ # @type StartAt: String
14877
+
14878
+ attr_accessor :Mode, :MaxSpeed, :StartAt
14879
+
14880
+ def initialize(mode=nil, maxspeed=nil, startat=nil)
14881
+ @Mode = mode
14882
+ @MaxSpeed = maxspeed
14883
+ @StartAt = startat
14884
+ end
14885
+
14886
+ def deserialize(params)
14887
+ @Mode = params['Mode']
14888
+ @MaxSpeed = params['MaxSpeed']
14889
+ @StartAt = params['StartAt']
14890
+ end
14891
+ end
14892
+
13520
14893
  # 规则引擎HTTP请求头/响应头类型的动作
13521
14894
  class RewriteAction < TencentCloud::Common::AbstractModel
13522
14895
  # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
@@ -13613,6 +14986,47 @@ module TencentCloud
13613
14986
  end
13614
14987
  end
13615
14988
 
14989
+ # 子规则分支。
14990
+ class RuleBranch < TencentCloud::Common::AbstractModel
14991
+ # @param Condition: [匹配条件
14992
+ # ](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
14993
+ # @type Condition: String
14994
+ # @param Actions: [操作](https://cloud.tencent.com/document/product/1552/90438#c7bd7e02-9247-4a72-b0e4-11c27cadb198)。<br>注意:Actions 和 SubRules 不可同时为空。
14995
+ # 注意:此字段可能返回 null,表示取不到有效值。
14996
+ # @type Actions: Array
14997
+ # @param SubRules: 子规则列表。此列表中时存在多条规则,按照从上往下的顺序依次执行。<br>注意:SubRules 和 Actions 不可同时为空。且当前只支持填写一层 SubRules。
14998
+ # 注意:此字段可能返回 null,表示取不到有效值。
14999
+ # @type SubRules: Array
15000
+
15001
+ attr_accessor :Condition, :Actions, :SubRules
15002
+
15003
+ def initialize(condition=nil, actions=nil, subrules=nil)
15004
+ @Condition = condition
15005
+ @Actions = actions
15006
+ @SubRules = subrules
15007
+ end
15008
+
15009
+ def deserialize(params)
15010
+ @Condition = params['Condition']
15011
+ unless params['Actions'].nil?
15012
+ @Actions = []
15013
+ params['Actions'].each do |i|
15014
+ ruleengineaction_tmp = RuleEngineAction.new
15015
+ ruleengineaction_tmp.deserialize(i)
15016
+ @Actions << ruleengineaction_tmp
15017
+ end
15018
+ end
15019
+ unless params['SubRules'].nil?
15020
+ @SubRules = []
15021
+ params['SubRules'].each do |i|
15022
+ ruleenginesubrule_tmp = RuleEngineSubRule.new
15023
+ ruleenginesubrule_tmp.deserialize(i)
15024
+ @SubRules << ruleenginesubrule_tmp
15025
+ end
15026
+ end
15027
+ end
15028
+ end
15029
+
13616
15030
  # 规则引擎可应用于匹配请求的设置详细信息,可选参数配置项
13617
15031
  class RuleChoicePropertiesItem < TencentCloud::Common::AbstractModel
13618
15032
  # @param Name: 参数名称。
@@ -13750,47 +15164,444 @@ module TencentCloud
13750
15164
  end
13751
15165
  end
13752
15166
 
13753
- # 规则引擎参数详情信息,特殊参数类型。
13754
- class RuleExtraParameter < TencentCloud::Common::AbstractModel
13755
- # @param Id: 参数名,取值有:
13756
- # <li> Action:修改 HTTP 头部所需参数,RuleAction 选择 RewirteAction;</li>
13757
- # <li> StatusCode:状态码相关功能所需参数,RuleAction 选择 CodeAction。</li>
13758
- # @type Id: String
13759
- # @param Type: 参数值类型。
13760
- # <li> CHOICE:参数值只能在 Values 中选择; </li>
13761
- # <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
13762
- # <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>
13763
- # @type Type: String
13764
- # @param Choices: 可选参数值。
13765
- # 注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。
13766
- # @type Choices: Array
15167
+ # 规则引擎操作。
15168
+ class RuleEngineAction < TencentCloud::Common::AbstractModel
15169
+ # @param Name: 操作名称。名称需要与参数结构体对应,例如 Name=Cache,则 CacheParameters 必填。
15170
+ # <li>Cache:节点缓存 TTL;</li>
15171
+ # <li>CacheKey:自定义 Cache Key;</li>
15172
+ # <li>CachePrefresh:缓存预刷新;</li>
15173
+ # <li>AccessURLRedirect:访问 URL 重定向;</li>
15174
+ # <li>UpstreamURLRewrite:回源 URL 重写;</li>
15175
+ # <li>QUIC:QUIC;</li>
15176
+ # <li>WebSocket:WebSocket;</li>
15177
+ # <li>Authentication:Token 鉴权;</li>
15178
+ # <li>MaxAge:浏览器缓存 TTL;</li>
15179
+ # <li>StatusCodeCache:状态码缓存 TTL;</li>
15180
+ # <li>OfflineCache:离线缓存;</li>
15181
+ # <li>SmartRouting:智能加速;</li>
15182
+ # <li>RangeOriginPull:分片回源 ;</li>
15183
+ # <li>UpstreamHTTP2:HTTP2 回源;</li>
15184
+ # <li>HostHeader:Host Header 重写;</li>
15185
+ # <li>ForceRedirectHTTPS:访问协议强制 HTTPS 跳转配置;</li>
15186
+ # <li>OriginPullProtocol:回源 HTTPS;</li>
15187
+ # <li>Compression:智能压缩配置;</li>
15188
+ # <li>HSTS:HSTS;</li>
15189
+ # <li>ClientIPHeader:存储客户端请求 IP 的头部信息配置;</li>
15190
+ # <li>OCSPStapling:OCSP 装订;</li>
15191
+ # <li>HTTP2:HTTP2 接入;</li>
15192
+ # <li>PostMaxSize:POST 请求上传文件流式传输最大限制配置;</li>
15193
+ # <li>ClientIPCountry:回源时携带客户端 IP 所属地域信息;</li>
15194
+ # <li>UpstreamFollowRedirect:回源跟随重定向参数配置;</li>
15195
+ # <li>UpstreamRequest:回源请求参数;</li>
15196
+ # <li>TLSConfig:SSL/TLS 安全;</li>
15197
+ # <li>ModifyOrigin:修改源站;</li>
15198
+ # <li>HTTPUpstreamTimeout:七层回源超时配置;</li>
15199
+ # <li>HttpResponse:HTTP 应答;</li>
15200
+ # <li>ErrorPage:自定义错误页面;</li>
15201
+ # <li>ModifyResponseHeader:修改 HTTP 节点响应头;</li>
15202
+ # <li>ModifyRequestHeader:修改 HTTP 节点请求头;</li>
15203
+ # <li>ResponseSpeedLimit:单连接下载限速。</li>
15204
+ # <li>SetContentIdentifierParameters:设置内容标识符。</li>
15205
+ # 注意:此字段可能返回 null,表示取不到有效值。
15206
+ # @type Name: String
15207
+ # @param CacheParameters: 节点缓存 TTL 配置参数,当 Name 取值为 Cache 时,该参数必填。
15208
+ # 注意:此字段可能返回 null,表示取不到有效值。
15209
+ # @type CacheParameters: :class:`Tencentcloud::Teo.v20220901.models.CacheParameters`
15210
+ # @param CacheKeyParameters: 自定义 Cache Key 配置参数,当 Name 取值为 CacheKey 时,该参数必填。
15211
+ # 注意:此字段可能返回 null,表示取不到有效值。
15212
+ # @type CacheKeyParameters: :class:`Tencentcloud::Teo.v20220901.models.CacheKeyParameters`
15213
+ # @param CachePrefreshParameters: 缓存预刷新配置参数,当 Name 取值为 CachePrefresh 时,该参数必填。
15214
+ # 注意:此字段可能返回 null,表示取不到有效值。
15215
+ # @type CachePrefreshParameters: :class:`Tencentcloud::Teo.v20220901.models.CachePrefreshParameters`
15216
+ # @param AccessURLRedirectParameters: 访问 URL 重定向配置参数,当 Name 取值为 AccessURLRedirect 时,该参数必填。
15217
+ # 注意:此字段可能返回 null,表示取不到有效值。
15218
+ # @type AccessURLRedirectParameters: :class:`Tencentcloud::Teo.v20220901.models.AccessURLRedirectParameters`
15219
+ # @param UpstreamURLRewriteParameters: 回源 URL 重写配置参数,当 Name 取值为 UpstreamURLRewrite 时,该参数必填。
15220
+ # 注意:此字段可能返回 null,表示取不到有效值。
15221
+ # @type UpstreamURLRewriteParameters: :class:`Tencentcloud::Teo.v20220901.models.UpstreamURLRewriteParameters`
15222
+ # @param QUICParameters: QUIC 配置参数,当 Name 取值为 QUIC 时,该参数必填。
15223
+ # 注意:此字段可能返回 null,表示取不到有效值。
15224
+ # @type QUICParameters: :class:`Tencentcloud::Teo.v20220901.models.QUICParameters`
15225
+ # @param WebSocketParameters: WebSocket 配置参数,当 Name 取值为 WebSocket 时,该参数必填。
15226
+ # 注意:此字段可能返回 null,表示取不到有效值。
15227
+ # @type WebSocketParameters: :class:`Tencentcloud::Teo.v20220901.models.WebSocketParameters`
15228
+ # @param AuthenticationParameters: Token 鉴权配置参数,当 Name 取值为 Authentication 时,该参数必填。
15229
+ # 注意:此字段可能返回 null,表示取不到有效值。
15230
+ # @type AuthenticationParameters: :class:`Tencentcloud::Teo.v20220901.models.AuthenticationParameters`
15231
+ # @param MaxAgeParameters: 浏览器缓存 TTL 配置参数,当 Name 取值为 MaxAge 时,该参数必填。
15232
+ # 注意:此字段可能返回 null,表示取不到有效值。
15233
+ # @type MaxAgeParameters: :class:`Tencentcloud::Teo.v20220901.models.MaxAgeParameters`
15234
+ # @param StatusCodeCacheParameters: 状态码缓存 TTL 配置参数,当 Name 取值为 StatusCodeCache 时,该参数必填。
15235
+ # 注意:此字段可能返回 null,表示取不到有效值。
15236
+ # @type StatusCodeCacheParameters: :class:`Tencentcloud::Teo.v20220901.models.StatusCodeCacheParameters`
15237
+ # @param OfflineCacheParameters: 离线缓存配置参数,当 Name 取值为 OfflineCache 时,该参数必填。
15238
+ # 注意:此字段可能返回 null,表示取不到有效值。
15239
+ # @type OfflineCacheParameters: :class:`Tencentcloud::Teo.v20220901.models.OfflineCacheParameters`
15240
+ # @param SmartRoutingParameters: 智能加速配置参数,当 Name 取值为 SmartRouting 时,该参数必填。
15241
+ # 注意:此字段可能返回 null,表示取不到有效值。
15242
+ # @type SmartRoutingParameters: :class:`Tencentcloud::Teo.v20220901.models.SmartRoutingParameters`
15243
+ # @param RangeOriginPullParameters: 分片回源配置参数,当 Name 取值为 RangeOriginPull 时,该参数必填。
15244
+ # 注意:此字段可能返回 null,表示取不到有效值。
15245
+ # @type RangeOriginPullParameters: :class:`Tencentcloud::Teo.v20220901.models.RangeOriginPullParameters`
15246
+ # @param UpstreamHTTP2Parameters: HTTP2 回源配置参数,当 Name 取值为 UpstreamHTTP2 时,该参数必填。
15247
+ # 注意:此字段可能返回 null,表示取不到有效值。
15248
+ # @type UpstreamHTTP2Parameters: :class:`Tencentcloud::Teo.v20220901.models.UpstreamHTTP2Parameters`
15249
+ # @param HostHeaderParameters: Host Header 重写配置参数,当 Name 取值为 HostHeader 时,该参数必填。
15250
+ # 注意:此字段可能返回 null,表示取不到有效值。
15251
+ # @type HostHeaderParameters: :class:`Tencentcloud::Teo.v20220901.models.HostHeaderParameters`
15252
+ # @param ForceRedirectHTTPSParameters: 访问协议强制 HTTPS 跳转配置,当 Name 取值为 ForceRedirectHTTPS 时,该参数必填。
15253
+ # 注意:此字段可能返回 null,表示取不到有效值。
15254
+ # @type ForceRedirectHTTPSParameters: :class:`Tencentcloud::Teo.v20220901.models.ForceRedirectHTTPSParameters`
15255
+ # @param CompressionParameters: 智能压缩配置,当 Name 取值为 Compression 时,该参数必填。
15256
+ # 注意:此字段可能返回 null,表示取不到有效值。
15257
+ # @type CompressionParameters: :class:`Tencentcloud::Teo.v20220901.models.CompressionParameters`
15258
+ # @param HSTSParameters: HSTS 配置参数,当 Name 取值为 HSTS 时,该参数必填。
15259
+ # 注意:此字段可能返回 null,表示取不到有效值。
15260
+ # @type HSTSParameters: :class:`Tencentcloud::Teo.v20220901.models.HSTSParameters`
15261
+ # @param ClientIPHeaderParameters: 存储客户端请求 IP 的头部信息配置,当 Name 取值为 ClientIPHeader 时,该参数必填。
15262
+ # 注意:此字段可能返回 null,表示取不到有效值。
15263
+ # @type ClientIPHeaderParameters: :class:`Tencentcloud::Teo.v20220901.models.ClientIPHeaderParameters`
15264
+ # @param OCSPStaplingParameters: OCSP 装订配置参数,当 Name 取值为 OCSPStapling 时,该参数必填。
15265
+ # 注意:此字段可能返回 null,表示取不到有效值。
15266
+ # @type OCSPStaplingParameters: :class:`Tencentcloud::Teo.v20220901.models.OCSPStaplingParameters`
15267
+ # @param HTTP2Parameters: HTTP2 接入配置参数,当 Name 取值为 HTTP2 时,该参数必填。
15268
+ # 注意:此字段可能返回 null,表示取不到有效值。
15269
+ # @type HTTP2Parameters: :class:`Tencentcloud::Teo.v20220901.models.HTTP2Parameters`
15270
+ # @param PostMaxSizeParameters: POST 请求上传文件流式传输最大限制配置,当 Name 取值为 PostMaxSize 时,该参数必填。
15271
+ # 注意:此字段可能返回 null,表示取不到有效值。
15272
+ # @type PostMaxSizeParameters: :class:`Tencentcloud::Teo.v20220901.models.PostMaxSizeParameters`
15273
+ # @param ClientIPCountryParameters: 回源时携带客户端 IP 所属地域信息配置参数,当 Name 取值为 ClientIPCountry 时,该参数必填。
15274
+ # 注意:此字段可能返回 null,表示取不到有效值。
15275
+ # @type ClientIPCountryParameters: :class:`Tencentcloud::Teo.v20220901.models.ClientIPCountryParameters`
15276
+ # @param UpstreamFollowRedirectParameters: 回源跟随重定向参数配置,当 Name 取值为 UpstreamFollowRedirect 时,该参数必填。
15277
+ # 注意:此字段可能返回 null,表示取不到有效值。
15278
+ # @type UpstreamFollowRedirectParameters: :class:`Tencentcloud::Teo.v20220901.models.UpstreamFollowRedirectParameters`
15279
+ # @param UpstreamRequestParameters: 回源请求参数配置参数,当 Name 取值为 UpstreamRequest 时,该参数必填。
15280
+ # 注意:此字段可能返回 null,表示取不到有效值。
15281
+ # @type UpstreamRequestParameters: :class:`Tencentcloud::Teo.v20220901.models.UpstreamRequestParameters`
15282
+ # @param TLSConfigParameters: SSL/TLS 安全配置参数,当 Name 取值为 TLSConfig 时,该参数必填。
15283
+ # 注意:此字段可能返回 null,表示取不到有效值。
15284
+ # @type TLSConfigParameters: :class:`Tencentcloud::Teo.v20220901.models.TLSConfigParameters`
15285
+ # @param ModifyOriginParameters: 修改源站配置参数,当 Name 取值为 ModifyOrigin 时,该参数必填。
15286
+ # 注意:此字段可能返回 null,表示取不到有效值。
15287
+ # @type ModifyOriginParameters: :class:`Tencentcloud::Teo.v20220901.models.ModifyOriginParameters`
15288
+ # @param HTTPUpstreamTimeoutParameters: 七层回源超时配置,当 Name 取值为 HTTPUpstreamTimeout 时,该参数必填。
15289
+ # 注意:此字段可能返回 null,表示取不到有效值。
15290
+ # @type HTTPUpstreamTimeoutParameters: :class:`Tencentcloud::Teo.v20220901.models.HTTPUpstreamTimeoutParameters`
15291
+ # @param HttpResponseParameters: HTTP 应答配置参数,当 Name 取值为 HttpResponse 时,该参数必填。
15292
+ # 注意:此字段可能返回 null,表示取不到有效值。
15293
+ # @type HttpResponseParameters: :class:`Tencentcloud::Teo.v20220901.models.HTTPResponseParameters`
15294
+ # @param ErrorPageParameters: 自定义错误页面配置参数,当 Name 取值为 ErrorPage 时,该参数必填。
15295
+ # 注意:此字段可能返回 null,表示取不到有效值。
15296
+ # @type ErrorPageParameters: :class:`Tencentcloud::Teo.v20220901.models.ErrorPageParameters`
15297
+ # @param ModifyResponseHeaderParameters: 修改 HTTP 节点响应头配置参数,当 Name 取值为 ModifyResponseHeader 时,该参数必填。
15298
+ # 注意:此字段可能返回 null,表示取不到有效值。
15299
+ # @type ModifyResponseHeaderParameters: :class:`Tencentcloud::Teo.v20220901.models.ModifyResponseHeaderParameters`
15300
+ # @param ModifyRequestHeaderParameters: 修改 HTTP 节点请求头配置参数,当 Name 取值为 ModifyRequestHeader 时,该参数必填。
15301
+ # 注意:此字段可能返回 null,表示取不到有效值。
15302
+ # @type ModifyRequestHeaderParameters: :class:`Tencentcloud::Teo.v20220901.models.ModifyRequestHeaderParameters`
15303
+ # @param ResponseSpeedLimitParameters: 单连接下载限速配置参数,当 Name 取值为 ResponseSpeedLimit 时,该参数必填。
15304
+ # 注意:此字段可能返回 null,表示取不到有效值。
15305
+ # @type ResponseSpeedLimitParameters: :class:`Tencentcloud::Teo.v20220901.models.ResponseSpeedLimitParameters`
15306
+ # @param SetContentIdentifierParameters: 内容标识配置参数,当 Name 取值为 HttpResponse 时,该参数必填。
13767
15307
 
13768
- attr_accessor :Id, :Type, :Choices
15308
+ # 注意:此字段可能返回 null,表示取不到有效值。
15309
+ # @type SetContentIdentifierParameters: :class:`Tencentcloud::Teo.v20220901.models.SetContentIdentifierParameters`
13769
15310
 
13770
- def initialize(id=nil, type=nil, choices=nil)
13771
- @Id = id
13772
- @Type = type
13773
- @Choices = choices
13774
- end
15311
+ attr_accessor :Name, :CacheParameters, :CacheKeyParameters, :CachePrefreshParameters, :AccessURLRedirectParameters, :UpstreamURLRewriteParameters, :QUICParameters, :WebSocketParameters, :AuthenticationParameters, :MaxAgeParameters, :StatusCodeCacheParameters, :OfflineCacheParameters, :SmartRoutingParameters, :RangeOriginPullParameters, :UpstreamHTTP2Parameters, :HostHeaderParameters, :ForceRedirectHTTPSParameters, :CompressionParameters, :HSTSParameters, :ClientIPHeaderParameters, :OCSPStaplingParameters, :HTTP2Parameters, :PostMaxSizeParameters, :ClientIPCountryParameters, :UpstreamFollowRedirectParameters, :UpstreamRequestParameters, :TLSConfigParameters, :ModifyOriginParameters, :HTTPUpstreamTimeoutParameters, :HttpResponseParameters, :ErrorPageParameters, :ModifyResponseHeaderParameters, :ModifyRequestHeaderParameters, :ResponseSpeedLimitParameters, :SetContentIdentifierParameters
13775
15312
 
13776
- def deserialize(params)
13777
- @Id = params['Id']
13778
- @Type = params['Type']
13779
- @Choices = params['Choices']
15313
+ def initialize(name=nil, cacheparameters=nil, cachekeyparameters=nil, cacheprefreshparameters=nil, accessurlredirectparameters=nil, upstreamurlrewriteparameters=nil, quicparameters=nil, websocketparameters=nil, authenticationparameters=nil, maxageparameters=nil, statuscodecacheparameters=nil, offlinecacheparameters=nil, smartroutingparameters=nil, rangeoriginpullparameters=nil, upstreamhttp2parameters=nil, hostheaderparameters=nil, forceredirecthttpsparameters=nil, compressionparameters=nil, hstsparameters=nil, clientipheaderparameters=nil, ocspstaplingparameters=nil, http2parameters=nil, postmaxsizeparameters=nil, clientipcountryparameters=nil, upstreamfollowredirectparameters=nil, upstreamrequestparameters=nil, tlsconfigparameters=nil, modifyoriginparameters=nil, httpupstreamtimeoutparameters=nil, httpresponseparameters=nil, errorpageparameters=nil, modifyresponseheaderparameters=nil, modifyrequestheaderparameters=nil, responsespeedlimitparameters=nil, setcontentidentifierparameters=nil)
15314
+ @Name = name
15315
+ @CacheParameters = cacheparameters
15316
+ @CacheKeyParameters = cachekeyparameters
15317
+ @CachePrefreshParameters = cacheprefreshparameters
15318
+ @AccessURLRedirectParameters = accessurlredirectparameters
15319
+ @UpstreamURLRewriteParameters = upstreamurlrewriteparameters
15320
+ @QUICParameters = quicparameters
15321
+ @WebSocketParameters = websocketparameters
15322
+ @AuthenticationParameters = authenticationparameters
15323
+ @MaxAgeParameters = maxageparameters
15324
+ @StatusCodeCacheParameters = statuscodecacheparameters
15325
+ @OfflineCacheParameters = offlinecacheparameters
15326
+ @SmartRoutingParameters = smartroutingparameters
15327
+ @RangeOriginPullParameters = rangeoriginpullparameters
15328
+ @UpstreamHTTP2Parameters = upstreamhttp2parameters
15329
+ @HostHeaderParameters = hostheaderparameters
15330
+ @ForceRedirectHTTPSParameters = forceredirecthttpsparameters
15331
+ @CompressionParameters = compressionparameters
15332
+ @HSTSParameters = hstsparameters
15333
+ @ClientIPHeaderParameters = clientipheaderparameters
15334
+ @OCSPStaplingParameters = ocspstaplingparameters
15335
+ @HTTP2Parameters = http2parameters
15336
+ @PostMaxSizeParameters = postmaxsizeparameters
15337
+ @ClientIPCountryParameters = clientipcountryparameters
15338
+ @UpstreamFollowRedirectParameters = upstreamfollowredirectparameters
15339
+ @UpstreamRequestParameters = upstreamrequestparameters
15340
+ @TLSConfigParameters = tlsconfigparameters
15341
+ @ModifyOriginParameters = modifyoriginparameters
15342
+ @HTTPUpstreamTimeoutParameters = httpupstreamtimeoutparameters
15343
+ @HttpResponseParameters = httpresponseparameters
15344
+ @ErrorPageParameters = errorpageparameters
15345
+ @ModifyResponseHeaderParameters = modifyresponseheaderparameters
15346
+ @ModifyRequestHeaderParameters = modifyrequestheaderparameters
15347
+ @ResponseSpeedLimitParameters = responsespeedlimitparameters
15348
+ @SetContentIdentifierParameters = setcontentidentifierparameters
13780
15349
  end
13781
- end
13782
15350
 
13783
- # 规则引擎规则详情
13784
- class RuleItem < TencentCloud::Common::AbstractModel
13785
- # @param RuleId: 规则ID。
13786
- # @type RuleId: String
13787
- # @param RuleName: 规则名称,名称字符串长度 1~255。
13788
- # @type RuleName: String
13789
- # @param Status: 规则状态,取值有:
13790
- # <li> enable: 启用; </li>
13791
- # <li> disable: 未启用。 </li>
13792
- # @type Status: String
13793
- # @param Rules: 规则内容。
15351
+ def deserialize(params)
15352
+ @Name = params['Name']
15353
+ unless params['CacheParameters'].nil?
15354
+ @CacheParameters = CacheParameters.new
15355
+ @CacheParameters.deserialize(params['CacheParameters'])
15356
+ end
15357
+ unless params['CacheKeyParameters'].nil?
15358
+ @CacheKeyParameters = CacheKeyParameters.new
15359
+ @CacheKeyParameters.deserialize(params['CacheKeyParameters'])
15360
+ end
15361
+ unless params['CachePrefreshParameters'].nil?
15362
+ @CachePrefreshParameters = CachePrefreshParameters.new
15363
+ @CachePrefreshParameters.deserialize(params['CachePrefreshParameters'])
15364
+ end
15365
+ unless params['AccessURLRedirectParameters'].nil?
15366
+ @AccessURLRedirectParameters = AccessURLRedirectParameters.new
15367
+ @AccessURLRedirectParameters.deserialize(params['AccessURLRedirectParameters'])
15368
+ end
15369
+ unless params['UpstreamURLRewriteParameters'].nil?
15370
+ @UpstreamURLRewriteParameters = UpstreamURLRewriteParameters.new
15371
+ @UpstreamURLRewriteParameters.deserialize(params['UpstreamURLRewriteParameters'])
15372
+ end
15373
+ unless params['QUICParameters'].nil?
15374
+ @QUICParameters = QUICParameters.new
15375
+ @QUICParameters.deserialize(params['QUICParameters'])
15376
+ end
15377
+ unless params['WebSocketParameters'].nil?
15378
+ @WebSocketParameters = WebSocketParameters.new
15379
+ @WebSocketParameters.deserialize(params['WebSocketParameters'])
15380
+ end
15381
+ unless params['AuthenticationParameters'].nil?
15382
+ @AuthenticationParameters = AuthenticationParameters.new
15383
+ @AuthenticationParameters.deserialize(params['AuthenticationParameters'])
15384
+ end
15385
+ unless params['MaxAgeParameters'].nil?
15386
+ @MaxAgeParameters = MaxAgeParameters.new
15387
+ @MaxAgeParameters.deserialize(params['MaxAgeParameters'])
15388
+ end
15389
+ unless params['StatusCodeCacheParameters'].nil?
15390
+ @StatusCodeCacheParameters = StatusCodeCacheParameters.new
15391
+ @StatusCodeCacheParameters.deserialize(params['StatusCodeCacheParameters'])
15392
+ end
15393
+ unless params['OfflineCacheParameters'].nil?
15394
+ @OfflineCacheParameters = OfflineCacheParameters.new
15395
+ @OfflineCacheParameters.deserialize(params['OfflineCacheParameters'])
15396
+ end
15397
+ unless params['SmartRoutingParameters'].nil?
15398
+ @SmartRoutingParameters = SmartRoutingParameters.new
15399
+ @SmartRoutingParameters.deserialize(params['SmartRoutingParameters'])
15400
+ end
15401
+ unless params['RangeOriginPullParameters'].nil?
15402
+ @RangeOriginPullParameters = RangeOriginPullParameters.new
15403
+ @RangeOriginPullParameters.deserialize(params['RangeOriginPullParameters'])
15404
+ end
15405
+ unless params['UpstreamHTTP2Parameters'].nil?
15406
+ @UpstreamHTTP2Parameters = UpstreamHTTP2Parameters.new
15407
+ @UpstreamHTTP2Parameters.deserialize(params['UpstreamHTTP2Parameters'])
15408
+ end
15409
+ unless params['HostHeaderParameters'].nil?
15410
+ @HostHeaderParameters = HostHeaderParameters.new
15411
+ @HostHeaderParameters.deserialize(params['HostHeaderParameters'])
15412
+ end
15413
+ unless params['ForceRedirectHTTPSParameters'].nil?
15414
+ @ForceRedirectHTTPSParameters = ForceRedirectHTTPSParameters.new
15415
+ @ForceRedirectHTTPSParameters.deserialize(params['ForceRedirectHTTPSParameters'])
15416
+ end
15417
+ unless params['CompressionParameters'].nil?
15418
+ @CompressionParameters = CompressionParameters.new
15419
+ @CompressionParameters.deserialize(params['CompressionParameters'])
15420
+ end
15421
+ unless params['HSTSParameters'].nil?
15422
+ @HSTSParameters = HSTSParameters.new
15423
+ @HSTSParameters.deserialize(params['HSTSParameters'])
15424
+ end
15425
+ unless params['ClientIPHeaderParameters'].nil?
15426
+ @ClientIPHeaderParameters = ClientIPHeaderParameters.new
15427
+ @ClientIPHeaderParameters.deserialize(params['ClientIPHeaderParameters'])
15428
+ end
15429
+ unless params['OCSPStaplingParameters'].nil?
15430
+ @OCSPStaplingParameters = OCSPStaplingParameters.new
15431
+ @OCSPStaplingParameters.deserialize(params['OCSPStaplingParameters'])
15432
+ end
15433
+ unless params['HTTP2Parameters'].nil?
15434
+ @HTTP2Parameters = HTTP2Parameters.new
15435
+ @HTTP2Parameters.deserialize(params['HTTP2Parameters'])
15436
+ end
15437
+ unless params['PostMaxSizeParameters'].nil?
15438
+ @PostMaxSizeParameters = PostMaxSizeParameters.new
15439
+ @PostMaxSizeParameters.deserialize(params['PostMaxSizeParameters'])
15440
+ end
15441
+ unless params['ClientIPCountryParameters'].nil?
15442
+ @ClientIPCountryParameters = ClientIPCountryParameters.new
15443
+ @ClientIPCountryParameters.deserialize(params['ClientIPCountryParameters'])
15444
+ end
15445
+ unless params['UpstreamFollowRedirectParameters'].nil?
15446
+ @UpstreamFollowRedirectParameters = UpstreamFollowRedirectParameters.new
15447
+ @UpstreamFollowRedirectParameters.deserialize(params['UpstreamFollowRedirectParameters'])
15448
+ end
15449
+ unless params['UpstreamRequestParameters'].nil?
15450
+ @UpstreamRequestParameters = UpstreamRequestParameters.new
15451
+ @UpstreamRequestParameters.deserialize(params['UpstreamRequestParameters'])
15452
+ end
15453
+ unless params['TLSConfigParameters'].nil?
15454
+ @TLSConfigParameters = TLSConfigParameters.new
15455
+ @TLSConfigParameters.deserialize(params['TLSConfigParameters'])
15456
+ end
15457
+ unless params['ModifyOriginParameters'].nil?
15458
+ @ModifyOriginParameters = ModifyOriginParameters.new
15459
+ @ModifyOriginParameters.deserialize(params['ModifyOriginParameters'])
15460
+ end
15461
+ unless params['HTTPUpstreamTimeoutParameters'].nil?
15462
+ @HTTPUpstreamTimeoutParameters = HTTPUpstreamTimeoutParameters.new
15463
+ @HTTPUpstreamTimeoutParameters.deserialize(params['HTTPUpstreamTimeoutParameters'])
15464
+ end
15465
+ unless params['HttpResponseParameters'].nil?
15466
+ @HttpResponseParameters = HTTPResponseParameters.new
15467
+ @HttpResponseParameters.deserialize(params['HttpResponseParameters'])
15468
+ end
15469
+ unless params['ErrorPageParameters'].nil?
15470
+ @ErrorPageParameters = ErrorPageParameters.new
15471
+ @ErrorPageParameters.deserialize(params['ErrorPageParameters'])
15472
+ end
15473
+ unless params['ModifyResponseHeaderParameters'].nil?
15474
+ @ModifyResponseHeaderParameters = ModifyResponseHeaderParameters.new
15475
+ @ModifyResponseHeaderParameters.deserialize(params['ModifyResponseHeaderParameters'])
15476
+ end
15477
+ unless params['ModifyRequestHeaderParameters'].nil?
15478
+ @ModifyRequestHeaderParameters = ModifyRequestHeaderParameters.new
15479
+ @ModifyRequestHeaderParameters.deserialize(params['ModifyRequestHeaderParameters'])
15480
+ end
15481
+ unless params['ResponseSpeedLimitParameters'].nil?
15482
+ @ResponseSpeedLimitParameters = ResponseSpeedLimitParameters.new
15483
+ @ResponseSpeedLimitParameters.deserialize(params['ResponseSpeedLimitParameters'])
15484
+ end
15485
+ unless params['SetContentIdentifierParameters'].nil?
15486
+ @SetContentIdentifierParameters = SetContentIdentifierParameters.new
15487
+ @SetContentIdentifierParameters.deserialize(params['SetContentIdentifierParameters'])
15488
+ end
15489
+ end
15490
+ end
15491
+
15492
+ # 规则引擎规则详情。
15493
+ class RuleEngineItem < TencentCloud::Common::AbstractModel
15494
+ # @param Status: 规则状态。取值有:<li> enable: 启用; </li><li> disable: 未启用。</li>
15495
+ # @type Status: String
15496
+ # @param RuleId: 规则 ID。规则的唯一性标识,当调用 ModifyL7AccRules 时,该参数必填。
15497
+ # @type RuleId: String
15498
+ # @param RuleName: 规则名称。名称长度限制不超过 255 个字符。
15499
+ # @type RuleName: String
15500
+ # @param Description: 规则注释。可以填写多个注释。
15501
+ # @type Description: Array
15502
+ # @param Branches: 子规则分支。此列表当前只支持填写一项规则,多填无效。
15503
+ # 注意:此字段可能返回 null,表示取不到有效值。
15504
+ # @type Branches: Array
15505
+ # @param RulePriority: 规则优先级。仅作为出参使用。
15506
+ # @type RulePriority: Integer
15507
+
15508
+ attr_accessor :Status, :RuleId, :RuleName, :Description, :Branches, :RulePriority
15509
+
15510
+ def initialize(status=nil, ruleid=nil, rulename=nil, description=nil, branches=nil, rulepriority=nil)
15511
+ @Status = status
15512
+ @RuleId = ruleid
15513
+ @RuleName = rulename
15514
+ @Description = description
15515
+ @Branches = branches
15516
+ @RulePriority = rulepriority
15517
+ end
15518
+
15519
+ def deserialize(params)
15520
+ @Status = params['Status']
15521
+ @RuleId = params['RuleId']
15522
+ @RuleName = params['RuleName']
15523
+ @Description = params['Description']
15524
+ unless params['Branches'].nil?
15525
+ @Branches = []
15526
+ params['Branches'].each do |i|
15527
+ rulebranch_tmp = RuleBranch.new
15528
+ rulebranch_tmp.deserialize(i)
15529
+ @Branches << rulebranch_tmp
15530
+ end
15531
+ end
15532
+ @RulePriority = params['RulePriority']
15533
+ end
15534
+ end
15535
+
15536
+ # 子规则。
15537
+ class RuleEngineSubRule < TencentCloud::Common::AbstractModel
15538
+ # @param Branches: 子规则分支
15539
+ # 注意:此字段可能返回 null,表示取不到有效值。
15540
+ # @type Branches: Array
15541
+ # @param Description: 规则注释。
15542
+ # @type Description: Array
15543
+
15544
+ attr_accessor :Branches, :Description
15545
+
15546
+ def initialize(branches=nil, description=nil)
15547
+ @Branches = branches
15548
+ @Description = description
15549
+ end
15550
+
15551
+ def deserialize(params)
15552
+ unless params['Branches'].nil?
15553
+ @Branches = []
15554
+ params['Branches'].each do |i|
15555
+ rulebranch_tmp = RuleBranch.new
15556
+ rulebranch_tmp.deserialize(i)
15557
+ @Branches << rulebranch_tmp
15558
+ end
15559
+ end
15560
+ @Description = params['Description']
15561
+ end
15562
+ end
15563
+
15564
+ # 规则引擎参数详情信息,特殊参数类型。
15565
+ class RuleExtraParameter < TencentCloud::Common::AbstractModel
15566
+ # @param Id: 参数名,取值有:
15567
+ # <li> Action:修改 HTTP 头部所需参数,RuleAction 选择 RewirteAction;</li>
15568
+ # <li> StatusCode:状态码相关功能所需参数,RuleAction 选择 CodeAction。</li>
15569
+ # @type Id: String
15570
+ # @param Type: 参数值类型。
15571
+ # <li> CHOICE:参数值只能在 Values 中选择; </li>
15572
+ # <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
15573
+ # <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>
15574
+ # @type Type: String
15575
+ # @param Choices: 可选参数值。
15576
+ # 注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。
15577
+ # @type Choices: Array
15578
+
15579
+ attr_accessor :Id, :Type, :Choices
15580
+
15581
+ def initialize(id=nil, type=nil, choices=nil)
15582
+ @Id = id
15583
+ @Type = type
15584
+ @Choices = choices
15585
+ end
15586
+
15587
+ def deserialize(params)
15588
+ @Id = params['Id']
15589
+ @Type = params['Type']
15590
+ @Choices = params['Choices']
15591
+ end
15592
+ end
15593
+
15594
+ # 规则引擎规则详情
15595
+ class RuleItem < TencentCloud::Common::AbstractModel
15596
+ # @param RuleId: 规则ID。
15597
+ # @type RuleId: String
15598
+ # @param RuleName: 规则名称,名称字符串长度 1~255。
15599
+ # @type RuleName: String
15600
+ # @param Status: 规则状态,取值有:
15601
+ # <li> enable: 启用; </li>
15602
+ # <li> disable: 未启用。 </li>
15603
+ # @type Status: String
15604
+ # @param Rules: 规则内容。
13794
15605
  # @type Rules: Array
13795
15606
  # @param RulePriority: 规则优先级, 值越大优先级越高,最小为 1。
13796
15607
  # @type RulePriority: Integer
@@ -14282,6 +16093,22 @@ module TencentCloud
14282
16093
  end
14283
16094
  end
14284
16095
 
16096
+ # 内容标识配置参数。
16097
+ class SetContentIdentifierParameters < TencentCloud::Common::AbstractModel
16098
+ # @param ContentIdentifier: 内容标识id
16099
+ # @type ContentIdentifier: String
16100
+
16101
+ attr_accessor :ContentIdentifier
16102
+
16103
+ def initialize(contentidentifier=nil)
16104
+ @ContentIdentifier = contentidentifier
16105
+ end
16106
+
16107
+ def deserialize(params)
16108
+ @ContentIdentifier = params['ContentIdentifier']
16109
+ end
16110
+ end
16111
+
14285
16112
  # 例外规则的跳过匹配条件,即在例外时根据本匹配条件,略过指定字段及内容。
14286
16113
  class SkipCondition < TencentCloud::Common::AbstractModel
14287
16114
  # @param Type: 例外跳过类型,取值为:
@@ -14429,6 +16256,24 @@ module TencentCloud
14429
16256
  end
14430
16257
  end
14431
16258
 
16259
+ # 智能加速配置。
16260
+ class SmartRoutingParameters < TencentCloud::Common::AbstractModel
16261
+ # @param Switch: 智能加速配置开关,取值有:
16262
+ # <li>on:开启;</li>
16263
+ # <li>off:关闭。</li>
16264
+ # @type Switch: String
16265
+
16266
+ attr_accessor :Switch
16267
+
16268
+ def initialize(switch=nil)
16269
+ @Switch = switch
16270
+ end
16271
+
16272
+ def deserialize(params)
16273
+ @Switch = params['Switch']
16274
+ end
16275
+ end
16276
+
14432
16277
  # 支持标准debug结构体
14433
16278
  class StandardDebug < TencentCloud::Common::AbstractModel
14434
16279
  # @param Switch: Debug 功能开关,取值有:
@@ -14455,6 +16300,76 @@ module TencentCloud
14455
16300
  end
14456
16301
  end
14457
16302
 
16303
+ # Debug 调试结构体。
16304
+ class StandardDebugParameters < TencentCloud::Common::AbstractModel
16305
+ # @param Switch: Debug 功能开关,取值有:
16306
+ # <li>on:开启;</li>
16307
+ # <li>off:关闭。</li>
16308
+ # @type Switch: String
16309
+ # @param AllowClientIPList: 允许的客户端来源。支持填写 IPv4 以及 IPv6 的 IP 网段。0.0.0.0/0 表示允许所有 IPv4 客户端进行调试;::/0 表示允许所有 IPv6 客户端进行调试;不能填写 127.0.0.1。<br>注意:当 Switch 字段为 on 时,此字段必填,且填写个数为 1~100;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
16310
+ # @type AllowClientIPList: Array
16311
+ # @param Expires: Debug 功能到期时间。超出设置的时间,则功能失效。<br>注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
16312
+ # @type Expires: String
16313
+
16314
+ attr_accessor :Switch, :AllowClientIPList, :Expires
16315
+
16316
+ def initialize(switch=nil, allowclientiplist=nil, expires=nil)
16317
+ @Switch = switch
16318
+ @AllowClientIPList = allowclientiplist
16319
+ @Expires = expires
16320
+ end
16321
+
16322
+ def deserialize(params)
16323
+ @Switch = params['Switch']
16324
+ @AllowClientIPList = params['AllowClientIPList']
16325
+ @Expires = params['Expires']
16326
+ end
16327
+ end
16328
+
16329
+ # 状态码缓存 TTL 配置参数内部结构。
16330
+ class StatusCodeCacheParam < TencentCloud::Common::AbstractModel
16331
+ # @param StatusCode: 状态码,取值为 400、 401、403、 404、 405、 407、 414、 500、 501、 502、 503、 504、 509、 514 之一。
16332
+ # @type StatusCode: Integer
16333
+ # @param CacheTime: 缓存时间数值,单位为秒,取值:0~31536000。
16334
+ # @type CacheTime: Integer
16335
+
16336
+ attr_accessor :StatusCode, :CacheTime
16337
+
16338
+ def initialize(statuscode=nil, cachetime=nil)
16339
+ @StatusCode = statuscode
16340
+ @CacheTime = cachetime
16341
+ end
16342
+
16343
+ def deserialize(params)
16344
+ @StatusCode = params['StatusCode']
16345
+ @CacheTime = params['CacheTime']
16346
+ end
16347
+ end
16348
+
16349
+ # 状态码缓存 TTL 配置参数。
16350
+ class StatusCodeCacheParameters < TencentCloud::Common::AbstractModel
16351
+ # @param StatusCodeCacheParams: 状态码缓存 TTL 。
16352
+ # 注意:此字段可能返回 null,表示取不到有效值。
16353
+ # @type StatusCodeCacheParams: Array
16354
+
16355
+ attr_accessor :StatusCodeCacheParams
16356
+
16357
+ def initialize(statuscodecacheparams=nil)
16358
+ @StatusCodeCacheParams = statuscodecacheparams
16359
+ end
16360
+
16361
+ def deserialize(params)
16362
+ unless params['StatusCodeCacheParams'].nil?
16363
+ @StatusCodeCacheParams = []
16364
+ params['StatusCodeCacheParams'].each do |i|
16365
+ statuscodecacheparam_tmp = StatusCodeCacheParam.new
16366
+ statuscodecacheparam_tmp.deserialize(i)
16367
+ @StatusCodeCacheParams << statuscodecacheparam_tmp
16368
+ end
16369
+ end
16370
+ end
16371
+ end
16372
+
14458
16373
  # 嵌套规则信息。
14459
16374
  class SubRule < TencentCloud::Common::AbstractModel
14460
16375
  # @param Conditions: 执行功能判断条件。
@@ -14575,6 +16490,26 @@ module TencentCloud
14575
16490
  end
14576
16491
  end
14577
16492
 
16493
+ # SSL/TLS 安全配置参数。
16494
+ class TLSConfigParameters < TencentCloud::Common::AbstractModel
16495
+ # @param Version: TLS 版本。至少填写一个,如果是多个时,需要为连续版本号,例如:开启 TLS1、1.1、1.2 和 1.3,不可仅开启 1 和 1.2 而关闭 1.1。取值有:<li>TLSv1:TLSv1 版本;</li><li>TLSv1.1:TLSv1.1 版本;</li><li>TLSv1.2:TLSv1.2 版本;</li><li>TLSv1.3:TLSv1.3 版本。</li>
16496
+ # @type Version: Array
16497
+ # @param CipherSuite: 密码套件。详细介绍请参考 [TLS 版本及密码套件说明](https://cloud.tencent.com/document/product/1552/86545)。取值有:<li>loose-v2023:loose-v2023 密码套件;</li><li>general-v2023:general-v2023 密码套件;</li><li>strict-v2023:strict-v2023 密码套件。</li>
16498
+ # @type CipherSuite: String
16499
+
16500
+ attr_accessor :Version, :CipherSuite
16501
+
16502
+ def initialize(version=nil, ciphersuite=nil)
16503
+ @Version = version
16504
+ @CipherSuite = ciphersuite
16505
+ end
16506
+
16507
+ def deserialize(params)
16508
+ @Version = params['Version']
16509
+ @CipherSuite = params['CipherSuite']
16510
+ end
16511
+ end
16512
+
14578
16513
  # 标签配置
14579
16514
  class Tag < TencentCloud::Common::AbstractModel
14580
16515
  # @param TagKey: 标签键。
@@ -14874,6 +16809,33 @@ module TencentCloud
14874
16809
  end
14875
16810
  end
14876
16811
 
16812
+ # 访问 URL 重定向路径配置参数。
16813
+ class URLPath < TencentCloud::Common::AbstractModel
16814
+ # @param Action: 执行动作,取值有:
16815
+ # <li>follow:跟随请求;</li>
16816
+ # <li>custom:自定义;</li>
16817
+ # <li>regex:正则匹配。</li>
16818
+ # @type Action: String
16819
+ # @param Regex: 正则匹配的表达式,长度范围为 1~1024。<br>注意:当 Action 为 regex 时,此字段必填;当 Action 为 follow 或 custom 时,无需填写此字段,若填写则不生效。
16820
+ # @type Regex: String
16821
+ # @param Value: 重定向的目标URL,长度范围为 1~1024。<br>注意:当 Action 为 regex 或 custom 时,此字段必填;当 Action 为 follow 时,无需填写此字段,若填写则不生效。
16822
+ # @type Value: String
16823
+
16824
+ attr_accessor :Action, :Regex, :Value
16825
+
16826
+ def initialize(action=nil, regex=nil, value=nil)
16827
+ @Action = action
16828
+ @Regex = regex
16829
+ @Value = value
16830
+ end
16831
+
16832
+ def deserialize(params)
16833
+ @Action = params['Action']
16834
+ @Regex = params['Regex']
16835
+ @Value = params['Value']
16836
+ end
16837
+ end
16838
+
14877
16839
  # UpgradePlan请求参数结构体
14878
16840
  class UpgradePlanRequest < TencentCloud::Common::AbstractModel
14879
16841
  # @param PlanId: 套餐 ID,形如 edgeone-2unuvzjmmn2q。
@@ -14937,6 +16899,47 @@ module TencentCloud
14937
16899
  end
14938
16900
  end
14939
16901
 
16902
+ # 回源跟随重定向参数配置。
16903
+ class UpstreamFollowRedirectParameters < TencentCloud::Common::AbstractModel
16904
+ # @param Switch: 回源跟随重定向配置开关,取值有:
16905
+ # <li>on:开启;</li>
16906
+ # <li>off:关闭。</li>
16907
+ # @type Switch: String
16908
+ # @param MaxTimes: 最大重定向次数。取值为 1-5。
16909
+ # 注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
16910
+ # @type MaxTimes: Integer
16911
+
16912
+ attr_accessor :Switch, :MaxTimes
16913
+
16914
+ def initialize(switch=nil, maxtimes=nil)
16915
+ @Switch = switch
16916
+ @MaxTimes = maxtimes
16917
+ end
16918
+
16919
+ def deserialize(params)
16920
+ @Switch = params['Switch']
16921
+ @MaxTimes = params['MaxTimes']
16922
+ end
16923
+ end
16924
+
16925
+ # HTTP2 回源配置。
16926
+ class UpstreamHTTP2Parameters < TencentCloud::Common::AbstractModel
16927
+ # @param Switch: HTTP2 回源配置开关,取值有:
16928
+ # <li>on:开启;</li>
16929
+ # <li>off:关闭。</li>
16930
+ # @type Switch: String
16931
+
16932
+ attr_accessor :Switch
16933
+
16934
+ def initialize(switch=nil)
16935
+ @Switch = switch
16936
+ end
16937
+
16938
+ def deserialize(params)
16939
+ @Switch = params['Switch']
16940
+ end
16941
+ end
16942
+
14940
16943
  # Http2回源配置
14941
16944
  class UpstreamHttp2 < TencentCloud::Common::AbstractModel
14942
16945
  # @param Switch: http2 回源配置开关,取值有:
@@ -14955,6 +16958,121 @@ module TencentCloud
14955
16958
  end
14956
16959
  end
14957
16960
 
16961
+ # 回源请求参数 Cookie 配置。
16962
+ class UpstreamRequestCookie < TencentCloud::Common::AbstractModel
16963
+ # @param Switch: 回源请求参数 Cookie 配置开关,取值有:
16964
+ # <li>on:开启;</li>
16965
+ # <li>off:关闭。</li>
16966
+ # @type Switch: String
16967
+ # @param Action: 回源请求参数 Cookie 模式。当 Switch 为 on 时,该参数必填。取值有:
16968
+ # <li>full:表示全部保留;</li>
16969
+ # <li>ignore:表示全部忽略;</li>
16970
+ # <li>includeCustom:表示保留部分参数;</li>
16971
+ # <li>excludeCustom:表示忽略部分参数。</li>
16972
+ # @type Action: String
16973
+ # @param Values: 指定参数值。仅当查询字符串模式 Action 为 includeCustom 或者 excludeCustom 时该参数生效,用于指定需要保留或者忽略的参数。最大支持 10 个参数。
16974
+ # @type Values: Array
16975
+
16976
+ attr_accessor :Switch, :Action, :Values
16977
+
16978
+ def initialize(switch=nil, action=nil, values=nil)
16979
+ @Switch = switch
16980
+ @Action = action
16981
+ @Values = values
16982
+ end
16983
+
16984
+ def deserialize(params)
16985
+ @Switch = params['Switch']
16986
+ @Action = params['Action']
16987
+ @Values = params['Values']
16988
+ end
16989
+ end
16990
+
16991
+ # 回源请求参数配置参数。
16992
+ class UpstreamRequestParameters < TencentCloud::Common::AbstractModel
16993
+ # @param QueryString: 查询字符串配置。可选配置项,不填表示不配置。
16994
+ # 注意:此字段可能返回 null,表示取不到有效值。
16995
+ # @type QueryString: :class:`Tencentcloud::Teo.v20220901.models.UpstreamRequestQueryString`
16996
+ # @param Cookie: Cookie 配置。可选配置项,不填表示不配置。
16997
+ # 注意:此字段可能返回 null,表示取不到有效值。
16998
+ # @type Cookie: :class:`Tencentcloud::Teo.v20220901.models.UpstreamRequestCookie`
16999
+
17000
+ attr_accessor :QueryString, :Cookie
17001
+
17002
+ def initialize(querystring=nil, cookie=nil)
17003
+ @QueryString = querystring
17004
+ @Cookie = cookie
17005
+ end
17006
+
17007
+ def deserialize(params)
17008
+ unless params['QueryString'].nil?
17009
+ @QueryString = UpstreamRequestQueryString.new
17010
+ @QueryString.deserialize(params['QueryString'])
17011
+ end
17012
+ unless params['Cookie'].nil?
17013
+ @Cookie = UpstreamRequestCookie.new
17014
+ @Cookie.deserialize(params['Cookie'])
17015
+ end
17016
+ end
17017
+ end
17018
+
17019
+ # 回源请求参数查询字符串配置。
17020
+ class UpstreamRequestQueryString < TencentCloud::Common::AbstractModel
17021
+ # @param Switch: 回源请求参数查询字符串配置开关,取值有:
17022
+ # <li>on:开启;</li>
17023
+ # <li>off:关闭。</li>
17024
+ # @type Switch: String
17025
+ # @param Action: 查询字符串模式。当 Switch 为 on 时,该参数必填。取值有:
17026
+ # <li>full:全部保留;</li>
17027
+ # <li>ignore:全部忽略;</li>
17028
+ # <li>includeCustom:保留部分参数;</li>
17029
+ # <li>excludeCustom:忽略部分参数。</li>
17030
+ # @type Action: String
17031
+ # @param Values: 指定参数值。仅当查询字符串模式 Action 为 includeCustom 或者 excludeCustom 时该参数生效,用于指定需要保留或者忽略的参数。最大支持 10 个参数。
17032
+ # @type Values: Array
17033
+
17034
+ attr_accessor :Switch, :Action, :Values
17035
+
17036
+ def initialize(switch=nil, action=nil, values=nil)
17037
+ @Switch = switch
17038
+ @Action = action
17039
+ @Values = values
17040
+ end
17041
+
17042
+ def deserialize(params)
17043
+ @Switch = params['Switch']
17044
+ @Action = params['Action']
17045
+ @Values = params['Values']
17046
+ end
17047
+ end
17048
+
17049
+ # 回源 URL 重写 配置参数。
17050
+ class UpstreamURLRewriteParameters < TencentCloud::Common::AbstractModel
17051
+ # @param Type: 回源 URL 重写类型,仅支持填写 Path。
17052
+ # @type Type: String
17053
+ # @param Action: 回源 URL 重写动作。取值有:
17054
+ # <li>replace:替换路径前缀;</li>
17055
+ # <li>addPrefix:增加路径前缀;</li>
17056
+ # <li>rmvPrefix:移除路径前缀。</li>
17057
+ # @type Action: String
17058
+ # @param Value: 回源 URL 重写值,最大长度 1024,必须以 / 开头。<br>注意:当 Action 为 addPrefix 时,不能以 / 结尾;当 Action 为 rmvPrefix 时,不能存在 *。
17059
+ # @type Value: String
17060
+
17061
+ attr_accessor :Type, :Action, :Value
17062
+
17063
+ def initialize(type=nil, action=nil, value=nil)
17064
+ @Type = type
17065
+ @Action = action
17066
+ @Value = value
17067
+ end
17068
+
17069
+ def deserialize(params)
17070
+ @Type = params['Type']
17071
+ @Action = params['Action']
17072
+ @Value = params['Value']
17073
+ end
17074
+ end
17075
+
14958
17076
  # 自定义 nameservers
14959
17077
  class VanityNameServers < TencentCloud::Common::AbstractModel
14960
17078
  # @param Switch: 自定义 ns 开关,取值有:
@@ -15156,6 +17274,28 @@ module TencentCloud
15156
17274
  end
15157
17275
  end
15158
17276
 
17277
+ # WebSocket 配置。
17278
+ class WebSocketParameters < TencentCloud::Common::AbstractModel
17279
+ # @param Switch: WebSocket 超时时间配置开关,取值有:
17280
+ # <li>on:使用 Timeout 作为 WebSocket 超时时间;</li>
17281
+ # <li>off:平台仍支持 WebSocket 连接,此时使用系统默认的 15 秒为超时时间。</li>
17282
+ # @type Switch: String
17283
+ # @param Timeout: 超时时间,单位为秒,最大超时时间 120 秒。<br>注意:当 Switch 为 on 时,此字段必填,否则此字段不生效。
17284
+ # @type Timeout: Integer
17285
+
17286
+ attr_accessor :Switch, :Timeout
17287
+
17288
+ def initialize(switch=nil, timeout=nil)
17289
+ @Switch = switch
17290
+ @Timeout = timeout
17291
+ end
17292
+
17293
+ def deserialize(params)
17294
+ @Switch = params['Switch']
17295
+ @Timeout = params['Timeout']
17296
+ end
17297
+ end
17298
+
15159
17299
  # 站点信息
15160
17300
  class Zone < TencentCloud::Common::AbstractModel
15161
17301
  # @param ZoneId: 站点 ID。
@@ -15303,6 +17443,218 @@ module TencentCloud
15303
17443
  end
15304
17444
  end
15305
17445
 
17446
+ # 站点加速配置。
17447
+ class ZoneConfig < TencentCloud::Common::AbstractModel
17448
+ # @param SmartRouting: 智能加速配置。
17449
+ # 注意:此字段可能返回 null,表示取不到有效值。
17450
+ # @type SmartRouting: :class:`Tencentcloud::Teo.v20220901.models.SmartRoutingParameters`
17451
+ # @param Cache: 缓存过期时间配置。
17452
+ # 注意:此字段可能返回 null,表示取不到有效值。
17453
+ # @type Cache: :class:`Tencentcloud::Teo.v20220901.models.CacheConfigParameters`
17454
+ # @param MaxAge: 浏览器缓存配置。
17455
+ # 注意:此字段可能返回 null,表示取不到有效值。
17456
+ # @type MaxAge: :class:`Tencentcloud::Teo.v20220901.models.MaxAgeParameters`
17457
+ # @param CacheKey: 节点缓存键配置。
17458
+ # 注意:此字段可能返回 null,表示取不到有效值。
17459
+ # @type CacheKey: :class:`Tencentcloud::Teo.v20220901.models.CacheKeyConfigParameters`
17460
+ # @param CachePrefresh: 缓存预刷新配置。
17461
+ # 注意:此字段可能返回 null,表示取不到有效值。
17462
+ # @type CachePrefresh: :class:`Tencentcloud::Teo.v20220901.models.CachePrefreshParameters`
17463
+ # @param OfflineCache: 离线缓存配置。
17464
+ # 注意:此字段可能返回 null,表示取不到有效值。
17465
+ # @type OfflineCache: :class:`Tencentcloud::Teo.v20220901.models.OfflineCacheParameters`
17466
+ # @param Compression: 智能压缩配置。
17467
+ # 注意:此字段可能返回 null,表示取不到有效值。
17468
+ # @type Compression: :class:`Tencentcloud::Teo.v20220901.models.CompressionParameters`
17469
+ # @param ForceRedirectHTTPS: 访问协议强制 HTTPS 跳转配置。
17470
+ # 注意:此字段可能返回 null,表示取不到有效值。
17471
+ # @type ForceRedirectHTTPS: :class:`Tencentcloud::Teo.v20220901.models.ForceRedirectHTTPSParameters`
17472
+ # @param HSTS: HSTS 相关配置。
17473
+ # 注意:此字段可能返回 null,表示取不到有效值。
17474
+ # @type HSTS: :class:`Tencentcloud::Teo.v20220901.models.HSTSParameters`
17475
+ # @param TLSConfig: TLS 相关配置。
17476
+ # 注意:此字段可能返回 null,表示取不到有效值。
17477
+ # @type TLSConfig: :class:`Tencentcloud::Teo.v20220901.models.TLSConfigParameters`
17478
+ # @param OCSPStapling: OCSP 装订配置。
17479
+ # 注意:此字段可能返回 null,表示取不到有效值。
17480
+ # @type OCSPStapling: :class:`Tencentcloud::Teo.v20220901.models.OCSPStaplingParameters`
17481
+ # @param HTTP2: HTTP2 相关配置。
17482
+ # 注意:此字段可能返回 null,表示取不到有效值。
17483
+ # @type HTTP2: :class:`Tencentcloud::Teo.v20220901.models.HTTP2Parameters`
17484
+ # @param QUIC: QUIC 访问配置。
17485
+ # 注意:此字段可能返回 null,表示取不到有效值。
17486
+ # @type QUIC: :class:`Tencentcloud::Teo.v20220901.models.QUICParameters`
17487
+ # @param UpstreamHTTP2: HTTP2 回源配置。
17488
+ # 注意:此字段可能返回 null,表示取不到有效值。
17489
+ # @type UpstreamHTTP2: :class:`Tencentcloud::Teo.v20220901.models.UpstreamHTTP2Parameters`
17490
+ # @param IPv6: IPv6 访问配置。
17491
+ # 注意:此字段可能返回 null,表示取不到有效值。
17492
+ # @type IPv6: :class:`Tencentcloud::Teo.v20220901.models.IPv6Parameters`
17493
+ # @param WebSocket: WebSocket 配置。
17494
+ # 注意:此字段可能返回 null,表示取不到有效值。
17495
+ # @type WebSocket: :class:`Tencentcloud::Teo.v20220901.models.WebSocketParameters`
17496
+ # @param PostMaxSize: POST 请求传输配置。
17497
+ # 注意:此字段可能返回 null,表示取不到有效值。
17498
+ # @type PostMaxSize: :class:`Tencentcloud::Teo.v20220901.models.PostMaxSizeParameters`
17499
+ # @param ClientIPHeader: 客户端 IP 回源请求头配置。
17500
+ # 注意:此字段可能返回 null,表示取不到有效值。
17501
+ # @type ClientIPHeader: :class:`Tencentcloud::Teo.v20220901.models.ClientIPHeaderParameters`
17502
+ # @param ClientIPCountry: 回源时是否携带客户端 IP 所属地域信息的配置。
17503
+ # 注意:此字段可能返回 null,表示取不到有效值。
17504
+ # @type ClientIPCountry: :class:`Tencentcloud::Teo.v20220901.models.ClientIPCountryParameters`
17505
+ # @param Grpc: gRPC 协议支持配置。
17506
+ # 注意:此字段可能返回 null,表示取不到有效值。
17507
+ # @type Grpc: :class:`Tencentcloud::Teo.v20220901.models.GrpcParameters`
17508
+ # @param AccelerateMainland: 中国大陆加速优化配置。
17509
+ # 注意:此字段可能返回 null,表示取不到有效值。
17510
+ # @type AccelerateMainland: :class:`Tencentcloud::Teo.v20220901.models.AccelerateMainlandParameters`
17511
+ # @param StandardDebug: 标准 Debug 配置。
17512
+ # 注意:此字段可能返回 null,表示取不到有效值。
17513
+ # @type StandardDebug: :class:`Tencentcloud::Teo.v20220901.models.StandardDebugParameters`
17514
+
17515
+ attr_accessor :SmartRouting, :Cache, :MaxAge, :CacheKey, :CachePrefresh, :OfflineCache, :Compression, :ForceRedirectHTTPS, :HSTS, :TLSConfig, :OCSPStapling, :HTTP2, :QUIC, :UpstreamHTTP2, :IPv6, :WebSocket, :PostMaxSize, :ClientIPHeader, :ClientIPCountry, :Grpc, :AccelerateMainland, :StandardDebug
17516
+
17517
+ def initialize(smartrouting=nil, cache=nil, maxage=nil, cachekey=nil, cacheprefresh=nil, offlinecache=nil, compression=nil, forceredirecthttps=nil, hsts=nil, tlsconfig=nil, ocspstapling=nil, http2=nil, quic=nil, upstreamhttp2=nil, ipv6=nil, websocket=nil, postmaxsize=nil, clientipheader=nil, clientipcountry=nil, grpc=nil, acceleratemainland=nil, standarddebug=nil)
17518
+ @SmartRouting = smartrouting
17519
+ @Cache = cache
17520
+ @MaxAge = maxage
17521
+ @CacheKey = cachekey
17522
+ @CachePrefresh = cacheprefresh
17523
+ @OfflineCache = offlinecache
17524
+ @Compression = compression
17525
+ @ForceRedirectHTTPS = forceredirecthttps
17526
+ @HSTS = hsts
17527
+ @TLSConfig = tlsconfig
17528
+ @OCSPStapling = ocspstapling
17529
+ @HTTP2 = http2
17530
+ @QUIC = quic
17531
+ @UpstreamHTTP2 = upstreamhttp2
17532
+ @IPv6 = ipv6
17533
+ @WebSocket = websocket
17534
+ @PostMaxSize = postmaxsize
17535
+ @ClientIPHeader = clientipheader
17536
+ @ClientIPCountry = clientipcountry
17537
+ @Grpc = grpc
17538
+ @AccelerateMainland = acceleratemainland
17539
+ @StandardDebug = standarddebug
17540
+ end
17541
+
17542
+ def deserialize(params)
17543
+ unless params['SmartRouting'].nil?
17544
+ @SmartRouting = SmartRoutingParameters.new
17545
+ @SmartRouting.deserialize(params['SmartRouting'])
17546
+ end
17547
+ unless params['Cache'].nil?
17548
+ @Cache = CacheConfigParameters.new
17549
+ @Cache.deserialize(params['Cache'])
17550
+ end
17551
+ unless params['MaxAge'].nil?
17552
+ @MaxAge = MaxAgeParameters.new
17553
+ @MaxAge.deserialize(params['MaxAge'])
17554
+ end
17555
+ unless params['CacheKey'].nil?
17556
+ @CacheKey = CacheKeyConfigParameters.new
17557
+ @CacheKey.deserialize(params['CacheKey'])
17558
+ end
17559
+ unless params['CachePrefresh'].nil?
17560
+ @CachePrefresh = CachePrefreshParameters.new
17561
+ @CachePrefresh.deserialize(params['CachePrefresh'])
17562
+ end
17563
+ unless params['OfflineCache'].nil?
17564
+ @OfflineCache = OfflineCacheParameters.new
17565
+ @OfflineCache.deserialize(params['OfflineCache'])
17566
+ end
17567
+ unless params['Compression'].nil?
17568
+ @Compression = CompressionParameters.new
17569
+ @Compression.deserialize(params['Compression'])
17570
+ end
17571
+ unless params['ForceRedirectHTTPS'].nil?
17572
+ @ForceRedirectHTTPS = ForceRedirectHTTPSParameters.new
17573
+ @ForceRedirectHTTPS.deserialize(params['ForceRedirectHTTPS'])
17574
+ end
17575
+ unless params['HSTS'].nil?
17576
+ @HSTS = HSTSParameters.new
17577
+ @HSTS.deserialize(params['HSTS'])
17578
+ end
17579
+ unless params['TLSConfig'].nil?
17580
+ @TLSConfig = TLSConfigParameters.new
17581
+ @TLSConfig.deserialize(params['TLSConfig'])
17582
+ end
17583
+ unless params['OCSPStapling'].nil?
17584
+ @OCSPStapling = OCSPStaplingParameters.new
17585
+ @OCSPStapling.deserialize(params['OCSPStapling'])
17586
+ end
17587
+ unless params['HTTP2'].nil?
17588
+ @HTTP2 = HTTP2Parameters.new
17589
+ @HTTP2.deserialize(params['HTTP2'])
17590
+ end
17591
+ unless params['QUIC'].nil?
17592
+ @QUIC = QUICParameters.new
17593
+ @QUIC.deserialize(params['QUIC'])
17594
+ end
17595
+ unless params['UpstreamHTTP2'].nil?
17596
+ @UpstreamHTTP2 = UpstreamHTTP2Parameters.new
17597
+ @UpstreamHTTP2.deserialize(params['UpstreamHTTP2'])
17598
+ end
17599
+ unless params['IPv6'].nil?
17600
+ @IPv6 = IPv6Parameters.new
17601
+ @IPv6.deserialize(params['IPv6'])
17602
+ end
17603
+ unless params['WebSocket'].nil?
17604
+ @WebSocket = WebSocketParameters.new
17605
+ @WebSocket.deserialize(params['WebSocket'])
17606
+ end
17607
+ unless params['PostMaxSize'].nil?
17608
+ @PostMaxSize = PostMaxSizeParameters.new
17609
+ @PostMaxSize.deserialize(params['PostMaxSize'])
17610
+ end
17611
+ unless params['ClientIPHeader'].nil?
17612
+ @ClientIPHeader = ClientIPHeaderParameters.new
17613
+ @ClientIPHeader.deserialize(params['ClientIPHeader'])
17614
+ end
17615
+ unless params['ClientIPCountry'].nil?
17616
+ @ClientIPCountry = ClientIPCountryParameters.new
17617
+ @ClientIPCountry.deserialize(params['ClientIPCountry'])
17618
+ end
17619
+ unless params['Grpc'].nil?
17620
+ @Grpc = GrpcParameters.new
17621
+ @Grpc.deserialize(params['Grpc'])
17622
+ end
17623
+ unless params['AccelerateMainland'].nil?
17624
+ @AccelerateMainland = AccelerateMainlandParameters.new
17625
+ @AccelerateMainland.deserialize(params['AccelerateMainland'])
17626
+ end
17627
+ unless params['StandardDebug'].nil?
17628
+ @StandardDebug = StandardDebugParameters.new
17629
+ @StandardDebug.deserialize(params['StandardDebug'])
17630
+ end
17631
+ end
17632
+ end
17633
+
17634
+ # 站点配置相关信息。
17635
+ class ZoneConfigParameters < TencentCloud::Common::AbstractModel
17636
+ # @param ZoneName: 站点名称。
17637
+ # @type ZoneName: String
17638
+ # @param ZoneConfig: 站点配置信息。
17639
+ # 注意:此字段可能返回 null,表示取不到有效值。
17640
+ # @type ZoneConfig: :class:`Tencentcloud::Teo.v20220901.models.ZoneConfig`
17641
+
17642
+ attr_accessor :ZoneName, :ZoneConfig
17643
+
17644
+ def initialize(zonename=nil, zoneconfig=nil)
17645
+ @ZoneName = zonename
17646
+ @ZoneConfig = zoneconfig
17647
+ end
17648
+
17649
+ def deserialize(params)
17650
+ @ZoneName = params['ZoneName']
17651
+ unless params['ZoneConfig'].nil?
17652
+ @ZoneConfig = ZoneConfig.new
17653
+ @ZoneConfig.deserialize(params['ZoneConfig'])
17654
+ end
17655
+ end
17656
+ end
17657
+
15306
17658
  # 站点配置。
15307
17659
  class ZoneSetting < TencentCloud::Common::AbstractModel
15308
17660
  # @param ZoneName: 站点名称。