AnywhereCache

The AnywhereCache resource represents a Rapid 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.
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.

Methods

create
Create a Rapid Cache cache.
disable
Disable a Rapid Cache cache.
get
Get a Rapid Cache cache.
list
Retrieve a list of Rapid Cache caches.
resume
Resume the data ingestion of a Rapid Cache cache, or revoke the disablement of the cache.
update
Update a Rapid Cache cache.