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 | |
---|---|
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.
Generated from protobuf field repeated string include_http_headers = 2489606;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.
Generated from protobuf field repeated string query_string_whitelist = 52456496;
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.
Generated from protobuf field repeated string query_string_whitelist = 52456496;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |