Compute Engine v1 API - Class CacheInvalidationRule (2.10.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
bool

HasPath

public bool HasPath { get; }

Gets whether the "path" field is set

Property Value
TypeDescription
bool

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