BackendServiceCdnPolicyCacheKeyPolicyArgs

data class BackendServiceCdnPolicyCacheKeyPolicyArgs(val includeHost: Output<Boolean>? = null, val includeHttpHeaders: Output<List<String>>? = null, val includeNamedCookies: Output<List<String>>? = null, val includeProtocol: Output<Boolean>? = null, val includeQueryString: Output<Boolean>? = null, val queryStringBlacklists: Output<List<String>>? = null, val queryStringWhitelists: Output<List<String>>? = null) : ConvertibleToJava<BackendServiceCdnPolicyCacheKeyPolicyArgs>

Constructors

constructor(includeHost: Output<Boolean>? = null, includeHttpHeaders: Output<List<String>>? = null, includeNamedCookies: Output<List<String>>? = null, includeProtocol: Output<Boolean>? = null, includeQueryString: Output<Boolean>? = null, queryStringBlacklists: Output<List<String>>? = null, queryStringWhitelists: Output<List<String>>? = null)

Properties

Link copied to clipboard
val includeHost: Output<Boolean>? = null

If true requests to different hosts will be cached separately.

Link copied to clipboard
val includeHttpHeaders: Output<List<String>>? = null

Allows HTTP request headers (by name) to be used in the cache key.

Link copied to clipboard
val includeNamedCookies: Output<List<String>>? = null

Names of cookies to include in cache keys.

Link copied to clipboard
val includeProtocol: Output<Boolean>? = null

If true, http and https requests will be cached separately.

Link copied to clipboard
val includeQueryString: Output<Boolean>? = null

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.

Link copied to clipboard
val queryStringBlacklists: Output<List<String>>? = null

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.

Link copied to clipboard
val queryStringWhitelists: Output<List<String>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): BackendServiceCdnPolicyCacheKeyPolicyArgs