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