Every API 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 apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
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.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/gcp-cloud-storage:gcp-cloud-storage-managedfolders-api"
All apis
curl "https://apis.io/api/v1/apis?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.
openapi: 3.2.0
info:
title: Cloud Storage JSON Managed Folders API
version: v1
description: Generated from Google's published Discovery document for Cloud Storage JSON API (storage v1, revision 20261107). 8 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://storage.googleapis.com
tags:
- name: ManagedFolders
paths:
/storage/v1/b/{bucket}/managedFolders/{managedFolder}:
delete:
operationId: storage.managedFolders.delete
summary: Delete managedFolders
description: Permanently deletes a managed folder.
parameters:
- name: bucket
in: path
required: true
description: Name of the bucket containing the managed folder.
schema:
type: string
- name: managedFolder
in: path
required: true
description: The managed folder name/path.
schema:
type: string
- name: allowNonEmpty
in: query
required: false
description: Allows the deletion of a managed folder even if it is not empty. A managed folder is empty if there are no objects or managed folders that it applies to. Callers must have storage.managedFolders.setIamPolicy permission.
schema:
type: boolean
- name: ifMetagenerationMatch
in: query
required: false
description: If set, only deletes the managed folder if its metageneration matches this value.
schema:
type: string
format: int64
- name: ifMetagenerationNotMatch
in: query
required: false
description: If set, only deletes the managed folder if its metageneration does not match this value.
schema:
type: string
format: int64
responses:
'200':
description: Successful response
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/devstorage.full_control
- https://www.googleapis.com/auth/devstorage.read_write
- apiKey: []
tags:
- ManagedFolders
get:
operationId: storage.managedFolders.get
summary: Get managedFolders
description: Returns metadata of the specified managed folder.
parameters:
- name: bucket
in: path
required: true
description: Name of the bucket containing the managed folder.
schema:
type: string
- name: managedFolder
in: path
required: true
description: The managed folder name/path.
schema:
type: string
- name: ifMetagenerationMatch
in: query
required: false
description: Makes the return of the managed folder metadata conditional on whether the managed folder's current metageneration matches the given value.
schema:
type: string
format: int64
- name: ifMetagenerationNotMatch
in: query
required: false
description: Makes the return of the managed folder metadata conditional on whether the managed folder's current metageneration does not match the given value.
schema:
type: string
format: int64
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ManagedFolder'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/cloud-platform.read-only
- https://www.googleapis.com/auth/devstorage.full_control
- https://www.googleapis.com/auth/devstorage.read_only
- https://www.googleapis.com/auth/devstorage.read_write
- apiKey: []
tags:
- ManagedFolders
patch:
operationId: storage.managedFolders.update
summary: Update managedFolders
description: Updates a managed folder using patch semantics.
parameters:
- name: bucket
in: path
required: true
description: The name of the bucket containing the managed folder.
schema:
type: string
- name: managedFolder
in: path
required: true
description: The name of the managed folder.
schema:
type: string
- name: ifMetagenerationMatch
in: query
required: false
description: Makes the operation conditional on whether the metageneration of the managed folder matches the specified value.
schema:
type: string
format: int64
- name: ifMetagenerationNotMatch
in: query
required: false
description: Makes the operation conditional on whether the metageneration of the managed folder doesn't match the specified value.
schema:
type: string
format: int64
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ManagedFolder'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ManagedFolder'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/devstorage.full_control
- https://www.googleapis.com/auth/devstorage.read_write
- apiKey: []
tags:
- ManagedFolders
/storage/v1/b/{bucket}/managedFolders/{managedFolder}/iam:
get:
operationId: storage.managedFolders.getIamPolicy
summary: Get iam policy managedFolders
description: Returns an IAM policy for the specified managed folder.
parameters:
- name: bucket
in: path
required: true
description: Name of the bucket containing the managed folder.
schema:
type: string
- name: managedFolder
in: path
required: true
description: The managed folder name/path.
schema:
type: string
- name: optionsRequestedPolicyVersion
in: query
required: false
description: The IAM policy format version to be returned. If the optionsRequestedPolicyVersion is for an older version that doesn't support part of the requested IAM policy, the request fails.
schema:
type: integer
format: int32
minimum: 1
- name: userProject
in: query
required: false
description: The project to be billed for this request. Required for Requester Pays buckets.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/cloud-platform.read-only
- https://www.googleapis.com/auth/devstorage.full_control
- https://www.googleapis.com/auth/devstorage.read_only
- https://www.googleapis.com/auth/devstorage.read_write
- apiKey: []
tags:
- ManagedFolders
put:
operationId: storage.managedFolders.setIamPolicy
summary: Set iam policy managedFolders
description: Updates an IAM policy for the specified managed folder.
parameters:
- name: bucket
in: path
required: true
description: Name of the bucket containing the managed folder.
schema:
type: string
- name: managedFolder
in: path
required: true
description: The managed folder name/path.
schema:
type: string
- name: userProject
in: query
required: false
description: The project to be billed for this request. Required for Requester Pays buckets.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/devstorage.full_control
- apiKey: []
tags:
- ManagedFolders
/storage/v1/b/{bucket}/managedFolders:
post:
operationId: storage.managedFolders.insert
summary: Insert managedFolders
description: Creates a new managed folder.
parameters:
- name: bucket
in: path
required: true
description: Name of the bucket containing the managed folder.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ManagedFolder'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ManagedFolder'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/devstorage.full_control
- https://www.googleapis.com/auth/devstorage.read_write
- apiKey: []
tags:
- ManagedFolders
get:
operationId: storage.managedFolders.list
summary: List managedFolders
description: Lists managed folders in the given bucket.
parameters:
- name: bucket
in: path
required: true
description: Name of the bucket containing the managed folder.
schema:
type: string
- name: pageSize
in: query
required: false
description: Maximum number of items to return in a single page of responses.
schema:
type: integer
format: int32
minimum: 0
- name: pageToken
in: query
required: false
description: A previously-returned page token representing part of the larger set of results to view.
schema:
type: string
- name: prefix
in: query
required: false
description: The managed folder name/path prefix to filter the output list of results.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ManagedFolders'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/cloud-platform.read-only
- https://www.googleapis.com/auth/devstorage.full_control
- https://www.googleapis.com/auth/devstorage.read_only
- https://www.googleapis.com/auth/devstorage.read_write
- apiKey: []
tags:
- ManagedFolders
/storage/v1/b/{bucket}/managedFolders/{managedFolder}/iam/testPermissions:
get:
operationId: storage.managedFolders.testIamPermissions
summary: Test iam permissions managedFolders
description: Tests a set of permissions on the given managed folder to see which, if any, are held by the caller.
parameters:
- name: bucket
in: path
required: true
description: Name of the bucket containing the managed folder.
schema:
type: string
- name: managedFolder
in: path
required: true
description: The managed folder name/path.
schema:
type: string
- name: permissions
in: query
required: true
description: Permissions to test.
schema:
type: array
items:
type: string
- name: userProject
in: query
required: false
description: The project to be billed for this request. Required for Requester Pays buckets.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/TestIamPermissionsResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/cloud-platform.read-only
- https://www.googleapis.com/auth/devstorage.full_control
- https://www.googleapis.com/auth/devstorage.read_only
- https://www.googleapis.com/auth/devstorage.read_write
- apiKey: []
tags:
- ManagedFolders
components:
schemas:
RapidCacheConfig:
type: object
description: Configuration options for the rapid cache of a managed folder.
properties:
policies:
type: object
description: A map of rapid cache IDs to the corresponding `RapidCachePolicy` configurations for a managed folder.
additionalProperties:
$ref: '#/components/schemas/RapidCachePolicy'
TestIamPermissionsResponse:
type: object
description: A storage.(buckets|objects|managedFolders).testIamPermissions response.
properties:
kind:
type: string
description: The kind of item this is.
default: storage#testIamPermissionsResponse
permissions:
type: array
description: "The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets, objects, or managedFolders. The supported permissions are as follows: \n- storage.buckets.delete - Delete bucket. \n- storage.buckets.get - Read bucket metadata. \n- storage.buckets.getIamPolicy - Read bucket IAM policy. \n- storage.buckets.create - Create bucket. \n- storage.buckets.list - List buckets. \n- storage.buckets.setIamPolicy - Update bucket IAM policy. \n- storage.buckets.update - Update bucket metadata. \n- storage.objects.delete - Delete object. \n- storage.objects.get - Read object data and metadata. \n- storage.objects.getIamPolicy - Read object IAM policy. \n- storage.objects.create - Create object. \n- storage.objects.list - List objects. \n- storage.objects.setIamPolicy - Update object IAM policy. \n- storage.objects.update - Update object metadata. \n- storage.managedFolders.delete - Delete managed folder. \n- storage.managedFolders.get - Read managed folder metadata. \n- storage.managedFolders.getIamPolicy - Read managed folder IAM policy. \n- storage.managedFolders.create - Create managed folder. \n- storage.managedFolders.list - List managed folders. \n- storage.managedFolders.setIamPolicy - Update managed folder IAM policy."
items:
type: string
RapidCachePolicy:
type: object
description: The rapid cache policy configuration for a managed folder.
properties:
rapidCacheId:
type: string
description: The unique identifier of the rapid cache.
ingestOnWrite:
type: string
description: The ingest-on-write policy for objects in the managed folder. When set to `enabled`, objects are automatically ingested into the cache when they are written to the managed folder.
enum:
- enabled
- unspecified
ManagedFolders:
type: object
description: A list of managed folders.
properties:
items:
type: array
description: The list of items.
items:
$ref: '#/components/schemas/ManagedFolder'
kind:
type: string
description: The kind of item this is. For lists of managed folders, this is always storage#managedFolders.
default: storage#managedFolders
nextPageToken:
type: string
description: The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
ManagedFolder:
type: object
description: A managed folder.
properties:
bucket:
type: string
description: The name of the bucket containing this managed folder.
id:
type: string
description: The ID of the managed folder, including the bucket name and managed folder name.
kind:
type: string
description: The kind of item this is. For managed folders, this is always storage#managedFolder.
default: storage#managedFolder
metageneration:
type: string
description: The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
format: int64
name:
type: string
description: The name of the managed folder. Required if not specified by URL parameter.
selfLink:
type: string
description: The link to this managed folder.
createTime:
type: string
description: The creation time of the managed folder in RFC 3339 format.
format: date-time
updateTime:
type: string
description: The last update time of the managed folder metadata in RFC 3339 format.
format: date-time
rapidCacheConfig:
$ref: '#/components/schemas/RapidCacheConfig'
description: The rapid cache configuration for the managed folder.
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
Expr:
type: object
description: 'Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"'
properties:
description:
type: string
description: An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
expression:
type: string
description: Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
location:
type: string
description: An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
title:
type: string
description: An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
Policy:
type: object
description: A bucket/object/managedFolder IAM policy.
properties:
bindings:
type: array
description: An association between a role, which comes with a set of permissions, and members who may assume that role.
items:
type: object
properties:
condition:
$ref: '#/components/schemas/Expr'
description: 'The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.'
members:
type: array
description: "A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: \n- allUsers - A special identifier that represents anyone on the internet; with or without a Google account. \n- allAuthenticatedUsers - A special identifier that represents anyone who is authenticated with a Google account or a service account. \n- user:emailid - An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. \n- serviceAccount:emailid - An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . \n- group:emailid - An email address that represents a Google group. For example, group:admins@example.com. \n- domain:domain - A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. \n- projectOwner:projectid - Owners of the given project. For example, projectOwner:my-example-project \n- projectEditor:projectid - Editors of the given project. For example, projectEditor:my-example-project \n- projectViewer:projectid - Viewers of the given project. For example, projectViewer:my-example-project"
items:
type: string
role:
type: string
description: "The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.\nThe new IAM roles are: \n- roles/storage.admin - Full control of Google Cloud Storage resources. \n- roles/storage.objectViewer - Read-Only access to Google Cloud Storage objects. \n- roles/storage.objectCreator - Access to create objects in Google Cloud Storage. \n- roles/storage.objectAdmin - Full control of Google Cloud Storage objects. The legacy IAM roles are: \n- roles/storage.legacyObjectReader - Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. \n- roles/storage.legacyObjectOwner - Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. \n- roles/storage.legacyBucketReader - Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. \n- roles/storage.legacyBucketWriter - Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. \n- roles/storage.legacyBucketOwner - Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role."
etag:
type: string
description: HTTP 1.1 Entity tag for the policy.
format: byte
kind:
type: string
description: The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
default: storage#policy
resourceId:
type: string
description: 'The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.'
version:
type: integer
description: The IAM policy format version.
format: int32
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/cloud-platform: View and manage your data across Google Cloud Platform services
https://www.googleapis.com/auth/cloud-platform.read-only: View your data across Google Cloud Platform services
https://www.googleapis.com/auth/devstorage.full_control: Manage your data and permissions in Google Cloud Storage
https://www.googleapis.com/auth/devstorage.read_only: View your data in Google Cloud Storage
https://www.googleapis.com/auth/devstorage.read_write: Manage your data in Google Cloud Storage
externalDocs:
url: https://developers.google.com/storage/docs/json_api/
x-provenance:
method: harvested
publisher: Google
source: https://storage.googleapis.com/$discovery/rest?version=v1
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261107)