Class: TencentCloud::Cdn::V20180606::CacheKey
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::CacheKey
- Defined in:
- lib/v20180606/models.rb
Overview
缓存键配置(忽略参数配置)
Instance Attribute Summary collapse
-
#CacheTag ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Cookie ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FullUrlCache ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Header ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IgnoreCase ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#KeyRules ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#QueryString ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Scheme ⇒ Object
on:开启全路径缓存(即关闭参数忽略) off:关闭全路径缓存(即开启参数忽略) on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fullurlcache = nil, ignorecase = nil, querystring = nil, cookie = nil, header = nil, cachetag = nil, scheme = nil, keyrules = nil) ⇒ CacheKey
constructor
A new instance of CacheKey.
Constructor Details
#initialize(fullurlcache = nil, ignorecase = nil, querystring = nil, cookie = nil, header = nil, cachetag = nil, scheme = nil, keyrules = nil) ⇒ CacheKey
Returns a new instance of CacheKey.
1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 |
# File 'lib/v20180606/models.rb', line 1623 def initialize(fullurlcache=nil, ignorecase=nil, querystring=nil, =nil, header=nil, cachetag=nil, scheme=nil, keyrules=nil) @FullUrlCache = fullurlcache @IgnoreCase = ignorecase @QueryString = querystring @Cookie = @Header = header @CacheTag = cachetag @Scheme = scheme @KeyRules = keyrules end |
Instance Attribute Details
#CacheTag ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1621 1622 1623 |
# File 'lib/v20180606/models.rb', line 1621 def CacheTag @CacheTag end |
#Cookie ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1621 1622 1623 |
# File 'lib/v20180606/models.rb', line 1621 def Cookie @Cookie end |
#FullUrlCache ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1621 1622 1623 |
# File 'lib/v20180606/models.rb', line 1621 def FullUrlCache @FullUrlCache end |
#Header ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1621 1622 1623 |
# File 'lib/v20180606/models.rb', line 1621 def Header @Header end |
#IgnoreCase ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1621 1622 1623 |
# File 'lib/v20180606/models.rb', line 1621 def IgnoreCase @IgnoreCase end |
#KeyRules ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1621 1622 1623 |
# File 'lib/v20180606/models.rb', line 1621 def KeyRules @KeyRules end |
#QueryString ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1621 1622 1623 |
# File 'lib/v20180606/models.rb', line 1621 def QueryString @QueryString end |
#Scheme ⇒ Object
on:开启全路径缓存(即关闭参数忽略)off:关闭全路径缓存(即开启参数忽略)on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1621 1622 1623 |
# File 'lib/v20180606/models.rb', line 1621 def Scheme @Scheme end |
Instance Method Details
#deserialize(params) ⇒ Object
1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 |
# File 'lib/v20180606/models.rb', line 1634 def deserialize(params) @FullUrlCache = params['FullUrlCache'] @IgnoreCase = params['IgnoreCase'] unless params['QueryString'].nil? @QueryString = QueryStringKey.new @QueryString.deserialize(params['QueryString']) end unless params['Cookie'].nil? @Cookie = CookieKey.new @Cookie.deserialize(params['Cookie']) end unless params['Header'].nil? @Header = HeaderKey.new @Header.deserialize(params['Header']) end unless params['CacheTag'].nil? @CacheTag = CacheTagKey.new @CacheTag.deserialize(params['CacheTag']) end unless params['Scheme'].nil? @Scheme = SchemeKey.new @Scheme.deserialize(params['Scheme']) end unless params['KeyRules'].nil? @KeyRules = [] params['KeyRules'].each do |i| keyrule_tmp = KeyRule.new keyrule_tmp.deserialize(i) @KeyRules << keyrule_tmp end end end |