public class ConversationDatasetsClient : ClientBase<ConversationDatasets.ConversationDatasetsClient>
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationDatasets.ConversationDatasetsClient.
Client for ConversationDatasets
Inheritance
Object > ClientBase > ClientBase<ConversationDatasets.ConversationDatasetsClient> > ConversationDatasets.ConversationDatasetsClientNamespace
Google.Cloud.Dialogflow.V2Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ConversationDatasetsClient(ChannelBase)
public ConversationDatasetsClient(ChannelBase channel)
Creates a new client for ConversationDatasets
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
request | CreateConversationDatasetRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateConversationDatasetRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateConversationDatasetRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateConversationDatasetRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteConversationDatasetRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteConversationDatasetRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteConversationDatasetRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteConversationDatasetRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
GetConversationDataset(GetConversationDatasetRequest, CallOptions)
public virtual ConversationDataset GetConversationDataset(GetConversationDatasetRequest request, CallOptions options)
Retrieves the specified conversation dataset.
Parameters | |
---|---|
Name | Description |
request | GetConversationDatasetRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetConversationDatasetRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetConversationDatasetRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetConversationDatasetRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ImportConversationDataRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ImportConversationDataRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ImportConversationDataRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ImportConversationDataRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListConversationDatasetsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListConversationDatasetsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListConversationDatasetsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListConversationDatasetsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ConversationDatasets.ConversationDatasetsClient |