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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CacheInvalidationRule() |
Modifier and Type | Method and Description |
---|---|
CacheInvalidationRule |
clone() |
List<String> |
getCacheTags()
A list of cache tags used to identify cached objects.
|
String |
getHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
String |
getPath() |
CacheInvalidationRule |
set(String fieldName,
Object value) |
CacheInvalidationRule |
setCacheTags(List<String> cacheTags)
A list of cache tags used to identify cached objects.
|
CacheInvalidationRule |
setHost(String host)
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
CacheInvalidationRule |
setPath(String path) |
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 List<String> getCacheTags()
null
for nonepublic CacheInvalidationRule setCacheTags(List<String> cacheTags)
cacheTags
- cacheTags or null
for nonepublic String getHost()
null
for nonepublic CacheInvalidationRule setHost(String host)
host
- host or null
for nonepublic String getPath()
null
for nonepublic CacheInvalidationRule setPath(String path)
path
- path or null
for nonepublic CacheInvalidationRule set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CacheInvalidationRule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.