Update a log bucket
One step with Google Cloud Logging. We can help you get access.
Get something done
Update a log bucket
with Google Cloud Logging
Works with AI assistants
Use Google Cloud Logging: its Cloud Logging Locations API lets you update a log bucket in a single step (PATCH /v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}). 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 the retention period of an existing log bucket?
- Is it possible to lock a log bucket so its retention can't be changed?
Say it to your AI assistant
- Update log bucket {bucketsId} in {v2Id}/{v2Id1}/{locationsId} with {updateMask}.
- Set retention to {retentionDays} days on log bucket {bucketsId} under {v2Id}/{v2Id1}/{locationsId}.
For your developer
PATCH /v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId} in Cloud Logging Locations API. Full spec on APIs.io.