Apply Default Label in Google Drive Files

1 view
Skip to first unread message

Andhe Wibowo

unread,
Jan 20, 2026, 9:58:51 PM (6 hours ago) Jan 20
to GAM for Google Workspace
Hi GAM Master,

Is it possible to apply a default label, such as 'Restricted', 'Internal', 'Confidential', or 'Public', to the files?

Im using this syntax command to apply the blue banner:
gam csv 'Untitled test.csv' gam user ~Owner process filedrivelabels id ~id addlabel o1YbFr2iujRK7EnbmPxdehmgVWvY7VE4EOaSNNEbbFcb

But the requirement is to apply the default label like 'Restricted', 'Internal', 'Confidential', or 'Public'.

Comply with policy banner.png


Screenshot 2026-01-21 at 09.54.16.png


How is the syntax for this?
I already get the file id, field id, and choice id.

The help is greatly appreciated.

Thank you.
Reply all
Reply to author
Forward
0 new messages