Dialogflow v3 API - Class EntityTypesClientImpl (2.17.0)

public sealed class EntityTypesClientImpl : EntityTypesClient

Reference documentation and code samples for the Dialogflow v3 API class EntityTypesClientImpl.

EntityTypes client wrapper implementation, for convenient use.

Inheritance

object > EntityTypesClient > EntityTypesClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3.EntityType].

Constructors

EntityTypesClientImpl(EntityTypesClient, EntityTypesSettings, ILogger)

public EntityTypesClientImpl(EntityTypes.EntityTypesClient grpcClient, EntityTypesSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientEntityTypesEntityTypesClient

The underlying gRPC client.

settingsEntityTypesSettings

The base EntityTypesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

ExportEntityTypesOperationsClient

public override OperationsClient ExportEntityTypesOperationsClient { get; }

The long-running operations client for ExportEntityTypes.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override EntityTypes.EntityTypesClient GrpcClient { get; }

The underlying gRPC EntityTypes client

Property Value
TypeDescription
EntityTypesEntityTypesClient
Overrides

ImportEntityTypesOperationsClient

public override OperationsClient ImportEntityTypesOperationsClient { get; }

The long-running operations client for ImportEntityTypes.

Property Value
TypeDescription
OperationsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

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 a flow 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 a flow 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
TaskEntityType

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 a flow 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 a flow 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

ExportEntityTypes(ExportEntityTypesRequest, CallSettings)

public override Operation<ExportEntityTypesResponse, ExportEntityTypesMetadata> ExportEntityTypes(ExportEntityTypesRequest request, CallSettings callSettings = null)

Exports the selected entity types.

Parameters
NameDescription
requestExportEntityTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportEntityTypesResponseExportEntityTypesMetadata

The RPC response.

Overrides

ExportEntityTypesAsync(ExportEntityTypesRequest, CallSettings)

public override Task<Operation<ExportEntityTypesResponse, ExportEntityTypesMetadata>> ExportEntityTypesAsync(ExportEntityTypesRequest request, CallSettings callSettings = null)

Exports the selected entity types.

Parameters
NameDescription
requestExportEntityTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportEntityTypesResponseExportEntityTypesMetadata

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
TaskEntityType

A Task containing the RPC response.

Overrides

ImportEntityTypes(ImportEntityTypesRequest, CallSettings)

public override Operation<ImportEntityTypesResponse, ImportEntityTypesMetadata> ImportEntityTypes(ImportEntityTypesRequest request, CallSettings callSettings = null)

Imports the specified entitytypes into the agent.

Parameters
NameDescription
requestImportEntityTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationImportEntityTypesResponseImportEntityTypesMetadata

The RPC response.

Overrides

ImportEntityTypesAsync(ImportEntityTypesRequest, CallSettings)

public override Task<Operation<ImportEntityTypesResponse, ImportEntityTypesMetadata>> ImportEntityTypesAsync(ImportEntityTypesRequest request, CallSettings callSettings = null)

Imports the specified entitytypes into the agent.

Parameters
NameDescription
requestImportEntityTypesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationImportEntityTypesResponseImportEntityTypesMetadata

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
PagedEnumerableListEntityTypesResponseEntityType

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
PagedAsyncEnumerableListEntityTypesResponseEntityType

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 a flow 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 a flow 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
TaskEntityType

A Task containing the RPC response.

Overrides