Class SessionEntityTypesClient (1.0.0)

public abstract class SessionEntityTypesClient

SessionEntityTypes client wrapper, for convenient use.

Inheritance

System.Object > SessionEntityTypesClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityType].

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the SessionEntityTypes service, which is a host of "dialogflow.googleapis.com" and a port of 443.

Property Value
TypeDescription
System.String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default SessionEntityTypes scopes.

Property Value
TypeDescription
System.Collections.Generic.IReadOnlyList<System.String>
Remarks

GrpcClient

public virtual SessionEntityTypes.SessionEntityTypesClient GrpcClient { get; }

The underlying gRPC SessionEntityTypes client

Property Value
TypeDescription
SessionEntityTypes.SessionEntityTypesClient

Methods

Create()

public static SessionEntityTypesClient Create()

Synchronously creates a SessionEntityTypesClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use SessionEntityTypesClientBuilder .

Returns
TypeDescription
SessionEntityTypesClient

The created SessionEntityTypesClient.

CreateAsync(CancellationToken)

public static Task<SessionEntityTypesClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a SessionEntityTypesClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use SessionEntityTypesClientBuilder .

Parameter
NameDescription
cancellationTokenSystem.Threading.CancellationToken

The System.Threading.CancellationToken to use while creating the client.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityTypesClient>

The task representing the created SessionEntityTypesClient.

CreateSessionEntityType(CreateSessionEntityTypeRequest, CallSettings)

public virtual 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.

Parameters
NameDescription
requestCreateSessionEntityTypeRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

CreateSessionEntityType(SessionName, SessionEntityType, CallSettings)

public virtual SessionEntityType CreateSessionEntityType(SessionName parent, SessionEntityType sessionEntityType, CallSettings callSettings = null)

Creates a session entity type.

If the specified session entity type already exists, overrides the session entity type.

Parameters
NameDescription
parentSessionName

Required. The session to create a session entity type for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

sessionEntityTypeSessionEntityType

Required. The session entity type to create.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

CreateSessionEntityType(String, SessionEntityType, CallSettings)

public virtual SessionEntityType CreateSessionEntityType(string parent, SessionEntityType sessionEntityType, CallSettings callSettings = null)

Creates a session entity type.

If the specified session entity type already exists, overrides the session entity type.

Parameters
NameDescription
parentSystem.String

Required. The session to create a session entity type for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

sessionEntityTypeSessionEntityType

Required. The session entity type to create.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest, CallSettings)

public virtual 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.

Parameters
NameDescription
requestCreateSessionEntityTypeRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest, CancellationToken)

public virtual Task<SessionEntityType> CreateSessionEntityTypeAsync(CreateSessionEntityTypeRequest request, CancellationToken cancellationToken)

Creates a session entity type.

If the specified session entity type already exists, overrides the session entity type.

Parameters
NameDescription
requestCreateSessionEntityTypeRequest

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

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

CreateSessionEntityTypeAsync(SessionName, SessionEntityType, CallSettings)

public virtual Task<SessionEntityType> CreateSessionEntityTypeAsync(SessionName parent, SessionEntityType sessionEntityType, CallSettings callSettings = null)

Creates a session entity type.

If the specified session entity type already exists, overrides the session entity type.

Parameters
NameDescription
parentSessionName

Required. The session to create a session entity type for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

sessionEntityTypeSessionEntityType

Required. The session entity type to create.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

CreateSessionEntityTypeAsync(SessionName, SessionEntityType, CancellationToken)

public virtual Task<SessionEntityType> CreateSessionEntityTypeAsync(SessionName parent, SessionEntityType sessionEntityType, CancellationToken cancellationToken)

Creates a session entity type.

If the specified session entity type already exists, overrides the session entity type.

Parameters
NameDescription
parentSessionName

Required. The session to create a session entity type for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

sessionEntityTypeSessionEntityType

Required. The session entity type to create.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

CreateSessionEntityTypeAsync(String, SessionEntityType, CallSettings)

public virtual Task<SessionEntityType> CreateSessionEntityTypeAsync(string parent, SessionEntityType sessionEntityType, CallSettings callSettings = null)

Creates a session entity type.

If the specified session entity type already exists, overrides the session entity type.

Parameters
NameDescription
parentSystem.String

Required. The session to create a session entity type for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

sessionEntityTypeSessionEntityType

Required. The session entity type to create.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

CreateSessionEntityTypeAsync(String, SessionEntityType, CancellationToken)

public virtual Task<SessionEntityType> CreateSessionEntityTypeAsync(string parent, SessionEntityType sessionEntityType, CancellationToken cancellationToken)

