Dialogflow v3 API - Class Generators.GeneratorsBase (2.20.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
Name Description
request CreateGeneratorRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeleteGeneratorRequest

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

GetGenerator(GetGeneratorRequest, ServerCallContext)

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

Retrieves the specified generator.

Parameters
Name Description
request GetGeneratorRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListGeneratorsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateGeneratorRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGenerator

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