[BindServiceMethod(typeof(Intents), "BindService")]
public abstract class IntentsBase
Base class for server-side implementations of Intents
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreateIntent(CreateIntentRequest, ServerCallContext)
public virtual Task<Intent> CreateIntent(CreateIntentRequest request, ServerCallContext context)
Creates an intent in the specified agent.
Parameters | |
---|---|
Name | Description |
request | CreateIntentRequest The request received from the client. |
context | ServerCallContext The 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.
Parameters | |
---|---|
Name | Description |
request | DeleteIntentRequest The request received from the client. |
context | ServerCallContext The 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 | GetIntentRequest The request received from the client. |
context | ServerCallContext The 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 | ListIntentsRequest The request received from the client. |
context | ServerCallContext The 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.
Parameters | |
---|---|
Name | Description |
request | UpdateIntentRequest The request received from the client. |
context | ServerCallContext The 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). |