Represents a ConversationProfiles
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.v2.ConversationProfilesPackage
@google-cloud/dialogflowConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ConversationProfiles service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
clearSuggestionFeatureConfig(request, callback)
public clearSuggestionFeatureConfig(request: google.cloud.dialogflow.v2.IClearSuggestionFeatureConfigRequest, callback: google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfigCallback): void;
Calls ClearSuggestionFeatureConfig.
Parameters | |
---|---|
Name | Description |
request |
IClearSuggestionFeatureConfigRequest
ClearSuggestionFeatureConfigRequest message or plain object |
callback |
ClearSuggestionFeatureConfigCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
clearSuggestionFeatureConfig(request)
public clearSuggestionFeatureConfig(request: google.cloud.dialogflow.v2.IClearSuggestionFeatureConfigRequest): Promise<google.longrunning.Operation>;
Calls ClearSuggestionFeatureConfig.
Parameter | |
---|---|
Name | Description |
request |
IClearSuggestionFeatureConfigRequest
ClearSuggestionFeatureConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ConversationProfiles;
Creates new ConversationProfiles 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 |
ConversationProfiles | RPC service. Useful where requests and/or responses are streamed. |
createConversationProfile(request, callback)
public createConversationProfile(request: google.cloud.dialogflow.v2.ICreateConversationProfileRequest, callback: google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfileCallback): void;
Calls CreateConversationProfile.
Parameters | |
---|---|
Name | Description |
request |
ICreateConversationProfileRequest
CreateConversationProfileRequest message or plain object |
callback |
CreateConversationProfileCallback
Node-style callback called with the error, if any, and ConversationProfile |
Returns | |
---|---|
Type | Description |
void |
createConversationProfile(request)
public createConversationProfile(request: google.cloud.dialogflow.v2.ICreateConversationProfileRequest): Promise<google.cloud.dialogflow.v2.ConversationProfile>;
Calls CreateConversationProfile.
Parameter | |
---|---|
Name | Description |
request |
ICreateConversationProfileRequest
CreateConversationProfileRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.v2.ConversationProfile> | Promise |
deleteConversationProfile(request, callback)
public deleteConversationProfile(request: google.cloud.dialogflow.v2.IDeleteConversationProfileRequest, callback: google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfileCallback): void;
Calls DeleteConversationProfile.
Parameters | |
---|---|
Name | Description |
request |
IDeleteConversationProfileRequest
DeleteConversationProfileRequest message or plain object |
callback |
DeleteConversationProfileCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteConversationProfile(request)
public deleteConversationProfile(request: google.cloud.dialogflow.v2.IDeleteConversationProfileRequest): Promise<google.protobuf.Empty>;
Calls DeleteConversationProfile.
Parameter | |
---|---|
Name | Description |
request |
IDeleteConversationProfileRequest
DeleteConversationProfileRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getConversationProfile(request, callback)
public getConversationProfile(request: google.cloud.dialogflow.v2.IGetConversationProfileRequest, callback: google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfileCallback): void;
Calls GetConversationProfile.
Parameters | |
---|---|
Name | Description |
request |
IGetConversationProfileRequest
GetConversationProfileRequest message or plain object |
callback |
GetConversationProfileCallback
Node-style callback called with the error, if any, and ConversationProfile |
Returns | |
---|---|
Type | Description |
void |
getConversationProfile(request)
public getConversationProfile(request: google.cloud.dialogflow.v2.IGetConversationProfileRequest): Promise<google.cloud.dialogflow.v2.ConversationProfile>;
Calls GetConversationProfile.
Parameter | |
---|---|
Name | Description |
request |
IGetConversationProfileRequest
GetConversationProfileRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.v2.ConversationProfile> | Promise |
listConversationProfiles(request, callback)
public listConversationProfiles(request: google.cloud.dialogflow.v2.IListConversationProfilesRequest, callback: google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfilesCallback): void;
Calls ListConversationProfiles.
Parameters | |
---|---|
Name | Description |
request |
IListConversationProfilesRequest
ListConversationProfilesRequest message or plain object |
callback |
ListConversationProfilesCallback
Node-style callback called with the error, if any, and ListConversationProfilesResponse |
Returns | |
---|---|
Type | Description |
void |
listConversationProfiles(request)
public listConversationProfiles(request: google.cloud.dialogflow.v2.IListConversationProfilesRequest): Promise<google.cloud.dialogflow.v2.ListConversationProfilesResponse>;
Calls ListConversationProfiles.
Parameter | |
---|---|
Name | Description |
request |
IListConversationProfilesRequest
ListConversationProfilesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.v2.ListConversationProfilesResponse> | Promise |
setSuggestionFeatureConfig(request, callback)
public setSuggestionFeatureConfig(request: google.cloud.dialogflow.v2.ISetSuggestionFeatureConfigRequest, callback: google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfigCallback): void;
Calls SetSuggestionFeatureConfig.
Parameters | |
---|---|
Name | Description |
request |
ISetSuggestionFeatureConfigRequest
SetSuggestionFeatureConfigRequest message or plain object |
callback |
SetSuggestionFeatureConfigCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
setSuggestionFeatureConfig(request)
public setSuggestionFeatureConfig(request: google.cloud.dialogflow.v2.ISetSuggestionFeatureConfigRequest): Promise<google.longrunning.Operation>;
Calls SetSuggestionFeatureConfig.
Parameter | |
---|---|
Name | Description |
request |
ISetSuggestionFeatureConfigRequest
SetSuggestionFeatureConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateConversationProfile(request, callback)
public updateConversationProfile(request: google.cloud.dialogflow.v2.IUpdateConversationProfileRequest, callback: google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfileCallback): void;
Calls UpdateConversationProfile.
Parameters | |
---|---|
Name | Description |
request |
IUpdateConversationProfileRequest
UpdateConversationProfileRequest message or plain object |
callback |
UpdateConversationProfileCallback
Node-style callback called with the error, if any, and ConversationProfile |
Returns | |
---|---|
Type | Description |
void |
updateConversationProfile(request)
public updateConversationProfile(request: google.cloud.dialogflow.v2.IUpdateConversationProfileRequest): Promise<google.cloud.dialogflow.v2.ConversationProfile>;
Calls UpdateConversationProfile.
Parameter | |
---|---|
Name | Description |
request |
IUpdateConversationProfileRequest
UpdateConversationProfileRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.v2.ConversationProfile> | Promise |