Class GoogleCloudAiplatformV1FileData
URI-based data. A FileData message contains a URI pointing to data of a specific media type. It is used to represent images, audio, and video stored in Google Cloud Storage.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1FileData : IDirectResponseSchema
Properties
DisplayName
Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field
is only returned in PromptMessage for prompt management. It is used in the Gemini calls only when server
side tools (code_execution, google_search, and url_context) are enabled.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileUri
Required. The URI of the file in Google Cloud Storage.
Declaration
[JsonProperty("fileUri")]
public virtual string FileUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MimeType
Required. The IANA standard MIME type of the source data.
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |