Class EntityTypesClientImpl
EntityTypes client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Cloud.Dialogflow.V2
Assembly: Google.Cloud.Dialogflow.V2.dll
Syntax
public sealed class EntityTypesClientImpl : EntityTypesClient
Remarks
Service for managing [EntityTypes][google.cloud.dialogflow.v2.EntityType].
Constructors
EntityTypesClientImpl(EntityTypesClient, EntityTypesSettings, ILogger)
Constructs a client wrapper for the EntityTypes service, with the specified gRPC client and settings.
Declaration
public EntityTypesClientImpl(EntityTypes.EntityTypesClient grpcClient, EntityTypesSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
EntityTypes.EntityTypesClient | grpcClient | The underlying gRPC client. |
EntityTypesSettings | settings | The base EntityTypesSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
BatchCreateEntitiesOperationsClient
The long-running operations client for BatchCreateEntities
.
Declaration
public override OperationsClient BatchCreateEntitiesOperationsClient { get; }
Property Value
Type | Description |
---|---|
OperationsClient |
Overrides
BatchDeleteEntitiesOperationsClient
The long-running operations client for BatchDeleteEntities
.
Declaration
public override OperationsClient BatchDeleteEntitiesOperationsClient { get; }
Property Value
Type | Description |
---|---|
OperationsClient |
Overrides
BatchDeleteEntityTypesOperationsClient
The long-running operations client for BatchDeleteEntityTypes
.
Declaration
public override OperationsClient BatchDeleteEntityTypesOperationsClient { get; }
Property Value
Type | Description |
---|---|
OperationsClient |
Overrides
BatchUpdateEntitiesOperationsClient
The long-running operations client for BatchUpdateEntities
.
Declaration
public override OperationsClient BatchUpdateEntitiesOperationsClient { get; }
Property Value
Type | Description |
---|---|
OperationsClient |
Overrides
BatchUpdateEntityTypesOperationsClient
The long-running operations client for BatchUpdateEntityTypes
.
Declaration
public override OperationsClient BatchUpdateEntityTypesOperationsClient { get; }
Property Value
Type | Description |
---|---|
OperationsClient |
Overrides
GrpcClient
The underlying gRPC EntityTypes client
Declaration
public override EntityTypes.EntityTypesClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
EntityTypes.EntityTypesClient |
Overrides
LocationsClient
The Google.Cloud.Location.LocationsClient associated with this client.
Declaration
public override LocationsClient LocationsClient { get; }
Property Value
Type | Description |
---|---|
LocationsClient |
Overrides
Methods
BatchCreateEntities(BatchCreateEntitiesRequest, CallSettings)
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:
metadata
: An empty Struct messageresponse
: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Operation<Empty, Struct> BatchCreateEntities(BatchCreateEntitiesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateEntitiesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Operation<Empty, Struct> | The RPC response. |
Overrides
BatchCreateEntitiesAsync(BatchCreateEntitiesRequest, CallSettings)
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:
metadata
: An empty Struct messageresponse
: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Task<Operation<Empty, Struct>> BatchCreateEntitiesAsync(BatchCreateEntitiesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateEntitiesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Operation<Empty, Struct>> | A Task containing the RPC response. |
Overrides
BatchDeleteEntities(BatchDeleteEntitiesRequest, CallSettings)
Deletes entities in the specified entity type.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: An empty Struct messageresponse
: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Operation<Empty, Struct> BatchDeleteEntities(BatchDeleteEntitiesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntitiesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Operation<Empty, Struct> | The RPC response. |
Overrides
BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest, CallSettings)
Deletes entities in the specified entity type.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: An empty Struct messageresponse
: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Task<Operation<Empty, Struct>> BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntitiesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Operation<Empty, Struct>> | A Task containing the RPC response. |
Overrides
BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, CallSettings)
Deletes 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 messageresponse
: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Operation<Empty, Struct> BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntityTypesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Operation<Empty, Struct> | The RPC response. |
Overrides
BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest, CallSettings)
Deletes 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 messageresponse
: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Task<Operation<Empty, Struct>> BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntityTypesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Operation<Empty, Struct>> | A Task containing the RPC response. |
Overrides
BatchUpdateEntities(BatchUpdateEntitiesRequest, CallSettings)
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:
metadata
: An empty Struct messageresponse
: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Operation<Empty, Struct> BatchUpdateEntities(BatchUpdateEntitiesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntitiesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Operation<Empty, Struct> | The RPC response. |
Overrides
BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest, CallSettings)
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:
metadata
: An empty Struct messageresponse
: An Empty message
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Task<Operation<Empty, Struct>> BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntitiesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Operation<Empty, Struct>> | A Task containing the RPC response. |
Overrides
BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, CallSettings)
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 messageresponse
: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Operation<BatchUpdateEntityTypesResponse, Struct> BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntityTypesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Operation<BatchUpdateEntityTypesResponse, Struct> | The RPC response. |
Overrides
BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest, CallSettings)
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 messageresponse
: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Task<Operation<BatchUpdateEntityTypesResponse, Struct>> BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntityTypesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Operation<BatchUpdateEntityTypesResponse, Struct>> | A Task containing the RPC response. |
Overrides
CreateEntityType(CreateEntityTypeRequest, CallSettings)
Creates an entity type in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override EntityType CreateEntityType(CreateEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EntityType | The RPC response. |
Overrides
CreateEntityTypeAsync(CreateEntityTypeRequest, CallSettings)
Creates an entity type in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Task<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EntityType> | A Task containing the RPC response. |
Overrides
DeleteEntityType(DeleteEntityTypeRequest, CallSettings)
Deletes the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override void DeleteEntityType(DeleteEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteEntityTypeAsync(DeleteEntityTypeRequest, CallSettings)
Deletes the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Task DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Overrides
GetEntityType(GetEntityTypeRequest, CallSettings)
Retrieves the specified entity type.
Declaration
public override EntityType GetEntityType(GetEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EntityType | The RPC response. |
Overrides
GetEntityTypeAsync(GetEntityTypeRequest, CallSettings)
Retrieves the specified entity type.
Declaration
public override Task<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EntityType> | A Task containing the RPC response. |
Overrides
ListEntityTypes(ListEntityTypesRequest, CallSettings)
Returns the list of all entity types in the specified agent.
Declaration
public override PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(ListEntityTypesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListEntityTypesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListEntityTypesResponse, EntityType> | A pageable sequence of EntityType resources. |
Overrides
ListEntityTypesAsync(ListEntityTypesRequest, CallSettings)
Returns the list of all entity types in the specified agent.
Declaration
public override PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(ListEntityTypesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListEntityTypesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> | A pageable asynchronous sequence of EntityType resources. |
Overrides
UpdateEntityType(UpdateEntityTypeRequest, CallSettings)
Updates the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EntityType | The RPC response. |
Overrides
UpdateEntityTypeAsync(UpdateEntityTypeRequest, CallSettings)
Updates the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public override Task<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EntityType> | A Task containing the RPC response. |