Enable Google Drive Labels
Learn how you can enable Google Drive Labels in Nightfall for Google Drive.
Last updated
Learn how you can enable Google Drive Labels in Nightfall for Google Drive.
Last updated
Labels in Google Drive support various business operations by adding additional metadata to files. Nightfall leverages Google Drive labels to identify sensitive data in Google Drive files and apply automated actions based on labels. To learn more about Google Drive labels, refer to this Google document.
To enable Google Drive labels, you must perform the following prerequisite actions.
Adding Scope of Google Drive Labels API
Enabling Google Drive Labels API
To use Google Drive labels, Nightfall admins must perform the following configurations in your Google Workspace account. You must have the client ID of your Google Workspace.
Log in to Google Workspace as an admin.
Navigate to Domain wide delegations.
Click Add a filter.
Select Client ID.
Enter the client ID and click Apply.
The matching account is displayed.
Hover your mouse to the right and click Edit.
In the OAuth scopes field, enter the following scope and click Authorize.
Once the scope is added, Nightfall admins must enable the Google Drive Label API. Nightfall recommends you to read this Google documentation on enabling APIs before proceeding with this section.
Navigate to the Google Drive Labels API from the GCP console that can be found here.
Click the Select a Project menu.
The list of Google projects is displayed.
Select a Project that has the Service Account, used to install the Nightfall Google Drive integration
Click Enable.
Important
Before using Google Drive Labels in Google Drive policies, ensure that you have created the appropriate Google Drive Labels. To learn more about creating Google Drive labels, refer this Google Document.