Class CacheInvalidationRule (1.3.0)

public sealed class CacheInvalidationRule : IMessage<CacheInvalidationRule>, IEquatable<CacheInvalidationRule>, IDeepCloneable<CacheInvalidationRule>, IBufferMessage, IMessage

Inheritance

Object > CacheInvalidationRule

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

CacheInvalidationRule()

public CacheInvalidationRule()

CacheInvalidationRule(CacheInvalidationRule)

public CacheInvalidationRule(CacheInvalidationRule other)
Parameter
NameDescription
otherCacheInvalidationRule

Properties

HasHost

public bool HasHost { get; }

Gets whether the "host" field is set

Property Value
TypeDescription
Boolean

HasPath

public bool HasPath { get; }

Gets whether the "path" field is set

Property Value
TypeDescription
Boolean

Host

public string Host { get; set; }

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

Property Value
TypeDescription
String

Path

public string Path { get; set; }
Property Value
TypeDescription
String