[BindServiceMethod(typeof(EntityTypes), "BindService")]
public abstract class EntityTypes.EntityTypesBase
Reference documentation and code samples for the Dialogflow v3 API class EntityTypes.EntityTypesBase.
Base class for server-side implementations of EntityTypes
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreateEntityType(CreateEntityTypeRequest, ServerCallContext)
public virtual Task<EntityType> CreateEntityType(CreateEntityTypeRequest request, ServerCallContext context)
Creates an entity type in the specified agent.
Note: You should always train a flow prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request |
CreateEntityTypeRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEntityType |
The response to send back to the client (wrapped by a task). |
DeleteEntityType(DeleteEntityTypeRequest, ServerCallContext)
public virtual Task<Empty> DeleteEntityType(DeleteEntityTypeRequest request, ServerCallContext context)
Deletes the specified entity type.
Note: You should always train a flow prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request |
DeleteEntityTypeRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
ExportEntityTypes(ExportEntityTypesRequest, ServerCallContext)
public virtual Task<Operation> ExportEntityTypes(ExportEntityTypesRequest request, ServerCallContext context)
Exports the selected entity types.
Parameters | |
---|---|
Name | Description |
request |
ExportEntityTypesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetEntityType(GetEntityTypeRequest, ServerCallContext)
public virtual Task<EntityType> GetEntityType(GetEntityTypeRequest request, ServerCallContext context)
Retrieves the specified entity type.
Parameters | |
---|---|
Name | Description |
request |
GetEntityTypeRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEntityType |
The response to send back to the client (wrapped by a task). |
ImportEntityTypes(ImportEntityTypesRequest, ServerCallContext)
public virtual Task<Operation> ImportEntityTypes(ImportEntityTypesRequest request, ServerCallContext context)
Imports the specified entitytypes into the agent.
Parameters | |
---|---|
Name | Description |
request |
ImportEntityTypesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ListEntityTypes(ListEntityTypesRequest, ServerCallContext)
public virtual Task<ListEntityTypesResponse> ListEntityTypes(ListEntityTypesRequest request, ServerCallContext context)
Returns the list of all entity types in the specified agent.
Parameters | |
---|---|
Name | Description |
request |
ListEntityTypesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListEntityTypesResponse |
The response to send back to the client (wrapped by a task). |
UpdateEntityType(UpdateEntityTypeRequest, ServerCallContext)
public virtual Task<EntityType> UpdateEntityType(UpdateEntityTypeRequest request, ServerCallContext context)
Updates the specified entity type.
Note: You should always train a flow prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request |
UpdateEntityTypeRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEntityType |
The response to send back to the client (wrapped by a task). |