[BindServiceMethod(typeof(CompanionAgents), "BindService")]
public abstract class CompanionAgents.CompanionAgentsBaseReference documentation and code samples for the Google Cloud Dialogflow v2 API class CompanionAgents.CompanionAgentsBase.
Base class for server-side implementations of CompanionAgents
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Methods
CreateCompanionAgent(CreateCompanionAgentRequest, ServerCallContext)
public virtual Task<CompanionAgent> CreateCompanionAgent(CreateCompanionAgentRequest request, ServerCallContext context)Creates a companion agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCompanionAgentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCompanionAgent |
The response to send back to the client (wrapped by a task). |
DeleteCompanionAgent(DeleteCompanionAgentRequest, ServerCallContext)
public virtual Task<Empty> DeleteCompanionAgent(DeleteCompanionAgentRequest request, ServerCallContext context)Deletes a companion agent.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCompanionAgentRequestThe 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). |
GetCompanionAgent(GetCompanionAgentRequest, ServerCallContext)
public virtual Task<CompanionAgent> GetCompanionAgent(GetCompanionAgentRequest request, ServerCallContext context)Gets a companion agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCompanionAgentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCompanionAgent |
The response to send back to the client (wrapped by a task). |
ListCompanionAgents(ListCompanionAgentsRequest, ServerCallContext)
public virtual Task<ListCompanionAgentsResponse> ListCompanionAgents(ListCompanionAgentsRequest request, ServerCallContext context)Lists companion agents.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCompanionAgentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListCompanionAgentsResponse |
The response to send back to the client (wrapped by a task). |
UpdateCompanionAgent(UpdateCompanionAgentRequest, ServerCallContext)
public virtual Task<CompanionAgent> UpdateCompanionAgent(UpdateCompanionAgentRequest request, ServerCallContext context)Updates a companion agent.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCompanionAgentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCompanionAgent |
The response to send back to the client (wrapped by a task). |