Represents a ConversationModels
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.v2.ConversationModelsPackage
@google-cloud/dialogflowConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ConversationModels 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): ConversationModels;
Creates new ConversationModels 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 |
ConversationModels | RPC service. Useful where requests and/or responses are streamed. |
createConversationModel(request, callback)
public createConversationModel(request: google.cloud.dialogflow.v2.ICreateConversationModelRequest, callback: google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelCallback): void;
Calls CreateConversationModel.
Parameters | |
---|---|
Name | Description |
request |
ICreateConversationModelRequest
CreateConversationModelRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createConversationModel(request)
public createConversationModel(request: google.cloud.dialogflow.v2.ICreateConversationModelRequest): Promise<google.longrunning.Operation>;
Calls CreateConversationModel.
Parameter | |
---|---|
Name | Description |
request |
ICreateConversationModelRequest
CreateConversationModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createConversationModelEvaluation(request, callback)
public createConversationModelEvaluation(request: google.cloud.dialogflow.v2.ICreateConversationModelEvaluationRequest, callback: google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluationCallback): void;
Calls CreateConversationModelEvaluation.
Parameters | |
---|---|
Name | Description |
request |
ICreateConversationModelEvaluationRequest
CreateConversationModelEvaluationRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluationCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createConversationModelEvaluation(request)
public createConversationModelEvaluation(request: google.cloud.dialogflow.v2.ICreateConversationModelEvaluationRequest): Promise<google.longrunning.Operation>;
Calls CreateConversationModelEvaluation.
Parameter | |
---|---|
Name | Description |
request |
ICreateConversationModelEvaluationRequest
CreateConversationModelEvaluationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteConversationModel(request, callback)
public deleteConversationModel(request: google.cloud.dialogflow.v2.IDeleteConversationModelRequest, callback: google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModelCallback): void;
Calls DeleteConversationModel.
Parameters | |
---|---|
Name | Description |
request |
IDeleteConversationModelRequest
DeleteConversationModelRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteConversationModel(request)
public deleteConversationModel(request: google.cloud.dialogflow.v2.IDeleteConversationModelRequest): Promise<google.longrunning.Operation>;
Calls DeleteConversationModel.
Parameter | |
---|---|
Name | Description |
request |
IDeleteConversationModelRequest
DeleteConversationModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deployConversationModel(request, callback)
public deployConversationModel(request: google.cloud.dialogflow.v2.IDeployConversationModelRequest, callback: google.cloud.dialogflow.v2.ConversationModels.DeployConversationModelCallback): void;
Calls DeployConversationModel.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.dialogflow.v2.IDeployConversationModelRequest
DeployConversationModelRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.DeployConversationModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deployConversationModel(request)
public deployConversationModel(request: google.cloud.dialogflow.v2.IDeployConversationModelRequest): Promise<google.longrunning.Operation>;
Calls DeployConversationModel.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.dialogflow.v2.IDeployConversationModelRequest
DeployConversationModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getConversationModel(request, callback)
public getConversationModel(request: google.cloud.dialogflow.v2.IGetConversationModelRequest, callback: google.cloud.dialogflow.v2.ConversationModels.GetConversationModelCallback): void;
Calls GetConversationModel.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.dialogflow.v2.IGetConversationModelRequest
GetConversationModelRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.GetConversationModelCallback
Node-style callback called with the error, if any, and ConversationModel |
Returns | |
---|---|
Type | Description |
void |
getConversationModel(request)
public getConversationModel(request: google.cloud.dialogflow.v2.IGetConversationModelRequest): Promise<google.cloud.dialogflow.v2.ConversationModel>;
Calls GetConversationModel.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.dialogflow.v2.IGetConversationModelRequest
GetConversationModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.v2.ConversationModel> | Promise |
getConversationModelEvaluation(request, callback)
public getConversationModelEvaluation(request: google.cloud.dialogflow.v2.IGetConversationModelEvaluationRequest, callback: google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluationCallback): void;
Calls GetConversationModelEvaluation.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.dialogflow.v2.IGetConversationModelEvaluationRequest
GetConversationModelEvaluationRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluationCallback
Node-style callback called with the error, if any, and ConversationModelEvaluation |
Returns | |
---|---|
Type | Description |
void |
getConversationModelEvaluation(request)
public getConversationModelEvaluation(request: google.cloud.dialogflow.v2.IGetConversationModelEvaluationRequest): Promise<google.cloud.dialogflow.v2.ConversationModelEvaluation>;
Calls GetConversationModelEvaluation.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.dialogflow.v2.IGetConversationModelEvaluationRequest
GetConversationModelEvaluationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.v2.ConversationModelEvaluation> | Promise |
listConversationModelEvaluations(request, callback)
public listConversationModelEvaluations(request: google.cloud.dialogflow.v2.IListConversationModelEvaluationsRequest, callback: google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluationsCallback): void;
Calls ListConversationModelEvaluations.
Parameters | |
---|---|
Name | Description |
request |
IListConversationModelEvaluationsRequest
ListConversationModelEvaluationsRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluationsCallback
Node-style callback called with the error, if any, and ListConversationModelEvaluationsResponse |
Returns | |
---|---|
Type | Description |
void |
listConversationModelEvaluations(request)
public listConversationModelEvaluations(request: google.cloud.dialogflow.v2.IListConversationModelEvaluationsRequest): Promise<google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse>;
Calls ListConversationModelEvaluations.
Parameter | |
---|---|
Name | Description |
request |
IListConversationModelEvaluationsRequest
ListConversationModelEvaluationsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse> | Promise |
listConversationModels(request, callback)
public listConversationModels(request: google.cloud.dialogflow.v2.IListConversationModelsRequest, callback: google.cloud.dialogflow.v2.ConversationModels.ListConversationModelsCallback): void;
Calls ListConversationModels.
Parameters | |
---|---|
Name | Description |
request |
IListConversationModelsRequest
ListConversationModelsRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.ListConversationModelsCallback
Node-style callback called with the error, if any, and ListConversationModelsResponse |
Returns | |
---|---|
Type | Description |
void |
listConversationModels(request)
public listConversationModels(request: google.cloud.dialogflow.v2.IListConversationModelsRequest): Promise<google.cloud.dialogflow.v2.ListConversationModelsResponse>;
Calls ListConversationModels.
Parameter | |
---|---|
Name | Description |
request |
IListConversationModelsRequest
ListConversationModelsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.v2.ListConversationModelsResponse> | Promise |
undeployConversationModel(request, callback)
public undeployConversationModel(request: google.cloud.dialogflow.v2.IUndeployConversationModelRequest, callback: google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModelCallback): void;
Calls UndeployConversationModel.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.dialogflow.v2.IUndeployConversationModelRequest
UndeployConversationModelRequest message or plain object |
callback |
google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModelCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
undeployConversationModel(request)
public undeployConversationModel(request: google.cloud.dialogflow.v2.IUndeployConversationModelRequest): Promise<google.longrunning.Operation>;
Calls UndeployConversationModel.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.dialogflow.v2.IUndeployConversationModelRequest
UndeployConversationModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |