FileClientListFilesAsync Method
Lists the metadata for
RemoteFiles owned by the requesting project.
Namespace: GenerativeAI.ClientsAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public Task<ListFilesResponse> ListFilesAsync(
int? pageSize = null,
string? pageToken = null
)
- pageSize NullableInt32 (Optional)
- Maximum number of RemoteFiles to return per page. If unspecified, defaults to 10. Maximum pageSize is 100.
- pageToken String (Optional)
- A page token from a previous [!:ListMyCustomFilesAsync] call.
TaskListFilesResponseA list of
RemoteFiles.