@ -64,6 +64,10 @@ service EntityTypes {
}
/ / Creates an entity type in the specified agent.
/ /
/ / Note : You should always train an agent prior to sending it queries. See the
/ / [ training
/ / documentation ] ( https : / / cloud.google.com / dialogflow / es / docs / training ) .
rpc CreateEntityType ( CreateEntityTypeRequest ) returns ( EntityType ) {
option ( google.api.http ) = {
post : "/v2beta1/{parent=projects/*/agent}/entityTypes"
@ -78,6 +82,10 @@ service EntityTypes {
}
/ / Updates the specified entity type.
/ /
/ / Note : You should always train an agent prior to sending it queries. See the
/ / [ training
/ / documentation ] ( https : / / cloud.google.com / dialogflow / es / docs / training ) .
rpc UpdateEntityType ( UpdateEntityTypeRequest ) returns ( EntityType ) {
option ( google.api.http ) = {
patch : "/v2beta1/{entity_type.name=projects/*/agent/entityTypes/*}"
@ -93,6 +101,10 @@ service EntityTypes {
}
/ / Deletes the specified entity type.
/ /
/ / Note : You should always train an agent prior to sending it queries. See the
/ / [ training
/ / documentation ] ( https : / / cloud.google.com / dialogflow / es / docs / training ) .
rpc DeleteEntityType ( DeleteEntityTypeRequest ) returns ( google.protobuf.Empty ) {
option ( google.api.http ) = {
delete : "/v2beta1/{name=projects/*/agent/entityTypes/*}"
@ -104,7 +116,10 @@ service EntityTypes {
}
/ / Updates / Creates multiple entity types in the specified agent.
/ / Operation < response : [ BatchUpdateEntityTypesResponse ] [ google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse ] >
/ /
/ / Note : You should always train an agent prior to sending it queries. See the
/ / [ training
/ / documentation ] ( https : / / cloud.google.com / dialogflow / es / docs / training ) .
rpc BatchUpdateEntityTypes ( BatchUpdateEntityTypesRequest ) returns ( google.longrunning.Operation ) {
option ( google.api.http ) = {
post : "/v2beta1/{parent=projects/*/agent}/entityTypes:batchUpdate"
@ -121,7 +136,10 @@ service EntityTypes {
}
/ / Deletes entity types in the specified agent.
/ / Operation < response : [ google.protobuf.Empty ] [ google.protobuf.Empty ] >
/ /
/ / Note : You should always train an agent prior to sending it queries. See the
/ / [ training
/ / documentation ] ( https : / / cloud.google.com / dialogflow / es / docs / training ) .
rpc BatchDeleteEntityTypes ( BatchDeleteEntityTypesRequest ) returns ( google.longrunning.Operation ) {
option ( google.api.http ) = {
post : "/v2beta1/{parent=projects/*/agent}/entityTypes:batchDelete"
@ -140,7 +158,9 @@ service EntityTypes {
/ / Creates multiple new entities in the specified entity type.
/ /
/ / Operation < response : [ google.protobuf.Empty ] [ google.protobuf.Empty ] >
/ / Note : You should always train an agent prior to sending it queries. See the
/ / [ training
/ / documentation ] ( https : / / cloud.google.com / dialogflow / es / docs / training ) .
rpc BatchCreateEntities ( BatchCreateEntitiesRequest ) returns ( google.longrunning.Operation ) {
option ( google.api.http ) = {
post : "/v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchCreate"
@ -162,7 +182,9 @@ service EntityTypes {
/ / method does not affect entities in the entity type that aren ' t explicitly
/ / specified in the request.
/ /
/ / Operation < response : [ google.protobuf.Empty ] [ google.protobuf.Empty ] >
/ / Note : You should always train an agent prior to sending it queries. See the
/ / [ training
/ / documentation ] ( https : / / cloud.google.com / dialogflow / es / docs / training ) .
rpc BatchUpdateEntities ( BatchUpdateEntitiesRequest ) returns ( google.longrunning.Operation ) {
option ( google.api.http ) = {
post : "/v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate"
@ -182,7 +204,9 @@ service EntityTypes {
/ / Deletes entities in the specified entity type.
/ /
/ / Operation < response : [ google.protobuf.Empty ] [ google.protobuf.Empty ] >
/ / Note : You should always train an agent prior to sending it queries. See the
/ / [ training
/ / documentation ] ( https : / / cloud.google.com / dialogflow / es / docs / training ) .
rpc BatchDeleteEntities ( BatchDeleteEntitiesRequest ) returns ( google.longrunning.Operation ) {
option ( google.api.http ) = {
post : "/v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete"