Google Cloud Dialogflow v2 API - Class EntityTypes.EntityTypesClient (4.9.0)

public class EntityTypes.EntityTypesClient : ClientBase<EntityTypes.EntityTypesClient>

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

Client for EntityTypes

Inheritance

object > ClientBase > ClientBaseEntityTypesEntityTypesClient > EntityTypes.EntityTypesClient

Namespace

GoogleCloudGoogle.Cloud.DialogflowV2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

EntityTypesClient()

protected EntityTypesClient()

Protected parameterless constructor to allow creation of test doubles.

EntityTypesClient(CallInvoker)

public EntityTypesClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

EntityTypesClient(ChannelBase)

public EntityTypesClient(ChannelBase channel)

Creates a new client for EntityTypes

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

EntityTypesClient(ClientBaseConfiguration)

protected EntityTypesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

BatchCreateEntities(BatchCreateEntitiesRequest, CallOptions)

public virtual Operation BatchCreateEntities(BatchCreateEntitiesRequest request, CallOptions options)

Creates multiple new entities in the specified entity type.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchCreateEntitiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BatchCreateEntities(BatchCreateEntitiesRequest, Metadata, DateTime?, CancellationToken)

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

Creates multiple new entities in the specified entity type.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchCreateEntitiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

BatchCreateEntitiesAsync(BatchCreateEntitiesRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchCreateEntitiesAsync(BatchCreateEntitiesRequest request, CallOptions options)

Creates multiple new entities in the specified entity type.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchCreateEntitiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BatchCreateEntitiesAsync(BatchCreateEntitiesRequest, Metadata, DateTime?, CancellationToken)

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

Creates multiple new entities in the specified entity type.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchCreateEntitiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

BatchDeleteEntities(BatchDeleteEntitiesRequest, CallOptions)

public virtual Operation BatchDeleteEntities(BatchDeleteEntitiesRequest request, CallOptions options)

Deletes entities in the specified entity type.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchDeleteEntitiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BatchDeleteEntities(BatchDeleteEntitiesRequest, Metadata, DateTime?, CancellationToken)

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

Deletes entities in the specified entity type.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchDeleteEntitiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request, CallOptions options)

Deletes entities in the specified entity type.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchDeleteEntitiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest, Metadata, DateTime?, CancellationToken)

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

Deletes entities in the specified entity type.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchDeleteEntitiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, CallOptions)

public virtual Operation BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, CallOptions options)

Deletes entity types in the specified agent.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchDeleteEntityTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, Metadata, DateTime?, CancellationToken)

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

Deletes entity types in the specified agent.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchDeleteEntityTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request, CallOptions options)

Deletes entity types in the specified agent.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchDeleteEntityTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest, Metadata, DateTime?, CancellationToken)

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

Deletes entity types in the specified agent.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchDeleteEntityTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

BatchUpdateEntities(BatchUpdateEntitiesRequest, CallOptions)

public virtual Operation BatchUpdateEntities(BatchUpdateEntitiesRequest request, CallOptions options)

Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchUpdateEntitiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BatchUpdateEntities(BatchUpdateEntitiesRequest, Metadata, DateTime?, CancellationToken)

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

Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchUpdateEntitiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request, CallOptions options)

Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchUpdateEntitiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest, Metadata, DateTime?, CancellationToken)

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

Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request.

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

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchUpdateEntitiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, CallOptions)

public virtual Operation BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, CallOptions options)

Updates/Creates multiple entity types in the specified agent.

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

  • metadata: An empty Struct message
  • response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchUpdateEntityTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, Metadata, DateTime?, CancellationToken)

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

Updates/Creates multiple entity types in the specified agent.

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

  • metadata: An empty Struct message
  • response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchUpdateEntityTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request, CallOptions options)

Updates/Creates multiple entity types in the specified agent.

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

  • metadata: An empty Struct message
  • response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchUpdateEntityTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest, Metadata, DateTime?, CancellationToken)

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

Updates/Creates multiple entity types in the specified agent.

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

  • metadata: An empty Struct message
  • response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestBatchUpdateEntityTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

CreateEntityType(CreateEntityTypeRequest, CallOptions)

