UiPath Documentation
activities
latest
false
Productivity activities

GetItem

Gets a file or folder from Google Drive by relative path or by URL, ID or full path.

Gets a file or folder from Google Drive by relative path or by URL, ID or full path.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Overloads​

OverloadDescription
GetItem(Folder, String)Gets a file or folder from Google Drive by relative path.
GetItem(String, IdentificationType)Gets a file or folder from Google Drive by URL, ID or full path.

GetItem(IFolder, String)​

Gets a file or folder from Google Drive by relative path.

public IDriveItem GetItem(
	IFolder parent,
	string relativePath
)
public IDriveItem GetItem(
	IFolder parent,
	string relativePath
)

parent IFolder : The base location on Google Drive where to search the file or folder.

relativePath String : The relative file or folder path to the parent folder including the name and extension.

GetItem(String, IdentificationType)​

Gets a file or folder from Google Drive by URL, ID or full path.

public IDriveItem GetItem(
	string identifier,
	IdentificationType type = IdentificationType.UrlOrId
)
public IDriveItem GetItem(
	string identifier,
	IdentificationType type = IdentificationType.UrlOrId
)

identifier String : The identifier (ID, URL, full path) of the file or folder to retrieve.

type IdentificationType (Optional) : Specifies the type of identifier provided (ID, URL or full path).

Return value​

IDriveItem - The file or folder retrieved.

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated