google_api_compute v0.11.0 GoogleApi.Compute.V1.Model.CacheKeyPolicy View Source

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

Attributes

  • includeHost (type: boolean(), default: nil) - If true, requests to different hosts will be cached separately.
  • includeProtocol (type: boolean(), default: nil) - If true, http and https requests will be cached separately.
  • includeQueryString (type: boolean(), default: nil) - 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 (type: list(String.t), default: nil) - 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 (type: list(String.t), default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Compute.V1.Model.CacheKeyPolicy{
  includeHost: boolean(),
  includeProtocol: boolean(),
  includeQueryString: boolean(),
  queryStringBlacklist: [String.t()],
  queryStringWhitelist: [String.t()]
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.