CorporaClientListCorporaAsync Method
Lists all
Corpus resources owned by the user.
Namespace: GenerativeAI.ClientsAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public Task<ListCorporaResponse?> ListCorporaAsync(
int? pageSize = null,
string? pageToken = null
)
- 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.
TaskListCorporaResponseA list of
Corpus resources.