CreateFolderRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Request message for CreateFolder. This operation is only applicable to a hierarchical namespace enabled bucket. Hierarchical namespace buckets are in allowlist preview.
Attributes |
|
---|---|
Name | Description |
parent |
str
Required. Name of the bucket in which the folder will reside. The bucket must be a hierarchical namespace enabled bucket. |
folder |
google.cloud.storage_control_v2.types.Folder
Required. Properties of the new folder being created. The bucket and name of the folder are specified in the parent and folder_id fields, respectively. Populating those fields in folder will result in an error.
|
folder_id |
str
Required. The full name of a folder, including all its parent folders. Folders use single '/' characters as a delimiter. The folder_id must end with a slash. For example, the folder_id of "books/biographies/" would create a new "biographies/" folder under the "books/" folder. |
recursive |
bool
Optional. If true, parent folder doesn't have to be present and all missing ancestor folders will be created atomically. |
request_id |
str
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |