Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Patching Intents with Dialogflow ES API

Hi Everyone, I'm trying to update intents using Dialogflow Es API.

According to the Update mask, I have to specify which elements I'm going to update.

https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.agent.intents/patch

The issue here comes when trying to update some parameters.

Update masks is the error.

On the left, you can see I want to change just a variable on the intent.
Update mask with the [0] with the URL encoding changes this to different characters that google can't parse.
Mizar_0-1697385948131.png

So that why I set on updating mask

parameters[0].displayName
because
the display name is inside of the index [0]

Mizar_1-1697386018533.png

Also when I use the update mask without the index, I get 200 but the variable doesn't update

Mizar_2-1697386447240.png

 

 

 

 

 

0 2 377
2 REPLIES 2