dialogflow: add region tag
@@ -109,6 +109,8 @@ func main() {
}
}
+// [START dialogflow_list_intents]
+
func ListIntents(projectID string) ([]*dialogflowpb.Intent, error) {
ctx := context.Background()
@@ -137,6 +139,8 @@ func ListIntents(projectID string) ([]*dialogflowpb.Intent, error) {
return intents, nil
}
+// [END dialogflow_list_intents]
+
// [START dialogflow_create_intent]
func CreateIntent(projectID, displayName string, trainingPhraseParts, messageTexts []string) error {
ctx := context.Background()
