Firebase. AI. ModelContent. FileDataPart
File data stored in CloudStorage forFirebase, referenced by a URI.
Summary
Inheritance
Inherits from:Firebase.AI.ModelContent.PartConstructors and Destructors | |
|---|---|
FileDataPart(string mimeType, System.Uri uri)Constructs a new file data part. |
Properties | |
|---|---|
IsThought | bool |
MimeType | stringThe IANA standard MIME type of the data. |
Uri | System.UriThe URI of the file. |
Public functions | |
|---|---|
ToJson() | Dictionary< string, object > Part. |
Properties
IsThought
boolFirebase::AI::ModelContent::FileDataPart::IsThought
MimeType
stringFirebase::AI::ModelContent::FileDataPart::MimeType
The IANA standard MIME type of the data.
Uri
System.UriFirebase::AI::ModelContent::FileDataPart::Uri
The URI of the file.
Public functions
FileDataPart
Firebase::AI::ModelContent::FileDataPart::FileDataPart(stringmimeType,System.Uriuri)
Constructs a new file data part.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
ToJson
Dictionary<string,object>Part.Firebase::AI::ModelContent::FileDataPart::ToJson()
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.