Compute V1 Client - Class BackendServiceCdnPolicyBypassCacheOnRequestHeader (1.10.1)

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

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.BackendServiceCdnPolicyBypassCacheOnRequestHeader

Namespace

Google \ Cloud \ Compute \ V1

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