Creates a session entity type.

If the specified session entity type already exists, overrides the session entity type.

Parameters
NameDescription
parentSystem.String

Required. The session to create a session entity type for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

sessionEntityTypeSessionEntityType

Required. The session entity type to create.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

DeleteSessionEntityType(DeleteSessionEntityTypeRequest, CallSettings)

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

Deletes the specified session entity type.

Parameters
NameDescription
requestDeleteSessionEntityTypeRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteSessionEntityType(SessionEntityTypeName, CallSettings)

public virtual void DeleteSessionEntityType(SessionEntityTypeName name, CallSettings callSettings = null)

Deletes the specified session entity type.

Parameters
NameDescription
nameSessionEntityTypeName

Required. The name of the session entity type to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteSessionEntityType(String, CallSettings)

public virtual void DeleteSessionEntityType(string name, CallSettings callSettings = null)

Deletes the specified session entity type.

Parameters
NameDescription
nameSystem.String

Required. The name of the session entity type to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest, CallSettings)

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

Deletes the specified session entity type.

Parameters
NameDescription
requestDeleteSessionEntityTypeRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest, CancellationToken)

public virtual Task DeleteSessionEntityTypeAsync(DeleteSessionEntityTypeRequest request, CancellationToken cancellationToken)

Deletes the specified session entity type.

Parameters
NameDescription
requestDeleteSessionEntityTypeRequest

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

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSessionEntityTypeAsync(SessionEntityTypeName, CallSettings)

public virtual Task DeleteSessionEntityTypeAsync(SessionEntityTypeName name, CallSettings callSettings = null)

Deletes the specified session entity type.

Parameters
NameDescription
nameSessionEntityTypeName

Required. The name of the session entity type to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSessionEntityTypeAsync(SessionEntityTypeName, CancellationToken)

public virtual Task DeleteSessionEntityTypeAsync(SessionEntityTypeName name, CancellationToken cancellationToken)

Deletes the specified session entity type.

Parameters
NameDescription
nameSessionEntityTypeName

Required. The name of the session entity type to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSessionEntityTypeAsync(String, CallSettings)

public virtual Task DeleteSessionEntityTypeAsync(string name, CallSettings callSettings = null)

Deletes the specified session entity type.

Parameters
NameDescription
nameSystem.String

Required. The name of the session entity type to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSessionEntityTypeAsync(String, CancellationToken)

public virtual Task DeleteSessionEntityTypeAsync(string name, CancellationToken cancellationToken)

Deletes the specified session entity type.

Parameters
NameDescription
nameSystem.String

Required. The name of the session entity type to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

GetSessionEntityType(GetSessionEntityTypeRequest, CallSettings)

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

Retrieves the specified session entity type.

Parameters
NameDescription
requestGetSessionEntityTypeRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

GetSessionEntityType(SessionEntityTypeName, CallSettings)

public virtual SessionEntityType GetSessionEntityType(SessionEntityTypeName name, CallSettings callSettings = null)

Retrieves the specified session entity type.

Parameters
NameDescription
nameSessionEntityTypeName

Required. The name of the session entity type. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

GetSessionEntityType(String, CallSettings)

public virtual SessionEntityType GetSessionEntityType(string name, CallSettings callSettings = null)

Retrieves the specified session entity type.

Parameters
NameDescription
nameSystem.String

Required. The name of the session entity type. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

GetSessionEntityTypeAsync(GetSessionEntityTypeRequest, CallSettings)

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

Retrieves the specified session entity type.

Parameters
NameDescription
requestGetSessionEntityTypeRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

GetSessionEntityTypeAsync(GetSessionEntityTypeRequest, CancellationToken)

public virtual Task<SessionEntityType> GetSessionEntityTypeAsync(GetSessionEntityTypeRequest request, CancellationToken cancellationToken)

Retrieves the specified session entity type.

Parameters
NameDescription
requestGetSessionEntityTypeRequest

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

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

GetSessionEntityTypeAsync(SessionEntityTypeName, CallSettings)

public virtual Task<SessionEntityType> GetSessionEntityTypeAsync(SessionEntityTypeName name, CallSettings callSettings = null)

Retrieves the specified session entity type.

Parameters
NameDescription
nameSessionEntityTypeName

Required. The name of the session entity type. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

GetSessionEntityTypeAsync(SessionEntityTypeName, CancellationToken)

public virtual Task<SessionEntityType> GetSessionEntityTypeAsync(SessionEntityTypeName name, CancellationToken cancellationToken)

Retrieves the specified session entity type.

