[BindServiceMethod(typeof(Experiments), "BindService")]
public abstract class ExperimentsBase
Reference documentation and code samples for the Dialogflow v3 API class Experiments.ExperimentsBase.
Base 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 | CreateExperimentRequest The request received from the client. |
context | ServerCallContext The 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 | DeleteExperimentRequest The request received from the client. |
context | ServerCallContext The 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 | GetExperimentRequest The request received from the client. |
context | ServerCallContext The 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 | ListExperimentsRequest The request received from the client. |
context | ServerCallContext The 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 | StartExperimentRequest The request received from the client. |
context | ServerCallContext The 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 | StopExperimentRequest The request received from the client. |
context | ServerCallContext The 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 | UpdateExperimentRequest The request received from the client. |
context | ServerCallContext The 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). |