Google Cloud Dialogflow v2 API - Class CompanionAgents.CompanionAgentsBase (4.32.0)

[BindServiceMethod(typeof(CompanionAgents), "BindService")]
public abstract class CompanionAgents.CompanionAgentsBase

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class CompanionAgents.CompanionAgentsBase.

Base class for server-side implementations of CompanionAgents

Inheritance

object > CompanionAgents.CompanionAgentsBase

Namespace

Google.Cloud.Dialogflow.V2

Assembly

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 CreateCompanionAgentRequest

The request received from the client.

context ServerCallContext

The 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 DeleteCompanionAgentRequest

The request received from the client.

context ServerCallContext

The 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 GetCompanionAgentRequest

The request received from the client.

context ServerCallContext

The 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 ListCompanionAgentsRequest

The request received from the client.

context ServerCallContext

The 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 UpdateCompanionAgentRequest

The request received from the client.

context ServerCallContext

The 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).