Constructor
new ConversationProfiles(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new ConversationProfiles 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
clearSuggestionFeatureConfig(request, callback) → {undefined}
Calls ClearSuggestionFeatureConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IClearSuggestionFeatureConfigRequest |
ClearSuggestionFeatureConfigRequest message or plain object |
callback |
google.cloud.dialogflow.v2beta1.ConversationProfiles.ClearSuggestionFeatureConfigCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
clearSuggestionFeatureConfig(request) → {Promise.<google.longrunning.Operation>}
Calls ClearSuggestionFeatureConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IClearSuggestionFeatureConfigRequest |
ClearSuggestionFeatureConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
createConversationProfile(request, callback) → {undefined}
Calls CreateConversationProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.ICreateConversationProfileRequest |
CreateConversationProfileRequest message or plain object |
callback |
google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfileCallback |
Node-style callback called with the error, if any, and ConversationProfile |
Returns:
Type | Description |
---|---|
undefined |
createConversationProfile(request) → {Promise.<google.cloud.dialogflow.v2beta1.ConversationProfile>}
Calls CreateConversationProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.ICreateConversationProfileRequest |
CreateConversationProfileRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.v2beta1.ConversationProfile> |
Promise |
deleteConversationProfile(request, callback) → {undefined}
Calls DeleteConversationProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IDeleteConversationProfileRequest |
DeleteConversationProfileRequest message or plain object |
callback |
google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfileCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteConversationProfile(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteConversationProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IDeleteConversationProfileRequest |
DeleteConversationProfileRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
getConversationProfile(request, callback) → {undefined}
Calls GetConversationProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IGetConversationProfileRequest |
GetConversationProfileRequest message or plain object |
callback |
google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfileCallback |
Node-style callback called with the error, if any, and ConversationProfile |
Returns:
Type | Description |
---|---|
undefined |
getConversationProfile(request) → {Promise.<google.cloud.dialogflow.v2beta1.ConversationProfile>}
Calls GetConversationProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IGetConversationProfileRequest |
GetConversationProfileRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.v2beta1.ConversationProfile> |
Promise |
listConversationProfiles(request, callback) → {undefined}
Calls ListConversationProfiles.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IListConversationProfilesRequest |
ListConversationProfilesRequest message or plain object |
callback |
google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfilesCallback |
Node-style callback called with the error, if any, and ListConversationProfilesResponse |
Returns:
Type | Description |
---|---|
undefined |
listConversationProfiles(request) → {Promise.<google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse>}
Calls ListConversationProfiles.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IListConversationProfilesRequest |
ListConversationProfilesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse> |
Promise |
setSuggestionFeatureConfig(request, callback) → {undefined}
Calls SetSuggestionFeatureConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.ISetSuggestionFeatureConfigRequest |
SetSuggestionFeatureConfigRequest message or plain object |
callback |
google.cloud.dialogflow.v2beta1.ConversationProfiles.SetSuggestionFeatureConfigCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
setSuggestionFeatureConfig(request) → {Promise.<google.longrunning.Operation>}
Calls SetSuggestionFeatureConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.ISetSuggestionFeatureConfigRequest |
SetSuggestionFeatureConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
updateConversationProfile(request, callback) → {undefined}
Calls UpdateConversationProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IUpdateConversationProfileRequest |
UpdateConversationProfileRequest message or plain object |
callback |
google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfileCallback |
Node-style callback called with the error, if any, and ConversationProfile |
Returns:
Type | Description |
---|---|
undefined |
updateConversationProfile(request) → {Promise.<google.cloud.dialogflow.v2beta1.ConversationProfile>}
Calls UpdateConversationProfile.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.v2beta1.IUpdateConversationProfileRequest |
UpdateConversationProfileRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.v2beta1.ConversationProfile> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ConversationProfiles}
Creates new ConversationProfiles 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 |
---|---|
ConversationProfiles |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
ClearSuggestionFeatureConfigCallback(error, responseopt)
Callback as used by clearSuggestionFeatureConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
CreateConversationProfileCallback(error, responseopt)
Callback as used by createConversationProfile.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.v2beta1.ConversationProfile |
<optional> |
ConversationProfile |
DeleteConversationProfileCallback(error, responseopt)
Callback as used by deleteConversationProfile.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
GetConversationProfileCallback(error, responseopt)
Callback as used by getConversationProfile.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.v2beta1.ConversationProfile |
<optional> |
ConversationProfile |
ListConversationProfilesCallback(error, responseopt)
Callback as used by listConversationProfiles.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse |
<optional> |
ListConversationProfilesResponse |
SetSuggestionFeatureConfigCallback(error, responseopt)
Callback as used by setSuggestionFeatureConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
UpdateConversationProfileCallback(error, responseopt)
Callback as used by updateConversationProfile.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.v2beta1.ConversationProfile |
<optional> |
ConversationProfile |