@ -53,6 +53,9 @@ service Intents {
additional_bindings {
get : "/v2beta1/{parent=projects/*/agent/environments/*}/intents"
}
additional_bindings {
get : "/v2beta1/{parent=projects/*/locations/*/agent/environments/*}/intents"
}
} ;
option ( google.api.method_signature ) = "parent" ;
option ( google.api.method_signature ) = "parent,language_code" ;
@ -1198,7 +1201,15 @@ message Intent {
/ / The request message for [ Intents.ListIntents ] [ google.cloud.dialogflow.v2beta1.Intents.ListIntents ] .
message ListIntentsRequest {
/ / Required. The agent to list all intents from.
/ / Format : ` projects / < Project ID > / agent ` .
/ / Format : ` projects / < Project ID > / agent ` or ` projects / < Project
/ / ID > / locations / < Location ID > / agent ` .
/ /
/ / Alternatively , you can specify the environment to list intents for.
/ / Format : ` projects / < Project ID > / agent / environments / < Environment ID > `
/ / or ` projects / < Project ID > / locations / < Location
/ / ID > / agent / environments / < Environment ID > ` .
/ / Note : training phrases of the intents will not be returned for non - draft
/ / environment.
string parent = 1 [
( google.api.field_behavior ) = REQUIRED ,
( google.api.resource_reference ) = {