class Google::Apis::ComputeV1::BackendBucketCdnPolicyCacheKeyPolicy
Message containing what to include in the cache key for a request for Cloud CDN.
Attributes
include_http_headers[RW]
Allows HTTP request headers (by name) to be used in the cache key. Corresponds to the JSON property `includeHttpHeaders` @return [Array<String>]
query_string_whitelist[RW]
Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters. Corresponds to the JSON property `queryStringWhitelist` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 2853 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 2858 def update!(**args) @include_http_headers = args[:include_http_headers] if args.key?(:include_http_headers) @query_string_whitelist = args[:query_string_whitelist] if args.key?(:query_string_whitelist) end