Google Cloud Dialogflow v2 API - Class Generators.GeneratorsBase (4.27.0)

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

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

Base class for server-side implementations of Generators

Inheritance

object > Generators.GeneratorsBase

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.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
Task Generator

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
Task Empty

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
Task Generator

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
Task ListGeneratorsResponse

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
Task Generator

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.