public final class AnywhereCache
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 Cloud Storage JSON 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AnywhereCache() |
| Modifier and Type | Method and Description |
|---|---|
AnywhereCache |
clone() |
String |
getAdmissionPolicy()
The cache-level entry admission policy.
|
String |
getAnywhereCacheId()
The ID of the Anywhere cache instance.
|
String |
getBucket()
The name of the bucket containing this cache instance.
|
com.google.api.client.util.DateTime |
getCreateTime()
The creation time of the cache instance in RFC 3339 format.
|
String |
getId()
The ID of the resource, including the project number, bucket name and anywhere cache ID.
|
String |
getKind()
The kind of item this is.
|
Boolean |
getPendingUpdate()
True if the cache instance has an active Update long-running operation.
|
String |
getSelfLink()
The link to this cache instance.
|
String |
getState()
The current state of the cache instance.
|
String |
getTtl()
The TTL of all cache entries in whole seconds.
|
com.google.api.client.util.DateTime |
getUpdateTime()
The modification time of the cache instance metadata in RFC 3339 format.
|
String |
getZone()
The zone in which the cache instance is running.
|
AnywhereCache |
set(String fieldName,
Object value) |
AnywhereCache |
setAdmissionPolicy(String admissionPolicy)
The cache-level entry admission policy.
|
AnywhereCache |
setAnywhereCacheId(String anywhereCacheId)
The ID of the Anywhere cache instance.
|
AnywhereCache |
setBucket(String bucket)
The name of the bucket containing this cache instance.
|
AnywhereCache |
setCreateTime(com.google.api.client.util.DateTime createTime)
The creation time of the cache instance in RFC 3339 format.
|
AnywhereCache |
setId(String id)
The ID of the resource, including the project number, bucket name and anywhere cache ID.
|
AnywhereCache |
setKind(String kind)
The kind of item this is.
|
AnywhereCache |
setPendingUpdate(Boolean pendingUpdate)
True if the cache instance has an active Update long-running operation.
|
AnywhereCache |
setSelfLink(String selfLink)
The link to this cache instance.
|
AnywhereCache |
setState(String state)
The current state of the cache instance.
|
AnywhereCache |
setTtl(String ttl)
The TTL of all cache entries in whole seconds.
|
AnywhereCache |
setUpdateTime(com.google.api.client.util.DateTime updateTime)
The modification time of the cache instance metadata in RFC 3339 format.
|
AnywhereCache |
setZone(String zone)
The zone in which the cache instance is running.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAdmissionPolicy()
null for nonepublic AnywhereCache setAdmissionPolicy(String admissionPolicy)
admissionPolicy - admissionPolicy or null for nonepublic String getAnywhereCacheId()
null for nonepublic AnywhereCache setAnywhereCacheId(String anywhereCacheId)
anywhereCacheId - anywhereCacheId or null for nonepublic String getBucket()
null for nonepublic AnywhereCache setBucket(String bucket)
bucket - bucket or null for nonepublic com.google.api.client.util.DateTime getCreateTime()
null for nonepublic AnywhereCache setCreateTime(com.google.api.client.util.DateTime createTime)
createTime - createTime or null for nonepublic String getId()
null for nonepublic AnywhereCache setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic AnywhereCache setKind(String kind)
kind - kind or null for nonepublic Boolean getPendingUpdate()
null for nonepublic AnywhereCache setPendingUpdate(Boolean pendingUpdate)
pendingUpdate - pendingUpdate or null for nonepublic String getSelfLink()
null for nonepublic AnywhereCache setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getState()
null for nonepublic AnywhereCache setState(String state)
state - state or null for nonepublic String getTtl()
null for nonepublic AnywhereCache setTtl(String ttl)
ttl - ttl or null for nonepublic com.google.api.client.util.DateTime getUpdateTime()
null for nonepublic AnywhereCache setUpdateTime(com.google.api.client.util.DateTime updateTime)
updateTime - updateTime or null for nonepublic String getZone()
null for nonepublic AnywhereCache setZone(String zone)
zone - zone or null for nonepublic AnywhereCache set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AnywhereCache clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.