public class ConversationProfilesClient : ClientBase<ConversationProfiles.ConversationProfilesClient>
Client for ConversationProfiles
Inheritance
Object > ClientBase > ClientBase<ConversationProfiles.ConversationProfilesClient> > ConversationProfiles.ConversationProfilesClientNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ConversationProfilesClient()
protected ConversationProfilesClient()
Protected parameterless constructor to allow creation of test doubles.
ConversationProfilesClient(CallInvoker)
public ConversationProfilesClient(CallInvoker callInvoker)
Creates a new client for ConversationProfiles that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ConversationProfilesClient(ChannelBase)
public ConversationProfilesClient(ChannelBase channel)
Creates a new client for ConversationProfiles
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ConversationProfilesClient(ClientBase.ClientBaseConfiguration)
protected ConversationProfilesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateConversationProfile(CreateConversationProfileRequest, CallOptions)
public virtual ConversationProfile CreateConversationProfile(CreateConversationProfileRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The response received from the server. |
CreateConversationProfile(CreateConversationProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ConversationProfile CreateConversationProfile(CreateConversationProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The response received from the server. |
CreateConversationProfileAsync(CreateConversationProfileRequest, CallOptions)
public virtual AsyncUnaryCall<ConversationProfile> CreateConversationProfileAsync(CreateConversationProfileRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ConversationProfile> | The call object. |
CreateConversationProfileAsync(CreateConversationProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ConversationProfile> CreateConversationProfileAsync(CreateConversationProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ConversationProfile> | The call object. |
DeleteConversationProfile(DeleteConversationProfileRequest, CallOptions)
public virtual Empty DeleteConversationProfile(DeleteConversationProfileRequest request, CallOptions options)
Deletes the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | DeleteConversationProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteConversationProfile(DeleteConversationProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteConversationProfile(DeleteConversationProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | DeleteConversationProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteConversationProfileAsync(DeleteConversationProfileRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteConversationProfileAsync(DeleteConversationProfileRequest request, CallOptions options)
Deletes the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | DeleteConversationProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteConversationProfileAsync(DeleteConversationProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteConversationProfileAsync(DeleteConversationProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | DeleteConversationProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
GetConversationProfile(GetConversationProfileRequest, CallOptions)
public virtual ConversationProfile GetConversationProfile(GetConversationProfileRequest request, CallOptions options)
Retrieves the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | GetConversationProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The response received from the server. |
GetConversationProfile(GetConversationProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ConversationProfile GetConversationProfile(GetConversationProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | GetConversationProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The response received from the server. |
GetConversationProfileAsync(GetConversationProfileRequest, CallOptions)
public virtual AsyncUnaryCall<ConversationProfile> GetConversationProfileAsync(GetConversationProfileRequest request, CallOptions options)
Retrieves the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | GetConversationProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ConversationProfile> | The call object. |
GetConversationProfileAsync(GetConversationProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ConversationProfile> GetConversationProfileAsync(GetConversationProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves the specified conversation profile.
Parameters | |
---|---|
Name | Description |
request | GetConversationProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ConversationProfile> | The call object. |
ListConversationProfiles(ListConversationProfilesRequest, CallOptions)
public virtual ListConversationProfilesResponse ListConversationProfiles(ListConversationProfilesRequest request, CallOptions options)
Returns the list of all conversation profiles in the specified project.
Parameters | |
---|---|
Name | Description |
request | ListConversationProfilesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListConversationProfilesResponse | The response received from the server. |
ListConversationProfiles(ListConversationProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListConversationProfilesResponse ListConversationProfiles(ListConversationProfilesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the list of all conversation profiles in the specified project.
Parameters | |
---|---|
Name | Description |
request | ListConversationProfilesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListConversationProfilesResponse | The response received from the server. |
ListConversationProfilesAsync(ListConversationProfilesRequest, CallOptions)
public virtual AsyncUnaryCall<ListConversationProfilesResponse> ListConversationProfilesAsync(ListConversationProfilesRequest request, CallOptions options)
Returns the list of all conversation profiles in the specified project.
Parameters | |
---|---|
Name | Description |
request | ListConversationProfilesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListConversationProfilesResponse> | The call object. |
ListConversationProfilesAsync(ListConversationProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListConversationProfilesResponse> ListConversationProfilesAsync(ListConversationProfilesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the list of all conversation profiles in the specified project.
Parameters | |
---|---|
Name | Description |
request | ListConversationProfilesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListConversationProfilesResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ConversationProfiles.ConversationProfilesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ConversationProfiles.ConversationProfilesClient |
UpdateConversationProfile(UpdateConversationProfileRequest, CallOptions)
public virtual ConversationProfile UpdateConversationProfile(UpdateConversationProfileRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The response received from the server. |
UpdateConversationProfile(UpdateConversationProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ConversationProfile UpdateConversationProfile(UpdateConversationProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ConversationProfile | The response received from the server. |
UpdateConversationProfileAsync(UpdateConversationProfileRequest, CallOptions)
public virtual AsyncUnaryCall<ConversationProfile> UpdateConversationProfileAsync(UpdateConversationProfileRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ConversationProfile> | The call object. |
UpdateConversationProfileAsync(UpdateConversationProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ConversationProfile> UpdateConversationProfileAsync(UpdateConversationProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ConversationProfile> | The call object. |