SetAgent.I guess I'm a little confused - there is a link in the README called Dialogflow Node.js Client API Reference. Clicking it takes you to a general set of documentation on the RPC interface to the Dialogflow API, not anything specific to Node.js. The RPC interface to the Dialogflow API lists a method called SetAgent. Unless I'm missing something, there is no way to call SetAgent using this library. Am I missing something?
This is addressed by https://github.com/googleapis/nodejs-dialogflow/pull/414 — I'm sure there's a more "official" way to do this programmatically as a lot of this code is boilerplate. The key is pulling in the latest version of google/cloud/dialogflow/v2/agent.proto.
@alexander-fenster @busunkim96 any thoughts as to what's going on here? I would have thought synthtool would have pulled these in.
I can confirm that it's in the protos:
https://github.com/googleapis/googleapis/blob/7ebb7a62ed598d4e7e6cc41403cbf191f71c079d/google/cloud/dialogflow/v2/agent.proto#L76-L81
It looks like this method was added to the protos ~2 months ago. When was the last successful synth?
https://github.com/googleapis/googleapis/commit/78dc641b2d05b36f6bb08d90773236004905e55f
👋 @jdelman I think this should be fixed in our latest release (v0.11.0), please let us know if that is not the case or if you run into any new issues. Thanks for opening an issue about this!
Hey there I'm working with googleapis in Node, and I am unable to find the setAgent method in the v2.d.ts file. I'm using the latest version, 59.0.0.
edit: it's missing in v2beta1.d.ts as well