{
  "slug": "gcloud-storage-batch-operations-jobs-create-accepts-set-object-acls-from-file-9d467eb71c05",
  "title": "gcloud storage batch-operations jobs create accepts --set-object-acls-from-file",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-02T00:00:00.000Z",
  "announced_at": "2026-06-02T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating a batch job to update object ACLs, provide a local YAML or JSON ACL updates file with `--set-object-acls-from-file`. Specify a job ID, object source, and exactly one transformation; the source may be bucket based or project based.",
    "examples": [
      "gcloud storage batch-operations jobs create <job-id> --bucket=<bucket> --manifest-location=gs://<bucket>/<manifest.csv> --set-object-acls-from-file=<local-acl-updates.yaml>"
    ],
    "gotchas": [
      "<job-id> (required): Batch job ID or fully qualified identifier.",
      "--bucket (required): Bucket containing target objects; select exactly one of --bucket or --bucket-list for a bucket source.",
      "--manifest-location (required): Absolute gs:// path to a CSV manifest; choose this or --included-object-prefixes for a bucket source.",
      "--set-object-acls-from-file (required): Path to a local YAML or JSON file containing object ACL updates; provide exactly one transformation option.",
      "grants[].entity: Entity receiving an ACL grant; each entry pairs an entity and role.",
      "grants[].role: Role assigned to the corresponding entity.",
      "grants[].remove_entities: Entities whose ACL grants are removed.",
      "Prerequisite: The ACL updates input must be a local YAML or JSON file. The bucket manifest, if used, must be a CSV in Cloud Storage with ProjectId, BucketId, and Name per row; generation is optional."
    ]
  },
  "why_it_matters": "When creating a Cloud Storage batch-operation job that sets object ACLs from a file, provide that file to the create command.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#57100_2026-06-02",
    "https://docs.cloud.google.com/sdk/gcloud/reference/storage/batch-operations/jobs/create"
  ],
  "rank": 0.95017,
  "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-7c0263706e330654-9:gate",
    "evidence_hash": "260d8d51f1d0c3536f5f9be438870757d846f609a5a88e8f889ce5980e160adc"
  },
  "review": {
    "draft_hash": "7801e68de13139fcb2f9882ec9be054da80bd4bb5ed45a0a51d1f3c39beb6d2b",
    "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.95 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
