GoogleApi.Compute.V1.Model.CacheKeyPolicy (google_api_compute v0.37.0) 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

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.