[BindServiceMethod(typeof(ConversationProfiles), "BindService")]
public abstract class ConversationProfilesBase
Base class for server-side implementations of ConversationProfiles
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Methods
CreateConversationProfile(CreateConversationProfileRequest, ServerCallContext)
public virtual Task<ConversationProfile> CreateConversationProfile(CreateConversationProfileRequest request, ServerCallContext context)
Creates a conversation profile in the specified project.
[ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.
Parameters | |
---|---|
Name | Description |
request | CreateConversationProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ConversationProfile> | The response to send back to the client (wrapped by a task). |
DeleteConversationProfile(DeleteConversationProfileRequest, ServerCallContext)
public virtual Task<Empty> DeleteConversationProfile(DeleteConversationProfileRequest request, ServerCallContext context)
Deletes the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | DeleteConversationProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetConversationProfile(GetConversationProfileRequest, ServerCallContext)
public virtual Task<ConversationProfile> GetConversationProfile(GetConversationProfileRequest request, ServerCallContext context)
Retrieves the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | GetConversationProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ConversationProfile> | The response to send back to the client (wrapped by a task). |
ListConversationProfiles(ListConversationProfilesRequest, ServerCallContext)
public virtual Task<ListConversationProfilesResponse> ListConversationProfiles(ListConversationProfilesRequest request, ServerCallContext context)
Returns the list of all conversation profiles in the specified project.
Parameters | |
---|---|
Name | Description |
request | ListConversationProfilesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListConversationProfilesResponse> | The response to send back to the client (wrapped by a task). |
UpdateConversationProfile(UpdateConversationProfileRequest, ServerCallContext)
public virtual Task<ConversationProfile> UpdateConversationProfile(UpdateConversationProfileRequest request, ServerCallContext context)
Updates the specified conversation profile.
[ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.
Parameters | |
---|---|
Name | Description |
request | UpdateConversationProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ConversationProfile> | The response to send back to the client (wrapped by a task). |