class Google::Apis::ComputeBeta::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. All other parameters will be excluded. '&' 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_beta/classes.rb, line 2929
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_beta/classes.rb, line 2934
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