app/com/google/strategic/demo/models/dialogflow/InteractionLayer.java
public static void deleteIntent(String intentId, String projectId) throws Exception {
        // Instantiates a client
        try (IntentsClient intentsClient = IntentsClient.create()) {
            IntentName name = IntentName.of(projectId, intentId);
            // Performs the delete intent request
            intentsClient.deleteIntent(name);
        }
    }
/**
     * Delete intent with the given intent type and intent value
     * @param intentId The id of the intent.
     * @param projectId Project/Agent Id.
     */
Delete intent with the given intent type and intent value
@param intentId The id of the intent.
@param projectId Project/Agent Id.
Delete intent with the given intent type and intent value @param intentId The id of the intent . @param projectId Project / Agent Id .
public static void deleteIntent(String intentId, String projectId) throws Exception {
        try (IntentsClient intentsClient = IntentsClient.create()) {
            IntentName name = IntentName.of(projectId, intentId);
            intentsClient.deleteIntent(name);
        }
    }
public static void deleteIntent ( String intentId , String projectId ) throws Exception { try ( IntentsClient intentsClient = IntentsClient . create ( ) ) { IntentName name = IntentName . of ( projectId , intentId ) ; intentsClient . deleteIntent ( name ) ; } }
Delete intent with the given intent type and intent value
 @param intentId The id of the intent.
Delete intent with the given intent type and intent value @param intentId The id of the intent .
// Instantiates a client
 // Performs the delete intent request
