google-cloud-java icon indicating copy to clipboard operation
google-cloud-java copied to clipboard

Record type "DS" is not supported

Open ptkach opened this issue 2 years ago • 5 comments

We're conducting migration of nomulus project from outdated google-api-services-dns to newer and more java idiomatic google-cloud-java.

However we noticed that there's no support for RecordSet.Type.DS at the moment, even thought it's supported by Cloud DNS

Can you please suggest if there's a plan to support DS records or if there's any alternative for us to use? Thanks!

ptkach avatar Dec 28 '22 15:12 ptkach

google-cloud-dns is actually built on top of google-api-services-dns. So, the types should still be available. Can you explain which method you're calling and need RecordSet.Type.DS?

meltsufin avatar Jan 03 '23 20:01 meltsufin

This is the method I'm talking about RecordSet.setType. There's no type DS among currently available types for google-cloud-dns, unlike in google-api-services-dns, where type DS is supported and we use it.

See the screenshot from the docs for Cloud DNS for Record type DS

Screenshot 2023-01-04 at 3 49 22 PM

ptkach avatar Jan 04 '23 21:01 ptkach

@meltsufin Any update on this?

ptkach avatar Jan 18 '23 20:01 ptkach

The docs of RecordSet.Type do not show DS as a possibility.

googleapis/googleapis does not have the proto of DNS

Apiary, however, leaves it as a String field

diegomarquezp avatar Jul 04 '23 18:07 diegomarquezp

If possible, you should just use Apiary library.

meltsufin avatar Jul 05 '23 16:07 meltsufin

Closing as the above comments should answer the original question. Feel free to reopen if you have further questions.

zhumin8 avatar Apr 23 '24 20:04 zhumin8