Skip to main content

HelloID

Task: Delete Google Drive team folder
Prerequisites
  • G Suite business account

Description

This task will delete a Google Drive team folder in the given Team Drive.

Variables

Name

Description

Type

Example

Comments

Path of P12 file

The P12 file can be downloaded from https://console.developers.google.com under the service accounts. The file will be used to retrieve a token from Google to connect to the Google servers.

String

C:/Users/Administrator/Documents/P12file.p12

Make sure this location is accessible by the HelloID agent service account. File can be downloaded when creating a Service Account

Service account username

The username of the Google service account, which is able to connect to the Google servers.

String

{ServiceAccountName}@{GoogleDomain}-202213.

iam.gserviceaccount.com

This account can be created at https://console.cloud.google.com Documentation: https://cloud.google.com/compute/docs/access/service-accounts

Google username

The username of the user for whom you want to delete a Google Drive local folder.

String

{user}@{GoogleDomain}

Folder name

The name of the folder you want to delete.

String

FolderName

Path of parent folder

The folder path in which the folder needs to be deleted.

String

Root/Folder1/Folder2

If empty, the folder will be deleted at root level.

Name of TeamDrive

The name of the Team Drive on which the folder will be deleted.

String

TeamDrive

Task editor
mceclip0.png