Activities
latest
false
Productivity Activities
Last updated Jun 3, 2024

GetFiles

Retrieves a list of files from the specified Google Drive location.

Syntax

public IReadOnlyCollection<IFile> GetFiles(
	IFolder parent = null,
	bool starredOnly = false,
	DriveItemFilter filter = null,
	int maxResults = 200
)public IReadOnlyCollection<IFile> GetFiles(
	IFolder parent = null,
	bool starredOnly = false,
	DriveItemFilter filter = null,
	int maxResults = 200
)

Parameters

parent IFolder (Optional)
The location on Google Drive where to search for files. If null, the root folder is used for search.
starredOnly Boolean Optional
Specifies whether to return only starred files.
filter DriveItemFilter Optional
Specifies additional filters for the query.
maxResults Int32 (Optional)
The maximum number of files to return.

Return value

IReadOnlyCollection<IFile> - The list of files retrieved from the specified location
  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.