public final class CacheInvalidationRule
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 |
---|
CacheInvalidationRule() |
Modifier and Type | Method and Description |
---|---|
CacheInvalidationRule |
clone() |
java.lang.String |
getHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
java.lang.String |
getPath() |
CacheInvalidationRule |
set(java.lang.String fieldName,
java.lang.Object value) |
CacheInvalidationRule |
setHost(java.lang.String host)
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
CacheInvalidationRule |
setPath(java.lang.String path) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getHost()
null
for nonepublic CacheInvalidationRule setHost(java.lang.String host)
host
- host or null
for nonepublic java.lang.String getPath()
null
for nonepublic CacheInvalidationRule setPath(java.lang.String path)
path
- path or null
for nonepublic CacheInvalidationRule set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CacheInvalidationRule clone()
clone
in class com.google.api.client.json.GenericJson