capabilities.work

Change a log bucket's retention or settings

One step with Google Cloud Logging. We can help you get access.

Get something done

Change a log bucket's retention or settings

with Google Cloud Logging · Observability Management
Works with AI assistants

Use Google Cloud Logging: its Google Cloud Logging Bucket API lets you change a log bucket's retention or settings in a single step (PATCH /v2/{name}/bucket). Google Cloud Logging also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Can I change how long an existing log bucket retains logs?
  • Is it possible to lock a log bucket so its retention can't be changed?
  • Which fields of an existing bucket can I update using an update mask?
Say it to your AI assistant
  • Set the retention of log bucket {name} to {retentionDays} days.
  • Lock log bucket {name} so its retention settings are frozen.
  • Update the description of existing log bucket {name} to {description}.
For your developer

PATCH /v2/{name}/bucket in Google Cloud Logging Bucket API. Full spec on APIs.io.