public sealed class CacheInvalidationRule : IMessage<CacheInvalidationRule>, IEquatable<CacheInvalidationRule>, IDeepCloneable<CacheInvalidationRule>, IBufferMessage, IMessage
A list of cache tags used to identify cached objects. - Cache tags are specified when the response is first cached, by setting the Cache-Tag response header at the origin. - Multiple cache tags in the same invalidation request are treated as Boolean OR - for example, tag1 OR tag2 OR tag3. - If other fields are also specified, these are treated as Boolean AND with any tags. Up to 10 tags can be specified in a single invalidation request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of \u003ccode\u003eCacheInvalidationRule\u003c/code\u003e is 3.6.0, with various other versions available, ranging from 3.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCacheInvalidationRule\u003c/code\u003e is a class that implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors for creating new instances and cloning existing ones, via the default constructor \u003ccode\u003eCacheInvalidationRule()\u003c/code\u003e and the \u003ccode\u003eCacheInvalidationRule(CacheInvalidationRule other)\u003c/code\u003e respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCacheInvalidationRule\u003c/code\u003e has two key properties, \u003ccode\u003eHost\u003c/code\u003e and \u003ccode\u003ePath\u003c/code\u003e, which can be used to filter the invalidation rules by a specific host or path, with corresponding boolean getters \u003ccode\u003eHasHost\u003c/code\u003e and \u003ccode\u003eHasPath\u003c/code\u003e to check if they are set.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCacheInvalidationRule\u003c/code\u003e is found in the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e within the assembly \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]