| Package | Description |
|---|---|
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
CachePolicyNegativeCachingPolicy |
CachePolicyNegativeCachingPolicy.clone() |
CachePolicyNegativeCachingPolicy |
CachePolicyNegativeCachingPolicy.set(String fieldName,
Object value) |
CachePolicyNegativeCachingPolicy |
CachePolicyNegativeCachingPolicy.setCode(Integer code)
The HTTP status code to define a TTL against.
|
CachePolicyNegativeCachingPolicy |
CachePolicyNegativeCachingPolicy.setTtl(Duration ttl)
The TTL (in seconds) for which to cache responses with the corresponding status code.
|
| Modifier and Type | Method and Description |
|---|---|
List<CachePolicyNegativeCachingPolicy> |
CachePolicy.getNegativeCachingPolicy()
Sets a cache TTL for the specified HTTP status code.
|
| Modifier and Type | Method and Description |
|---|---|
CachePolicy |
CachePolicy.setNegativeCachingPolicy(List<CachePolicyNegativeCachingPolicy> negativeCachingPolicy)
Sets a cache TTL for the specified HTTP status code.
|
Copyright © 2011–2026 Google. All rights reserved.