ChunkClientUpdateChunkAsync Method

Updates a Chunk resource.

Definition

Namespace: GenerativeAI.Clients
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public Task<Chunk?> UpdateChunkAsync(
	Chunk chunk,
	string updateMask
)

Parameters

chunk  Chunk
The Chunk resource to update.
updateMask  String
The list of fields to update. Currently, this only supports updating customMetadata and data.

Return Value

TaskChunk
The updated Chunk resource.

See Also