Google Cloud Dialogflow v2beta1 API - Class Generators.GeneratorsBase (1.0.0-beta20)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Generators.GeneratorsBase.

Base class for server-side implementations of Generators

Inheritance

object > Generators.GeneratorsBase

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Methods

CreateGenerator(CreateGeneratorRequest, ServerCallContext)

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

Creates a generator.

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 a generator.

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

Lists generators.

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)

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