Google Cloud Dialogflow v2 API - Class ConversationDatasetsClientImpl (4.4.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(ConversationDatasets.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
NameDescription
grpcClientConversationDatasets.ConversationDatasetsClient

The underlying gRPC client.

settingsConversationDatasetsSettings

The base ConversationDatasetsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateConversationDatasetOperationsClient

public override OperationsClient CreateConversationDatasetOperationsClient { get; }

The long-running operations client for CreateConversationDataset.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteConversationDatasetOperationsClient

public override OperationsClient DeleteConversationDatasetOperationsClient { get; }

The long-running operations client for DeleteConversationDataset.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override ConversationDatasets.ConversationDatasetsClient GrpcClient { get; }

The underlying gRPC ConversationDatasets client

Property Value
TypeDescription
ConversationDatasets.ConversationDatasetsClient
Overrides

ImportConversationDataOperationsClient

public override OperationsClient ImportConversationDataOperationsClient { get; }

The long-running operations client for ImportConversationData.

Property Value
TypeDescription
OperationsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
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
NameDescription
requestCreateConversationDatasetRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ConversationDataset, CreateConversationDatasetOperationMetadata>

The RPC response.

Overrides

CreateConversationDatasetAsync(CreateConversationDatasetRequest, CallSettings)

public override async 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
NameDescription
requestCreateConversationDatasetRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ConversationDataset, CreateConversationDatasetOperationMetadata>>

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

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteConversationDatasetOperationMetadata>

The RPC response.

Overrides

DeleteConversationDatasetAsync(DeleteConversationDatasetRequest, CallSettings)

public override async 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
NameDescription
requestDeleteConversationDatasetRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteConversationDatasetOperationMetadata>>

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

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ConversationDataset

The RPC response.

Overrides

GetConversationDatasetAsync(GetConversationDatasetRequest, CallSettings)

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

Retrieves the specified conversation dataset.

Parameters
NameDescription
requestGetConversationDatasetRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ConversationDataset>

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

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ImportConversationDataOperationResponse, ImportConversationDataOperationMetadata>

The RPC response.

Overrides

ImportConversationDataAsync(ImportConversationDataRequest, CallSettings)

public override async 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
NameDescription
requestImportConversationDataRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ImportConversationDataOperationResponse, ImportConversationDataOperationMetadata>>

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

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListConversationDatasetsResponse, ConversationDataset>

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

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListConversationDatasetsResponse, ConversationDataset>

A pageable asynchronous sequence of ConversationDataset resources.

Overrides