DocumentsClientDeleteDocumentAsync Method
Namespace: GenerativeAI.ClientsAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public Task DeleteDocumentAsync(
string name,
bool? force = null
)
- name String
- The resource name of the Document to delete. Required.
- force NullableBoolean (Optional)
- If set to true, any Chunk resources and objects related to this Document will also be deleted. Optional.
TaskA task representing the asynchronous operation.