Represents a Flows
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.FlowsPackage
@google-cloud/dialogflow-cxConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Flows 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): Flows;
Creates new Flows 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 |
Flows | RPC service. Useful where requests and/or responses are streamed. |
createFlow(request, callback)
public createFlow(request: google.cloud.dialogflow.cx.v3beta1.ICreateFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlowCallback): void;
Calls CreateFlow.
Name | Description |
request |
ICreateFlowRequest
CreateFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlowCallback
Node-style callback called with the error, if any, and Flow |
Type | Description |
void |
createFlow(request)
public createFlow(request: google.cloud.dialogflow.cx.v3beta1.ICreateFlowRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Flow>;
Calls CreateFlow.
Name | Description |
request |
ICreateFlowRequest
CreateFlowRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.Flow> | Promise |
deleteFlow(request, callback)
public deleteFlow(request: google.cloud.dialogflow.cx.v3beta1.IDeleteFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlowCallback): void;
Calls DeleteFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IDeleteFlowRequest
DeleteFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlowCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteFlow(request)
public deleteFlow(request: google.cloud.dialogflow.cx.v3beta1.IDeleteFlowRequest): Promise<google.protobuf.Empty>;
Calls DeleteFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IDeleteFlowRequest
DeleteFlowRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
exportFlow(request, callback)
public exportFlow(request: google.cloud.dialogflow.cx.v3beta1.IExportFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlowCallback): void;
Calls ExportFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IExportFlowRequest
ExportFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlowCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
exportFlow(request)
public exportFlow(request: google.cloud.dialogflow.cx.v3beta1.IExportFlowRequest): Promise<google.longrunning.Operation>;
Calls ExportFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IExportFlowRequest
ExportFlowRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getFlow(request, callback)
public getFlow(request: google.cloud.dialogflow.cx.v3beta1.IGetFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowCallback): void;
Calls GetFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IGetFlowRequest
GetFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowCallback
Node-style callback called with the error, if any, and Flow |
Type | Description |
void |
getFlow(request)
public getFlow(request: google.cloud.dialogflow.cx.v3beta1.IGetFlowRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Flow>;
Calls GetFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IGetFlowRequest
GetFlowRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.Flow> | Promise |
getFlowValidationResult(request, callback)
public getFlowValidationResult(request: google.cloud.dialogflow.cx.v3beta1.IGetFlowValidationResultRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResultCallback): void;
Calls GetFlowValidationResult.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IGetFlowValidationResultRequest
GetFlowValidationResultRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResultCallback
Node-style callback called with the error, if any, and FlowValidationResult |
Type | Description |
void |
getFlowValidationResult(request)
public getFlowValidationResult(request: google.cloud.dialogflow.cx.v3beta1.IGetFlowValidationResultRequest): Promise<google.cloud.dialogflow.cx.v3beta1.FlowValidationResult>;
Calls GetFlowValidationResult.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IGetFlowValidationResultRequest
GetFlowValidationResultRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.FlowValidationResult> | Promise |
importFlow(request, callback)
public importFlow(request: google.cloud.dialogflow.cx.v3beta1.IImportFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlowCallback): void;
Calls ImportFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IImportFlowRequest
ImportFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlowCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
importFlow(request)
public importFlow(request: google.cloud.dialogflow.cx.v3beta1.IImportFlowRequest): Promise<google.longrunning.Operation>;
Calls ImportFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IImportFlowRequest
ImportFlowRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
listFlows(request, callback)
public listFlows(request: google.cloud.dialogflow.cx.v3beta1.IListFlowsRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.ListFlowsCallback): void;
Calls ListFlows.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IListFlowsRequest
ListFlowsRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.ListFlowsCallback
Node-style callback called with the error, if any, and ListFlowsResponse |
Type | Description |
void |
listFlows(request)
public listFlows(request: google.cloud.dialogflow.cx.v3beta1.IListFlowsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse>;
Calls ListFlows.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IListFlowsRequest
ListFlowsRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse> | Promise |
trainFlow(request, callback)
public trainFlow(request: google.cloud.dialogflow.cx.v3beta1.ITrainFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlowCallback): void;
Calls TrainFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.ITrainFlowRequest
TrainFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlowCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
trainFlow(request)
public trainFlow(request: google.cloud.dialogflow.cx.v3beta1.ITrainFlowRequest): Promise<google.longrunning.Operation>;
Calls TrainFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.ITrainFlowRequest
TrainFlowRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateFlow(request, callback)
public updateFlow(request: google.cloud.dialogflow.cx.v3beta1.IUpdateFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlowCallback): void;
Calls UpdateFlow.
Name | Description |
request |
IUpdateFlowRequest
UpdateFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlowCallback
Node-style callback called with the error, if any, and Flow |
Type | Description |
void |
updateFlow(request)
public updateFlow(request: google.cloud.dialogflow.cx.v3beta1.IUpdateFlowRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Flow>;
Calls UpdateFlow.
Name | Description |
request |
IUpdateFlowRequest
UpdateFlowRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.Flow> | Promise |
validateFlow(request, callback)
public validateFlow(request: google.cloud.dialogflow.cx.v3beta1.IValidateFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlowCallback): void;
Calls ValidateFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IValidateFlowRequest
ValidateFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlowCallback
Node-style callback called with the error, if any, and FlowValidationResult |
Type | Description |
void |
validateFlow(request)
public validateFlow(request: google.cloud.dialogflow.cx.v3beta1.IValidateFlowRequest): Promise<google.cloud.dialogflow.cx.v3beta1.FlowValidationResult>;
Calls ValidateFlow.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IValidateFlowRequest
ValidateFlowRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.FlowValidationResult> | Promise |