RegionBackendServiceCdnPolicyCacheKeyPolicy class
Constructors
-
RegionBackendServiceCdnPolicyCacheKeyPolicy({Input<
bool?> ? includeHost, Input<List< ? includeNamedCookies, Input<String> ?>bool?> ? includeProtocol, Input<bool?> ? includeQueryString, Input<List< ? queryStringBlacklists, Input<String> ?>List< ? queryStringWhitelists})String> ?> -
Creates a new RegionBackendServiceCdnPolicyCacheKeyPolicy.
includeHostIf true requests to different hosts will be cached separately.includeNamedCookiesNames of cookies to include in cache keys.includeProtocolIf true, http and https requests will be cached separately.includeQueryStringIf true, include query string parameters in the cache keyqueryStringBlacklistsNames of query string parameters to exclude in cache keys.queryStringWhitelistsNames of query string parameters to include in cache keys.const -
RegionBackendServiceCdnPolicyCacheKeyPolicy.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
-
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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited