public class EntityTypesClient : ClientBase<EntityTypes.EntityTypesClient>
Client for EntityTypes
Inheritance
System.Object > Grpc.Core.ClientBase > Grpc.Core.ClientBase<EntityTypes.EntityTypesClient> > 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 | Grpc.Core.CallInvoker The callInvoker to use to make remote calls. |
EntityTypesClient(ChannelBase)
public EntityTypesClient(ChannelBase channel)
Creates a new client for EntityTypes
Parameter | |
---|---|
Name | Description |
channel | Grpc.Core.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 | Grpc.Core.ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateEntityType(CreateEntityTypeRequest, CallOptions)
public virtual EntityType CreateEntityType(CreateEntityTypeRequest request, CallOptions options)
Creates an entity type in the specified agent.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest The request to send to the server. |
options | Grpc.Core.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.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest The request to send to the server. |
headers | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.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.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest The request to send to the server. |
options | Grpc.Core.CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.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.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest The request to send to the server. |
headers | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.AsyncUnaryCall<EntityType> | The call object. |
DeleteEntityType(DeleteEntityTypeRequest, CallOptions)
public virtual Empty DeleteEntityType(DeleteEntityTypeRequest request, CallOptions options)
Deletes the specified entity type.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest The request to send to the server. |
options | Grpc.Core.CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.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.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest The request to send to the server. |
headers | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Empty | The response received from the server. |
DeleteEntityTypeAsync(DeleteEntityTypeRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallOptions options)
Deletes the specified entity type.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest The request to send to the server. |
options | Grpc.Core.CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.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.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest The request to send to the server. |
headers | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.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 | Grpc.Core.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 | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.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 | Grpc.Core.CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.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 | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.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 | Grpc.Core.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 | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.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 | Grpc.Core.CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.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 | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.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 | Grpc.Core.ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
EntityTypes.EntityTypesClient |
UpdateEntityType(UpdateEntityTypeRequest, CallOptions)
public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallOptions options)
Updates the specified entity type.
Parameters | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest The request to send to the server. |
options | Grpc.Core.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.
Parameters | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest The request to send to the server. |
headers | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.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.
Parameters | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest The request to send to the server. |
options | Grpc.Core.CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.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.
Parameters | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest The request to send to the server. |
headers | Grpc.Core.Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.Nullable<System.DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | System.Threading.CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Grpc.Core.AsyncUnaryCall<EntityType> | The call object. |