public abstract static class ConversationProfilesGrpc.ConversationProfilesImplBase extends Object implements BindableService
Service for managing [ConversationProfiles][google.cloud.dialogflow.v2.ConversationProfile].
Constructor and Description |
---|
ConversationProfilesImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
void |
clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request,
StreamObserver<Operation> responseObserver)
Clears a suggestion feature from a conversation profile for the given
participant role.
|
void |
createConversationProfile(CreateConversationProfileRequest request,
StreamObserver<ConversationProfile> responseObserver)
Creates a conversation profile in the specified project.
|
void |
deleteConversationProfile(DeleteConversationProfileRequest request,
StreamObserver<Empty> responseObserver)
Deletes the specified conversation profile.
|
void |
getConversationProfile(GetConversationProfileRequest request,
StreamObserver<ConversationProfile> responseObserver)
Retrieves the specified conversation profile.
|
void |
listConversationProfiles(ListConversationProfilesRequest request,
StreamObserver<ListConversationProfilesResponse> responseObserver)
Returns the list of all conversation profiles in the specified project.
|
void |
setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request,
StreamObserver<Operation> responseObserver)
Adds or updates a suggestion feature in a conversation profile.
|
void |
updateConversationProfile(UpdateConversationProfileRequest request,
StreamObserver<ConversationProfile> responseObserver)
Updates the specified conversation profile.
|
public void listConversationProfiles(ListConversationProfilesRequest request, StreamObserver<ListConversationProfilesResponse> responseObserver)
Returns the list of all conversation profiles in the specified project.
public void getConversationProfile(GetConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)
Retrieves the specified conversation profile.
public void createConversationProfile(CreateConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)
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.
public void updateConversationProfile(UpdateConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)
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.
public void deleteConversationProfile(DeleteConversationProfileRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified conversation profile.
public void setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request, StreamObserver<Operation> responseObserver)
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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.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.
public void clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request, StreamObserver<Operation> responseObserver)
Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.