Google Cloud Dialogflow v2 API - Class ConversationDatasetsClientImpl (4.24.0)

public sealed class ConversationDatasetsClientImpl : ConversationDatasetsClient

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationDatasetsClientImpl.

ConversationDatasets client wrapper implementation, for convenient use.

Inheritance

object > ConversationDatasetsClient > ConversationDatasetsClientImpl

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Remarks

Conversation datasets.

Conversation datasets contain raw conversation files and their customizable metadata that can be used for model training.

Constructors

ConversationDatasetsClientImpl(ConversationDatasetsClient, ConversationDatasetsSettings, ILogger)

public ConversationDatasetsClientImpl(ConversationDatasets.ConversationDatasetsClient grpcClient, ConversationDatasetsSettings settings, ILogger logger)

Constructs a client wrapper for the ConversationDatasets service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ConversationDatasetsConversationDatasetsClient

The underlying gRPC client.

settings ConversationDatasetsSettings

The base ConversationDatasetsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateConversationDatasetOperationsClient

public override OperationsClient CreateConversationDatasetOperationsClient { get; }

The long-running operations client for CreateConversationDataset.

Property Value
Type Description
OperationsClient
Overrides

DeleteConversationDatasetOperationsClient

public override OperationsClient DeleteConversationDatasetOperationsClient { get; }

The long-running operations client for DeleteConversationDataset.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override ConversationDatasets.ConversationDatasetsClient GrpcClient { get; }

The underlying gRPC ConversationDatasets client

Property Value
Type Description
ConversationDatasetsConversationDatasetsClient
Overrides

ImportConversationDataOperationsClient

public override OperationsClient ImportConversationDataOperationsClient { get; }

The long-running operations client for ImportConversationData.

Property Value
Type Description
OperationsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateConversationDataset(CreateConversationDatasetRequest, CallSettings)

public override Operation<ConversationDataset, CreateConversationDatasetOperationMetadata> CreateConversationDataset(CreateConversationDatasetRequest request, CallSettings callSettings = null)

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
Name Description
request CreateConversationDatasetRequest

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
OperationConversationDatasetCreateConversationDatasetOperationMetadata

The RPC response.

Overrides

CreateConversationDatasetAsync(CreateConversationDatasetRequest, CallSettings)

public override Task<Operation<ConversationDataset, CreateConversationDatasetOperationMetadata>> CreateConversationDatasetAsync(CreateConversationDatasetRequest request, CallSettings callSettings = null)

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
Name Description
request CreateConversationDatasetRequest

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
TaskOperationConversationDatasetCreateConversationDatasetOperationMetadata

A Task containing the RPC response.

Overrides

DeleteConversationDataset(DeleteConversationDatasetRequest, CallSettings)

public override Operation<Empty, DeleteConversationDatasetOperationMetadata> DeleteConversationDataset(DeleteConversationDatasetRequest request, CallSettings callSettings = null)

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
Name Description
request DeleteConversationDatasetRequest

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
OperationEmptyDeleteConversationDatasetOperationMetadata

The RPC response.

Overrides

DeleteConversationDatasetAsync(DeleteConversationDatasetRequest, CallSettings)

public override Task<Operation<Empty, DeleteConversationDatasetOperationMetadata>> DeleteConversationDatasetAsync(DeleteConversationDatasetRequest request, CallSettings callSettings = null)

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
Name Description
request DeleteConversationDatasetRequest

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
TaskOperationEmptyDeleteConversationDatasetOperationMetadata

A Task containing the RPC response.

Overrides

GetConversationDataset(GetConversationDatasetRequest, CallSettings)

public override ConversationDataset GetConversationDataset(GetConversationDatasetRequest request, CallSettings callSettings = null)

Retrieves the specified conversation dataset.

Parameters
Name Description
request GetConversationDatasetRequest

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
ConversationDataset

The RPC response.

Overrides

GetConversationDatasetAsync(GetConversationDatasetRequest, CallSettings)

public override Task<ConversationDataset> GetConversationDatasetAsync(GetConversationDatasetRequest request, CallSettings callSettings = null)

Retrieves the specified conversation dataset.

Parameters
Name Description
request GetConversationDatasetRequest

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
TaskConversationDataset

A Task containing the RPC response.

Overrides

ImportConversationData(ImportConversationDataRequest, CallSettings)

public override Operation<ImportConversationDataOperationResponse, ImportConversationDataOperationMetadata> ImportConversationData(ImportConversationDataRequest request, CallSettings callSettings = null)

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
Name Description
request ImportConversationDataRequest

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
OperationImportConversationDataOperationResponseImportConversationDataOperationMetadata

The RPC response.

Overrides

ImportConversationDataAsync(ImportConversationDataRequest, CallSettings)

public override Task<Operation<ImportConversationDataOperationResponse, ImportConversationDataOperationMetadata>> ImportConversationDataAsync(ImportConversationDataRequest request, CallSettings callSettings = null)

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
Name Description
request ImportConversationDataRequest

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
TaskOperationImportConversationDataOperationResponseImportConversationDataOperationMetadata

A Task containing the RPC response.

Overrides

ListConversationDatasets(ListConversationDatasetsRequest, CallSettings)

public override PagedEnumerable<ListConversationDatasetsResponse, ConversationDataset> ListConversationDatasets(ListConversationDatasetsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListConversationDatasetsRequest

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
PagedEnumerableListConversationDatasetsResponseConversationDataset

A pageable sequence of ConversationDataset resources.

Overrides

ListConversationDatasetsAsync(ListConversationDatasetsRequest, CallSettings)

public override PagedAsyncEnumerable<ListConversationDatasetsResponse, ConversationDataset> ListConversationDatasetsAsync(ListConversationDatasetsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListConversationDatasetsRequest

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
PagedAsyncEnumerableListConversationDatasetsResponseConversationDataset

A pageable asynchronous sequence of ConversationDataset resources.

Overrides