Parameters
NameDescription
nameSessionEntityTypeName

Required. The name of the session entity type. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

GetSessionEntityTypeAsync(String, CallSettings)

public virtual Task<SessionEntityType> GetSessionEntityTypeAsync(string name, CallSettings callSettings = null)

Retrieves the specified session entity type.

Parameters
NameDescription
nameSystem.String

Required. The name of the session entity type. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

GetSessionEntityTypeAsync(String, CancellationToken)

public virtual Task<SessionEntityType> GetSessionEntityTypeAsync(string name, CancellationToken cancellationToken)

Retrieves the specified session entity type.

Parameters
NameDescription
nameSystem.String

Required. The name of the session entity type. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

ListSessionEntityTypes(ListSessionEntityTypesRequest, CallSettings)

public virtual PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypes(ListSessionEntityTypesRequest request, CallSettings callSettings = null)

Returns the list of all session entity types in the specified session.

Parameters
NameDescription
requestListSessionEntityTypesRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType>

A pageable sequence of SessionEntityType resources.

ListSessionEntityTypes(SessionName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypes(SessionName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Returns the list of all session entity types in the specified session.

Parameters
NameDescription
parentSessionName

Required. The session to list all session entity types from. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType>

A pageable sequence of SessionEntityType resources.

ListSessionEntityTypes(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypes(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Returns the list of all session entity types in the specified session.

Parameters
NameDescription
parentSystem.String

Required. The session to list all session entity types from. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListSessionEntityTypesResponse, SessionEntityType>

A pageable sequence of SessionEntityType resources.

ListSessionEntityTypesAsync(ListSessionEntityTypesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypesAsync(ListSessionEntityTypesRequest request, CallSettings callSettings = null)

Returns the list of all session entity types in the specified session.

Parameters
NameDescription
requestListSessionEntityTypesRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType>

A pageable asynchronous sequence of SessionEntityType resources.

ListSessionEntityTypesAsync(SessionName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypesAsync(SessionName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Returns the list of all session entity types in the specified session.

Parameters
NameDescription
parentSessionName

Required. The session to list all session entity types from. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType>

A pageable asynchronous sequence of SessionEntityType resources.

ListSessionEntityTypesAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType> ListSessionEntityTypesAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Returns the list of all session entity types in the specified session.

Parameters
NameDescription
parentSystem.String

Required. The session to list all session entity types from. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListSessionEntityTypesResponse, SessionEntityType>

A pageable asynchronous sequence of SessionEntityType resources.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
System.Threading.Tasks.Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateSessionEntityType(SessionEntityType, FieldMask, CallSettings)

public virtual SessionEntityType UpdateSessionEntityType(SessionEntityType sessionEntityType, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified session entity type.

Parameters
NameDescription
sessionEntityTypeSessionEntityType

Required. The session entity type to update. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

UpdateSessionEntityType(UpdateSessionEntityTypeRequest, CallSettings)

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

Updates the specified session entity type.

Parameters
NameDescription
requestUpdateSessionEntityTypeRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionEntityType

The RPC response.

UpdateSessionEntityTypeAsync(SessionEntityType, FieldMask, CallSettings)

public virtual Task<SessionEntityType> UpdateSessionEntityTypeAsync(SessionEntityType sessionEntityType, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified session entity type.

Parameters
NameDescription
sessionEntityTypeSessionEntityType

Required. The session entity type to update. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

UpdateSessionEntityTypeAsync(SessionEntityType, FieldMask, CancellationToken)

public virtual Task<SessionEntityType> UpdateSessionEntityTypeAsync(SessionEntityType sessionEntityType, FieldMask updateMask, CancellationToken cancellationToken)

Updates the specified session entity type.

Parameters
NameDescription
sessionEntityTypeSessionEntityType

Required. The session entity type to update. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt; or projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/environments/&amp;lt;Environment ID&amp;gt;/sessions/&amp;lt;Session ID&amp;gt;/entityTypes/&amp;lt;Entity Type ID&amp;gt;. If Environment ID is not specified, we assume default 'draft' environment.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest, CallSettings)

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

Updates the specified session entity type.

Parameters
NameDescription
requestUpdateSessionEntityTypeRequest

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

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.

UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest, CancellationToken)

public virtual Task<SessionEntityType> UpdateSessionEntityTypeAsync(UpdateSessionEntityTypeRequest request, CancellationToken cancellationToken)

Updates the specified session entity type.

Parameters
NameDescription
requestUpdateSessionEntityTypeRequest

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

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<SessionEntityType>

A Task containing the RPC response.