activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Feb 19, 2026

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
Trust and Security
© 2005-2026 UiPath. All rights reserved.