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

CreateFolder

Creates a folder in the specified Google Drive location.

Namespace: UiPath.Gsuite.Activities.API

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

Syntax

public IFolder CreateFolder(
	string name,
	string description,
	IFolder parentFolder = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)public IFolder CreateFolder(
	string name,
	string description,
	IFolder parentFolder = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)

Parameters

name String
The name of the new folder.
description String (Optional)
The description of the new folder.
parent IFolder (Optional)
The location on Google Drive where to create the folder. If null, the new folder is created in the root.
conflictBehavior ConflictBehavior (Optional)
What is the expected behavior when a folder with the same name already exists in the destination folder.

Return value

IFolder - The newly created folder.
  • 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.