{
  "slug": "gcloud-storage-anywhere-caches-configure-ingest-on-write-e384dd598a0d",
  "title": "gcloud storage anywhere-caches configure ingest on write",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-27T00:00:00.000Z",
  "announced_at": "2026-05-27T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating or updating an Anywhere Cache, pass `--enable-ingest-on-write` to enable ingest-on-write. Then describe the cache to inspect its parsed properties.",
    "examples": [
      "gcloud storage buckets anywhere-caches create gs://<BUCKET_NAME> <CACHE_ZONE> --enable-ingest-on-write",
      "gcloud storage buckets anywhere-caches update <BUCKET_NAME>/<CACHE_ZONE> --enable-ingest-on-write",
      "gcloud storage buckets anywhere-caches describe <BUCKET_NAME>/<CACHE_ZONE>"
    ],
    "gotchas": [
      "URL (required): Bucket URL for cache creation; documented form is `gs://<BUCKET_NAME>`.",
      "ZONE (required): Zonal location for the cache; multiple zones may be supplied.",
      "ID (required): Cache identifier, combining bucket name and cache ID, e.g. `<BUCKET_NAME>/<CACHE_ZONE>`.",
      "--enable-ingest-on-write: Enables the Ingest-on-Write feature. The corresponding `--no-enable-ingest-on-write` form disables it. The Rapid Cache guide says this flag enables ingest for all objects written to the bucket.",
      "--raw: For describe, emits metadata in the API response format instead of the standardized format.",
      "Prerequisite: Grant `roles/storage.admin` on the bucket, or equivalent permissions. Ingest-on-write additionally requires `storage.managedFolders.create` when creating a cache and `storage.managedFolders.update` when updating one."
    ]
  },
  "why_it_matters": "Enable cache ingest on write when creating or updating an anywhere cache and confirm the parsed property.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#57000_2026-05-27",
    "https://docs.cloud.google.com/storage/docs/rapid/use-rapid-cache",
    "https://docs.cloud.google.com/sdk/gcloud/reference/storage/buckets/anywhere-caches/create",
    "https://docs.cloud.google.com/sdk/gcloud/reference/storage/buckets/anywhere-caches/update",
    "https://docs.cloud.google.com/sdk/gcloud/reference/storage/buckets/anywhere-caches/describe"
  ],
  "rank": 0.97025,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "cloud-20261008",
    "verdict_id": "cloud-20261008:cloud-20261008-f07172907d5b3013-14:gate",
    "evidence_hash": "e5c3dfaf79508625221a7df7b889bce27b19e1ff9e1fc9003eb2261303cf0f2a"
  },
  "review": {
    "draft_hash": "e672eacb328cb6255c30dfe1a959d57e4195f86fb5569c918727a6c2bd4821c7",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "cloud-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
