Is there a central API or language library in GCP to label all the resources?

Viewed 112

To label any type of resource in GCP, the user has to use the respective APIs made for that particular resource Ex: Compute labelling, Cloud SQL labelling

Is there a centralized one API or language library made available by GCP where I can label any type of resource?

There is a central Cloud asset API to list all resources and their information (say labels). The asset API only allows to list resources and their labels, it does not allow to label them. I am looking for a single API like the asset one to label all my resources, is there any? If there is not, is there any other best way to centrally label any type of resource other than having to use their respective individual labelling APIs?

0 Answers
Related