$CdnPolicyNegativeCachingPolicy class
Used by:
- compute:v1 : BackendBucketCdnPolicyNegativeCachingPolicy
- compute:v1 : BackendServiceCdnPolicyNegativeCachingPolicy
Constructors
- $CdnPolicyNegativeCachingPolicy({int? code, int? ttl})
- $CdnPolicyNegativeCachingPolicy.fromJson(Map json_)
Properties
- code ↔ int?
-
The HTTP status code to define a TTL against.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ttl ↔ 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.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited