google.ai.generativelanguage.DeleteCorpusRequest

Request to delete a Corpus.

name str

Required. The resource name of the Corpus. Example: corpora/my-corpus-123

force bool

Optional. If set to true, any Document\ s and objects related to this Corpus will also be deleted.

If false (the default), a FAILED_PRECONDITION error will be returned if Corpus contains any Document\ s.