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