public sealed class ConversationDatasetsClientImpl : ConversationDatasetsClient
ConversationDatasets client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Assembly
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 | |
---|---|
Name | Description |
grpcClient | ConversationDatasets.ConversationDatasetsClient 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 |
DeleteConversationDatasetOperationsClient
public override OperationsClient DeleteConversationDatasetOperationsClient { get; }
The long-running operations client for DeleteConversationDataset
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override ConversationDatasets.ConversationDatasetsClient GrpcClient { get; }
The underlying gRPC ConversationDatasets client
Property Value | |
---|---|
Type | Description |
ConversationDatasets.ConversationDatasetsClient |
ImportConversationDataOperationsClient
public override OperationsClient ImportConversationDataOperationsClient { get; }
The long-running operations client for ImportConversationData
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 |
Operation<ConversationDataset, CreateConversationDatasetOperationMetadata> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<ConversationDataset, CreateConversationDatasetOperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<Empty, DeleteConversationDatasetOperationMetadata> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Empty, DeleteConversationDatasetOperationMetadata>> | A Task containing the RPC response. |
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. |
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 |
Task<ConversationDataset> | A Task containing the RPC response. |
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 |
Operation<ImportConversationDataOperationResponse, ImportConversationDataOperationMetadata> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<ImportConversationDataOperationResponse, ImportConversationDataOperationMetadata>> | A Task containing the RPC response. |
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 |
PagedEnumerable<ListConversationDatasetsResponse, ConversationDataset> | A pageable sequence of ConversationDataset resources. |
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 |
PagedAsyncEnumerable<ListConversationDatasetsResponse, ConversationDataset> | A pageable asynchronous sequence of ConversationDataset resources. |