Interface ConversationProfilesGrpc.AsyncService (4.60.0)

public static interface ConversationProfilesGrpc.AsyncService

Service for managing ConversationProfiles.

Methods

clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request, StreamObserver<Operation> responseObserver)

public default 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. The returned Operation type has the following method-specific fields:

  • metadata: ClearSuggestionFeatureConfigOperationMetadata
  • response: ConversationProfile
Parameters
Name Description
request ClearSuggestionFeatureConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createConversationProfile(CreateConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

public default 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 API.

Parameters
Name Description
request CreateConversationProfileRequest
responseObserver io.grpc.stub.StreamObserver<ConversationProfile>

deleteConversationProfile(DeleteConversationProfileRequest request, StreamObserver<Empty> responseObserver)

public default void deleteConversationProfile(DeleteConversationProfileRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified conversation profile.

Parameters
Name Description
request DeleteConversationProfileRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getConversationProfile(GetConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

public default void getConversationProfile(GetConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

Retrieves the specified conversation profile.

Parameters
Name Description
request GetConversationProfileRequest
responseObserver io.grpc.stub.StreamObserver<ConversationProfile>

listConversationProfiles(ListConversationProfilesRequest request, StreamObserver<ListConversationProfilesResponse> responseObserver)

public default void listConversationProfiles(ListConversationProfilesRequest request, StreamObserver<ListConversationProfilesResponse> responseObserver)

Returns the list of all conversation profiles in the specified project.

Parameters
Name Description
request ListConversationProfilesRequest
responseObserver io.grpc.stub.StreamObserver<ListConversationProfilesResponse>

setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request, StreamObserver<Operation> responseObserver)

public default 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. The returned Operation type has the following method-specific fields:

  • metadata: SetSuggestionFeatureConfigOperationMetadata
  • response: 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
responseObserver io.grpc.stub.StreamObserver<Operation>

updateConversationProfile(UpdateConversationProfileRequest request, StreamObserver<ConversationProfile> responseObserver)

public default 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 API.

Parameters
Name Description
request UpdateConversationProfileRequest
responseObserver io.grpc.stub.StreamObserver<ConversationProfile>