{
  "slug": "gcloud-logging-recent-queries-adds-list-command-71df42450337",
  "title": "gcloud logging recent-queries adds list command",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-28T00:00:00.000Z",
  "announced_at": "2026-04-28T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "To list Cloud Logging recent queries, run `gcloud logging recent-queries list` with a location and one parent resource.",
    "examples": [
      "gcloud logging recent-queries list --project=<PROJECT_ID> --location=global"
    ],
    "gotchas": [
      "--location (required): Location of the recent queries to list.",
      "--project (required): Project that owns the recent queries. At most one of `--project`, `--billing-account`, `--folder`, or `--organization` may be specified.",
      "--billing-account: Billing account parent for the recent queries; mutually exclusive with `--project`, `--folder`, and `--organization`.",
      "--folder: Folder parent for the recent queries; mutually exclusive with `--project`, `--billing-account`, and `--organization`.",
      "--organization: Organization parent for the recent queries; mutually exclusive with `--project`, `--billing-account`, and `--folder`.",
      "Prerequisite: The caller needs the `logging.queries.list` permission on the parent resource.",
      "Prerequisite: The API requires one of the OAuth scopes `logging.read`, `logging.admin`, `cloud-platform.read-only`, or `cloud-platform`."
    ]
  },
  "why_it_matters": "List recent queries in Cloud Logging.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#56600_2026-04-28",
    "https://docs.cloud.google.com/sdk/gcloud/reference/logging/recent-queries/list",
    "https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.locations.recentQueries/list"
  ],
  "rank": 0.91015,
  "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-15fb0502273a622e-13:gate",
    "evidence_hash": "91d2fe441548084694e5bfd1fd58ba3c328d369b1db6275b25227f8c62119e14"
  },
  "review": {
    "draft_hash": "eaf40e7b888f2be99ab5ecf0d1984fb139cef7d526f6e449ea3d508173531b2c",
    "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.91 >= 0.9; 2 needed) and Jev gave 0.64 (>= 0.6 needed)."
  }
}
