DocumentsClientUpdateDocumentAsync Method

Updates a Document resource.

Definition

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

Parameters

name  String
The resource name of the Document.
document  Document
The Document resource to update.
updateMask  String
The list of fields to update. Required.

Return Value

TaskDocument
The updated Document resource.

See Also