Class SessionEntityTypesClientImpl
SessionEntityTypes client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Cloud.Dialogflow.V2
Assembly: Google.Cloud.Dialogflow.V2.dll
Syntax
public sealed class SessionEntityTypesClientImpl : SessionEntityTypesClient
Remarks
Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2.SessionEntityType].
Constructors
SessionEntityTypesClientImpl(SessionEntityTypesClient, SessionEntityTypesSettings, ILogger)
Constructs a client wrapper for the SessionEntityTypes service, with the specified gRPC client and settings.
Declaration
public SessionEntityTypesClientImpl(SessionEntityTypes.SessionEntityTypesClient grpcClient, SessionEntityTypesSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
SessionEntityTypes.SessionEntityTypesClient | grpcClient | The underlying gRPC client. |
SessionEntityTypesSettings | settings | The base SessionEntityTypesSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC SessionEntityTypes client
Declaration
public override SessionEntityTypes.SessionEntityTypesClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
SessionEntityTypes.SessionEntityTypesClient |
Overrides
LocationsClient
The Google.Cloud.Location.LocationsClient associated with this client.
Declaration
public override LocationsClient LocationsClient { get; }
Property Value
Type | Description |
---|---|
LocationsClient |
Overrides
Methods
CreateSessionEntityType(CreateSessionEntityTypeRequest, CallSettings)
Creates a session entity type.
If the specified session entity type already exists, overrides the session entity type.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override SessionEntityType CreateSessionEntityType(CreateSessionEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateSessionEntityTypeRequest | request | 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. |
Overrides
CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest, CallSettings)
Creates a session entity type.
If the specified session entity type already exists, overrides the session entity type.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override Task<SessionEntityType> CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateSessionEntityTypeRequest | request | 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<SessionEntityType> | A Task containing the RPC response. |
Overrides
DeleteSessionEntityType(DeleteSessionEntityTypeRequest, CallSettings)
Deletes the specified session entity type.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override void DeleteSessionEntityType(DeleteSessionEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteSessionEntityTypeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest, CallSettings)
Deletes the specified session entity type.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override Task DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteSessionEntityTypeRequest | request | 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. |
Overrides
GetSessionEntityType(GetSessionEntityTypeRequest, CallSettings)
Retrieves the specified session entity type.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override SessionEntityType GetSessionEntityType(GetSessionEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetSessionEntityTypeRequest | request | 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. |
Overrides
GetSessionEntityTypeAsync(GetSessionEntityTypeRequest, CallSettings)
Retrieves the specified session entity type.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override Task<SessionEntityType> GetSessionEntityTypeAsync(GetSessionEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetSessionEntityTypeRequest | request | 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<SessionEntityType> | A Task containing the RPC response. |
Overrides
ListSessionEntityTypes(ListSessionEntityTypesRequest, CallSettings)
Returns the list of all session entity types in the specified session.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypes(ListSessionEntityTypesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListSessionEntityTypesRequest | request | 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 |
---|---|
PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType> | A pageable sequence of SessionEntityType resources. |
Overrides
ListSessionEntityTypesAsync(ListSessionEntityTypesRequest, CallSettings)
Returns the list of all session entity types in the specified session.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypesAsync(ListSessionEntityTypesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListSessionEntityTypesRequest | request | 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 |
---|---|
PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType> | A pageable asynchronous sequence of SessionEntityType resources. |
Overrides
UpdateSessionEntityType(UpdateSessionEntityTypeRequest, CallSettings)
Updates the specified session entity type.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override SessionEntityType UpdateSessionEntityType(UpdateSessionEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateSessionEntityTypeRequest | request | 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. |
Overrides
UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest, CallSettings)
Updates the specified session entity type.
This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Declaration
public override Task<SessionEntityType> UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateSessionEntityTypeRequest | request | 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<SessionEntityType> | A Task containing the RPC response. |