ManagedFolder Stay organized with collections Save and categorize content based on your preferences.
The ManagedFolder resource represents amanaged folder in Cloud Storage. You can apply IAM policies on a managed folder to control access to the resources within the managed folder.
To try out the methods for this resource, seeMethods.
Resource representations
{ "kind": "storage#managedFolder" "id":string, "selfLink":string, "name":string, "bucket":string, "createTime":datetime, "updateTime":datetime, "metageneration":long}| Property name | Value | Description | Notes |
|---|---|---|---|
kind | string | The kind of item this is. For managed folders, this is always "storage#managedFolder". | |
id | string | The ID of the managed folder, which is composed of the bucket name and managed folder name, expressed as a path. For example,example-bucket/example-dir/example-dir2/. | |
selfLink | string | The canonical URL of the managed folder. For example,https://www.googleapis.com/storage/v1/b/example-bucket/managedFolders/example-dir/example-dir2/. | |
name | string | The name of the managed folder, expressed as a path. For example,example_dir/example_dir2/. | |
bucket | string | The name of the bucket that contains the managed folder. | |
createTime | datetime | The time at which the managed folder was created, inRFC 3339 format. | |
updateTime | datetime | The time at which the managed folder's metadata or IAM policy was last updated, inRFC 3339 format. | |
metageneration | long1 | The metadata generation of the managed folder. |
Methods
- insert
- Create a managed folder.
- delete
- Permanently delete a managed folder.
- get
- View a managed folder.
- getIamPolicy
- View the IAM policy for a managed folder.
- list
- Retrieves a list of managed folders under a given bucket.
- setIamPolicy
- Update the IAM policy for a managed folder.
- testIamPermissions
- Tests a set of permissions on a managed folder to see which, if any, are held by the caller.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-17 UTC.