Dialogflow v3 API - Class Generators.GeneratorsClient (2.16.0)

public class Generators.GeneratorsClient : ClientBase<Generators.GeneratorsClient>

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

Client for Generators

Inheritance

object > ClientBase > ClientBaseGeneratorsGeneratorsClient > Generators.GeneratorsClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

GeneratorsClient()

protected GeneratorsClient()

Protected parameterless constructor to allow creation of test doubles.

GeneratorsClient(CallInvoker)

public GeneratorsClient(CallInvoker callInvoker)

Creates a new client for Generators that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GeneratorsClient(ChannelBase)

public GeneratorsClient(ChannelBase channel)

Creates a new client for Generators

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

GeneratorsClient(ClientBaseConfiguration)

protected GeneratorsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateGenerator(CreateGeneratorRequest, CallOptions)

public virtual Generator CreateGenerator(CreateGeneratorRequest request, CallOptions options)

Creates a generator in the specified agent.

Parameters
NameDescription
requestCreateGeneratorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Generator

The response received from the server.

CreateGenerator(CreateGeneratorRequest, Metadata, DateTime?, CancellationToken)

public virtual Generator CreateGenerator(CreateGeneratorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a generator in the specified agent.

Parameters
NameDescription
requestCreateGeneratorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Generator

The response received from the server.

CreateGeneratorAsync(CreateGeneratorRequest, CallOptions)

public virtual AsyncUnaryCall<Generator> CreateGeneratorAsync(CreateGeneratorRequest request, CallOptions options)

Creates a generator in the specified agent.

Parameters
NameDescription
requestCreateGeneratorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGenerator

The call object.

CreateGeneratorAsync(CreateGeneratorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Generator> CreateGeneratorAsync(CreateGeneratorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a generator in the specified agent.

Parameters
NameDescription
requestCreateGeneratorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallGenerator

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

DeleteGenerator(DeleteGeneratorRequest, CallOptions)

public virtual Empty DeleteGenerator(DeleteGeneratorRequest request, CallOptions options)

Deletes the specified generators.

Parameters
NameDescription
requestDeleteGeneratorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteGenerator(DeleteGeneratorRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteGenerator(DeleteGeneratorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified generators.

Parameters
NameDescription
requestDeleteGeneratorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteGeneratorAsync(DeleteGeneratorRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteGeneratorAsync(DeleteGeneratorRequest request, CallOptions options)

Deletes the specified generators.

Parameters
NameDescription
requestDeleteGeneratorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteGeneratorAsync(DeleteGeneratorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteGeneratorAsync(DeleteGeneratorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified generators.

Parameters
NameDescription
requestDeleteGeneratorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

GetGenerator(GetGeneratorRequest, CallOptions)

public virtual Generator GetGenerator(GetGeneratorRequest request, CallOptions options)

Retrieves the specified generator.

Parameters
NameDescription
requestGetGeneratorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Generator

The response received from the server.

GetGenerator(GetGeneratorRequest, Metadata, DateTime?, CancellationToken)

public virtual Generator GetGenerator(GetGeneratorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the specified generator.

Parameters
NameDescription
requestGetGeneratorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Generator

The response received from the server.

GetGeneratorAsync(GetGeneratorRequest, CallOptions)

public virtual AsyncUnaryCall<Generator> GetGeneratorAsync(GetGeneratorRequest request, CallOptions options)

Retrieves the specified generator.

Parameters
NameDescription
requestGetGeneratorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGenerator

The call object.

GetGeneratorAsync(GetGeneratorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Generator> GetGeneratorAsync(GetGeneratorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the specified generator.

Parameters
NameDescription
requestGetGeneratorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallGenerator

The call object.

ListGenerators(ListGeneratorsRequest, CallOptions)

public virtual ListGeneratorsResponse ListGenerators(ListGeneratorsRequest request, CallOptions options)

Returns the list of all generators in the specified agent.

Parameters
NameDescription
requestListGeneratorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListGeneratorsResponse

The response received from the server.

ListGenerators(ListGeneratorsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListGeneratorsResponse ListGenerators(ListGeneratorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all generators in the specified agent.

Parameters
NameDescription
requestListGeneratorsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListGeneratorsResponse

The response received from the server.

ListGeneratorsAsync(ListGeneratorsRequest, CallOptions)

public virtual AsyncUnaryCall<ListGeneratorsResponse> ListGeneratorsAsync(ListGeneratorsRequest request, CallOptions options)

Returns the list of all generators in the specified agent.

Parameters
NameDescription
requestListGeneratorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListGeneratorsResponse

The call object.

ListGeneratorsAsync(ListGeneratorsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListGeneratorsResponse> ListGeneratorsAsync(ListGeneratorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all generators in the specified agent.

Parameters
NameDescription
requestListGeneratorsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListGeneratorsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Generators.GeneratorsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
GeneratorsGeneratorsClient
Overrides

UpdateGenerator(UpdateGeneratorRequest, CallOptions)

public virtual Generator UpdateGenerator(UpdateGeneratorRequest request, CallOptions options)

Update the specified generator.

Parameters
NameDescription
requestUpdateGeneratorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Generator

The response received from the server.

UpdateGenerator(UpdateGeneratorRequest, Metadata, DateTime?, CancellationToken)

public virtual Generator UpdateGenerator(UpdateGeneratorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update the specified generator.

Parameters
NameDescription
requestUpdateGeneratorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Generator

The response received from the server.

UpdateGeneratorAsync(UpdateGeneratorRequest, CallOptions)

public virtual AsyncUnaryCall<Generator> UpdateGeneratorAsync(UpdateGeneratorRequest request, CallOptions options)

Update the specified generator.

Parameters
NameDescription
requestUpdateGeneratorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGenerator

The call object.

UpdateGeneratorAsync(UpdateGeneratorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Generator> UpdateGeneratorAsync(UpdateGeneratorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update the specified generator.

Parameters
NameDescription
requestUpdateGeneratorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallGenerator

The call object.