Compute V1 Client - Class BackendBucketCdnPolicyCacheKeyPolicy (1.18.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setIncludeHttpHeaders

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

Parameter
Name Description
var string[]
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this