Google Cloud Storage · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Cloud Storage JSON Buckets API
14 actions
14 updates
phrasing
extends
openapi/gcp-cloud-storage-buckets-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Google Cloud Storage's API. It is a proposal applied on top of the contract, not a document Google Cloud Storage publishes.
What the actions change
x-apievangelist-phrasing
Targets 14
$.info
$.paths['/storage/v1/b/{bucket}'].get
$.paths['/storage/v1/b/{bucket}'].put
$.paths['/storage/v1/b/{bucket}'].delete
$.paths['/storage/v1/b/{bucket}'].patch
$.paths['/storage/v1/b/{bucket}/restore'].post
$.paths['/storage/v1/b/{bucket}/relocate'].post
$.paths['/storage/v1/b/{bucket}/iam'].get
$.paths['/storage/v1/b/{bucket}/iam'].put
$.paths['/storage/v1/b/{bucket}/storageLayout'].get
$.paths['/storage/v1/b'].get
$.paths['/storage/v1/b'].post
$.paths['/storage/v1/b/{bucket}/lockRetentionPolicy'].post
$.paths['/storage/v1/b/{bucket}/iam/testPermissions'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cloud Storage JSON Buckets API
version: 1.0.0
extends: openapi/gcp-cloud-storage-buckets-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-15'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 13
- target: $.paths['/storage/v1/b/{bucket}'].get
update:
x-apievangelist-phrasing:
intent: Get a bucket's metadata
effect: read
questions:
- How do I see the location, storage class and ACLs of a bucket?
- Can I read a bucket's metadata only if its metageneration matches a value?
instructions:
- text: Get bucket {bucket}.
slots:
bucket: path.bucket
- text: Show the metadata of bucket {bucket} if its metageneration is {ifMetagenerationMatch}.
slots:
bucket: path.bucket
ifMetagenerationMatch: query.ifMetagenerationMatch
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}'].put
update:
x-apievangelist-phrasing:
intent: Replace a bucket's metadata
effect: write
questions:
- How do I change a bucket's location or storage class?
- Can I replace a bucket's ACLs in one call?
instructions:
- text: Update bucket {bucket} to storage class {storageClass}.
slots:
bucket: path.bucket
storageClass: requestBody.storageClass
- text: Replace the ACLs on bucket {bucket} with {acl}.
slots:
bucket: path.bucket
acl: requestBody.acl
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}'].delete
update:
x-apievangelist-phrasing:
intent: Delete an empty bucket
effect: destructive
questions:
- How do I permanently delete a bucket that has no objects in it?
- What happens to a bucket's objects when the bucket is deleted?
instructions:
- text: Delete empty bucket {bucket}.
slots:
bucket: path.bucket
- text: Permanently remove bucket {bucket} only if its metageneration is {ifMetagenerationMatch}.
slots:
bucket: path.bucket
ifMetagenerationMatch: query.ifMetagenerationMatch
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}'].patch
update:
x-apievangelist-phrasing:
intent: Partially update a bucket's metadata
effect: write
questions:
- Can I change just a bucket's labels without resending all its metadata?
- How do I turn on object versioning on a bucket?
instructions:
- text: Patch bucket {bucket} to set labels {labels}.
slots:
bucket: path.bucket
labels: requestBody.labels
- text: Enable versioning on bucket {bucket} by setting {versioning}.
slots:
bucket: path.bucket
versioning: requestBody.versioning
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}/restore'].post
update:
x-apievangelist-phrasing:
intent: Restore a soft-deleted bucket
effect: write
questions:
- How do I bring back a bucket I soft-deleted?
- Can I restore a soft-deleted bucket to a specific generation?
instructions:
- text: Restore soft-deleted bucket {bucket} from generation {generation}.
slots:
bucket: path.bucket
generation: query.generation
- text: Recover bucket {bucket} as it existed at generation {generation}.
slots:
bucket: path.bucket
generation: query.generation
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}/relocate'].post
update:
x-apievangelist-phrasing:
intent: Relocate a bucket to a new location
effect: write
questions:
- How do I move a bucket to a different region?
- Can I relocate a bucket to a Custom Dual Region with a custom placement config?
instructions:
- text: Relocate bucket {bucket} to {destinationLocation}.
slots:
bucket: path.bucket
destinationLocation: requestBody.destinationLocation
- text: Move bucket {bucket} to {destinationLocation} using KMS key {destinationKmsKeyName}.
slots:
bucket: path.bucket
destinationLocation: requestBody.destinationLocation
destinationKmsKeyName: requestBody.destinationKmsKeyName
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}/iam'].get
update:
x-apievangelist-phrasing:
intent: Get a bucket's IAM policy
effect: read
questions:
- What roles and members are granted on a bucket?
- Can I check the IAM policy on a bucket before changing it?
instructions:
- text: Get the IAM policy for bucket {bucket}.
slots:
bucket: path.bucket
- text: Show bucket {bucket}'s IAM policy in version {optionsRequestedPolicyVersion}.
slots:
bucket: path.bucket
optionsRequestedPolicyVersion: query.optionsRequestedPolicyVersion
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}/iam'].put
update:
x-apievangelist-phrasing:
intent: Replace a bucket's IAM policy
effect: write
questions:
- How do I grant a service account read access to a bucket?
- Can I replace a bucket's IAM policy with a new set of bindings?
instructions:
- text: Set the IAM policy on bucket {bucket} to {bindings}.
slots:
bucket: path.bucket
bindings: requestBody.bindings
- text: Replace bucket {bucket}'s IAM policy with version {version}.
slots:
bucket: path.bucket
version: requestBody.version
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}/storageLayout'].get
update:
x-apievangelist-phrasing:
intent: Get a bucket's storage layout
effect: read
questions:
- Which storage classes and locations does a bucket use?
- Can I check a bucket's storage layout before listing its objects?
instructions:
- text: Get the storage layout of bucket {bucket}.
slots:
bucket: path.bucket
- text: Show the storage layout of bucket {bucket} under prefix {prefix}.
slots:
bucket: path.bucket
prefix: query.prefix
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b'].get
update:
x-apievangelist-phrasing:
intent: List buckets in a project
effect: read
questions:
- Which buckets exist in my project?
- Can I list only buckets whose names start with a prefix?
instructions:
- text: List buckets in project {project}.
slots:
project: query.project
- text: List buckets in project {project} whose names begin with {prefix}.
slots:
project: query.project
prefix: query.prefix
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b'].post
update:
x-apievangelist-phrasing:
intent: Create a bucket
effect: write
questions:
- How do I create a new Cloud Storage bucket?
- Can I set a retention policy when creating a bucket?
instructions:
- text: Create bucket {name} in project {project} at {location}.
slots:
name: requestBody.name
project: query.project
location: requestBody.location
- text: Create bucket {name} in project {project} with retention policy {retentionPolicy}.
slots:
name: requestBody.name
project: query.project
retentionPolicy: requestBody.retentionPolicy
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}/lockRetentionPolicy'].post
update:
x-apievangelist-phrasing:
intent: Lock a bucket's retention policy
effect: write
questions:
- How do I make a bucket's object retention policy permanent?
- Can I lock a retention policy only if the bucket's metageneration matches a value?
instructions:
- text: Lock the retention policy on bucket {bucket}.
slots:
bucket: path.bucket
- text: Lock retention policy on bucket {bucket} if its metageneration is {ifMetagenerationMatch}.
slots:
bucket: path.bucket
ifMetagenerationMatch: query.ifMetagenerationMatch
method: generated
generated: '2026-11-15'
- target: $.paths['/storage/v1/b/{bucket}/iam/testPermissions'].get
update:
x-apievangelist-phrasing:
intent: Test permissions on a bucket
effect: read
questions:
- Does my service account have read access to a bucket?
- Which of these permissions does the caller hold on a bucket?
instructions:
- text: Test permissions {permissions} on bucket {bucket}.
slots:
permissions: query.permissions
bucket: path.bucket
- text: Check whether I hold {permissions} on bucket {bucket}.
slots:
permissions: query.permissions
bucket: path.bucket
method: generated
generated: '2026-11-15'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/gcp-cloud-storage-buckets-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.