public sealed class ExperimentsClientImpl : ExperimentsClientReference documentation and code samples for the Dialogflow v3 API class ExperimentsClientImpl.
Experiments client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 |
ExperimentsExperimentsClientThe underlying gRPC client. |
settings |
ExperimentsSettingsThe base ExperimentsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Experiments.ExperimentsClient GrpcClient { get; }The underlying gRPC Experiments client
| Property Value | |
|---|---|
| Type | Description |
ExperimentsExperimentsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
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 |
CreateExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Experiment |
The RPC response. |
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 |
CreateExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExperiment |
A Task containing the RPC response. |
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 |
DeleteExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
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 |
DeleteExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
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 |
GetExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Experiment |
The RPC response. |
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 |
GetExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExperiment |
A Task containing the RPC response. |
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 |
ListExperimentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExperimentsResponseExperiment |
A pageable sequence of Experiment resources. |
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 |
ListExperimentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExperimentsResponseExperiment |
A pageable asynchronous sequence of Experiment resources. |
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 |
StartExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Experiment |
The RPC response. |
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 |
StartExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExperiment |
A Task containing the RPC response. |
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 |
StopExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Experiment |
The RPC response. |
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 |
StopExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExperiment |
A Task containing the RPC response. |
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 |
UpdateExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Experiment |
The RPC response. |
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 |
UpdateExperimentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExperiment |
A Task containing the RPC response. |