[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[],[],null,["# Firebase.AI.ModelContent.FileDataPart Struct Reference\n\nFirebase.AI.ModelContent.FileDataPart\n=====================================\n\nFile data stored in Cloud [Storage](/docs/reference/unity/namespace/firebase/storage#namespace_firebase_1_1_storage) for [Firebase](/docs/reference/unity/namespace/firebase#namespace_firebase), referenced by a URI.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [Firebase.AI.ModelContent.Part](/docs/reference/unity/interface/firebase/a-i/model-content/part)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [FileDataPart](#struct_firebase_1_1_a_i_1_1_model_content_1_1_file_data_part_1aefa5c669ed92aa0388efe1e5853ab410)`(string mimeType, System.Uri uri)` Constructs a new file data part. ||\n\n| ### Properties ||\n|--------------------------------------------------------------------------------------------------------------|---------------------------------------------------|\n| [MimeType](#struct_firebase_1_1_a_i_1_1_model_content_1_1_file_data_part_1a1182e8587e75dd25c47c6e0911cc3cd1) | `string` The IANA standard MIME type of the data. |\n| [Uri](#struct_firebase_1_1_a_i_1_1_model_content_1_1_file_data_part_1a1cf1b448aef59eaa41003525e265a78b) | `System.Uri` The URI of the file. |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------|--------------------------------------|\n| [ToJson](#struct_firebase_1_1_a_i_1_1_model_content_1_1_file_data_part_1abfb360b0282dbc1047f6016e27ddf098)`()` | `Dictionary\u003c string, object \u003e Part.` |\n\nProperties\n----------\n\n### MimeType\n\n```c#\nstring Firebase::AI::ModelContent::FileDataPart::MimeType\n``` \nThe IANA standard MIME type of the data. \n\n### Uri\n\n```c#\nSystem.Uri Firebase::AI::ModelContent::FileDataPart::Uri\n``` \nThe URI of the file.\n\nPublic functions\n----------------\n\n### FileDataPart\n\n```c#\n Firebase::AI::ModelContent::FileDataPart::FileDataPart(\n string mimeType,\n System.Uri uri\n)\n``` \nConstructs a new file data part.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `mimeType` | The IANA standard MIME type of the uploaded file, for example, `\"image/jpeg\"` or `\"video/mp4\"`; see [media requirements](https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements) for supported values. | | `uri` | The `\"gs://\"`-prefixed URI of the file in Cloud [Storage](/docs/reference/unity/namespace/firebase/storage#namespace_firebase_1_1_storage) for [Firebase](/docs/reference/unity/namespace/firebase#namespace_firebase), for example, `\"gs://bucket-name/path/image.jpg\"` | |\n\n### ToJson\n\n```c#\nDictionary\u003c string, object \u003e Part. Firebase::AI::ModelContent::FileDataPart::ToJson()\n```"]]