The kind of item this is. For folders, this is always
storage#folder.
id
string
The ID of the folder, which is composed of the bucket name and folder
name, expressed as a path. For example, example-bucket/example-folder1/example-folder2/.
selfLink
string
The canonical URL of the folder. For example,
https://www.googleapis.com/storage/v1/b/example-bucket/folders/example-folder1/example-folder2/.
name
string
The name of the folder, expressed as a path. For example, example-folder1/example-folder2/.
bucket
string
The name of the bucket that contains the folder.
createTime
datetime
The time at which the folder was created, in
RFC 3339 format.
updateTime
datetime
The time at which the folder's metadata was last
updated, in RFC 3339 format.
For information about status and error codes returned by these APIs, see the
reference page.
Try it for yourself
If you're new to Google Cloud, create an account to evaluate how
Cloud Storage performs in real-world
scenarios. New customers also get $300 in free credits to run, test, and
deploy workloads.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Folder\n\nThe Folder resource represents a\n[folder](/storage/docs/folders-overview) in a\nCloud Storage bucket with [hierarchical namespace](/storage/docs/hns-overview) enabled.\n\nTo try out the methods for this resource, see [Methods](#methods).\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```yaml\n{\n \"kind\": \"storage#folder\"\n \"id\": string,\n \"selfLink\": string,\n \"name\": string,\n \"bucket\": string,\n \"createTime\": datetime,\n \"updateTime\": datetime,\n \"metageneration\": long\n}\n```\n\nMethods\n-------\n\n[delete](/storage/docs/json_api/v1/folders/delete)\n: Delete a folder.\n\n[get](/storage/docs/json_api/v1/folders/getfoldermetadata)\n: Get the metadata of a folder.\n\n[insert](/storage/docs/json_api/v1/folders/insert)\n: Create a folder.\n\n[list](/storage/docs/json_api/v1/folders/list)\n: Retrieves a list of folders matching the criteria.\n\n[rename](/storage/docs/json_api/v1/folders/rename)\n: Rename a folder.\n\nFor information about status and error codes returned by these APIs, see the\n[reference page](/storage/docs/json_api/v1/status-codes).\n\nTry it for yourself\n-------------------\n\n\nIf you're new to Google Cloud, create an account to evaluate how\nCloud Storage performs in real-world\nscenarios. New customers also get $300 in free credits to run, test, and\ndeploy workloads.\n[Try Cloud Storage free](https://console.cloud.google.com/freetrial)"]]