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 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