public class EntityTypes.EntityTypesClient : ClientBase<EntityTypes.EntityTypesClient>Reference documentation and code samples for the Dialogflow v3 API class EntityTypes.EntityTypesClient.
Client for EntityTypes
Inheritance
object > ClientBase > ClientBaseEntityTypesEntityTypesClient > EntityTypes.EntityTypesClientNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
EntityTypesClient()
protected EntityTypesClient()Protected parameterless constructor to allow creation of test doubles.
EntityTypesClient(CallInvoker)
public EntityTypesClient(CallInvoker callInvoker)Creates a new client for EntityTypes that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description | 
callInvoker | 
        CallInvokerThe callInvoker to use to make remote calls.  | 
      
EntityTypesClient(ChannelBase)
public EntityTypesClient(ChannelBase channel)Creates a new client for EntityTypes
| Parameter | |
|---|---|
| Name | Description | 
channel | 
        ChannelBaseThe channel to use to make remote calls.  | 
      
EntityTypesClient(ClientBaseConfiguration)
protected EntityTypesClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfigurationThe client configuration.  | 
      
Methods
CreateEntityType(CreateEntityTypeRequest, CallOptions)
public virtual EntityType CreateEntityType(CreateEntityTypeRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
EntityType | 
        The response received from the server.  | 
      
CreateEntityType(CreateEntityTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual EntityType CreateEntityType(CreateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
EntityType | 
        The response received from the server.  | 
      
CreateEntityTypeAsync(CreateEntityTypeRequest, CallOptions)
public virtual AsyncUnaryCall<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEntityType | 
        The call object.  | 
      
CreateEntityTypeAsync(CreateEntityTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEntityType | 
        The call object.  | 
      
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description | 
LocationsLocationsClient | 
        A new Locations.LocationsClient for the same target as this client.  | 
      
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description | 
OperationsOperationsClient | 
        A new Operations client for the same target as this client.  | 
      
DeleteEntityType(DeleteEntityTypeRequest, CallOptions)
public virtual Empty DeleteEntityType(DeleteEntityTypeRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Empty | 
        The response received from the server.  | 
      
DeleteEntityType(DeleteEntityTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteEntityType(DeleteEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Empty | 
        The response received from the server.  | 
      
DeleteEntityTypeAsync(DeleteEntityTypeRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEmpty | 
        The call object.  | 
      
DeleteEntityTypeAsync(DeleteEntityTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEmpty | 
        The call object.  | 
      
ExportEntityTypes(ExportEntityTypesRequest, CallOptions)
public virtual Operation ExportEntityTypes(ExportEntityTypesRequest request, CallOptions options)Exports the selected entity types.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ExportEntityTypesRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Operation | 
        The response received from the server.  | 
      
ExportEntityTypes(ExportEntityTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation ExportEntityTypes(ExportEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Exports the selected entity types.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ExportEntityTypesRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Operation | 
        The response received from the server.  | 
      
ExportEntityTypesAsync(ExportEntityTypesRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ExportEntityTypesAsync(ExportEntityTypesRequest request, CallOptions options)Exports the selected entity types.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ExportEntityTypesRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallOperation | 
        The call object.  | 
      
ExportEntityTypesAsync(ExportEntityTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ExportEntityTypesAsync(ExportEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Exports the selected entity types.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ExportEntityTypesRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallOperation | 
        The call object.  | 
      
GetEntityType(GetEntityTypeRequest, CallOptions)
public virtual EntityType GetEntityType(GetEntityTypeRequest request, CallOptions options)Retrieves the specified entity type.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetEntityTypeRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
EntityType | 
        The response received from the server.  | 
      
GetEntityType(GetEntityTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual EntityType GetEntityType(GetEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves the specified entity type.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetEntityTypeRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
EntityType | 
        The response received from the server.  | 
      
GetEntityTypeAsync(GetEntityTypeRequest, CallOptions)
public virtual AsyncUnaryCall<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallOptions options)Retrieves the specified entity type.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetEntityTypeRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEntityType | 
        The call object.  | 
      
GetEntityTypeAsync(GetEntityTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves the specified entity type.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetEntityTypeRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEntityType | 
        The call object.  | 
      
ImportEntityTypes(ImportEntityTypesRequest, CallOptions)
public virtual Operation ImportEntityTypes(ImportEntityTypesRequest request, CallOptions options)Imports the specified entitytypes into the agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ImportEntityTypesRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Operation | 
        The response received from the server.  | 
      
ImportEntityTypes(ImportEntityTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation ImportEntityTypes(ImportEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Imports the specified entitytypes into the agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ImportEntityTypesRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Operation | 
        The response received from the server.  | 
      
ImportEntityTypesAsync(ImportEntityTypesRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ImportEntityTypesAsync(ImportEntityTypesRequest request, CallOptions options)Imports the specified entitytypes into the agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ImportEntityTypesRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallOperation | 
        The call object.  | 
      
ImportEntityTypesAsync(ImportEntityTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ImportEntityTypesAsync(ImportEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Imports the specified entitytypes into the agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ImportEntityTypesRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallOperation | 
        The call object.  | 
      
ListEntityTypes(ListEntityTypesRequest, CallOptions)
public virtual ListEntityTypesResponse ListEntityTypes(ListEntityTypesRequest request, CallOptions options)Returns the list of all entity types in the specified agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListEntityTypesRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListEntityTypesResponse | 
        The response received from the server.  | 
      
ListEntityTypes(ListEntityTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListEntityTypesResponse ListEntityTypes(ListEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the list of all entity types in the specified agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListEntityTypesRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListEntityTypesResponse | 
        The response received from the server.  | 
      
ListEntityTypesAsync(ListEntityTypesRequest, CallOptions)
public virtual AsyncUnaryCall<ListEntityTypesResponse> ListEntityTypesAsync(ListEntityTypesRequest request, CallOptions options)Returns the list of all entity types in the specified agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListEntityTypesRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallListEntityTypesResponse | 
        The call object.  | 
      
ListEntityTypesAsync(ListEntityTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListEntityTypesResponse> ListEntityTypesAsync(ListEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the list of all entity types in the specified agent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListEntityTypesRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallListEntityTypesResponse | 
        The call object.  | 
      
NewInstance(ClientBaseConfiguration)
protected override EntityTypes.EntityTypesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfiguration | 
      
| Returns | |
|---|---|
| Type | Description | 
EntityTypesEntityTypesClient | 
        |
UpdateEntityType(UpdateEntityTypeRequest, CallOptions)
public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
EntityType | 
        The response received from the server.  | 
      
UpdateEntityType(UpdateEntityTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
EntityType | 
        The response received from the server.  | 
      
UpdateEntityTypeAsync(UpdateEntityTypeRequest, CallOptions)
public virtual AsyncUnaryCall<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CallOptions options)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 to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEntityType | 
        The call object.  | 
      
UpdateEntityTypeAsync(UpdateEntityTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallEntityType | 
        The call object.  |