Resource: File
A file uploaded to the API.
JSON representation |
---|
{ "name": string, "displayName": string, "mimeType": string, "sizeBytes": string, "createTime": string, "updateTime": string, "expirationTime": string, "sha256Hash": string, "uri": string } |
Fields | |
---|---|
name |
Immutable. Identifier. The |
displayName |
Optional. The human-readable display name for the |
mimeType |
Output only. MIME type of the file. |
sizeBytes |
Output only. Size of the file in bytes. |
createTime |
Output only. The timestamp of when the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The timestamp of when the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
expirationTime |
Output only. The timestamp of when the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
sha256Hash |
Output only. SHA-256 hash of the uploaded bytes. A base64-encoded string. |
uri |
Output only. The uri of the |
Methods |
|
---|---|
|
Deletes the File . |
|
Gets the metadata for the given File . |
|
Lists the metadata for File s owned by the requesting project. |