public sealed class ConversationProfilesClientImpl : ConversationProfilesClient
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ConversationProfilesClientImpl.
ConversationProfiles client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Remarks
Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
Constructors
ConversationProfilesClientImpl(ConversationProfilesClient, ConversationProfilesSettings, ILogger)
public ConversationProfilesClientImpl(ConversationProfiles.ConversationProfilesClient grpcClient, ConversationProfilesSettings settings, ILogger logger)
Constructs a client wrapper for the ConversationProfiles service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ConversationProfilesConversationProfilesClient The underlying gRPC client. |
settings | ConversationProfilesSettings The base ConversationProfilesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
ClearSuggestionFeatureConfigOperationsClient
public override OperationsClient ClearSuggestionFeatureConfigOperationsClient { get; }
The long-running operations client for ClearSuggestionFeatureConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override ConversationProfiles.ConversationProfilesClient GrpcClient { get; }
The underlying gRPC ConversationProfiles client
Property Value | |
---|---|
Type | Description |
ConversationProfilesConversationProfilesClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
SetSuggestionFeatureConfigOperationsClient
public override OperationsClient SetSuggestionFeatureConfigOperationsClient { get; }
The long-running operations client for SetSuggestionFeatureConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
ClearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest, CallSettings)
public override Operation<ConversationProfile, ClearSuggestionFeatureConfigOperationMetadata> ClearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationConversationProfileClearSuggestionFeatureConfigOperationMetadata | The RPC response. |
ClearSuggestionFeatureConfigAsync(ClearSuggestionFeatureConfigRequest, CallSettings)
public override Task<Operation<ConversationProfile, ClearSuggestionFeatureConfigOperationMetadata>> ClearSuggestionFeatureConfigAsync(ClearSuggestionFeatureConfigRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationConversationProfileClearSuggestionFeatureConfigOperationMetadata | A Task containing the RPC response. |
CreateConversationProfile(CreateConversationProfileRequest, CallSettings)
public override ConversationProfile CreateConversationProfile(CreateConversationProfileRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The RPC response. |
CreateConversationProfileAsync(CreateConversationProfileRequest, CallSettings)
public override Task<ConversationProfile> CreateConversationProfileAsync(CreateConversationProfileRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskConversationProfile | A Task containing the RPC response. |
DeleteConversationProfile(DeleteConversationProfileRequest, CallSettings)
public override void DeleteConversationProfile(DeleteConversationProfileRequest request, CallSettings callSettings = null)
Deletes the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | DeleteConversationProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteConversationProfileAsync(DeleteConversationProfileRequest, CallSettings)
public override Task DeleteConversationProfileAsync(DeleteConversationProfileRequest request, CallSettings callSettings = null)
Deletes the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | DeleteConversationProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetConversationProfile(GetConversationProfileRequest, CallSettings)
public override ConversationProfile GetConversationProfile(GetConversationProfileRequest request, CallSettings callSettings = null)
Retrieves the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | GetConversationProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The RPC response. |
GetConversationProfileAsync(GetConversationProfileRequest, CallSettings)
public override Task<ConversationProfile> GetConversationProfileAsync(GetConversationProfileRequest request, CallSettings callSettings = null)
Retrieves the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | GetConversationProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskConversationProfile | A Task containing the RPC response. |
ListConversationProfiles(ListConversationProfilesRequest, CallSettings)
public override PagedEnumerable<ListConversationProfilesResponse, ConversationProfile> ListConversationProfiles(ListConversationProfilesRequest request, CallSettings callSettings = null)
Returns the list of all conversation profiles in the specified project.
Parameters | |
---|---|
Name | Description |
request | ListConversationProfilesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListConversationProfilesResponseConversationProfile | A pageable sequence of ConversationProfile resources. |
ListConversationProfilesAsync(ListConversationProfilesRequest, CallSettings)
public override PagedAsyncEnumerable<ListConversationProfilesResponse, ConversationProfile> ListConversationProfilesAsync(ListConversationProfilesRequest request, CallSettings callSettings = null)
Returns the list of all conversation profiles in the specified project.
Parameters | |
---|---|
Name | Description |
request | ListConversationProfilesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListConversationProfilesResponseConversationProfile | A pageable asynchronous sequence of ConversationProfile resources. |
SetSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest, CallSettings)
public override Operation<ConversationProfile, SetSuggestionFeatureConfigOperationMetadata> SetSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationConversationProfileSetSuggestionFeatureConfigOperationMetadata | The RPC response. |
SetSuggestionFeatureConfigAsync(SetSuggestionFeatureConfigRequest, CallSettings)
public override Task<Operation<ConversationProfile, SetSuggestionFeatureConfigOperationMetadata>> SetSuggestionFeatureConfigAsync(SetSuggestionFeatureConfigRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationConversationProfileSetSuggestionFeatureConfigOperationMetadata | A Task containing the RPC response. |
UpdateConversationProfile(UpdateConversationProfileRequest, CallSettings)
public override ConversationProfile UpdateConversationProfile(UpdateConversationProfileRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The RPC response. |
UpdateConversationProfileAsync(UpdateConversationProfileRequest, CallSettings)
public override Task<ConversationProfile> UpdateConversationProfileAsync(UpdateConversationProfileRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskConversationProfile | A Task containing the RPC response. |