sincecutoff.com
← all changes

gcloud logging recent-queries adds list command

Introduced 2026-04-28 · score 0.91

HOW TO USE IT

To list Cloud Logging recent queries, run `gcloud logging recent-queries list` with a location and one parent resource.

gcloud logging recent-queries list --project=<PROJECT_ID> --location=global

WHY THIS HELPS

List recent queries in Cloud Logging.

REQUIREMENTS AND LIMITATIONS

  • --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`.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card