Class FileData
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
URI based data.
public class FileData
- Inheritance
-
FileData
- Inherited Members
- Extension Methods
Properties
DisplayName
Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. It is not currently used in the Gemini GenerateContent calls.
[JsonPropertyName("displayName")]
public string? DisplayName { get; set; }
Property Value
FileUri
Required. URI.
[JsonPropertyName("fileUri")]
public string FileUri { get; set; }
Property Value
MimeType
Optional. The IANA standard MIME type of the source data.
[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }