Method: projects.buckets.list
Stay organized with collections
Save and categorize content based on your preferences.
Lists the linked storage buckets for a project.
HTTP request
GET https://firebasestorage.googleapis.com/v1alpha/{parent=projects/*}/buckets
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. Resource name of the parent Firebase project, projects/{project_id_or_number} .
Authorization requires the following IAM permission on the specified resource parent :
firebasestorage.buckets.list
|
Query parameters
Parameters |
pageSize |
integer
The maximum number of buckets to return. If not set, the server will use a reasonable default.
|
pageToken |
string
A page token, received from a previous buckets.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to buckets.list must match the call that provided the page token.
|
Request body
The request body must be empty.
Response body
The response returned by buckets.list
.
If successful, the response body contains data with the following structure:
JSON representation |
{
"buckets": [
{
object (Bucket )
}
],
"nextPageToken": string
} |
Fields |
buckets[] |
object (Bucket )
The list of linked buckets.
|
nextPageToken |
string
A token that can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/firebase
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
firebasestorage.buckets.list
For more information, see the IAM documentation.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-08-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]