public sealed class ExperimentsClientImpl : ExperimentsClient
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(Experiments.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 | Experiments.ExperimentsClient The underlying gRPC client. |
settings | ExperimentsSettings The base ExperimentsSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override Experiments.ExperimentsClient GrpcClient { get; }
The underlying gRPC Experiments client
Property Value | |
---|---|
Type | Description |
Experiments.ExperimentsClient |
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 | CreateExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | CreateExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Experiment> | 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 | DeleteExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | DeleteExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | GetExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | GetExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Experiment> | 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 | ListExperimentsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListExperimentsResponse, Experiment> | 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 | ListExperimentsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListExperimentsResponse, Experiment> | 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 | StartExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | StartExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Experiment> | 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 | StopExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | StopExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Experiment> | 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 | UpdateExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | UpdateExperimentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Experiment> | A Task containing the RPC response. |