Compute V1 Client - Class BackendBucketCdnPolicyBypassCacheOnRequestHeader (1.6.1)

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

Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ header_name string

The header field name to match on when bypassing cache. Values are case-insensitive.

getHeaderName

The header field name to match on when bypassing cache. Values are case-insensitive.

Returns
TypeDescription
string

hasHeaderName

clearHeaderName

setHeaderName

The header field name to match on when bypassing cache. Values are case-insensitive.

Parameter
NameDescription
var string
Returns
TypeDescription
$this