Class ConversationDatasets.ConversationDatasetsClient (4.1.0)

public class ConversationDatasetsClient : ClientBase<ConversationDatasets.ConversationDatasetsClient>

Client for ConversationDatasets

Inheritance

Object > ClientBase > ClientBase<ConversationDatasets.ConversationDatasetsClient> > ConversationDatasets.ConversationDatasetsClient

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ConversationDatasetsClient()

protected ConversationDatasetsClient()

Protected parameterless constructor to allow creation of test doubles.

ConversationDatasetsClient(CallInvoker)

public ConversationDatasetsClient(CallInvoker callInvoker)

Creates a new client for ConversationDatasets that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ConversationDatasetsClient(ChannelBase)

public ConversationDatasetsClient(ChannelBase channel)

Creates a new client for ConversationDatasets

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ConversationDatasetsClient(ClientBase.ClientBaseConfiguration)

protected ConversationDatasetsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateConversationDataset(CreateConversationDatasetRequest, CallOptions)

public virtual Operation CreateConversationDataset(CreateConversationDatasetRequest request, CallOptions options)

Creates a new conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
  • response: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
Parameters
NameDescription
requestCreateConversationDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateConversationDataset(CreateConversationDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateConversationDataset(CreateConversationDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a new conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
  • response: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
Parameters
NameDescription
requestCreateConversationDatasetRequest

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
Operation

The response received from the server.

CreateConversationDatasetAsync(CreateConversationDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateConversationDatasetAsync(CreateConversationDatasetRequest request, CallOptions options)

Creates a new conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
  • response: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
Parameters
NameDescription
requestCreateConversationDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateConversationDatasetAsync(CreateConversationDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateConversationDatasetAsync(CreateConversationDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a new conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
  • response: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
Parameters
NameDescription
requestCreateConversationDatasetRequest

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<Operation>

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
Locations.LocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

DeleteConversationDataset(DeleteConversationDatasetRequest, CallOptions)

public virtual Operation DeleteConversationDataset(DeleteConversationDatasetRequest request, CallOptions options)

Deletes the specified conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
  • response: An Empty message
Parameters
NameDescription
requestDeleteConversationDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteConversationDataset(DeleteConversationDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteConversationDataset(DeleteConversationDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
  • response: An Empty message
Parameters
NameDescription
requestDeleteConversationDatasetRequest

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
Operation

The response received from the server.

DeleteConversationDatasetAsync(DeleteConversationDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteConversationDatasetAsync(DeleteConversationDatasetRequest request, CallOptions options)

Deletes the specified conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
  • response: An Empty message
Parameters
NameDescription
requestDeleteConversationDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteConversationDatasetAsync(DeleteConversationDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteConversationDatasetAsync(DeleteConversationDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
  • response: An Empty message
Parameters
NameDescription
requestDeleteConversationDatasetRequest

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<Operation>

The call object.

GetConversationDataset(GetConversationDatasetRequest, CallOptions)

public virtual ConversationDataset GetConversationDataset(GetConversationDatasetRequest request, CallOptions options)

Retrieves the specified conversation dataset.

Parameters
NameDescription
requestGetConversationDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ConversationDataset

The response received from the server.

GetConversationDataset(GetConversationDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ConversationDataset GetConversationDataset(GetConversationDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves the specified conversation dataset.

Parameters
NameDescription
requestGetConversationDatasetRequest

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
ConversationDataset

The response received from the server.

GetConversationDatasetAsync(GetConversationDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<ConversationDataset> GetConversationDatasetAsync(GetConversationDatasetRequest request, CallOptions options)

Retrieves the specified conversation dataset.

Parameters
NameDescription
requestGetConversationDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ConversationDataset>

The call object.

GetConversationDatasetAsync(GetConversationDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ConversationDataset> GetConversationDatasetAsync(GetConversationDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves the specified conversation dataset.

Parameters
NameDescription
requestGetConversationDatasetRequest

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<ConversationDataset>

The call object.

ImportConversationData(ImportConversationDataRequest, CallOptions)

public virtual Operation ImportConversationData(ImportConversationDataRequest request, CallOptions options)

Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
  • response: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
Parameters
NameDescription
requestImportConversationDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ImportConversationData(ImportConversationDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation ImportConversationData(ImportConversationDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
  • response: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
Parameters
NameDescription
requestImportConversationDataRequest

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
Operation

The response received from the server.

ImportConversationDataAsync(ImportConversationDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ImportConversationDataAsync(ImportConversationDataRequest request, CallOptions options)

Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
  • response: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
Parameters
NameDescription
requestImportConversationDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ImportConversationDataAsync(ImportConversationDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportConversationDataAsync(ImportConversationDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
  • response: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
Parameters
NameDescription
requestImportConversationDataRequest

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<Operation>

The call object.

ListConversationDatasets(ListConversationDatasetsRequest, CallOptions)

public virtual ListConversationDatasetsResponse ListConversationDatasets(ListConversationDatasetsRequest request, CallOptions options)

Returns the list of all conversation datasets in the specified project and location.

Parameters
NameDescription
requestListConversationDatasetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListConversationDatasetsResponse

The response received from the server.

ListConversationDatasets(ListConversationDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListConversationDatasetsResponse ListConversationDatasets(ListConversationDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns the list of all conversation datasets in the specified project and location.

Parameters
NameDescription
requestListConversationDatasetsRequest

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
ListConversationDatasetsResponse

The response received from the server.

ListConversationDatasetsAsync(ListConversationDatasetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListConversationDatasetsResponse> ListConversationDatasetsAsync(ListConversationDatasetsRequest request, CallOptions options)

Returns the list of all conversation datasets in the specified project and location.

Parameters
NameDescription
requestListConversationDatasetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListConversationDatasetsResponse>

The call object.

ListConversationDatasetsAsync(ListConversationDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListConversationDatasetsResponse> ListConversationDatasetsAsync(ListConversationDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns the list of all conversation datasets in the specified project and location.

Parameters
NameDescription
requestListConversationDatasetsRequest

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<ListConversationDatasetsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override ConversationDatasets.ConversationDatasetsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ConversationDatasets.ConversationDatasetsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dialogflow.V2.ConversationDatasets.ConversationDatasetsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)