Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1FileData

import type { GoogleCloudAiplatformV1FileData } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

URI based data.

interface GoogleCloudAiplatformV1FileData {
displayName?: string;
fileUri?: string;
mimeType?: string;
}

§Properties

§
displayName?: string
[src]

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.

§
fileUri?: string
[src]

Required. URI.

§
mimeType?: string
[src]

Required. The IANA standard MIME type of the source data.