public abstract class SessionEntityTypesClient
SessionEntityTypes client wrapper, for convenient use.
Inheritance
System.Object > SessionEntityTypesClientNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 | |
---|---|
Type | Description |
System.String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default SessionEntityTypes scopes.
Property Value | |
---|---|
Type | Description |
System.Collections.Generic.IReadOnlyList<System.String> |
The default SessionEntityTypes scopes are:
GrpcClient
public virtual SessionEntityTypes.SessionEntityTypesClient GrpcClient { get; }
The underlying gRPC SessionEntityTypes client
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
cancellationToken | System.Threading.CancellationToken The System.Threading.CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | SessionName Required. The session to create a session entity type for.
Format: |
sessionEntityType | SessionEntityType Required. The session entity type to create. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The session to create a session entity type for.
Format: |
sessionEntityType | SessionEntityType Required. The session entity type to create. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | SessionName Required. The session to create a session entity type for.
Format: |
sessionEntityType | SessionEntityType Required. The session entity type to create. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | SessionName Required. The session to create a session entity type for.
Format: |
sessionEntityType | SessionEntityType Required. The session entity type to create. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The session to create a session entity type for.
Format: |
sessionEntityType | SessionEntityType Required. The session entity type to create. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The session to create a session entity type for.
Format: |
sessionEntityType | SessionEntityType Required. The session entity type to create. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings | Google.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 | |
---|---|
Name | Description |
name | SessionEntityTypeName Required. The name of the session entity type to delete.
Format: |
callSettings | Google.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 | |
---|---|
Name | Description |
name | System.String Required. The name of the session entity type to delete.
Format: |
callSettings | Google.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 | |
---|---|
Name | Description |
request | DeleteSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | SessionEntityTypeName Required. The name of the session entity type to delete.
Format: |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | SessionEntityTypeName Required. The name of the session entity type to delete.
Format: |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the session entity type to delete.
Format: |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the session entity type to delete.
Format: |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SessionEntityType | The RPC response. |
GetSessionEntityType(SessionEntityTypeName, CallSettings)
public virtual SessionEntityType GetSessionEntityType(SessionEntityTypeName name, CallSettings callSettings = null)
Retrieves the specified session entity type.
Parameters | |
---|---|
Name | Description |
name | SessionEntityTypeName Required. The name of the session entity type.
Format: |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SessionEntityType | The RPC response. |
GetSessionEntityType(String, CallSettings)
public virtual SessionEntityType GetSessionEntityType(string name, CallSettings callSettings = null)
Retrieves the specified session entity type.
Parameters | |
---|---|
Name | Description |
name | System.String Required. The name of the session entity type.
Format: |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SessionEntityType | The RPC response. |
GetSessionEntityTypeAsync(GetSessionEntityTypeRequest, CallSettings)
public virtual 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 | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | SessionEntityTypeName Required. The name of the session entity type.
Format: |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | SessionEntityTypeName Required. The name of the session entity type.
Format: |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the session entity type.
Format: |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the session entity type.
Format: |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListSessionEntityTypesRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | SessionName Required. The session to list all session entity types from.
Format: |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The session to list all session entity types from.
Format: |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListSessionEntityTypesRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | SessionName Required. The session to list all session entity types from.
Format: |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The session to list all session entity types from.
Format: |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
System.Threading.Tasks.Task | A task representing the asynchronous shutdown operation. |
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 | |
---|---|
Name | Description |
sessionEntityType | SessionEntityType Required. The session entity type to update.
Format: |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask The mask to control which fields get updated. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SessionEntityType | The RPC response. |
UpdateSessionEntityType(UpdateSessionEntityTypeRequest, CallSettings)
public virtual 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 | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
sessionEntityType | SessionEntityType Required. The session entity type to update.
Format: |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask The mask to control which fields get updated. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
sessionEntityType | SessionEntityType Required. The session entity type to update.
Format: |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask The mask to control which fields get updated. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateSessionEntityTypeRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<SessionEntityType> | A Task containing the RPC response. |