Dialogflow v3 API - Class Examples.ExamplesBase (3.0.0)

[BindServiceMethod(typeof(Examples), "BindService")]
public abstract class Examples.ExamplesBase

Reference documentation and code samples for the Dialogflow v3 API class Examples.ExamplesBase.

Base class for server-side implementations of Examples

Inheritance

object > Examples.ExamplesBase

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

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 CreateExampleRequest

The request received from the client.

context ServerCallContext

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

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

GetExample(GetExampleRequest, ServerCallContext)

public virtual Task<Example> GetExample(GetExampleRequest request, ServerCallContext context)

Retrieves the specified example.

Parameters
Name Description
request GetExampleRequest

The request received from the client.

context ServerCallContext

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

The request received from the client.

context ServerCallContext

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

The request received from the client.

context ServerCallContext

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