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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
hasHeaderName
clearHeaderName
setHeaderName
The header field name to match on when bypassing cache. Values are case-insensitive.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |