Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Duplication of intents and entities while importing an updated version of a pre-existing flow of sam

With Feb  06 2023  release dialogflow cx introduced the functionality ; in which while importing a flow a person was given a choice if he/she wants to keep the original resources or replace the existing resources ,  
the link to release note - 

 
and the image of the console -
 
 feb release functionalityfeb release functionality

All I want is to be able to do this(thing that is shown in image ) from client library

My specific problem is I want to automate the import flow process; if a change is made in a flow of dev bot , the new version of the same flow should be imported in the prod bot ,
but on doing so from client library all the resources(intent entities) and the flow itself is duplicating

Please , quick responses and any suggestions can help me , I am in a bit of urgency
please help
0 5 472