object
Authorized media download state.
Properties
- Name
ready- Type
- boolean
- Description
- Whether the media object is available for download. `false` without
`failureCode` means ingestion is still in progress.
- Name
failureCode- Type
- string
- Description
- Present only when the media failed permanently; it will never become
available and `ready` stays `false`. Known codes (the list may grow, so
treat unknown codes as permanent failures too):
- `media_unavailable`: the source provider no longer has the file.
- `media_too_large`: the file exceeds the 100 MB media limit.
- `media_fetcher_not_configured`: media can't be fetched from this channel.
- `media_integrity_failed`: the stored file failed its integrity check.
- Name
url- Type
- string
- Description
- Short-lived signed download URL. Present only when `ready` is true.
- Name
mimeType- Type
- string
- Description
- Stored media MIME type, available when ready.
- Name
filename- Type
- string
- Description
- Stored media filename, when available.
- Name
fileSize- Type
- integer
- Description
- Stored media size in bytes, available when ready. Media ingestion does not update the message resource.