BackendServiceCdnPolicy constructor

BackendServiceCdnPolicy({
  1. List<BackendServiceCdnPolicyBypassCacheOnRequestHeader> bypassCacheOnRequestHeaders = const [],
  2. CacheKeyPolicy? cacheKeyPolicy,
  3. String? cacheMode,
  4. int? clientTtl,
  5. int? defaultTtl,
  6. int? maxTtl,
  7. bool? negativeCaching,
  8. List<BackendServiceCdnPolicyNegativeCachingPolicy> negativeCachingPolicy = const [],
  9. bool? requestCoalescing,
  10. int? serveWhileStale,
  11. int? signedUrlCacheMaxAgeSec,
  12. List<String> signedUrlKeyNames = const [],
})

Implementation

BackendServiceCdnPolicy({
  this.bypassCacheOnRequestHeaders = const [],
  this.cacheKeyPolicy,
  this.cacheMode,
  this.clientTtl,
  this.defaultTtl,
  this.maxTtl,
  this.negativeCaching,
  this.negativeCachingPolicy = const [],
  this.requestCoalescing,
  this.serveWhileStale,
  this.signedUrlCacheMaxAgeSec,
  this.signedUrlKeyNames = const [],
}) : super(fullyQualifiedName);