public class EntityTypesClient : ClientBase<EntityTypes.EntityTypesClient>
Client for EntityTypes
Inheritance
Object > ClientBase > ClientBase<EntityTypes.EntityTypesClient> > EntityTypes.EntityTypesClientNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.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 | CallInvoker The callInvoker to use to make remote calls. |
EntityTypesClient(Channel)
[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public EntityTypesClient(Channel channel)
Creates a new client using a channel.
Parameter | |
---|---|
Name | Description |
channel | Grpc.Core.Channel The channel to use to make remote calls. |
EntityTypesClient(ChannelBase)
public EntityTypesClient(ChannelBase channel)
Creates a new client for EntityTypes
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
EntityTypesClient(ClientBase.ClientBaseConfiguration)
protected EntityTypesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
BatchCreateEntities(BatchCreateEntitiesRequest, CallOptions)
public virtual Operation BatchCreateEntities(BatchCreateEntitiesRequest request, CallOptions options)
Creates multiple new entities in the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchCreateEntitiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
BatchCreateEntities(BatchCreateEntitiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation BatchCreateEntities(BatchCreateEntitiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates multiple new entities in the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchCreateEntitiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<Operation> BatchCreateEntitiesAsync(BatchCreateEntitiesRequest request, CallOptions options)
Creates multiple new entities in the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchCreateEntitiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
BatchCreateEntitiesAsync(BatchCreateEntitiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> BatchCreateEntitiesAsync(BatchCreateEntitiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates multiple new entities in the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchCreateEntitiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual Operation BatchDeleteEntities(BatchDeleteEntitiesRequest request, CallOptions options)
Deletes entities in the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntitiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
BatchDeleteEntities(BatchDeleteEntitiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation BatchDeleteEntities(BatchDeleteEntitiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes entities in the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntitiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<Operation> BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request, CallOptions options)
Deletes entities in the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntitiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> BatchDeleteEntitiesAsync(BatchDeleteEntitiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes entities in the specified entity type.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntitiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual Operation BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, CallOptions options)
Deletes entity types in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntityTypesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation BatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes entity types in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntityTypesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<Operation> BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request, CallOptions options)
Deletes entity types in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntityTypesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> BatchDeleteEntityTypesAsync(BatchDeleteEntityTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes entity types in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchDeleteEntityTypesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual Operation BatchUpdateEntities(BatchUpdateEntitiesRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntitiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
BatchUpdateEntities(BatchUpdateEntitiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation BatchUpdateEntities(BatchUpdateEntitiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(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.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntitiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<Operation> BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntitiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> BatchUpdateEntitiesAsync(BatchUpdateEntitiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(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.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntitiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual Operation BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, CallOptions options)
Updates/Creates multiple entity types in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntityTypesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation BatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates/Creates multiple entity types in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntityTypesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<Operation> BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request, CallOptions options)
Updates/Creates multiple entity types in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntityTypesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> BatchUpdateEntityTypesAsync(BatchUpdateEntityTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates/Creates multiple entity types in the specified agent.
Note: You should always train an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | BatchUpdateEntityTypesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual EntityType CreateEntityType(CreateEntityTypeRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
EntityType | The response received from the server. |
CreateEntityType(CreateEntityTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual EntityType CreateEntityType(CreateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(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.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<EntityType> | The call object. |
CreateEntityTypeAsync(CreateEntityTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<EntityType> CreateEntityTypeAsync(CreateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(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.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | 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 an agent prior to sending it queries. See the training documentation.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteEntityType(DeleteEntityTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteEntityType(DeleteEntityTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteEntityTypeAsync(DeleteEntityTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual EntityType GetEntityType(GetEntityTypeRequest request, CallOptions options)
Retrieves the specified entity type.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
EntityType | The response received from the server. |
GetEntityType(GetEntityTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual EntityType GetEntityType(GetEntityTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves the specified entity type.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallOptions options)
Retrieves the specified entity type.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<EntityType> | The call object. |
GetEntityTypeAsync(GetEntityTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves the specified entity type.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual ListEntityTypesResponse ListEntityTypes(ListEntityTypesRequest request, CallOptions options)
Returns the list of all entity types in the specified agent.
Parameters | |
---|---|
Name | Description |
request | ListEntityTypesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListEntityTypesResponse | The response received from the server. |
ListEntityTypes(ListEntityTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListEntityTypesResponse ListEntityTypes(ListEntityTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the list of all entity types in the specified agent.
Parameters | |
---|---|
Name | Description |
request | ListEntityTypesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<ListEntityTypesResponse> ListEntityTypesAsync(ListEntityTypesRequest request, CallOptions options)
Returns the list of all entity types in the specified agent.
Parameters | |
---|---|
Name | Description |
request | ListEntityTypesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListEntityTypesResponse> | The call object. |
ListEntityTypesAsync(ListEntityTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListEntityTypesResponse> ListEntityTypesAsync(ListEntityTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns the list of all entity types in the specified agent.
Parameters | |
---|---|
Name | Description |
request | ListEntityTypesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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(ClientBase.ClientBaseConfiguration)
protected override EntityTypes.EntityTypesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
EntityTypes.EntityTypesClient |
UpdateEntityType(UpdateEntityTypeRequest, CallOptions)
public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
EntityType | The response received from the server. |
UpdateEntityType(UpdateEntityTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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)
public virtual AsyncUnaryCall<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<EntityType> | The call object. |
UpdateEntityTypeAsync(UpdateEntityTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> 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. |