CorporaClientListCorporaAsync Method

Lists all Corpus resources owned by the user.

Definition

Namespace: GenerativeAI.Clients
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public Task<ListCorporaResponse?> ListCorporaAsync(
	int? pageSize = null,
	string? pageToken = null
)

Parameters

pageSize  NullableInt32  (Optional)
The maximum number of Corpus resources to return per page.
pageToken  String  (Optional)
A page token, received from a previous ListCorporaAsync(NullableInt32, String) call.

Return Value

TaskListCorporaResponse
A list of Corpus resources.

See Also