| Package | Description |
|---|---|
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.clone() |
CachePolicyCacheKeyPolicy |
CachePolicy.getCacheKeyPolicy()
The cache key configuration.
|
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.set(String fieldName,
Object value) |
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.setExcludedQueryParameters(List<String> excludedQueryParameters)
Names of query string parameters to exclude in cache keys.
|
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.setIncludedCookieNames(List<String> includedCookieNames)
Allows HTTP cookies (by name) to be used in the cache key.
|
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.setIncludedHeaderNames(List<String> includedHeaderNames)
Allows HTTP request headers (by name) to be used in the cache key.
|
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.setIncludedQueryParameters(List<String> includedQueryParameters)
Names of query string parameters to include in cache keys.
|
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.setIncludeHost(Boolean includeHost)
If true, requests to different hosts will be cached separately.
|
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.setIncludeProtocol(Boolean includeProtocol)
If true, http and https requests will be cached separately.
|
CachePolicyCacheKeyPolicy |
CachePolicyCacheKeyPolicy.setIncludeQueryString(Boolean includeQueryString)
If true, include query string parameters in the cache key according to
`includedQueryParameters` and `excludedQueryParameters`.
|
| Modifier and Type | Method and Description |
|---|---|
CachePolicy |
CachePolicy.setCacheKeyPolicy(CachePolicyCacheKeyPolicy cacheKeyPolicy)
The cache key configuration.
|
Copyright © 2011–2026 Google. All rights reserved.