0

So, I was going to try out connecting dialogflow with my app using c#, when I noticed that there were 2 dialogflow products -

Google.Apis.Dialogflow
and
Google.Cloud.Dialogflow

I'm pretty sure that I'm supposed to be using Google.Cloud, but just out of curiosity, what are the differences between the 2 packages? Is google.apis offline?

I've tried searching it up, and the only vague answer I found was here -
link to question

Even though it does explain the difference between the two, it doesn't explain why would both google.apis and google.cloud would have the same service.

Any help would be greatly appreciated!

Spacejet
  • 131
  • 1
  • 11

1 Answers1

1

I found this page after searching a bit which explains the differences. Basically google.cloud is the recommended one to use when you are able to, but it does not yet support all languages and libraries.

google.apis is older and generated automatically

google.cloud is mostly created by hand and the newer version

This link contains some useful reference material for the cloud library.

Nexevis
  • 4,647
  • 3
  • 13
  • 22
  • Oh. So as the page says, cloud is basically the newer one, and apis is the more stable older one. Thanks a lot!! – Spacejet Jun 21 '19 at 18:50
  • @Pranav Badrinathan Yeah thats what it appears to me, basically use `cloud` if you can. – Nexevis Jun 21 '19 at 18:52