[BindServiceMethod(typeof(EntityTypes), "BindService")]
public abstract class EntityTypes.EntityTypesBaseReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class EntityTypes.EntityTypesBase.
Base class for server-side implementations of EntityTypes
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Methods
BatchCreateEntities(BatchCreateEntitiesRequest, ServerCallContext)
public virtual Task<Operation> BatchCreateEntities(BatchCreateEntitiesRequest request, ServerCallContext context)Creates multiple new entities in the specified entity type.
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchCreateEntitiesRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
BatchDeleteEntities(BatchDeleteEntitiesRequest, ServerCallContext)
public virtual Task<Operation> BatchDeleteEntities(BatchDeleteEntitiesRequest request, ServerCallContext context)Deletes entities in the specified entity type.
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchDeleteEntitiesRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, ServerCallContext)
public virtual Task<Operation> BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, ServerCallContext context)Deletes entity types in the specified agent.
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchDeleteEntityTypesRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
BatchUpdateEntities(BatchUpdateEntitiesRequest, ServerCallContext)
public virtual Task<Operation> BatchUpdateEntities(BatchUpdateEntitiesRequest request, ServerCallContext context)Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request.
Note: You should always train an agent prior to sending it queries. See the training documentation.
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: An Empty message
| Parameters | |
|---|---|
| Name | Description |
request |
BatchUpdateEntitiesRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, ServerCallContext)
public virtual Task<Operation> BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, ServerCallContext context)Updates/Creates multiple entity types in the specified agent.
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]
Note: You should always train an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchUpdateEntityTypesRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
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 an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntityTypeRequestThe request received from the client. |
context |
ServerCallContextThe 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 an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntityTypeRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetEntityType(GetEntityTypeRequest, ServerCallContext)
public virtual Task<EntityType> GetEntityType(GetEntityTypeRequest request, ServerCallContext context)Retrieves the specified entity type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntityTypeRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
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 |
ListEntityTypesRequestThe request received from the client. |
context |
ServerCallContextThe 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 an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntityTypeRequestThe request received from the client. |
context |
ServerCallContextThe 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). |