Class Experiments.ExperimentsClient (1.0.0)

public class ExperimentsClient : ClientBase<Experiments.ExperimentsClient>

Client for Experiments

Inheritance

System.Object > Grpc.Core.ClientBase > Grpc.Core.ClientBase<Experiments.ExperimentsClient> > Experiments.ExperimentsClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

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
NameDescription
callInvokerGrpc.Core.CallInvoker

The callInvoker to use to make remote calls.

ExperimentsClient(ChannelBase)

public ExperimentsClient(ChannelBase channel)

Creates a new client for Experiments

Parameter
NameDescription
channelGrpc.Core.ChannelBase

The channel to use to make remote calls.

ExperimentsClient(ClientBase.ClientBaseConfiguration)

protected ExperimentsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationGrpc.Core.ClientBase.ClientBaseConfiguration

The 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
NameDescription
requestCreateExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Experiment

The response received from the server.

CreateExperiment(CreateExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Experiment CreateExperiment(CreateExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestCreateExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<Experiment>

The call object.

CreateExperimentAsync(CreateExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Experiment> CreateExperimentAsync(CreateExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestCreateExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Grpc.Core.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
NameDescription
requestDeleteExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Google.Protobuf.WellKnownTypes.Empty

The response received from the server.

DeleteExperiment(DeleteExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteExperiment(DeleteExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
NameDescription
requestDeleteExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Google.Protobuf.WellKnownTypes.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
NameDescription
requestDeleteExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty>

The call object.

DeleteExperimentAsync(DeleteExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteExperimentAsync(DeleteExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
NameDescription
requestDeleteExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.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
NameDescription
requestGetExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Experiment

The response received from the server.

GetExperiment(GetExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Experiment GetExperiment(GetExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
NameDescription
requestGetExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<Experiment>

The call object.

GetExperimentAsync(GetExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Experiment> GetExperimentAsync(GetExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
NameDescription
requestGetExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Grpc.Core.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
NameDescription
requestListExperimentsRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
ListExperimentsResponse

The response received from the server.

ListExperiments(ListExperimentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListExperimentsResponse ListExperiments(ListExperimentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestListExperimentsRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListExperimentsRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<ListExperimentsResponse>

The call object.

ListExperimentsAsync(ListExperimentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListExperimentsResponse> ListExperimentsAsync(ListExperimentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestListExperimentsRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Grpc.Core.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
NameDescription
configurationGrpc.Core.ClientBase.ClientBaseConfiguration
Returns
TypeDescription
Experiments.ExperimentsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dialogflow.Cx.V3.Experiments.ExperimentsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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
NameDescription
requestStartExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Experiment

The response received from the server.

StartExperiment(StartExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Experiment StartExperiment(StartExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestStartExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestStartExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<Experiment>

The call object.

StartExperimentAsync(StartExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Experiment> StartExperimentAsync(StartExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestStartExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Grpc.Core.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
NameDescription
requestStopExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Experiment

The response received from the server.

StopExperiment(StopExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Experiment StopExperiment(StopExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestStopExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestStopExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<Experiment>

The call object.

StopExperimentAsync(StopExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Experiment> StopExperimentAsync(StopExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestStopExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Grpc.Core.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
NameDescription
requestUpdateExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Experiment

The response received from the server.

UpdateExperiment(UpdateExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Experiment UpdateExperiment(UpdateExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
NameDescription
requestUpdateExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestUpdateExperimentRequest

The request to send to the server.

optionsGrpc.Core.CallOptions

The options for the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<Experiment>

The call object.

UpdateExperimentAsync(UpdateExperimentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Experiment> UpdateExperimentAsync(UpdateExperimentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].

Parameters
NameDescription
requestUpdateExperimentRequest

The request to send to the server.

headersGrpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Grpc.Core.AsyncUnaryCall<Experiment>

The call object.