public sealed class ConversationProfilesClientImpl : ConversationProfilesClient
ConversationProfiles client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Remarks
Service for managing [ConversationProfiles][google.cloud.dialogflow.v2.ConversationProfile].
Constructors
ConversationProfilesClientImpl(ConversationProfiles.ConversationProfilesClient, ConversationProfilesSettings)
public ConversationProfilesClientImpl(ConversationProfiles.ConversationProfilesClient grpcClient, ConversationProfilesSettings settings)
Constructs a client wrapper for the ConversationProfiles service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ConversationProfiles.ConversationProfilesClient The underlying gRPC client. |
settings | ConversationProfilesSettings The base ConversationProfilesSettings used within this client. |
Properties
GrpcClient
public override ConversationProfiles.ConversationProfilesClient GrpcClient { get; }
The underlying gRPC ConversationProfiles client
Property Value | |
---|---|
Type | Description |
ConversationProfiles.ConversationProfilesClient |
Methods
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.v2.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.v2.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 |
Task<ConversationProfile> | 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 |
Task<ConversationProfile> | 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 |
PagedEnumerable<ListConversationProfilesResponse, ConversationProfile> | 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 |
PagedAsyncEnumerable<ListConversationProfilesResponse, ConversationProfile> | A pageable asynchronous sequence of ConversationProfile resources. |
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.v2.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.v2.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 |
Task<ConversationProfile> | A Task containing the RPC response. |