{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gcp-cloud-storage/json-schema/gcp-cloud-storage-anywhere-cache-schema.json",
  "title": "AnywhereCache",
  "description": "An Anywhere Cache instance.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gcp-cloud-storage-anywherecaches-api-openapi.yml#/components/schemas/AnywhereCache",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "The kind of item this is. For Anywhere Cache, this is always storage#anywhereCache.",
      "default": "storage#anywhereCache"
    },
    "id": {
      "type": "string",
      "description": "The ID of the resource, including the project number, bucket name and anywhere cache ID."
    },
    "selfLink": {
      "type": "string",
      "description": "The link to this cache instance."
    },
    "bucket": {
      "type": "string",
      "description": "The name of the bucket containing this cache instance."
    },
    "anywhereCacheId": {
      "type": "string",
      "description": "The ID of the Anywhere cache instance."
    },
    "zone": {
      "type": "string",
      "description": "The zone in which the cache instance is running. For example, us-central1-a."
    },
    "state": {
      "type": "string",
      "description": "The current state of the cache instance."
    },
    "createTime": {
      "type": "string",
      "description": "The creation time of the cache instance in RFC 3339 format.",
      "format": "date-time"
    },
    "updateTime": {
      "type": "string",
      "description": "The modification time of the cache instance metadata in RFC 3339 format.",
      "format": "date-time"
    },
    "ttl": {
      "type": "string",
      "description": "The TTL of all cache entries in whole seconds. e.g., \"7200s\". ",
      "format": "google-duration"
    },
    "admissionPolicy": {
      "type": "string",
      "description": "The cache-level entry admission policy."
    },
    "pendingUpdate": {
      "type": "boolean",
      "description": "True if the cache instance has an active Update long-running operation."
    },
    "ingestOnWrite": {
      "type": "boolean",
      "description": "Specifies whether objects are ingested into the cache upon write."
    }
  }
}