v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1352131166.0 KB
projects

Creates a new Folder in a given project and location.

post/v1/{+parent}/folders

Path parameters

parentstring required

Required. The location in which to create the Folder. Must be in the format projects/*/locations/*.

Request body

namestring

Identifier. The Folder's name.

creatorIamPrincipalstring

Output only. The IAM principal identifier of the creator of the Folder.

updateTimestring google-datetime

Output only. The timestamp of when the Folder was last updated.

teamFolderNamestring

Output only. The resource name of the TeamFolder that this Folder is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Folder is not associated with a TeamFolder and is a UserFolder.

displayNamestring

Required. The Folder's user-friendly name.

containingFolderstring

Optional. The containing Folder resource name. This should take the format: projects/{project}/locations/{location}/folders/{folder}, projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just "" if this is a root Folder. This field can only be updated through MoveFolder.

createTimestring google-datetime

Output only. The timestamp of when the Folder was created.

internalMetadatastring

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

Response

Successful response