Class Experiments.ExperimentsBase (2.1.0)

[BindServiceMethod(typeof(Experiments), "BindService")]
public abstract class ExperimentsBase

Base class for server-side implementations of Experiments

Inheritance

Object > Experiments.ExperimentsBase

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Methods

CreateExperiment(CreateExperimentRequest, ServerCallContext)

public virtual Task<Experiment> CreateExperiment(CreateExperimentRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestCreateExperimentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Experiment>

The response to send back to the client (wrapped by a task).

DeleteExperiment(DeleteExperimentRequest, ServerCallContext)

public virtual Task<Empty> DeleteExperiment(DeleteExperimentRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestDeleteExperimentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

GetExperiment(GetExperimentRequest, ServerCallContext)

public virtual Task<Experiment> GetExperiment(GetExperimentRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetExperimentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Experiment>

The response to send back to the client (wrapped by a task).

ListExperiments(ListExperimentsRequest, ServerCallContext)

public virtual Task<ListExperimentsResponse> ListExperiments(ListExperimentsRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestListExperimentsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListExperimentsResponse>

The response to send back to the client (wrapped by a task).

StartExperiment(StartExperimentRequest, ServerCallContext)

public virtual Task<Experiment> StartExperiment(StartExperimentRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Experiment>

The response to send back to the client (wrapped by a task).

StopExperiment(StopExperimentRequest, ServerCallContext)

public virtual Task<Experiment> StopExperiment(StopExperimentRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Experiment>

The response to send back to the client (wrapped by a task).

UpdateExperiment(UpdateExperimentRequest, ServerCallContext)

public virtual Task<Experiment> UpdateExperiment(UpdateExperimentRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestUpdateExperimentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Experiment>

The response to send back to the client (wrapped by a task).