CacheInvalidationRule class

Constructors

CacheInvalidationRule({String? backendService, List<String>? cacheTags, String? contentType, String? host, int? httpStatus, String? path})
CacheInvalidationRule.fromJson(Map json_)

Properties

backendService ↔ String?
If set, this invalidation rule will only apply to requests routed to the given backend service or backend bucket. For example, for a backend bucket bb1 in the same scope as the URL map, the path would be projects/my-project/global/backendBuckets/bb1; and for a backend service bs1 in the same scope as the URL map, the path would be projects/my-project/global/backendServices/bs1.
getter/setter pair
cacheTags ↔ List<String>?
A list of cache tags used to identify cached objects.
getter/setter pair
contentType ↔ String?
If set, this invalidation rule will only apply to responses with the given content-type.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
host ↔ String?
If set, this invalidation rule will only apply to requests with a Host header matching host.
getter/setter pair
httpStatus ↔ int?
If set, this invalidation rule will only apply to responses with the given HTTP status.
getter/setter pair
path ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited