I need to programmatically add / update / delete CNAME records.
There are 2 SDKs available for Cloud DNS.
According to the docs, Option B is in "maintenance mode" and recommends to use Option A for new applications.
However, I am observing that Option B (@googleapis/dns) is limited in the methods that it exposes. There doesn't seem to be any way to update an existing record. Only 2 methods are exposed - create and delete.
Option A (which is considered legacy), provides full-fledged CRUD methods, including patch/update.
The only way to programmatically manage the record seems to be:
1) Use the legacy sdk @googleapis/dns or,
Is there any way in which I can manage records via the @google-cloud/dns client library? I want to also make updates to the record. It doesn't seem sensible to DELETE and ADD new records when you can easily PATCH.
Many thanks.