Class EmbedContentResponse

Response for the embed_content method.

Constructors

Properties

embeddings?: ContentEmbedding[]

The embeddings for each request, in the same order as provided in the batch request.

Gemini Enterprise Agent Platform only. Metadata about the request.

sdkHttpResponse?: HttpResponse

Used to retain the full HTTP response.

truncated?: boolean

Whether the input content was truncated before generating the embedding. This field is not supported in Gemini API.

usageMetadata?: UsageMetadata

Usage metadata about the response(s).