Optional. A predicted [FunctionCall] returned from the model that
contains a string representing the [FunctionDeclaration.name] with the
parameters and their values.
public FunctionResponse FunctionResponse { get; set; }
Optional. The result output of a [FunctionCall] that contains a string
representing the [FunctionDeclaration.name] and a structured JSON object
containing any output from the function call. It is used as context to
the model.
[[["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-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePart\u003c/code\u003e class in the Vertex AI v1beta1 API represents a component of a multi-part \u003ccode\u003eContent\u003c/code\u003e message, encapsulating data with a specific datatype.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003ePart\u003c/code\u003e can hold data in various forms, including inlined bytes, URI-based files, text, executable code, function calls and their responses, or results of code execution.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eFileData\u003c/code\u003e, \u003ccode\u003eInlineData\u003c/code\u003e, \u003ccode\u003eText\u003c/code\u003e, \u003ccode\u003eExecutableCode\u003c/code\u003e, \u003ccode\u003eFunctionCall\u003c/code\u003e, and \u003ccode\u003eFunctionResponse\u003c/code\u003e to manage the different types of data that a \u003ccode\u003ePart\u003c/code\u003e can contain.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePart\u003c/code\u003e class also includes metadata and output-only indicators, such as \u003ccode\u003eVideoMetadata\u003c/code\u003e and \u003ccode\u003eThought\u003c/code\u003e, that offer more context about the enclosed data.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace, with the latest version being \u003ccode\u003e1.0.0-beta21\u003c/code\u003e, and it implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class Part (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Part)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.Part) \n\n public sealed class Part : IMessage\u003cPart\u003e, IEquatable\u003cPart\u003e, IDeepCloneable\u003cPart\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class Part.\n\nA datatype containing media that is part of a multi-part `Content` message.\n\nA `Part` consists of data which has an associated datatype. A `Part` can only\ncontain one of the accepted types in `Part.data`.\n\nA `Part` must have a fixed IANA MIME type identifying the type and subtype\nof the media if `inline_data` or `file_data` field is filled with raw bytes. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Part \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Part](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Part), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Part](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Part), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Part](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Part), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### Part()\n\n public Part()\n\n### Part(Part)\n\n public Part(Part other)\n\nProperties\n----------\n\n### CodeExecutionResult\n\n public CodeExecutionResult CodeExecutionResult { get; set; }\n\nOptional. Result of executing the \\[ExecutableCode\\].\n\n### DataCase\n\n public Part.DataOneofCase DataCase { get; }\n\n### ExecutableCode\n\n public ExecutableCode ExecutableCode { get; set; }\n\nOptional. Code generated by the model that is meant to be executed.\n\n### FileData\n\n public FileData FileData { get; set; }\n\nOptional. URI based data.\n\n### FunctionCall\n\n public FunctionCall FunctionCall { get; set; }\n\nOptional. A predicted \\[FunctionCall\\] returned from the model that\ncontains a string representing the \\[FunctionDeclaration.name\\] with the\nparameters and their values.\n\n### FunctionResponse\n\n public FunctionResponse FunctionResponse { get; set; }\n\nOptional. The result output of a \\[FunctionCall\\] that contains a string\nrepresenting the \\[FunctionDeclaration.name\\] and a structured JSON object\ncontaining any output from the function call. It is used as context to\nthe model.\n\n### HasText\n\n public bool HasText { get; }\n\nGets whether the \"text\" field is set\n\n### InlineData\n\n public Blob InlineData { get; set; }\n\nOptional. Inlined bytes data.\n\n### MetadataCase\n\n public Part.MetadataOneofCase MetadataCase { get; }\n\n### Text\n\n public string Text { get; set; }\n\nOptional. Text part (can be code).\n\n### Thought\n\n public bool Thought { get; set; }\n\nIndicates if the part is thought from the model.\n\n### ThoughtSignature\n\n public ByteString ThoughtSignature { get; set; }\n\nAn opaque signature for the thought so it can be reused in subsequent\nrequests.\n\n### VideoMetadata\n\n public VideoMetadata VideoMetadata { get; set; }\n\nOptional. Video metadata. The metadata should only be specified while the\nvideo data is presented in inline_data or file_data."]]