Compute V1 Client - Class CacheInvalidationRule (1.14.0)

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
NameDescription
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
TypeDescription
string

hasHost

clearHost

setHost

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPath

Generated from protobuf field optional string path = 3433509;

Returns
TypeDescription
string

hasPath

clearPath

setPath

Generated from protobuf field optional string path = 3433509;

Parameter
NameDescription
var string
Returns
TypeDescription
$this