The AnywhereCache resource represents an Anywhere Cache cache instance in Cloud Storage.
To try out the methods for this resource, see Methods .
Resource representation
{ "kind": "storage#AnywhereCache" "id": string , "selfLink": string , "bucket": string , "zone": string , "state": string , "createTime": datetime , "updateTime": datetime , "ttl": string , "pendingUpdate": boolean }
| Property name | Value | Description | Notes |
|---|---|---|---|
kind
|
string
|
The kind of item this is. For caches, this is always " storage#anywhereCache
". |
|
id
|
string
|
The ID of the cache instance, formatted as BUCKET_NAME
/ ANYWHERE_CACHE_ZONE_ID
. For example, example-bucket/us-east1-b
. |
|
selfLink
|
string
|
The link (URI) of this cache. | |
bucket
|
string
|
The name of the bucket that owns the cache instance. For example, example-bucket
. |
Writeable |
zone
|
string
|
The zone in which the cache instance is running. For example, us-east1-b
. |
Writeable |
state
|
string
|
The status of the cache instance. Can be CREATING
, RUNNING
, or DISABLED
. |
|
createTime
|
datetime
|
The creation time of the cache instance. | |
updateTime
|
datetime
|
The last modification time of the cache instance. | |
ttl
|
string
|
The TTL (time to live) of data in the cache, in seconds. | Writeable |
pendingUpdate
|
boolean
|
True if the cache instance has an active UpdateAnywhereCache
long-running operation
attached. |

