{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gcp-cloud-storage/json-schema/gcp-cloud-storage-rapid-cache-schema.json",
  "title": "RapidCache",
  "description": "A Rapid Cache instance.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gcp-cloud-storage-json-api-openapi.yml#/components/schemas/RapidCache",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "The kind of item this is. For Rapid Cache, this is always storage#rapidCache.",
      "default": "storage#rapidCache"
    },
    "id": {
      "type": "string",
      "description": "The ID of the resource, including the project number, bucket name and rapid 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."
    },
    "rapidCacheId": {
      "type": "string",
      "description": "The ID of the Rapid 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."
    },
    "cacheType": {
      "type": "string",
      "description": "The type of Rapid Cache this represents. Valid values include: \"rapid-cache\" and \"rapid-cache-ultra\"."
    }
  }
}