use of com.google.cloud.dialogflow.v2.AgentsClient in project java-dialogflow-cx by googleapis.
the class UpdateIntentTest method tearDown.
@After
public void tearDown() throws IOException {
stdOut = null;
System.setOut(null);
String apiEndpoint = "global-dialogflow.googleapis.com:443";
String parentPath = "projects/" + PROJECT_ID + "/locations/global";
AgentsSettings agentsSettings = AgentsSettings.newBuilder().setEndpoint(apiEndpoint).build();
AgentsClient client = AgentsClient.create(agentsSettings);
client.deleteAgent(parent);
}
Aggregations