[BindServiceMethod(typeof(Flows), "BindService")]
public abstract class FlowsBaseBase class for server-side implementations of Flows
Inheritance
System.Object > Flows.FlowsBaseNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreateFlow(CreateFlowRequest, ServerCallContext)
public virtual Task<Flow> CreateFlow(CreateFlowRequest request, ServerCallContext context)Creates a flow in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFlowRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Flow> |
The response to send back to the client (wrapped by a task). |
DeleteFlow(DeleteFlowRequest, ServerCallContext)
public virtual Task<Empty> DeleteFlow(DeleteFlowRequest request, ServerCallContext context)Deletes a specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFlowRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> |
The response to send back to the client (wrapped by a task). |
GetFlow(GetFlowRequest, ServerCallContext)
public virtual Task<Flow> GetFlow(GetFlowRequest request, ServerCallContext context)Retrieves the specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFlowRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Flow> |
The response to send back to the client (wrapped by a task). |
ListFlows(ListFlowsRequest, ServerCallContext)
public virtual Task<ListFlowsResponse> ListFlows(ListFlowsRequest request, ServerCallContext context)Returns the list of all flows in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFlowsRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<ListFlowsResponse> |
The response to send back to the client (wrapped by a task). |
TrainFlow(TrainFlowRequest, ServerCallContext)
public virtual Task<Operation> TrainFlow(TrainFlowRequest request, ServerCallContext context)Trains the specified flow. Note that only the flow in 'draft' environment is trained.
| Parameters | |
|---|---|
| Name | Description |
request |
TrainFlowRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Google.LongRunning.Operation> |
The response to send back to the client (wrapped by a task). |
UpdateFlow(UpdateFlowRequest, ServerCallContext)
public virtual Task<Flow> UpdateFlow(UpdateFlowRequest request, ServerCallContext context)Updates the specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFlowRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Flow> |
The response to send back to the client (wrapped by a task). |