CacheKeyPolicyComputeBeta class

Message containing what to include in the cache key for a request for Cloud CDN.

Constructors

CacheKeyPolicyComputeBeta({Input<bool>? includeHost, Input<List<String>>? includeHttpHeaders, Input<List<String>>? includeNamedCookies, Input<bool>? includeProtocol, Input<bool>? includeQueryString, Input<List<String>>? queryStringBlacklist, Input<List<String>>? queryStringWhitelist})
Creates a new CacheKeyPolicyComputeBeta. includeHost If true, requests to different hosts will be cached separately. includeHttpHeaders Allows HTTP request headers (by name) to be used in the cache key. includeNamedCookies Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates. includeProtocol If true, http and https requests will be cached separately. includeQueryString If true, include query string parameters in the cache key according to query_string_whitelist 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. queryStringBlacklist Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters. queryStringWhitelist Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
const
CacheKeyPolicyComputeBeta.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
includeHttpHeaders → Input<List<String>>?
Allows HTTP request headers (by name) to be used in the cache key.
final
includeNamedCookies → Input<List<String>>?
Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
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 query_string_whitelist 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
queryStringBlacklist → Input<List<String>>?
Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
final
queryStringWhitelist → Input<List<String>>?
Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist 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