[BindServiceMethod(typeof(SessionEntityTypes), "BindService")]
public abstract class SessionEntityTypes.SessionEntityTypesBase
Reference documentation and code samples for the Dialogflow v3 API class SessionEntityTypes.SessionEntityTypesBase.
Base class for server-side implementations of SessionEntityTypes
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreateSessionEntityType(CreateSessionEntityTypeRequest, ServerCallContext)
public virtual Task<SessionEntityType> CreateSessionEntityType(CreateSessionEntityTypeRequest request, ServerCallContext context)
Creates a session entity type.
Parameters | |
---|---|
Name | Description |
request |
CreateSessionEntityTypeRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskSessionEntityType |
The response to send back to the client (wrapped by a task). |
DeleteSessionEntityType(DeleteSessionEntityTypeRequest, ServerCallContext)
public virtual Task<Empty> DeleteSessionEntityType(DeleteSessionEntityTypeRequest request, ServerCallContext context)
Deletes the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
DeleteSessionEntityTypeRequest 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). |
GetSessionEntityType(GetSessionEntityTypeRequest, ServerCallContext)
public virtual Task<SessionEntityType> GetSessionEntityType(GetSessionEntityTypeRequest request, ServerCallContext context)
Retrieves the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
GetSessionEntityTypeRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskSessionEntityType |
The response to send back to the client (wrapped by a task). |
ListSessionEntityTypes(ListSessionEntityTypesRequest, ServerCallContext)
public virtual Task<ListSessionEntityTypesResponse> ListSessionEntityTypes(ListSessionEntityTypesRequest request, ServerCallContext context)
Returns the list of all session entity types in the specified session.
Parameters | |
---|---|
Name | Description |
request |
ListSessionEntityTypesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListSessionEntityTypesResponse |
The response to send back to the client (wrapped by a task). |
UpdateSessionEntityType(UpdateSessionEntityTypeRequest, ServerCallContext)
public virtual Task<SessionEntityType> UpdateSessionEntityType(UpdateSessionEntityTypeRequest request, ServerCallContext context)
Updates the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
UpdateSessionEntityTypeRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskSessionEntityType |
The response to send back to the client (wrapped by a task). |