public virtual EntityType CreateEntityType(CreateEntityTypeRequest request, CallOptions options)

Creates an entity type in the specified agent.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreateEntityTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EntityType

The response received from the server.

CreateEntityType(CreateEntityTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual EntityType CreateEntityType(CreateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an entity type in the specified agent.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreateEntityTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
EntityType

The response received from the server.

CreateEntityTypeAsync(CreateEntityTypeRequest, CallOptions)

public virtual AsyncUnaryCall<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, CallOptions options)

Creates an entity type in the specified agent.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreateEntityTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEntityType

The call object.

CreateEntityTypeAsync(CreateEntityTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an entity type in the specified agent.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreateEntityTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallEntityType

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
LocationsLocationsClient

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
OperationsOperationsClient

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

DeleteEntityType(DeleteEntityTypeRequest, CallOptions)

public virtual Empty DeleteEntityType(DeleteEntityTypeRequest request, CallOptions options)

Deletes the specified entity type.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeleteEntityTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEntityType(DeleteEntityTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteEntityType(DeleteEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified entity type.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeleteEntityTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
Empty

The response received from the server.

DeleteEntityTypeAsync(DeleteEntityTypeRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallOptions options)

Deletes the specified entity type.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeleteEntityTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteEntityTypeAsync(DeleteEntityTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified entity type.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeleteEntityTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallEmpty

The call object.

GetEntityType(GetEntityTypeRequest, CallOptions)

public virtual EntityType GetEntityType(GetEntityTypeRequest request, CallOptions options)

Retrieves the specified entity type.

Parameters
NameDescription
requestGetEntityTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EntityType

The response received from the server.

GetEntityType(GetEntityTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual EntityType GetEntityType(GetEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the specified entity type.

Parameters
NameDescription
requestGetEntityTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
EntityType

The response received from the server.

GetEntityTypeAsync(GetEntityTypeRequest, CallOptions)

public virtual AsyncUnaryCall<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallOptions options)

Retrieves the specified entity type.

Parameters
NameDescription
requestGetEntityTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEntityType

The call object.

GetEntityTypeAsync(GetEntityTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the specified entity type.

Parameters
NameDescription
requestGetEntityTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallEntityType

The call object.

ListEntityTypes(ListEntityTypesRequest, CallOptions)

public virtual ListEntityTypesResponse ListEntityTypes(ListEntityTypesRequest request, CallOptions options)

Returns the list of all entity types in the specified agent.

Parameters
NameDescription
requestListEntityTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEntityTypesResponse

The response received from the server.

ListEntityTypes(ListEntityTypesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListEntityTypesResponse ListEntityTypes(ListEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all entity types in the specified agent.

Parameters
NameDescription
requestListEntityTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
ListEntityTypesResponse

The response received from the server.

ListEntityTypesAsync(ListEntityTypesRequest, CallOptions)

public virtual AsyncUnaryCall<ListEntityTypesResponse> ListEntityTypesAsync(ListEntityTypesRequest request, CallOptions options)

Returns the list of all entity types in the specified agent.

Parameters
NameDescription
requestListEntityTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListEntityTypesResponse

The call object.

ListEntityTypesAsync(ListEntityTypesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListEntityTypesResponse> ListEntityTypesAsync(ListEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all entity types in the specified agent.

Parameters
NameDescription
requestListEntityTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallListEntityTypesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override EntityTypes.EntityTypesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
EntityTypesEntityTypesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dialogflow.V2.EntityTypes.EntityTypesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateEntityType(UpdateEntityTypeRequest, CallOptions)

public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallOptions options)

Updates the specified entity type.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdateEntityTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EntityType

The response received from the server.

UpdateEntityType(UpdateEntityTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified entity type.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdateEntityTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
EntityType

The response received from the server.

UpdateEntityTypeAsync(UpdateEntityTypeRequest, CallOptions)

public virtual AsyncUnaryCall<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CallOptions options)

Updates the specified entity type.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdateEntityTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEntityType

The call object.

UpdateEntityTypeAsync(UpdateEntityTypeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified entity type.

Note: You should always train an agent prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdateEntityTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallEntityType

The call object.