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,
  "admissionPolicy": 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,DISABLED, orPAUSED. | |
| 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 | 
| admissionPolicy | string | The admission policy of the cache instance. Values can be admit-on-second-missoradmit-on-first-miss. | Writeable | 
| pendingUpdate | boolean | True if the cache instance has an active UpdateAnywhereCachelong-running operation attached. | 
Methods
- create
- Create an AnywhereCache.
- disable
- Disable an AnywhereCache.
- get
- Get an AnywhereCache.
- list
- Retrieve a list of AnywhereCaches.
- pause
- Pause the data ingestion of an AnywhereCache.
- resume
- Resume the data ingestion of an AnywhereCache, or revoke the disablement of the AnywhereCache.
- update
- Update an Anywhere Cache cache.