public final class BackendServiceCdnPolicy
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
BackendServiceCdnPolicy() |
Modifier and Type | Method and Description |
---|---|
BackendServiceCdnPolicy |
clone() |
CacheKeyPolicy |
getCacheKeyPolicy()
The CacheKeyPolicy for this CdnPolicy.
|
java.lang.Long |
getSignedUrlCacheMaxAgeSec()
Maximum number of seconds the response to a signed URL request will be considered fresh.
|
java.util.List<java.lang.String> |
getSignedUrlKeyNames()
[Output Only] Names of the keys for signing request URLs.
|
BackendServiceCdnPolicy |
set(java.lang.String fieldName,
java.lang.Object value) |
BackendServiceCdnPolicy |
setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy)
The CacheKeyPolicy for this CdnPolicy.
|
BackendServiceCdnPolicy |
setSignedUrlCacheMaxAgeSec(java.lang.Long signedUrlCacheMaxAgeSec)
Maximum number of seconds the response to a signed URL request will be considered fresh.
|
BackendServiceCdnPolicy |
setSignedUrlKeyNames(java.util.List<java.lang.String> signedUrlKeyNames)
[Output Only] Names of the keys for signing request URLs.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public CacheKeyPolicy getCacheKeyPolicy()
null
for nonepublic BackendServiceCdnPolicy setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy)
cacheKeyPolicy
- cacheKeyPolicy or null
for nonepublic java.lang.Long getSignedUrlCacheMaxAgeSec()
null
for nonepublic BackendServiceCdnPolicy setSignedUrlCacheMaxAgeSec(java.lang.Long signedUrlCacheMaxAgeSec)
signedUrlCacheMaxAgeSec
- signedUrlCacheMaxAgeSec or null
for nonepublic java.util.List<java.lang.String> getSignedUrlKeyNames()
null
for nonepublic BackendServiceCdnPolicy setSignedUrlKeyNames(java.util.List<java.lang.String> signedUrlKeyNames)
signedUrlKeyNames
- signedUrlKeyNames or null
for nonepublic BackendServiceCdnPolicy set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public BackendServiceCdnPolicy clone()
clone
in class com.google.api.client.json.GenericJson