Dialogflow v3 API - Class ExperimentsClientImpl (2.20.0)

public sealed class ExperimentsClientImpl : ExperimentsClient

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

Experiments client wrapper implementation, for convenient use.

Inheritance

object > ExperimentsClient > ExperimentsClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [Experiments][google.cloud.dialogflow.cx.v3.Experiment].

Constructors

ExperimentsClientImpl(ExperimentsClient, ExperimentsSettings, ILogger)

public ExperimentsClientImpl(Experiments.ExperimentsClient grpcClient, ExperimentsSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient ExperimentsExperimentsClient

The underlying gRPC client.

settings ExperimentsSettings

The base ExperimentsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Experiments.ExperimentsClient GrpcClient { get; }

The underlying gRPC Experiments client

Property Value
Type Description
ExperimentsExperimentsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateExperiment(CreateExperimentRequest, CallSettings)

public override Experiment CreateExperiment(CreateExperimentRequest request, CallSettings callSettings = null)

Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
Name Description
request CreateExperimentRequest

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
Experiment

The RPC response.

Overrides

CreateExperimentAsync(CreateExperimentRequest, CallSettings)

public override Task<Experiment> CreateExperimentAsync(CreateExperimentRequest request, CallSettings callSettings = null)

Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
Name Description
request CreateExperimentRequest

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
TaskExperiment

A Task containing the RPC response.

Overrides

DeleteExperiment(DeleteExperimentRequest, CallSettings)

public override void DeleteExperiment(DeleteExperimentRequest request, CallSettings callSettings = null)

Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
Name Description
request DeleteExperimentRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteExperimentAsync(DeleteExperimentRequest, CallSettings)

public override Task DeleteExperimentAsync(DeleteExperimentRequest request, CallSettings callSettings = null)

Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
Name Description
request DeleteExperimentRequest

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

GetExperiment(GetExperimentRequest, CallSettings)

public override Experiment GetExperiment(GetExperimentRequest request, CallSettings callSettings = null)

Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
Name Description
request GetExperimentRequest

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
Experiment

The RPC response.

Overrides

GetExperimentAsync(GetExperimentRequest, CallSettings)

public override Task<Experiment> GetExperimentAsync(GetExperimentRequest request, CallSettings callSettings = null)

Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
Name Description
request GetExperimentRequest

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
TaskExperiment

A Task containing the RPC response.

Overrides

ListExperiments(ListExperimentsRequest, CallSettings)

public override PagedEnumerable<ListExperimentsResponse, Experiment> ListExperiments(ListExperimentsRequest request, CallSettings callSettings = null)

Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
Name Description
request ListExperimentsRequest

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
PagedEnumerableListExperimentsResponseExperiment

A pageable sequence of Experiment resources.

Overrides

ListExperimentsAsync(ListExperimentsRequest, CallSettings)

public override PagedAsyncEnumerable<ListExperimentsResponse, Experiment> ListExperimentsAsync(ListExperimentsRequest request, CallSettings callSettings = null)

Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
Name Description
request ListExperimentsRequest

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
PagedAsyncEnumerableListExperimentsResponseExperiment

A pageable asynchronous sequence of Experiment resources.

Overrides

StartExperiment(StartExperimentRequest, CallSettings)

public override Experiment StartExperiment(StartExperimentRequest request, CallSettings callSettings = null)

Starts the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from PENDING to RUNNING.

Parameters
Name Description
request StartExperimentRequest

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
Experiment

The RPC response.

Overrides

StartExperimentAsync(StartExperimentRequest, CallSettings)

public override Task<Experiment> StartExperimentAsync(StartExperimentRequest request, CallSettings callSettings = null)

Starts the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from PENDING to RUNNING.

Parameters
Name Description
request StartExperimentRequest

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
TaskExperiment

A Task containing the RPC response.

Overrides

StopExperiment(StopExperimentRequest, CallSettings)

public override Experiment StopExperiment(StopExperimentRequest request, CallSettings callSettings = null)

Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from RUNNING to DONE.

Parameters
Name Description
request StopExperimentRequest

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
Experiment

The RPC response.

Overrides

StopExperimentAsync(StopExperimentRequest, CallSettings)

public override Task<Experiment> StopExperimentAsync(StopExperimentRequest request, CallSettings callSettings = null)

Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from RUNNING to DONE.

Parameters
Name Description
request StopExperimentRequest

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
TaskExperiment

A Task containing the RPC response.

Overrides

UpdateExperiment(UpdateExperimentRequest, CallSettings)

public override Experiment UpdateExperiment(UpdateExperimentRequest request, CallSettings callSettings = null)

Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
Name Description
request UpdateExperimentRequest

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
Experiment

The RPC response.

Overrides

UpdateExperimentAsync(UpdateExperimentRequest, CallSettings)

public override Task<Experiment> UpdateExperimentAsync(UpdateExperimentRequest request, CallSettings callSettings = null)

Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
Name Description
request UpdateExperimentRequest

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
TaskExperiment

A Task containing the RPC response.

Overrides