URLMapPathMatcherRouteRuleRouteActionCachePolicy constructor

const URLMapPathMatcherRouteRuleRouteActionCachePolicy({
  1. Input<List<String>?>? cacheBypassRequestHeaderNames,
  2. Input<URLMapPathMatcherRouteRuleRouteActionCachePolicyCacheKeyPolicy?>? cacheKeyPolicy,
  3. Input<String?>? cacheMode,
  4. Input<URLMapPathMatcherRouteRuleRouteActionCachePolicyClientTtl?>? clientTtl,
  5. Input<URLMapPathMatcherRouteRuleRouteActionCachePolicyDefaultTtl?>? defaultTtl,
  6. Input<URLMapPathMatcherRouteRuleRouteActionCachePolicyMaxTtl?>? maxTtl,
  7. Input<bool?>? negativeCaching,
  8. Input<List<URLMapPathMatcherRouteRuleRouteActionCachePolicyNegativeCachingPolicy>?>? negativeCachingPolicies,
  9. Input<bool?>? requestCoalescing,
  10. Input<URLMapPathMatcherRouteRuleRouteActionCachePolicyServeWhileStale?>? serveWhileStale,
})

Creates a new URLMapPathMatcherRouteRuleRouteActionCachePolicy. cacheBypassRequestHeaderNames Bypass the cache when the specified request headers are matched by name, cacheKeyPolicy The cache key configuration. If not specified, the default behavior depends cacheMode Specifies the cache setting for all responses from this route. If not clientTtl Specifies a separate client (e.g. browser client) maximum TTL for cached defaultTtl Specifies the default TTL for cached content for responses that do not have maxTtl Specifies the maximum allowed TTL for cached content. Cache directives that negativeCaching Negative caching allows per-status code TTLs to be set, in order to apply negativeCachingPolicies Sets a cache TTL for the specified HTTP status code. negativeCaching requestCoalescing If true then Cloud CDN will combine multiple concurrent cache fill serveWhileStale Serve existing content from the cache (if available) when revalidating

Implementation

const URLMapPathMatcherRouteRuleRouteActionCachePolicy({
  this.cacheBypassRequestHeaderNames,
  this.cacheKeyPolicy,
  this.cacheMode,
  this.clientTtl,
  this.defaultTtl,
  this.maxTtl,
  this.negativeCaching,
  this.negativeCachingPolicies,
  this.requestCoalescing,
  this.serveWhileStale,
});