Struct google_storage1::api::Folder
source · pub struct Folder {
pub bucket: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub id: Option<String>,
pub kind: Option<String>,
pub metageneration: Option<i64>,
pub name: Option<String>,
pub pending_rename_info: Option<FolderPendingRenameInfo>,
pub self_link: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A folder. Only available in buckets with hierarchical namespace enabled.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- delete folders (none)
- get folders (response)
- insert folders (request|response)
- list folders (none)
- rename folders (none)
Fields§
§bucket: Option<String>
The name of the bucket containing this folder.
create_time: Option<DateTime<Utc>>
The creation time of the folder in RFC 3339 format.
id: Option<String>
The ID of the folder, including the bucket name, folder name.
kind: Option<String>
The kind of item this is. For folders, this is always storage#folder.
metageneration: Option<i64>
The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.
name: Option<String>
The name of the folder. Required if not specified by URL parameter.
pending_rename_info: Option<FolderPendingRenameInfo>
Only present if the folder is part of an ongoing rename folder operation. Contains information which can be used to query the operation status.
self_link: Option<String>
The link to this folder.
update_time: Option<DateTime<Utc>>
The modification time of the folder metadata in RFC 3339 format.