Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::BackendBucketCdnPolicyCacheKeyPolicy (v1.4.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::BackendBucketCdnPolicyCacheKeyPolicy.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#include_http_headers

def include_http_headers() -> ::Array<::String>
Returns
  • (::Array<::String>) — Allows HTTP request headers (by name) to be used in the cache key.

#include_http_headers=

def include_http_headers=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Allows HTTP request headers (by name) to be used in the cache key.
Returns
  • (::Array<::String>) — Allows HTTP request headers (by name) to be used in the cache key.

#query_string_whitelist

def query_string_whitelist() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#query_string_whitelist=

def query_string_whitelist=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.