GetBackendBucketCdnPolicyNegativeCachingPolicy class
Constructors
-
GetBackendBucketCdnPolicyNegativeCachingPolicy({required Input<
int> code, required Input<int> ttl}) -
Creates a new GetBackendBucketCdnPolicyNegativeCachingPolicy.
codeThe HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501ttlThe TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800sconst -
GetBackendBucketCdnPolicyNegativeCachingPolicy.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> -
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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited