public sealed class SessionEntityTypesClientImpl : SessionEntityTypesClient
Reference documentation and code samples for the Dialogflow v3 API class SessionEntityTypesClientImpl.
SessionEntityTypes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityType].
Constructors
SessionEntityTypesClientImpl(SessionEntityTypesClient, SessionEntityTypesSettings, ILogger)
public SessionEntityTypesClientImpl(SessionEntityTypes.SessionEntityTypesClient grpcClient, SessionEntityTypesSettings settings, ILogger logger)
Constructs a client wrapper for the SessionEntityTypes service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
SessionEntityTypesSessionEntityTypesClient The underlying gRPC client. |
settings |
SessionEntityTypesSettings The base SessionEntityTypesSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override SessionEntityTypes.SessionEntityTypesClient GrpcClient { get; }
The underlying gRPC SessionEntityTypes client
Property Value | |
---|---|
Type | Description |
SessionEntityTypesSessionEntityTypesClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
CreateSessionEntityType(CreateSessionEntityTypeRequest, CallSettings)
public override SessionEntityType CreateSessionEntityType(CreateSessionEntityTypeRequest request, CallSettings callSettings = null)
Creates a session entity type.
Parameters | |
---|---|
Name | Description |
request |
CreateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SessionEntityType |
The RPC response. |
CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest, CallSettings)
public override Task<SessionEntityType> CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest request, CallSettings callSettings = null)
Creates a session entity type.
Parameters | |
---|---|
Name | Description |
request |
CreateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSessionEntityType |
A Task containing the RPC response. |
DeleteSessionEntityType(DeleteSessionEntityTypeRequest, CallSettings)
public override void DeleteSessionEntityType(DeleteSessionEntityTypeRequest request, CallSettings callSettings = null)
Deletes the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
DeleteSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest, CallSettings)
public override Task DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest request, CallSettings callSettings = null)
Deletes the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
DeleteSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
GetSessionEntityType(GetSessionEntityTypeRequest, CallSettings)
public override SessionEntityType GetSessionEntityType(GetSessionEntityTypeRequest request, CallSettings callSettings = null)
Retrieves the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
GetSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SessionEntityType |
The RPC response. |
GetSessionEntityTypeAsync(GetSessionEntityTypeRequest, CallSettings)
public override Task<SessionEntityType> GetSessionEntityTypeAsync(GetSessionEntityTypeRequest request, CallSettings callSettings = null)
Retrieves the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
GetSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSessionEntityType |
A Task containing the RPC response. |
ListSessionEntityTypes(ListSessionEntityTypesRequest, CallSettings)
public override PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypes(ListSessionEntityTypesRequest request, CallSettings callSettings = null)
Returns the list of all session entity types in the specified session.
Parameters | |
---|---|
Name | Description |
request |
ListSessionEntityTypesRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListSessionEntityTypesResponseSessionEntityType |
A pageable sequence of SessionEntityType resources. |
ListSessionEntityTypesAsync(ListSessionEntityTypesRequest, CallSettings)
public override PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypesAsync(ListSessionEntityTypesRequest request, CallSettings callSettings = null)
Returns the list of all session entity types in the specified session.
Parameters | |
---|---|
Name | Description |
request |
ListSessionEntityTypesRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListSessionEntityTypesResponseSessionEntityType |
A pageable asynchronous sequence of SessionEntityType resources. |
UpdateSessionEntityType(UpdateSessionEntityTypeRequest, CallSettings)
public override SessionEntityType UpdateSessionEntityType(UpdateSessionEntityTypeRequest request, CallSettings callSettings = null)
Updates the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
UpdateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SessionEntityType |
The RPC response. |
UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest, CallSettings)
public override Task<SessionEntityType> UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest request, CallSettings callSettings = null)
Updates the specified session entity type.
Parameters | |
---|---|
Name | Description |
request |
UpdateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSessionEntityType |
A Task containing the RPC response. |