Compute Engine v1 API - Class CacheInvalidationRule (2.15.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
Name Description
other CacheInvalidationRule

Properties

HasHost

public bool HasHost { get; }

Gets whether the "host" field is set

Property Value
Type Description
bool

HasPath

public bool HasPath { get; }

Gets whether the "path" field is set

Property Value
Type Description
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
Type Description
string

Path

public string Path { get; set; }
Property Value
Type Description
string