Google Cloud Dialogflow v2beta1 API - Class SessionEntityTypesClientImpl (1.0.0-beta14)

public sealed class SessionEntityTypesClientImpl : SessionEntityTypesClient

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SessionEntityTypesClientImpl.

SessionEntityTypes client wrapper implementation, for convenient use.

Inheritance

object > SessionEntityTypesClient > SessionEntityTypesClientImpl

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Remarks

Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2beta1.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
NameDescription
grpcClientSessionEntityTypesSessionEntityTypesClient

The underlying gRPC client.

settingsSessionEntityTypesSettings

The base SessionEntityTypesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SessionEntityTypes.SessionEntityTypesClient GrpcClient { get; }

The underlying gRPC SessionEntityTypes client

Property Value
TypeDescription
SessionEntityTypesSessionEntityTypesClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreateSessionEntityType(CreateSessionEntityTypeRequest, CallSettings)

public override SessionEntityType CreateSessionEntityType(CreateSessionEntityTypeRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestCreateSessionEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

Overrides

CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest, CallSettings)

public override Task<SessionEntityType> CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestCreateSessionEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSessionEntityType

A Task containing the RPC response.

Overrides

DeleteSessionEntityType(DeleteSessionEntityTypeRequest, CallSettings)

public override void DeleteSessionEntityType(DeleteSessionEntityTypeRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestDeleteSessionEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest, CallSettings)

public override Task DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestDeleteSessionEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetSessionEntityType(GetSessionEntityTypeRequest, CallSettings)

public override SessionEntityType GetSessionEntityType(GetSessionEntityTypeRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestGetSessionEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

Overrides

GetSessionEntityTypeAsync(GetSessionEntityTypeRequest, CallSettings)

public override Task<SessionEntityType> GetSessionEntityTypeAsync(GetSessionEntityTypeRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestGetSessionEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSessionEntityType

A Task containing the RPC response.

Overrides

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.

This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
NameDescription
requestListSessionEntityTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListSessionEntityTypesResponseSessionEntityType

A pageable sequence of SessionEntityType resources.

Overrides

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.

This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
NameDescription
requestListSessionEntityTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListSessionEntityTypesResponseSessionEntityType

A pageable asynchronous sequence of SessionEntityType resources.

Overrides

UpdateSessionEntityType(UpdateSessionEntityTypeRequest, CallSettings)

public override SessionEntityType UpdateSessionEntityType(UpdateSessionEntityTypeRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestUpdateSessionEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

Overrides

UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest, CallSettings)

public override Task<SessionEntityType> UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestUpdateSessionEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSessionEntityType

A Task containing the RPC response.

Overrides