public sealed class EntityTypesClientImpl : EntityTypesClientEntityTypes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3.EntityType].
Constructors
EntityTypesClientImpl(EntityTypes.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 | |
|---|---|
| Name | Description |
grpcClient |
EntityTypes.EntityTypesClientThe underlying gRPC client. |
settings |
EntityTypesSettingsThe base EntityTypesSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override EntityTypes.EntityTypesClient GrpcClient { get; }The underlying gRPC EntityTypes client
| Property Value | |
|---|---|
| Type | Description |
EntityTypes.EntityTypesClient |
|
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 | |
|---|---|
| Name | Description |
request |
CreateEntityTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntityType |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
CreateEntityTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntityType> |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
DeleteEntityTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
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 | |
|---|---|
| Name | Description |
request |
DeleteEntityTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetEntityType(GetEntityTypeRequest, CallSettings)
public override EntityType GetEntityType(GetEntityTypeRequest request, CallSettings callSettings = null)Retrieves the specified entity type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntityTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntityType |
The RPC response. |
GetEntityTypeAsync(GetEntityTypeRequest, CallSettings)
public override Task<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallSettings callSettings = null)Retrieves the specified entity type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntityTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntityType> |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
ListEntityTypesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListEntityTypesResponse, EntityType> |
A pageable sequence of EntityType resources. |
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 | |
|---|---|
| Name | Description |
request |
ListEntityTypesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> |
A pageable asynchronous sequence of EntityType resources. |
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 | |
|---|---|
| Name | Description |
request |
UpdateEntityTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntityType |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
UpdateEntityTypeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntityType> |
A Task containing the RPC response. |