Compute V1 Client - Class BackendBucketCdnPolicyCacheKeyPolicy (1.5.0)

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

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.

Generated from protobuf field repeated string include_http_headers = 2489606;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIncludeHttpHeaders

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

Generated from protobuf field repeated string include_http_headers = 2489606;

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.

Generated from protobuf field repeated string query_string_whitelist = 52456496;

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.

Generated from protobuf field repeated string query_string_whitelist = 52456496;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this