activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Productivity Activities

上次更新日期 2025年9月16日

GetFile

Gets a file 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
GetFile(IFolder, String)Gets a file from Google Drive by relative path.
GetFile(String, IdentificationType)Gets a file from Google Drive by url, id or full path.

GetFile(IFolder, String)

Gets a file from Google Drive by relative path.

public IFile GetFile(
	IFolder parent,
	string relativePath
)public IFile GetFile(
	IFolder parent,
	string relativePath
)
parent IFolder
The base location on Google Drive where to search the file.
relativePath String
The relative file path to the parent folder including the name and extension.
Return value
IFile - The file retrieved

GetFile(String, IdentificationType)

Gets a file from Google Drive by URL, ID or full path.
public IFile GetFile(
	string identifier,
	IdentificationType type = IdentificationType.UrlOrId
)public IFile GetFile(
	string identifier,
	IdentificationType type = IdentificationType.UrlOrId
)
identifier String
The identifier (id, url, full path) of the file to retrieve.
type IdentificationType (Optional)
Specifies the type of identifier provided (ID, URL or full path).
Return value
IFile - The file retrieved
  • Overloads
  • GetFile(IFolder, String)
  • GetFile(String, IdentificationType)

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。