Dialogflow v3 API - Class GeneratorsClientImpl (2.18.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
Name Description
grpcClient GeneratorsGeneratorsClient

The underlying gRPC client.

settings GeneratorsSettings

The base GeneratorsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Generators.GeneratorsClient GrpcClient { get; }

The underlying gRPC Generators client

Property Value
Type Description
GeneratorsGeneratorsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateGenerator(CreateGeneratorRequest, CallSettings)

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

Creates a generator in the specified agent.

Parameters
Name Description
request CreateGeneratorRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Generator

The RPC response.

Overrides

GetGeneratorAsync(GetGeneratorRequest, CallSettings)

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

Retrieves the specified generator.

Parameters
Name Description
request GetGeneratorRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Generator

The RPC response.

Overrides

UpdateGeneratorAsync(UpdateGeneratorRequest, CallSettings)

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

Update the specified generator.

Parameters
Name Description
request UpdateGeneratorRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGenerator

A Task containing the RPC response.

Overrides