Compute V1 Client - Class BackendBucketCdnPolicyCacheKeyPolicy (1.10.1)

Reference documentation and code samples for the Compute V1 Client class BackendBucketCdnPolicyCacheKeyPolicy.

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

Generated from protobuf message google.cloud.compute.v1.BackendBucketCdnPolicyCacheKeyPolicy

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ include_http_headers array

Allows HTTP request headers (by name) to be used in the cache key.

↳ query_string_whitelist array

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.

getIncludeHttpHeaders

Allows HTTP request headers (by name) to be used in the cache key.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIncludeHttpHeaders

Allows HTTP request headers (by name) to be used in the cache key.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getQueryStringWhitelist

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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setQueryStringWhitelist

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this