DocumentsClientGetDocumentAsync Method

Gets information about a specific Document resource.

Definition

Namespace: GenerativeAI.Clients
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public Task<Document?> GetDocumentAsync(
	string name
)

Parameters

name  String
The name of the Document to retrieve. Required.

Return Value

TaskDocument
The Document resource.

See Also