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

GoogleCloudAiplatformV1Blob

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

A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video.

interface GoogleCloudAiplatformV1Blob {
data?: Uint8Array;
displayName?: string;
mimeType?: string;
}

§Properties

§
data?: Uint8Array
[src]

Required. The raw bytes of the data.

§
displayName?: string
[src]

Optional. The display name of the blob. Used to provide a label or filename to distinguish blobs. 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.

§
mimeType?: string
[src]

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