[BindServiceMethod(typeof(Examples), "BindService")]
public abstract class Examples.ExamplesBaseReference documentation and code samples for the Dialogflow v3 API class Examples.ExamplesBase.
Base class for server-side implementations of Examples
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreateExample(CreateExampleRequest, ServerCallContext)
public virtual Task<Example> CreateExample(CreateExampleRequest request, ServerCallContext context)Creates an example in the specified playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExampleRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
The response to send back to the client (wrapped by a task). |
DeleteExample(DeleteExampleRequest, ServerCallContext)
public virtual Task<Empty> DeleteExample(DeleteExampleRequest request, ServerCallContext context)Deletes the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExampleRequestThe 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). |
GetExample(GetExampleRequest, ServerCallContext)
public virtual Task<Example> GetExample(GetExampleRequest request, ServerCallContext context)Retrieves the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExampleRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
The response to send back to the client (wrapped by a task). |
ListExamples(ListExamplesRequest, ServerCallContext)
public virtual Task<ListExamplesResponse> ListExamples(ListExamplesRequest request, ServerCallContext context)Returns a list of examples in the specified playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExamplesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListExamplesResponse |
The response to send back to the client (wrapped by a task). |
UpdateExample(UpdateExampleRequest, ServerCallContext)
public virtual Task<Example> UpdateExample(UpdateExampleRequest request, ServerCallContext context)Update the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExampleRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
The response to send back to the client (wrapped by a task). |