Constructor
new ConversationModels(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new ConversationModels service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createConversationModel(request, callback) → {undefined}
Calls CreateConversationModel.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.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 |
---|---|
undefined |
createConversationModel(request) → {Promise.<google.longrunning.Operation>}
Calls CreateConversationModel.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.ICreateConversationModelRequest |
CreateConversationModelRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
createConversationModelEvaluation(request, callback) → {undefined}
Calls CreateConversationModelEvaluation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.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 |
---|---|
undefined |
createConversationModelEvaluation(request) → {Promise.<google.longrunning.Operation>}
Calls CreateConversationModelEvaluation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.ICreateConversationModelEvaluationRequest |
CreateConversationModelEvaluationRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deleteConversationModel(request, callback) → {undefined}
Calls DeleteConversationModel.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.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 |
---|---|
undefined |
deleteConversationModel(request) → {Promise.<google.longrunning.Operation>}
Calls DeleteConversationModel.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.IDeleteConversationModelRequest |
DeleteConversationModelRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deployConversationModel(request, callback) → {undefined}
Calls DeployConversationModel.
Parameters:
Name | Type | 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 |
---|---|
undefined |
deployConversationModel(request) → {Promise.<google.longrunning.Operation>}
Calls DeployConversationModel.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.IDeployConversationModelRequest |
DeployConversationModelRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
getConversationModel(request, callback) → {undefined}
Calls GetConversationModel.
Parameters:
Name | Type | 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 |
---|---|
undefined |
getConversationModel(request) → {Promise.<google.cloud.dialogflow.v2.ConversationModel>}
Calls GetConversationModel.
Parameters:
Name | Type | 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) → {undefined}
Calls GetConversationModelEvaluation.
Parameters:
Name | Type | 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 |
---|---|
undefined |
getConversationModelEvaluation(request) → {Promise.<google.cloud.dialogflow.v2.ConversationModelEvaluation>}
Calls GetConversationModelEvaluation.
Parameters:
Name | Type | 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) → {undefined}
Calls ListConversationModelEvaluations.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.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 |
---|---|
undefined |
listConversationModelEvaluations(request) → {Promise.<google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse>}
Calls ListConversationModelEvaluations.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.IListConversationModelEvaluationsRequest |
ListConversationModelEvaluationsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse> |
Promise |
listConversationModels(request, callback) → {undefined}
Calls ListConversationModels.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.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 |
---|---|
undefined |
listConversationModels(request) → {Promise.<google.cloud.dialogflow.v2.ListConversationModelsResponse>}
Calls ListConversationModels.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.IListConversationModelsRequest |
ListConversationModelsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.v2.ListConversationModelsResponse> |
Promise |
undeployConversationModel(request, callback) → {undefined}
Calls UndeployConversationModel.
Parameters:
Name | Type | 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 |
---|---|
undefined |
undeployConversationModel(request) → {Promise.<google.longrunning.Operation>}
Calls UndeployConversationModel.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2.IUndeployConversationModelRequest |
UndeployConversationModelRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ConversationModels}
Creates new ConversationModels service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
ConversationModels |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateConversationModelCallback(error, responseopt)
Callback as used by createConversationModel.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
CreateConversationModelEvaluationCallback(error, responseopt)
Callback as used by createConversationModelEvaluation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteConversationModelCallback(error, responseopt)
Callback as used by deleteConversationModel.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeployConversationModelCallback(error, responseopt)
Callback as used by deployConversationModel.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
GetConversationModelCallback(error, responseopt)
Callback as used by getConversationModel.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.v2.ConversationModel |
<optional> |
ConversationModel |
GetConversationModelEvaluationCallback(error, responseopt)
Callback as used by getConversationModelEvaluation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.v2.ConversationModelEvaluation |
<optional> |
ConversationModelEvaluation |
ListConversationModelEvaluationsCallback(error, responseopt)
Callback as used by listConversationModelEvaluations.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse |
<optional> |
ListConversationModelEvaluationsResponse |
ListConversationModelsCallback(error, responseopt)
Callback as used by listConversationModels.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.v2.ListConversationModelsResponse |
<optional> |
ListConversationModelsResponse |
UndeployConversationModelCallback(error, responseopt)
Callback as used by undeployConversationModel.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |