{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gcp-cloud-storage/json-schema/gcp-cloud-storage-anywhere-caches-schema.json",
  "title": "AnywhereCaches",
  "description": "A list of Anywhere Caches.",
  "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/AnywhereCaches",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "The kind of item this is. For lists of Anywhere Caches, this is always storage#anywhereCaches.",
      "default": "storage#anywhereCaches"
    },
    "nextPageToken": {
      "type": "string",
      "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results."
    },
    "items": {
      "type": "array",
      "description": "The list of items.",
      "items": {
        "$ref": "#/$defs/AnywhereCache"
      }
    }
  },
  "$defs": {
    "AnywhereCache": {
      "type": "object",
      "description": "An Anywhere Cache instance.",
      "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."
        }
      }
    }
  }
}