Compute V1 Client - Class CacheInvalidationRule (1.16.2)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ host string

If set, this invalidation rule will only apply to requests with a Host header matching host.

↳ path string

getHost

If set, this invalidation rule will only apply to requests with a Host header matching host.

Returns
Type Description
string

hasHost

clearHost

setHost

If set, this invalidation rule will only apply to requests with a Host header matching host.

Parameter
Name Description
var string
Returns
Type Description
$this

getPath

Generated from protobuf field optional string path = 3433509;

Returns
Type Description
string

hasPath

clearPath

setPath

Generated from protobuf field optional string path = 3433509;

Parameter
Name Description
var string
Returns
Type Description
$this