Dialogflow v3 API - Class ExperimentsClientImpl (2.11.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
NameDescription
grpcClientExperimentsExperimentsClient

The underlying gRPC client.

settingsExperimentsSettings

The base ExperimentsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Experiments.ExperimentsClient GrpcClient { get; }

The underlying gRPC Experiments client

Property Value
TypeDescription
ExperimentsExperimentsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
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
NameDescription
requestCreateExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteExperimentRequest

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

callSettingsCallSettings

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
NameDescription
requestDeleteExperimentRequest

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

GetExperiment(GetExperimentRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListExperimentsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListExperimentsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestStartExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestStartExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestStopExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestStopExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateExperimentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskExperiment

A Task containing the RPC response.

Overrides