B2File Type
A Backblaze B2 file.
Remarks
This type represents a Backblaze B2 file.
Fields
BucketId String |
The Id of the bucket that the file is in. This field reflects the Id of the bucket that the file is in. | ||||||||
ContentType String |
The content type of the file. This field reflects the content type of the file. Always application/x-bz-hide-marker when Kind is hide; and empty when Kind is folder. | ||||||||
CreatedTime long |
The file's creation time. This field reflects the file's creation time, in milliseconds relative to the Unix epoch. Always 0 when Kind is folder. | ||||||||
Id String |
The Id of the file. This field reflects the Id of the file. Always empty when Kind is folder. | ||||||||
Kind String |
The kind of file. This field reflects the file's kind. Possible values are:
| ||||||||
MD5Hash String |
An MD5 hash of the file's contents. This field reflects a hex-encoded MD5 hash of the file's contents, or empty string if such a hash is not available. | ||||||||
ModifiedTime long |
The file's last modified time. This field reflects the file's last modified time, in milliseconds relative to the Unix epoch. Note that this field will only be populated if a src_last_modified_millis metadata item is included for the file, and if that metadata item's value can be parsed as a 64-bit integer; otherwise, it will be -1. Refer to the ClientModifiedTime configuration setting for more information. | ||||||||
Name String |
The name of the file. This field reflects the name of the file. | ||||||||
SHA1Hash String |
A SHA1 hash of the file's contents. This field reflects a hex-encoded SHA1 hash of the file's contents, or empty string if such a hash is not available. Always empty if Kind is folder or hide. | ||||||||
Size long |
The file's size. This field reflects the file's size, in bytes. Always 0 when Kind is folder, hide, or start. |