public sealed class EntityTypesClientImpl : EntityTypesClient
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class EntityTypesClientImpl.
EntityTypes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Remarks
Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.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 | |
---|---|
Name | Description |
grpcClient | EntityTypesEntityTypesClient The underlying gRPC client. |
settings | EntityTypesSettings The base EntityTypesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
BatchCreateEntitiesOperationsClient
public override OperationsClient BatchCreateEntitiesOperationsClient { get; }
The long-running operations client for BatchCreateEntities
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BatchDeleteEntitiesOperationsClient
public override OperationsClient BatchDeleteEntitiesOperationsClient { get; }
The long-running operations client for BatchDeleteEntities
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BatchDeleteEntityTypesOperationsClient
public override OperationsClient BatchDeleteEntityTypesOperationsClient { get; }
The long-running operations client for BatchDeleteEntityTypes
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BatchUpdateEntitiesOperationsClient
public override OperationsClient BatchUpdateEntitiesOperationsClient { get; }
The long-running operations client for BatchUpdateEntities
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BatchUpdateEntityTypesOperationsClient
public override OperationsClient BatchUpdateEntityTypesOperationsClient { get; }
The long-running operations client for BatchUpdateEntityTypes
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override EntityTypes.EntityTypesClient GrpcClient { get; }
The underlying gRPC EntityTypes client
Property Value | |
---|---|
Type | Description |
EntityTypesEntityTypesClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
BatchCreateEntities(BatchCreateEntitiesRequest, CallSettings)
public override Operation<Empty, Struct> BatchCreateEntities(BatchCreateEntitiesRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | BatchCreateEntitiesRequest 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 |
OperationEmptyStruct | The RPC response. |
BatchCreateEntitiesAsync(BatchCreateEntitiesRequest, CallSettings)
public override Task<Operation<Empty, Struct>> BatchCreateEntitiesAsync(BatchCreateEntitiesRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | BatchCreateEntitiesRequest 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 |
TaskOperationEmptyStruct | A Task containing the RPC response. |
BatchDeleteEntities(BatchDeleteEntitiesRequest, CallSettings)
public override Operation<Empty, Struct> BatchDeleteEntities(BatchDeleteEntitiesRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntitiesRequest 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 |
OperationEmptyStruct | The RPC response. |
BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest, CallSettings)
public override Task<Operation<Empty, Struct>> BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntitiesRequest 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 |
TaskOperationEmptyStruct | A Task containing the RPC response. |
BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, CallSettings)
public override Operation<Empty, Struct> BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntityTypesRequest 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 |
OperationEmptyStruct | The RPC response. |
BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest, CallSettings)
public override Task<Operation<Empty, Struct>> BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntityTypesRequest 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 |
TaskOperationEmptyStruct | A Task containing the RPC response. |
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.
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
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntitiesRequest 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 |
OperationEmptyStruct | The RPC response. |
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.
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
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntitiesRequest 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 |
TaskOperationEmptyStruct | A Task containing the RPC response. |
BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, CallSettings)
public override Operation<BatchUpdateEntityTypesResponse, Struct> BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, CallSettings callSettings = null)
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.v2beta1.BatchUpdateEntityTypesResponse]
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntityTypesRequest 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 |
OperationBatchUpdateEntityTypesResponseStruct | The RPC response. |
BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest, CallSettings)
public override Task<Operation<BatchUpdateEntityTypesResponse, Struct>> BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request, CallSettings callSettings = null)
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.v2beta1.BatchUpdateEntityTypesResponse]
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntityTypesRequest 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 |
TaskOperationBatchUpdateEntityTypesResponseStruct | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | CreateEntityTypeRequest 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. |
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 | |
---|---|
Name | Description |
request | CreateEntityTypeRequest 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 |
TaskEntityType | 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 an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest 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. |
GetEntityType(GetEntityTypeRequest, CallSettings)
public override EntityType GetEntityType(GetEntityTypeRequest request, CallSettings callSettings = null)
Retrieves the specified entity type.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest 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. |
GetEntityTypeAsync(GetEntityTypeRequest, CallSettings)
public override Task<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallSettings callSettings = null)
Retrieves the specified entity type.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest 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 |
TaskEntityType | 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 | ListEntityTypesRequest 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 |
PagedEnumerableListEntityTypesResponseEntityType | 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 | ListEntityTypesRequest 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 |
PagedAsyncEnumerableListEntityTypesResponseEntityType | 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 an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest 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. |
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 | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest 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 |
TaskEntityType | A Task containing the RPC response. |