CorporaClientUpdateCorpusAsync Method

Updates a Corpus resource.

Definition

Namespace: GenerativeAI.Clients
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public Task<Corpus?> UpdateCorpusAsync(
	string corpusName,
	Corpus corpus,
	string updateMask
)

Parameters

corpusName  String
The name of the Corpus to update.
corpus  Corpus
The updated Corpus resource.
updateMask  String
The list of fields to update.

Return Value

TaskCorpus
The updated Corpus resource.

See Also