Class ConversationProfiles.ConversationProfilesBase (3.4.0)

[BindServiceMethod(typeof(ConversationProfiles), "BindService")]
public abstract class ConversationProfilesBase

Base class for server-side implementations of ConversationProfiles

Inheritance

Object > ConversationProfiles.ConversationProfilesBase

Namespace

Google.Cloud.Dialogflow.V2

Assembly

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
NameDescription
requestCreateConversationProfileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestDeleteConversationProfileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetConversationProfileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListConversationProfilesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestUpdateConversationProfileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ConversationProfile>

The response to send back to the client (wrapped by a task).