Class EntityTypesClientImpl (3.3.0)

public sealed class EntityTypesClientImpl : EntityTypesClient

EntityTypes client wrapper implementation, for convenient use.

Inheritance

Object > EntityTypesClient > EntityTypesClientImpl

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Remarks

Service for managing [EntityTypes][google.cloud.dialogflow.v2.EntityType].

Constructors

EntityTypesClientImpl(EntityTypes.EntityTypesClient, EntityTypesSettings)

public EntityTypesClientImpl(EntityTypes.EntityTypesClient grpcClient, EntityTypesSettings settings)

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

Parameters
NameDescription
grpcClientEntityTypes.EntityTypesClient

The underlying gRPC client.

settingsEntityTypesSettings

The base EntityTypesSettings used within this client.

Properties

BatchCreateEntitiesOperationsClient

public override OperationsClient BatchCreateEntitiesOperationsClient { get; }

The long-running operations client for BatchCreateEntities.

Property Value
TypeDescription
OperationsClient
Overrides

BatchDeleteEntitiesOperationsClient

public override OperationsClient BatchDeleteEntitiesOperationsClient { get; }

The long-running operations client for BatchDeleteEntities.

Property Value
TypeDescription
OperationsClient
Overrides

BatchDeleteEntityTypesOperationsClient

public override OperationsClient BatchDeleteEntityTypesOperationsClient { get; }

The long-running operations client for BatchDeleteEntityTypes.

Property Value
TypeDescription
OperationsClient
Overrides

BatchUpdateEntitiesOperationsClient

public override OperationsClient BatchUpdateEntitiesOperationsClient { get; }

The long-running operations client for BatchUpdateEntities.

Property Value
TypeDescription
OperationsClient
Overrides

BatchUpdateEntityTypesOperationsClient

public override OperationsClient BatchUpdateEntityTypesOperationsClient { get; }

The long-running operations client for BatchUpdateEntityTypes.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override EntityTypes.EntityTypesClient GrpcClient { get; }

The underlying gRPC EntityTypes client

Property Value
TypeDescription
EntityTypes.EntityTypesClient
Overrides

Methods

BatchCreateEntities(BatchCreateEntitiesRequest, CallSettings)

public override Operation<Empty, Struct> BatchCreateEntities(BatchCreateEntitiesRequest request, CallSettings callSettings = null)

Creates multiple new entities in the specified entity type.

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

Parameters
NameDescription
requestBatchCreateEntitiesRequest

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, Struct>

The RPC response.

Overrides

BatchCreateEntitiesAsync(BatchCreateEntitiesRequest, CallSettings)

public override Task<Operation<Empty, Struct>> BatchCreateEntitiesAsync(BatchCreateEntitiesRequest request, CallSettings callSettings = null)

Creates multiple new entities in the specified entity type.

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

Parameters
NameDescription
requestBatchCreateEntitiesRequest

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, Struct>>

A Task containing the RPC response.

Overrides

BatchDeleteEntities(BatchDeleteEntitiesRequest, CallSettings)

public override Operation<Empty, Struct> BatchDeleteEntities(BatchDeleteEntitiesRequest request, CallSettings callSettings = null)

Deletes entities in the specified entity type.

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

Parameters
NameDescription
requestBatchDeleteEntitiesRequest

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, Struct>

The RPC response.

Overrides

BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest, CallSettings)

public override Task<Operation<Empty, Struct>> BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request, CallSettings callSettings = null)

Deletes entities in the specified entity type.

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

Parameters
NameDescription
requestBatchDeleteEntitiesRequest

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, Struct>>

A Task containing the RPC response.

Overrides

BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, CallSettings)

public override Operation<Empty, Struct> BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, CallSettings callSettings = null)

Deletes entity types in the specified agent.

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

Parameters
NameDescription
requestBatchDeleteEntityTypesRequest

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, Struct>

The RPC response.

Overrides

BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest, CallSettings)

public override Task<Operation<Empty, Struct>> BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request, CallSettings callSettings = null)

Deletes entity types in the specified agent.

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

Parameters
NameDescription
requestBatchDeleteEntityTypesRequest

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, Struct>>

A Task containing the RPC response.

Overrides

BatchUpdateEntities(BatchUpdateEntitiesRequest, CallSettings)

public override Operation<Empty, Struct> BatchUpdateEntities(BatchUpdateEntitiesRequest request, CallSettings callSettings = null)

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.

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

Parameters
NameDescription
requestBatchUpdateEntitiesRequest

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, Struct>

The RPC response.

Overrides

BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest, CallSettings)

public override Task<Operation<Empty, Struct>> BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request, CallSettings callSettings = null)

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.

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

Parameters
NameDescription
requestBatchUpdateEntitiesRequest

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, Struct>>

A Task containing the RPC response.

Overrides

BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, CallSettings)

public override Operation<BatchUpdateEntityTypesResponse, Struct> BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, CallSettings callSettings = null)

Updates/Creates multiple entity types in the specified agent.

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

Parameters
NameDescription
requestBatchUpdateEntityTypesRequest

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<BatchUpdateEntityTypesResponse, Struct>

The RPC response.

Overrides

BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest, CallSettings)

public override Task<Operation<BatchUpdateEntityTypesResponse, Struct>> BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request, CallSettings callSettings = null)

Updates/Creates multiple entity types in the specified agent.

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

Parameters
NameDescription
requestBatchUpdateEntityTypesRequest

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<BatchUpdateEntityTypesResponse, Struct>>

A Task containing the RPC response.

Overrides

CreateEntityType(CreateEntityTypeRequest, CallSettings)

public override EntityType CreateEntityType(CreateEntityTypeRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EntityType

The RPC response.

Overrides

CreateEntityTypeAsync(CreateEntityTypeRequest, CallSettings)

public override Task<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<EntityType>

A Task containing the RPC response.

Overrides

DeleteEntityType(DeleteEntityTypeRequest, CallSettings)

public override void DeleteEntityType(DeleteEntityTypeRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteEntityTypeAsync(DeleteEntityTypeRequest, CallSettings)

public override Task DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetEntityType(GetEntityTypeRequest, CallSettings)

public override EntityType GetEntityType(GetEntityTypeRequest request, CallSettings callSettings = null)

Retrieves the specified entity type.

Parameters
NameDescription
requestGetEntityTypeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EntityType

The RPC response.

Overrides

GetEntityTypeAsync(GetEntityTypeRequest, CallSettings)

public override Task<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallSettings callSettings = null)

Retrieves the specified entity type.

Parameters
NameDescription
requestGetEntityTypeRequest

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<EntityType>

A Task containing the RPC response.

Overrides

ListEntityTypes(ListEntityTypesRequest, CallSettings)

public override PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(ListEntityTypesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListEntityTypesRequest

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<ListEntityTypesResponse, EntityType>

A pageable sequence of EntityType resources.

Overrides

ListEntityTypesAsync(ListEntityTypesRequest, CallSettings)

public override PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(ListEntityTypesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListEntityTypesRequest

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<ListEntityTypesResponse, EntityType>

A pageable asynchronous sequence of EntityType resources.

Overrides

UpdateEntityType(UpdateEntityTypeRequest, CallSettings)

public override EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EntityType

The RPC response.

Overrides

UpdateEntityTypeAsync(UpdateEntityTypeRequest, CallSettings)

public override Task<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<EntityType>

A Task containing the RPC response.

Overrides