Google Cloud Dialogflow v2 API - Class SessionEntityTypes.SessionEntityTypesBase (4.16.0)

[BindServiceMethod(typeof(SessionEntityTypes), "BindService")]
public abstract class SessionEntityTypes.SessionEntityTypesBase

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SessionEntityTypes.SessionEntityTypesBase.

Base class for server-side implementations of SessionEntityTypes

Inheritance

object > SessionEntityTypes.SessionEntityTypesBase

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Methods

CreateSessionEntityType(CreateSessionEntityTypeRequest, ServerCallContext)

public virtual Task<SessionEntityType> CreateSessionEntityType(CreateSessionEntityTypeRequest request, ServerCallContext context)

Creates a session entity type.

If the specified session entity type already exists, overrides the session entity type.

This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
NameDescription
requestCreateSessionEntityTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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.

This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
NameDescription
requestDeleteSessionEntityTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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.

This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
NameDescription
requestGetSessionEntityTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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.

This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
NameDescription
requestListSessionEntityTypesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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.

This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
NameDescription
requestUpdateSessionEntityTypeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskSessionEntityType

The response to send back to the client (wrapped by a task).