google_api_compute v0.4.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 (boolean()): If true, requests to different hosts will be cached separately. Defaults to: null.
  • includeProtocol (boolean()): If true, http and https requests will be cached separately. Defaults to: null.
  • includeQueryString (boolean()): 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. Defaults to: null.
  • queryStringBlacklist ([String.t]): 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. Defaults to: null.
  • queryStringWhitelist ([String.t]): 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. Defaults to: null.

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: any(),
  includeProtocol: any(),
  includeQueryString: any(),
  queryStringBlacklist: [any()],
  queryStringWhitelist: [any()]
}

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.