Project Storage APIs

Creating and managing storage for your apps and services to use.

Retrieve storage usage for a specific project.

get

This endpoint returns detailed storage information for the specified project. It provides insights into the usage metrics, helping users manage their storage resources effectively. Ideal for developers and administrators to monitor project storage allocation.

👤 User Credential: You must login and authenticate a user and use their access token to invoke this service. This will operate the action under the specified user.

Authorizations
OAuth2clientCredentialsRequired

An OIDC service account that was authenticated.

Authorization URL: Token URL:
Path parameters
projectIdstringRequired
Responses
200

OK

*/*
get
/console/projects/{projectId}/storage

Delete a specific storage bucket for a project

delete

Removes the storage bucket identified by the provided bucketId from the project specified by projectId. This action is irreversible and will permanently delete all data within the bucket. Ensure that you have the necessary permissions before proceeding with this operation.

👤 User Credential: You must login and authenticate a user and use their access token to invoke this service. This will operate the action under the specified user.

Authorizations
OAuth2clientCredentialsRequired

An OIDC service account that was authenticated.

Authorization URL: Token URL:
Path parameters
projectIdstringRequired
bucketIdstringRequired
Responses
200

OK

No content

delete
/console/projects/{projectId}/storage/{bucketId}

No content

Create a storage bucket for the project

post

This endpoint enables the creation of a storage bucket for the specified project. The storage tier and visibility type can be defined to suit the project's needs. Ensure that the appropriate permissions are in place for the user to create storage.

👤 User Credential: You must login and authenticate a user and use their access token to invoke this service. This will operate the action under the specified user.

Authorizations
OAuth2clientCredentialsRequired

An OIDC service account that was authenticated.

Authorization URL: Token URL:
Path parameters
projectIdstringRequired
tierstringRequired
visibilitystringRequired
Responses
200

OK

*/*
post
/console/projects/{projectId}/storage/{tier}/{visibility}

Last updated