Google Cloud Dialogflow v2beta1 API - Class ConversationProfiles.ConversationProfilesBase (1.0.0-beta16)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ConversationProfiles.ConversationProfilesBase.

Base class for server-side implementations of ConversationProfiles

Inheritance

object > ConversationProfiles.ConversationProfilesBase

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Methods

ClearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest, ServerCallContext)

public virtual Task<Operation> ClearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request, ServerCallContext context)

Clears a suggestion feature from a conversation profile for the given participant role.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata]
  • response: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]
Parameters
Name Description
request ClearSuggestionFeatureConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

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.v2beta1.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
TaskConversationProfile

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
TaskEmpty

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
TaskConversationProfile

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
TaskListConversationProfilesResponse

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

SetSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest, ServerCallContext)

public virtual Task<Operation> SetSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request, ServerCallContext context)

Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata]
  • response: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]

If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.

Parameters
Name Description
request SetSuggestionFeatureConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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.v2beta1.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
TaskConversationProfile

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