Firebase. AI. ModelContent. InlineDataPart
Data with a specified media type.
Summary
Note: Not all media types may be supported by theAI model.
Inheritance
Inherits from:Firebase.AI.ModelContent.PartConstructors and Destructors | |
|---|---|
InlineDataPart(string mimeType, byte[] data)Creates an InlineDataPart from data and a MIME type. |
Properties | |
|---|---|
Data | byte[]The data provided in the inline data part. |
IsThought | bool |
MimeType | stringThe IANA standard MIME type of the data. |
Public functions | |
|---|---|
ToJson() | Dictionary< string, object > Part. |
Properties
Data
byte[]Firebase::AI::ModelContent::InlineDataPart::Data
The data provided in the inline data part.
IsThought
boolFirebase::AI::ModelContent::InlineDataPart::IsThought
MimeType
stringFirebase::AI::ModelContent::InlineDataPart::MimeType
The IANA standard MIME type of the data.
Public functions
InlineDataPart
Firebase::AI::ModelContent::InlineDataPart::InlineDataPart(stringmimeType,byte[]data)
Creates anInlineDataPart from data and a MIME type.
Important: Supported input types depend on the model on the model being used; see [input files and requirements](https://firebase.google.com/docs/vertex-ai/input-file-requirements) for more details.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
ToJson
Dictionary<string,object>Part.Firebase::AI::ModelContent::InlineDataPart::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.