public sealed class FunctionResponseFileData : IMessage<FunctionResponseFileData>, IEquatable<FunctionResponseFileData>, IDeepCloneable<FunctionResponseFileData>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class FunctionResponseFileData.
URI based data for function response.
Implements
IMessageFunctionResponseFileData, IEquatableFunctionResponseFileData, IDeepCloneableFunctionResponseFileData, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
FunctionResponseFileData()
public FunctionResponseFileData()FunctionResponseFileData(FunctionResponseFileData)
public FunctionResponseFileData(FunctionResponseFileData other)| Parameter | |
|---|---|
| Name | Description |
other |
FunctionResponseFileData |
Properties
DisplayName
public string DisplayName { get; set; }Optional. Display name of the file data.
Used to provide a label or filename to distinguish file datas.
This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.
| Property Value | |
|---|---|
| Type | Description |
string |
|
FileUri
public string FileUri { get; set; }Required. URI.
| Property Value | |
|---|---|
| Type | Description |
string |
|
MimeType
public string MimeType { get; set; }Required. The IANA standard MIME type of the source data.
| Property Value | |
|---|---|
| Type | Description |
string |
|