Dialogflow v3 API - Class Generators.GeneratorsBase (2.14.0)

[BindServiceMethod(typeof(Generators), "BindService")]
public abstract class Generators.GeneratorsBase

Reference documentation and code samples for the Dialogflow v3 API class Generators.GeneratorsBase.

Base class for server-side implementations of Generators

Inheritance

object > Generators.GeneratorsBase

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Methods

CreateGenerator(CreateGeneratorRequest, ServerCallContext)

public virtual Task<Generator> CreateGenerator(CreateGeneratorRequest request, ServerCallContext context)

Creates a generator in the specified agent.

Parameters
NameDescription
requestCreateGeneratorRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskGenerator

The response to send back to the client (wrapped by a task).

DeleteGenerator(DeleteGeneratorRequest, ServerCallContext)

public virtual Task<Empty> DeleteGenerator(DeleteGeneratorRequest request, ServerCallContext context)

Deletes the specified generators.

Parameters
NameDescription
requestDeleteGeneratorRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

The response to send back to the client (wrapped by a task).

GetGenerator(GetGeneratorRequest, ServerCallContext)

public virtual Task<Generator> GetGenerator(GetGeneratorRequest request, ServerCallContext context)

Retrieves the specified generator.

Parameters
NameDescription
requestGetGeneratorRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskGenerator

The response to send back to the client (wrapped by a task).

ListGenerators(ListGeneratorsRequest, ServerCallContext)

public virtual Task<ListGeneratorsResponse> ListGenerators(ListGeneratorsRequest request, ServerCallContext context)

Returns the list of all generators in the specified agent.

Parameters
NameDescription
requestListGeneratorsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListGeneratorsResponse

The response to send back to the client (wrapped by a task).

UpdateGenerator(UpdateGeneratorRequest, ServerCallContext)

public virtual Task<Generator> UpdateGenerator(UpdateGeneratorRequest request, ServerCallContext context)

Update the specified generator.

Parameters
NameDescription
requestUpdateGeneratorRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskGenerator

The response to send back to the client (wrapped by a task).