[BindServiceMethod(typeof(Intents), "BindService")]
public abstract class IntentsBaseBase class for server-side implementations of Intents
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Methods
BatchDeleteIntents(BatchDeleteIntentsRequest, ServerCallContext)
public virtual Task<Operation> BatchDeleteIntents(BatchDeleteIntentsRequest request, ServerCallContext context)Deletes intents 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 | 
        BatchDeleteIntentsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<Operation> | 
        The response to send back to the client (wrapped by a task).  | 
      
BatchUpdateIntents(BatchUpdateIntentsRequest, ServerCallContext)
public virtual Task<Operation> BatchUpdateIntents(BatchUpdateIntentsRequest request, ServerCallContext context)Updates/Creates multiple intents 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: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]
Note: You should always train an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        BatchUpdateIntentsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<Operation> | 
        The response to send back to the client (wrapped by a task).  | 
      
CreateIntent(CreateIntentRequest, ServerCallContext)
public virtual Task<Intent> CreateIntent(CreateIntentRequest request, ServerCallContext context)Creates an intent in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateIntentRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<Intent> | 
        The response to send back to the client (wrapped by a task).  | 
      
DeleteIntent(DeleteIntentRequest, ServerCallContext)
public virtual Task<Empty> DeleteIntent(DeleteIntentRequest request, ServerCallContext context)Deletes the specified intent and its direct or indirect followup intents.
Note: You should always train an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteIntentRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<Empty> | 
        The response to send back to the client (wrapped by a task).  | 
      
GetIntent(GetIntentRequest, ServerCallContext)
public virtual Task<Intent> GetIntent(GetIntentRequest request, ServerCallContext context)Retrieves the specified intent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetIntentRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<Intent> | 
        The response to send back to the client (wrapped by a task).  | 
      
ListIntents(ListIntentsRequest, ServerCallContext)
public virtual Task<ListIntentsResponse> ListIntents(ListIntentsRequest request, ServerCallContext context)Returns the list of all intents in the specified agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListIntentsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<ListIntentsResponse> | 
        The response to send back to the client (wrapped by a task).  | 
      
UpdateIntent(UpdateIntentRequest, ServerCallContext)
public virtual Task<Intent> UpdateIntent(UpdateIntentRequest request, ServerCallContext context)Updates the specified intent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateIntentRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<Intent> | 
        The response to send back to the client (wrapped by a task).  |