public final class BackendServiceCdnPolicy extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BackendServiceCdnPolicy() |
Modifier and Type | Method and Description |
---|---|
BackendServiceCdnPolicy |
clone() |
CacheKeyPolicy |
getCacheKeyPolicy()
The CacheKeyPolicy for this CdnPolicy.
|
Long |
getSignedUrlCacheMaxAgeSec()
Maximum number of seconds the response to a signed URL request will be considered fresh.
|
List<String> |
getSignedUrlKeyNames()
[Output Only] Names of the keys for signing request URLs.
|
BackendServiceCdnPolicy |
set(String fieldName,
Object value) |
BackendServiceCdnPolicy |
setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy)
The CacheKeyPolicy for this CdnPolicy.
|
BackendServiceCdnPolicy |
setSignedUrlCacheMaxAgeSec(Long signedUrlCacheMaxAgeSec)
Maximum number of seconds the response to a signed URL request will be considered fresh.
|
BackendServiceCdnPolicy |
setSignedUrlKeyNames(List<String> signedUrlKeyNames)
[Output Only] Names of the keys for signing request URLs.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public CacheKeyPolicy getCacheKeyPolicy()
null
for nonepublic BackendServiceCdnPolicy setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy)
cacheKeyPolicy
- cacheKeyPolicy or null
for nonepublic Long getSignedUrlCacheMaxAgeSec()
null
for nonepublic BackendServiceCdnPolicy setSignedUrlCacheMaxAgeSec(Long signedUrlCacheMaxAgeSec)
signedUrlCacheMaxAgeSec
- signedUrlCacheMaxAgeSec or null
for nonepublic List<String> getSignedUrlKeyNames()
null
for nonepublic BackendServiceCdnPolicy setSignedUrlKeyNames(List<String> signedUrlKeyNames)
signedUrlKeyNames
- signedUrlKeyNames or null
for nonepublic BackendServiceCdnPolicy set(String fieldName, Object value)
set
in class GenericJson
public BackendServiceCdnPolicy clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.