Class EntityTypes.EntityTypesClient
Client for EntityTypes
Inheritance
Inherited Members
Namespace: Google.Cloud.Dialogflow.V2
Assembly: Google.Cloud.Dialogflow.V2.dll
Syntax
public class EntityTypes.EntityTypesClient : ClientBase<EntityTypes.EntityTypesClient>
Constructors
EntityTypesClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected EntityTypesClient()
EntityTypesClient(CallInvoker)
Creates a new client for EntityTypes that uses a custom CallInvoker
.
Declaration
public EntityTypesClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
EntityTypesClient(ChannelBase)
Creates a new client for EntityTypes
Declaration
public EntityTypesClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
EntityTypesClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected EntityTypesClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
BatchCreateEntities(BatchCreateEntitiesRequest, CallOptions)
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 virtual Operation BatchCreateEntities(BatchCreateEntitiesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateEntitiesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchCreateEntities(BatchCreateEntitiesRequest, Metadata, DateTime?, CancellationToken)
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 virtual Operation BatchCreateEntities(BatchCreateEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateEntitiesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchCreateEntitiesAsync(BatchCreateEntitiesRequest, CallOptions)
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 virtual AsyncUnaryCall<Operation> BatchCreateEntitiesAsync(BatchCreateEntitiesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateEntitiesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchCreateEntitiesAsync(BatchCreateEntitiesRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<Operation> BatchCreateEntitiesAsync(BatchCreateEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateEntitiesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchDeleteEntities(BatchDeleteEntitiesRequest, CallOptions)
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 virtual Operation BatchDeleteEntities(BatchDeleteEntitiesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntitiesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchDeleteEntities(BatchDeleteEntitiesRequest, Metadata, DateTime?, CancellationToken)
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 virtual Operation BatchDeleteEntities(BatchDeleteEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntitiesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest, CallOptions)
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 virtual AsyncUnaryCall<Operation> BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntitiesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<Operation> BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntitiesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, CallOptions)
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 virtual Operation BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntityTypesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, Metadata, DateTime?, CancellationToken)
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 virtual Operation BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntityTypesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest, CallOptions)
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 virtual AsyncUnaryCall<Operation> BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntityTypesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<Operation> BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteEntityTypesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchUpdateEntities(BatchUpdateEntitiesRequest, CallOptions)
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 virtual Operation BatchUpdateEntities(BatchUpdateEntitiesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntitiesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchUpdateEntities(BatchUpdateEntitiesRequest, Metadata, DateTime?, CancellationToken)
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 virtual Operation BatchUpdateEntities(BatchUpdateEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntitiesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest, CallOptions)
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 virtual AsyncUnaryCall<Operation> BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntitiesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<Operation> BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntitiesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, CallOptions)
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 virtual Operation BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntityTypesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, Metadata, DateTime?, CancellationToken)
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 virtual Operation BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntityTypesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Operation | The response received from the server. |
BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest, CallOptions)
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 virtual AsyncUnaryCall<Operation> BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntityTypesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<Operation> BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateEntityTypesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Operation> | The call object. |
CreateEntityType(CreateEntityTypeRequest, CallOptions)
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 virtual EntityType CreateEntityType(CreateEntityTypeRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
CreateEntityTypeRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
EntityType | The response received from the server. |
CreateEntityType(CreateEntityTypeRequest, Metadata, DateTime?, CancellationToken)
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 virtual EntityType CreateEntityType(CreateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CreateEntityTypeRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
EntityType | The response received from the server. |
CreateEntityTypeAsync(CreateEntityTypeRequest, CallOptions)
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 virtual AsyncUnaryCall<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
CreateEntityTypeRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<EntityType> | The call object. |
CreateEntityTypeAsync(CreateEntityTypeRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CreateEntityTypeRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<EntityType> | The call object. |
CreateLocationsClient()
Creates a new instance of Google.Cloud.Location.Locations.LocationsClient using the same call invoker as this client.
Declaration
public virtual Locations.LocationsClient CreateLocationsClient()
Returns
Type | Description |
---|---|
Locations.LocationsClient | A new Google.Cloud.Location.Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
Creates a new instance of Google.LongRunning.Operations.OperationsClient using the same call invoker as this client.
Declaration
public virtual Operations.OperationsClient CreateOperationsClient()
Returns
Type | Description |
---|---|
Operations.OperationsClient | A new Operations client for the same target as this client. |
DeleteEntityType(DeleteEntityTypeRequest, CallOptions)
Deletes the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual Empty DeleteEntityType(DeleteEntityTypeRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteEntityTypeRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteEntityType(DeleteEntityTypeRequest, Metadata, DateTime?, CancellationToken)
Deletes the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual Empty DeleteEntityType(DeleteEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteEntityTypeRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteEntityTypeAsync(DeleteEntityTypeRequest, CallOptions)
Deletes the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteEntityTypeRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
DeleteEntityTypeAsync(DeleteEntityTypeRequest, Metadata, DateTime?, CancellationToken)
Deletes the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteEntityTypeRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
GetEntityType(GetEntityTypeRequest, CallOptions)
Retrieves the specified entity type.
Declaration
public virtual EntityType GetEntityType(GetEntityTypeRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetEntityTypeRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
EntityType | The response received from the server. |
GetEntityType(GetEntityTypeRequest, Metadata, DateTime?, CancellationToken)
Retrieves the specified entity type.
Declaration
public virtual EntityType GetEntityType(GetEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetEntityTypeRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
EntityType | The response received from the server. |
GetEntityTypeAsync(GetEntityTypeRequest, CallOptions)
Retrieves the specified entity type.
Declaration
public virtual AsyncUnaryCall<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetEntityTypeRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<EntityType> | The call object. |
GetEntityTypeAsync(GetEntityTypeRequest, Metadata, DateTime?, CancellationToken)
Retrieves the specified entity type.
Declaration
public virtual AsyncUnaryCall<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetEntityTypeRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<EntityType> | The call object. |
ListEntityTypes(ListEntityTypesRequest, CallOptions)
Returns the list of all entity types in the specified agent.
Declaration
public virtual ListEntityTypesResponse ListEntityTypes(ListEntityTypesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListEntityTypesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ListEntityTypesResponse | The response received from the server. |
ListEntityTypes(ListEntityTypesRequest, Metadata, DateTime?, CancellationToken)
Returns the list of all entity types in the specified agent.
Declaration
public virtual ListEntityTypesResponse ListEntityTypes(ListEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListEntityTypesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
ListEntityTypesResponse | The response received from the server. |
ListEntityTypesAsync(ListEntityTypesRequest, CallOptions)
Returns the list of all entity types in the specified agent.
Declaration
public virtual AsyncUnaryCall<ListEntityTypesResponse> ListEntityTypesAsync(ListEntityTypesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListEntityTypesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListEntityTypesResponse> | The call object. |
ListEntityTypesAsync(ListEntityTypesRequest, Metadata, DateTime?, CancellationToken)
Returns the list of all entity types in the specified agent.
Declaration
public virtual AsyncUnaryCall<ListEntityTypesResponse> ListEntityTypesAsync(ListEntityTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListEntityTypesRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListEntityTypesResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override EntityTypes.EntityTypesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
EntityTypes.EntityTypesClient |
Overrides
UpdateEntityType(UpdateEntityTypeRequest, CallOptions)
Updates the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateEntityTypeRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
EntityType | The response received from the server. |
UpdateEntityType(UpdateEntityTypeRequest, Metadata, DateTime?, CancellationToken)
Updates the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateEntityTypeRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
EntityType | The response received from the server. |
UpdateEntityTypeAsync(UpdateEntityTypeRequest, CallOptions)
Updates the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual AsyncUnaryCall<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateEntityTypeRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<EntityType> | The call object. |
UpdateEntityTypeAsync(UpdateEntityTypeRequest, Metadata, DateTime?, CancellationToken)
Updates the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual AsyncUnaryCall<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateEntityTypeRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<EntityType> | The call object. |