activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 6, 2024

GetItem

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?

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