Class ConversationProfiles.ConversationProfilesClient (3.3.0)

public class ConversationProfilesClient : ClientBase<ConversationProfiles.ConversationProfilesClient>

Client for ConversationProfiles

Inheritance

Object > ClientBase > ClientBase<ConversationProfiles.ConversationProfilesClient> > ConversationProfiles.ConversationProfilesClient

Namespace

Google.Cloud.Dialogflow.V2

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ConversationProfilesClient(ChannelBase)

public ConversationProfilesClient(ChannelBase channel)

Creates a new client for ConversationProfiles

Parameter
NameDescription
channelChannelBase

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
NameDescription
configurationClientBase.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
NameDescription
requestCreateConversationProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateConversationProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateConversationProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateConversationProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ConversationProfile>

The call object.

DeleteConversationProfile(DeleteConversationProfileRequest, CallOptions)

public virtual Empty DeleteConversationProfile(DeleteConversationProfileRequest request, CallOptions options)

Deletes the specified conversation profile.

Parameters
NameDescription
requestDeleteConversationProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteConversationProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteConversationProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteConversationProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetConversationProfile(GetConversationProfileRequest, CallOptions)

public virtual ConversationProfile GetConversationProfile(GetConversationProfileRequest request, CallOptions options)

Retrieves the specified conversation profile.

Parameters
NameDescription
requestGetConversationProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetConversationProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetConversationProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetConversationProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListConversationProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListConversationProfilesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListConversationProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListConversationProfilesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ConversationProfiles.ConversationProfilesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dialogflow.V2.ConversationProfiles.ConversationProfilesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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
NameDescription
requestUpdateConversationProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateConversationProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestUpdateConversationProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateConversationProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ConversationProfile>

The call object.