Represents an Experiments
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3.ExperimentsPackage
@google-cloud/dialogflow-cxConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Experiments service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Experiments;
Creates new Experiments service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
Experiments | RPC service. Useful where requests and/or responses are streamed. |
createExperiment(request, callback)
public createExperiment(request: google.cloud.dialogflow.cx.v3.ICreateExperimentRequest, callback: google.cloud.dialogflow.cx.v3.Experiments.CreateExperimentCallback): void;
Calls CreateExperiment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.ICreateExperimentRequest
CreateExperimentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.Experiments.CreateExperimentCallback
Node-style callback called with the error, if any, and Experiment |
Type | Description |
void |
createExperiment(request)
public createExperiment(request: google.cloud.dialogflow.cx.v3.ICreateExperimentRequest): Promise<google.cloud.dialogflow.cx.v3.Experiment>;
Calls CreateExperiment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.ICreateExperimentRequest
CreateExperimentRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3.Experiment> | Promise |
deleteExperiment(request, callback)
public deleteExperiment(request: google.cloud.dialogflow.cx.v3.IDeleteExperimentRequest, callback: google.cloud.dialogflow.cx.v3.Experiments.DeleteExperimentCallback): void;
Calls DeleteExperiment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.IDeleteExperimentRequest
DeleteExperimentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.Experiments.DeleteExperimentCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteExperiment(request)
public deleteExperiment(request: google.cloud.dialogflow.cx.v3.IDeleteExperimentRequest): Promise<google.protobuf.Empty>;
Calls DeleteExperiment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.IDeleteExperimentRequest
DeleteExperimentRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getExperiment(request, callback)
public getExperiment(request: google.cloud.dialogflow.cx.v3.IGetExperimentRequest, callback: google.cloud.dialogflow.cx.v3.Experiments.GetExperimentCallback): void;
Calls GetExperiment.
Name | Description |
request |
IGetExperimentRequest
GetExperimentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.Experiments.GetExperimentCallback
Node-style callback called with the error, if any, and Experiment |
Type | Description |
void |
getExperiment(request)
public getExperiment(request: google.cloud.dialogflow.cx.v3.IGetExperimentRequest): Promise<google.cloud.dialogflow.cx.v3.Experiment>;
Calls GetExperiment.
Name | Description |
request |
IGetExperimentRequest
GetExperimentRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3.Experiment> | Promise |
listExperiments(request, callback)
public listExperiments(request: google.cloud.dialogflow.cx.v3.IListExperimentsRequest, callback: google.cloud.dialogflow.cx.v3.Experiments.ListExperimentsCallback): void;
Calls ListExperiments.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.IListExperimentsRequest
ListExperimentsRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.Experiments.ListExperimentsCallback
Node-style callback called with the error, if any, and ListExperimentsResponse |
Type | Description |
void |
listExperiments(request)
public listExperiments(request: google.cloud.dialogflow.cx.v3.IListExperimentsRequest): Promise<google.cloud.dialogflow.cx.v3.ListExperimentsResponse>;
Calls ListExperiments.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.IListExperimentsRequest
ListExperimentsRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3.ListExperimentsResponse> | Promise |
startExperiment(request, callback)
public startExperiment(request: google.cloud.dialogflow.cx.v3.IStartExperimentRequest, callback: google.cloud.dialogflow.cx.v3.Experiments.StartExperimentCallback): void;
Calls StartExperiment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.IStartExperimentRequest
StartExperimentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.Experiments.StartExperimentCallback
Node-style callback called with the error, if any, and Experiment |
Type | Description |
void |
startExperiment(request)
public startExperiment(request: google.cloud.dialogflow.cx.v3.IStartExperimentRequest): Promise<google.cloud.dialogflow.cx.v3.Experiment>;
Calls StartExperiment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.IStartExperimentRequest
StartExperimentRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3.Experiment> | Promise |
stopExperiment(request, callback)
public stopExperiment(request: google.cloud.dialogflow.cx.v3.IStopExperimentRequest, callback: google.cloud.dialogflow.cx.v3.Experiments.StopExperimentCallback): void;
Calls StopExperiment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.IStopExperimentRequest
StopExperimentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.Experiments.StopExperimentCallback
Node-style callback called with the error, if any, and Experiment |
Type | Description |
void |
stopExperiment(request)
public stopExperiment(request: google.cloud.dialogflow.cx.v3.IStopExperimentRequest): Promise<google.cloud.dialogflow.cx.v3.Experiment>;
Calls StopExperiment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3.IStopExperimentRequest
StopExperimentRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3.Experiment> | Promise |
updateExperiment(request, callback)
public updateExperiment(request: google.cloud.dialogflow.cx.v3.IUpdateExperimentRequest, callback: google.cloud.dialogflow.cx.v3.Experiments.UpdateExperimentCallback): void;
Calls UpdateExperiment.
Name | Description |
request |
IUpdateExperimentRequest
UpdateExperimentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.Experiments.UpdateExperimentCallback
Node-style callback called with the error, if any, and Experiment |
Type | Description |
void |
updateExperiment(request)
public updateExperiment(request: google.cloud.dialogflow.cx.v3.IUpdateExperimentRequest): Promise<google.cloud.dialogflow.cx.v3.Experiment>;
Calls UpdateExperiment.
Name | Description |
request |
IUpdateExperimentRequest
UpdateExperimentRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3.Experiment> | Promise |