google.internal.GmFileData

`mimeType` is optional: the URI forms the API resolves by itself (a YouTube watch URL, a Files-API handle) carry no MIME type, and guessing one from the URL's spelling puts a wrong type on the wire.

Reference version

Signature

class google.internal.GmFileData

mimeType is optional: the URI forms the API resolves by itself (a YouTube watch URL, a Files-API handle) carry no MIME type, and guessing one from the URL's spelling puts a wrong type on the wire.

Source:<builtin>/google/ns_internal/gemini.bamlbytes 15131577

Fields

mimeType

string | null

fileUri

string