UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Metadata for a file uploaded to the File API. More...
Public Attributes | |
string | Name |
The GeminiFile resource name. | |
string | DisplayName = null |
The human-readable display name for the GeminiFile. | |
string | MimeType |
MIME type of the file. | |
long | SizeBytes |
Size of the file in bytes. | |
DateTime | CreateTime |
The timestamp of when the GeminiFile was created. | |
DateTime | UpdateTime |
The timestamp of when the GeminiFile was last updated. | |
DateTime | ExpirationTime |
The timestamp of when the GeminiFile will be deleted. Only set if the GeminiFile is scheduled to expire. | |
string | Sha256Hash |
SHA-256 hash of the uploaded bytes. A base64-encoded string. | |
string | Uri |
The uri of the GeminiFile. | |
GeminiFileState | State |
Processing state of the GeminiFile. | |
GeminiStatus | Status |
Error status if GeminiFile processing failed. | |
GeminiFileVideoMetaData | VideoMetadata |
Metadata for a video. | |
Metadata for a file uploaded to the File API.
string Uralstech.UGemini.FileAPI.GeminiFile.MimeType |
MIME type of the file.
You can use GeminiContentTypeExtensions.ContentType(string) to convert string values to their GeminiContentType equivalents, like: "image/png".ContentType()