BackendServiceCdnPolicyCacheKeyPolicy class
Constructors
-
BackendServiceCdnPolicyCacheKeyPolicy({Input<bool?>? includeHost, Input<List<String>?>? includeNamedCookies, Input<bool?>? includeProtocol, Input<bool?>? includeQueryString, Input<List<String>?>? queryStringBlacklists, Input<List<String>?>? queryStringWhitelists})
-
Creates a new BackendServiceCdnPolicyCacheKeyPolicy.
includeHost If true requests to different hosts will be cached separately.
includeHttpHeaders Allows HTTP request headers (by name) to be used in the
includeNamedCookies Names of cookies to include in cache keys.
includeProtocol If true, http and https requests will be cached separately.
includeQueryString If true, include query string parameters in the cache key
queryStringBlacklists Names of query string parameters to exclude in cache keys.
queryStringWhitelists Names of query string parameters to include in cache keys.
const
-
BackendServiceCdnPolicyCacheKeyPolicy.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
includeHost
→ Input<bool?>?
-
If true requests to different hosts will be cached separately.
final
-
Allows HTTP request headers (by name) to be used in the
cache key.
final
-
includeNamedCookies
→ Input<List<String>?>?
-
Names of cookies to include in cache keys.
final
-
includeProtocol
→ Input<bool?>?
-
If true, http and https requests will be cached separately.
final
-
includeQueryString
→ Input<bool?>?
-
If true, include query string parameters in the cache key
according to queryStringWhitelist and
query_string_blacklist. If neither is set, the entire query
string will be included.
If false, the query string will be excluded from the cache
key entirely.
final
-
queryStringBlacklists
→ Input<List<String>?>?
-
Names of query string parameters to exclude in cache keys.
All other parameters will be included. Either specify
queryStringWhitelist or query_string_blacklist, not both.
'&' and '=' will be percent encoded and not treated as
delimiters.
final
-
queryStringWhitelists
→ Input<List<String>?>?
-
Names of query string parameters to include in cache keys.
All other parameters will be excluded. Either specify
queryStringWhitelist or query_string_blacklist, not both.
'&' and '=' will be percent encoded and not treated as
delimiters.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited