public class Experiments.ExperimentsClient : ClientBase<Experiments.ExperimentsClient>Reference documentation and code samples for the Dialogflow v3 API class Experiments.ExperimentsClient.
Client for Experiments
Inheritance
object > ClientBase > ClientBaseExperimentsExperimentsClient > Experiments.ExperimentsClientNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ExperimentsClient()
protected ExperimentsClient()Protected parameterless constructor to allow creation of test doubles.
ExperimentsClient(CallInvoker)
public ExperimentsClient(CallInvoker callInvoker)Creates a new client for Experiments that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description | 
callInvoker | 
        CallInvokerThe callInvoker to use to make remote calls.  | 
      
ExperimentsClient(ChannelBase)
public ExperimentsClient(ChannelBase channel)Creates a new client for Experiments
| Parameter | |
|---|---|
| Name | Description | 
channel | 
        ChannelBaseThe channel to use to make remote calls.  | 
      
ExperimentsClient(ClientBaseConfiguration)
protected ExperimentsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfigurationThe client configuration.  | 
      
Methods
CreateExperiment(CreateExperimentRequest, CallOptions)
public virtual Experiment CreateExperiment(CreateExperimentRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
CreateExperiment(CreateExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual Experiment CreateExperiment(CreateExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
CreateExperimentAsync(CreateExperimentRequest, CallOptions)
public virtual AsyncUnaryCall<Experiment> CreateExperimentAsync(CreateExperimentRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
CreateExperimentAsync(CreateExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Experiment> CreateExperimentAsync(CreateExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description | 
LocationsLocationsClient | 
        A new Locations.LocationsClient for the same target as this client.  | 
      
DeleteExperiment(DeleteExperimentRequest, CallOptions)
public virtual Empty DeleteExperiment(DeleteExperimentRequest request, CallOptions options)Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteExperimentRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Empty | 
        The response received from the server.  | 
      
DeleteExperiment(DeleteExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteExperiment(DeleteExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteExperimentRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Empty | 
        The response received from the server.  | 
      
DeleteExperimentAsync(DeleteExperimentRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteExperimentAsync(DeleteExperimentRequest request, CallOptions options)Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteExperimentRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEmpty | 
        The call object.  | 
      
DeleteExperimentAsync(DeleteExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteExperimentAsync(DeleteExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteExperimentRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEmpty | 
        The call object.  | 
      
GetExperiment(GetExperimentRequest, CallOptions)
public virtual Experiment GetExperiment(GetExperimentRequest request, CallOptions options)Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetExperimentRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
GetExperiment(GetExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual Experiment GetExperiment(GetExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetExperimentRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
GetExperimentAsync(GetExperimentRequest, CallOptions)
public virtual AsyncUnaryCall<Experiment> GetExperimentAsync(GetExperimentRequest request, CallOptions options)Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetExperimentRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
GetExperimentAsync(GetExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Experiment> GetExperimentAsync(GetExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetExperimentRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
ListExperiments(ListExperimentsRequest, CallOptions)
public virtual ListExperimentsResponse ListExperiments(ListExperimentsRequest request, CallOptions options)Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListExperimentsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListExperimentsResponse | 
        The response received from the server.  | 
      
ListExperiments(ListExperimentsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListExperimentsResponse ListExperiments(ListExperimentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListExperimentsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListExperimentsResponse | 
        The response received from the server.  | 
      
ListExperimentsAsync(ListExperimentsRequest, CallOptions)
public virtual AsyncUnaryCall<ListExperimentsResponse> ListExperimentsAsync(ListExperimentsRequest request, CallOptions options)Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListExperimentsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallListExperimentsResponse | 
        The call object.  | 
      
ListExperimentsAsync(ListExperimentsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListExperimentsResponse> ListExperimentsAsync(ListExperimentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListExperimentsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallListExperimentsResponse | 
        The call object.  | 
      
NewInstance(ClientBaseConfiguration)
protected override Experiments.ExperimentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfiguration | 
      
| Returns | |
|---|---|
| Type | Description | 
ExperimentsExperimentsClient | 
        |
StartExperiment(StartExperimentRequest, CallOptions)
public virtual Experiment StartExperiment(StartExperimentRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
StartExperiment(StartExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual Experiment StartExperiment(StartExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
StartExperimentAsync(StartExperimentRequest, CallOptions)
public virtual AsyncUnaryCall<Experiment> StartExperimentAsync(StartExperimentRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
StartExperimentAsync(StartExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Experiment> StartExperimentAsync(StartExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
StopExperiment(StopExperimentRequest, CallOptions)
public virtual Experiment StopExperiment(StopExperimentRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
StopExperiment(StopExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual Experiment StopExperiment(StopExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
StopExperimentAsync(StopExperimentRequest, CallOptions)
public virtual AsyncUnaryCall<Experiment> StopExperimentAsync(StopExperimentRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
StopExperimentAsync(StopExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Experiment> StopExperimentAsync(StopExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
UpdateExperiment(UpdateExperimentRequest, CallOptions)
public virtual Experiment UpdateExperiment(UpdateExperimentRequest request, CallOptions options)Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateExperimentRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
UpdateExperiment(UpdateExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual Experiment UpdateExperiment(UpdateExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateExperimentRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Experiment | 
        The response received from the server.  | 
      
UpdateExperimentAsync(UpdateExperimentRequest, CallOptions)
public virtual AsyncUnaryCall<Experiment> UpdateExperimentAsync(UpdateExperimentRequest request, CallOptions options)Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateExperimentRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  | 
      
UpdateExperimentAsync(UpdateExperimentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Experiment> UpdateExperimentAsync(UpdateExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateExperimentRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallExperiment | 
        The call object.  |