Programmatically manage and apply Drive Labels using new API functionality

What’s changing 

Many of our customers already take advantage of the Drive Labels capabilities to classify content and implement policies on their Drive files for governance and Data Loss Prevention. 

Today, we’re happy to announce a highly requested update that will enable you to programmatically manage labels at scale via Drive APIs. 

drive labels api v2



Who’s impacted 

Admins and developers 


Why it’s important 

The new Drive Labels API supports reading Drive Label taxonomies. New functionality in the Drive API can be used to apply labels, set fields on files, and find files by label metadata. As a whole, these new API features enable numerous use cases including, bulk-classification, Apps Script driven workflows, third-party integrations, and other organizing and finding needs. 


Additional details 

We’re also announcing a Beta version of the Drive Labels API that supports creating and modifying labels, which was previously only supported in the label manager.


Getting started 

Rollout pace 

Availability 

  • Available to Google Workspace Essentials, Business Standard, Business Plus, Enterprise Essentials, Enterprise Standard, Enterprise Plus, Education Plus, Education Standard, and Nonprofits customers 
  • Not available to Business Starter, Education Fundamentals, the Teaching and Learning Upgrade, and Frontline, as well as legacy G Suite Basic and Business customers 
  • Not available to users with personal Google Accounts 

Resources