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.
Google Workspace devs might be interested in this update to the Drive Labels API which enables additional functionality. As noted in the source post:
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.
The post includes links to a number of useful resources including reference documentation.
Source: Programmatically manage and apply Drive Labels using new API functionality