RegionBackendServiceCdnPolicyNegativeCachingPolicy class
Constructors
-
RegionBackendServiceCdnPolicyNegativeCachingPolicy({Input<int?>? code, Input<int?>? ttl})
-
Creates a new RegionBackendServiceCdnPolicyNegativeCachingPolicy.
code The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501
ttl (Optional, Beta)
const
-
RegionBackendServiceCdnPolicyNegativeCachingPolicy.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
code
→ Input<int?>?
-
The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501
can be specified as values, and you cannot specify a status code more than once.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
ttl
→ Input<int?>?
-
(Optional, Beta)
The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s
(30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
final