Dialogflow v3 API - Class GeneratorsClientImpl (2.17.0)

public sealed class GeneratorsClientImpl : GeneratorsClient

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

Generators client wrapper implementation, for convenient use.

Inheritance

object > GeneratorsClient > GeneratorsClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [Generators][google.cloud.dialogflow.cx.v3.Generator]

Constructors

GeneratorsClientImpl(GeneratorsClient, GeneratorsSettings, ILogger)

public GeneratorsClientImpl(Generators.GeneratorsClient grpcClient, GeneratorsSettings settings, ILogger logger)

Constructs a client wrapper for the Generators service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientGeneratorsGeneratorsClient

The underlying gRPC client.

settingsGeneratorsSettings

The base GeneratorsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Generators.GeneratorsClient GrpcClient { get; }

The underlying gRPC Generators client

Property Value
TypeDescription
GeneratorsGeneratorsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreateGenerator(CreateGeneratorRequest, CallSettings)

public override Generator CreateGenerator(CreateGeneratorRequest request, CallSettings callSettings = null)

Creates a generator in the specified agent.

Parameters
NameDescription
requestCreateGeneratorRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Generator

The RPC response.

Overrides

CreateGeneratorAsync(CreateGeneratorRequest, CallSettings)

public override Task<Generator> CreateGeneratorAsync(CreateGeneratorRequest request, CallSettings callSettings = null)

Creates a generator in the specified agent.

Parameters
NameDescription
requestCreateGeneratorRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskGenerator

A Task containing the RPC response.

Overrides

DeleteGenerator(DeleteGeneratorRequest, CallSettings)

public override void DeleteGenerator(DeleteGeneratorRequest request, CallSettings callSettings = null)

Deletes the specified generators.

Parameters
NameDescription
requestDeleteGeneratorRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteGeneratorAsync(DeleteGeneratorRequest, CallSettings)

public override Task DeleteGeneratorAsync(DeleteGeneratorRequest request, CallSettings callSettings = null)

Deletes the specified generators.

Parameters
NameDescription
requestDeleteGeneratorRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetGenerator(GetGeneratorRequest, CallSettings)

public override Generator GetGenerator(GetGeneratorRequest request, CallSettings callSettings = null)

Retrieves the specified generator.

Parameters
NameDescription
requestGetGeneratorRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Generator

The RPC response.

Overrides

GetGeneratorAsync(GetGeneratorRequest, CallSettings)

public override Task<Generator> GetGeneratorAsync(GetGeneratorRequest request, CallSettings callSettings = null)

Retrieves the specified generator.

Parameters
NameDescription
requestGetGeneratorRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskGenerator

A Task containing the RPC response.

Overrides

ListGenerators(ListGeneratorsRequest, CallSettings)

public override PagedEnumerable<ListGeneratorsResponse, Generator> ListGenerators(ListGeneratorsRequest request, CallSettings callSettings = null)

Returns the list of all generators in the specified agent.

Parameters
NameDescription
requestListGeneratorsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListGeneratorsResponseGenerator

A pageable sequence of Generator resources.

Overrides

ListGeneratorsAsync(ListGeneratorsRequest, CallSettings)

public override PagedAsyncEnumerable<ListGeneratorsResponse, Generator> ListGeneratorsAsync(ListGeneratorsRequest request, CallSettings callSettings = null)

Returns the list of all generators in the specified agent.

Parameters
NameDescription
requestListGeneratorsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListGeneratorsResponseGenerator

A pageable asynchronous sequence of Generator resources.

Overrides

UpdateGenerator(UpdateGeneratorRequest, CallSettings)

public override Generator UpdateGenerator(UpdateGeneratorRequest request, CallSettings callSettings = null)

Update the specified generator.

Parameters
NameDescription
requestUpdateGeneratorRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Generator

The RPC response.

Overrides

UpdateGeneratorAsync(UpdateGeneratorRequest, CallSettings)

public override Task<Generator> UpdateGeneratorAsync(UpdateGeneratorRequest request, CallSettings callSettings = null)

Update the specified generator.

Parameters
NameDescription
requestUpdateGeneratorRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskGenerator

A Task containing the RPC response.

Overrides