BackendServiceCdnPolicyCacheModeComputeBeta enum

Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.

Inheritance
  • Object
  • Enum
  • BackendServiceCdnPolicyCacheModeComputeBeta
Available extensions

Values

cacheAllStatic → const BackendServiceCdnPolicyCacheModeComputeBeta
const BackendServiceCdnPolicyCacheModeComputeBeta("CACHE_ALL_STATIC")
forceCacheAll → const BackendServiceCdnPolicyCacheModeComputeBeta
const BackendServiceCdnPolicyCacheModeComputeBeta("FORCE_CACHE_ALL")
invalidCacheMode → const BackendServiceCdnPolicyCacheModeComputeBeta
const BackendServiceCdnPolicyCacheModeComputeBeta("INVALID_CACHE_MODE")
useOriginHeaders → const BackendServiceCdnPolicyCacheModeComputeBeta
const BackendServiceCdnPolicyCacheModeComputeBeta("USE_ORIGIN_HEADERS")

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireValue → String
final

Methods

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

Operators

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

Constants

values → const List<BackendServiceCdnPolicyCacheModeComputeBeta>
A constant List of the values in this enum, in order of their declaration.