public class ExperimentsClient : ClientBase<Experiments.ExperimentsClient>Client for Experiments
Inheritance
Object > ClientBase > ClientBase<Experiments.ExperimentsClient> > 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(ClientBase.ClientBaseConfiguration)
protected ExperimentsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description | 
| configuration | ClientBase.ClientBaseConfigurationThe 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, Nullable<DateTime>, CancellationToken)
public virtual Experiment CreateExperiment(CreateExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | The call object. | 
CreateExperimentAsync(CreateExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Experiment> CreateExperimentAsync(CreateExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | The call object. | 
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, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteExperiment(DeleteExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Empty> | The call object. | 
DeleteExperimentAsync(DeleteExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteExperimentAsync(DeleteExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Empty> | 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, Nullable<DateTime>, CancellationToken)
public virtual Experiment GetExperiment(GetExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | The call object. | 
GetExperimentAsync(GetExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Experiment> GetExperimentAsync(GetExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | 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, Nullable<DateTime>, CancellationToken)
public virtual ListExperimentsResponse ListExperiments(ListExperimentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<ListExperimentsResponse> | The call object. | 
ListExperimentsAsync(ListExperimentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListExperimentsResponse> ListExperimentsAsync(ListExperimentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<ListExperimentsResponse> | The call object. | 
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Experiments.ExperimentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description | 
| configuration | ClientBase.ClientBaseConfiguration | 
| Returns | |
|---|---|
| Type | Description | 
| Experiments.ExperimentsClient | |
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, Nullable<DateTime>, CancellationToken)
public virtual Experiment StartExperiment(StartExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | The call object. | 
StartExperimentAsync(StartExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Experiment> StartExperimentAsync(StartExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | 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, Nullable<DateTime>, CancellationToken)
public virtual Experiment StopExperiment(StopExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | The call object. | 
StopExperimentAsync(StopExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Experiment> StopExperimentAsync(StopExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | 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, Nullable<DateTime>, CancellationToken)
public virtual Experiment UpdateExperiment(UpdateExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | The call object. | 
UpdateExperimentAsync(UpdateExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Experiment> UpdateExperimentAsync(UpdateExperimentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 | Nullable<DateTime>An 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 | 
| AsyncUnaryCall<Experiment> | The call object. |