ManagedFolder

The ManagedFolder resource represents a managed 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, see Methods.

Resource representations

{
  "kind": "storage#managedFolder"
  "id": string,
  "selfLink": string,
  "name": string,
  "bucket": string,
  "createTime": datetime,
  "updateTime": datetime,
  "metageneration": long
}
Property nameValueDescriptionNotes
kindstringThe kind of item this is. For managed folders, this is always "storage#managedFolder".
idstringThe 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/.
namestringThe name of the managed folder, expressed as a path. For example, example_dir/example_dir2/.
bucketstringThe name of the bucket that contains the managed folder.
createTimedatetimeThe time at which the managed folder was created, in RFC 3339 format.
updateTimedatetimeThe time at which the managed folder's metadata or IAM policy was last updated, in RFC 3339 format.
metagenerationlong1The 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.