[BindServiceMethod(typeof(Experiments), "BindService")]
public abstract class ExperimentsBaseBase class for server-side implementations of Experiments
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 | |
|---|---|
| Name | Description |
request |
CreateExperimentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteExperimentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetExperimentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListExperimentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
StartExperimentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
StopExperimentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateExperimentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Experiment> |
The response to send back to the client (wrapped by a task). |