1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class UserStoreServiceClientImpl : UserStoreServiceClient

Reference documentation and code samples for the Discovery Engine v1beta API class UserStoreServiceClientImpl.

UserStoreService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [UserStoreServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient) \> UserStoreServiceClientImpl

## Inherited Members

[UserStoreServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_DefaultEndpoint) [UserStoreServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_DefaultScopes) [UserStoreServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_ServiceMetadata) [UserStoreServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_CreateAsync_System_Threading_CancellationToken_) [UserStoreServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_Create) [UserStoreServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_ShutdownDefaultChannelsAsync) [UserStoreServiceClient.GetUserStoreAsync(GetUserStoreRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStoreAsync_Google_Cloud_DiscoveryEngine_V1Beta_GetUserStoreRequest_System_Threading_CancellationToken_) [UserStoreServiceClient.GetUserStore(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStore_System_String_Google_Api_Gax_Grpc_CallSettings_) [UserStoreServiceClient.GetUserStoreAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStoreAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [UserStoreServiceClient.GetUserStoreAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStoreAsync_System_String_System_Threading_CancellationToken_) [UserStoreServiceClient.GetUserStore(UserStoreName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStore_Google_Cloud_DiscoveryEngine_V1Beta_UserStoreName_Google_Api_Gax_Grpc_CallSettings_) [UserStoreServiceClient.GetUserStoreAsync(UserStoreName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStoreAsync_Google_Cloud_DiscoveryEngine_V1Beta_UserStoreName_Google_Api_Gax_Grpc_CallSettings_) [UserStoreServiceClient.GetUserStoreAsync(UserStoreName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStoreAsync_Google_Cloud_DiscoveryEngine_V1Beta_UserStoreName_System_Threading_CancellationToken_) [UserStoreServiceClient.UpdateUserStoreAsync(UpdateUserStoreRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_UpdateUserStoreAsync_Google_Cloud_DiscoveryEngine_V1Beta_UpdateUserStoreRequest_System_Threading_CancellationToken_) [UserStoreServiceClient.UpdateUserStore(UserStore, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_UpdateUserStore_Google_Cloud_DiscoveryEngine_V1Beta_UserStore_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [UserStoreServiceClient.UpdateUserStoreAsync(UserStore, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_UpdateUserStoreAsync_Google_Cloud_DiscoveryEngine_V1Beta_UserStore_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [UserStoreServiceClient.UpdateUserStoreAsync(UserStore, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_UpdateUserStoreAsync_Google_Cloud_DiscoveryEngine_V1Beta_UserStore_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Remarks

Service for managing User Stores.

## Constructors

### UserStoreServiceClientImpl(UserStoreServiceClient, UserStoreServiceSettings, ILogger)

    public UserStoreServiceClientImpl(UserStoreService.UserStoreServiceClient grpcClient, UserStoreServiceSettings settings, ILogger logger)

Constructs a client wrapper for the UserStoreService service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreService.UserStoreServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceSettings` The base [UserStoreServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override UserStoreService.UserStoreServiceClient GrpcClient { get; }

The underlying gRPC UserStoreService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreService.UserStoreServiceClient` |   |

**Overrides** [UserStoreServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [UserStoreServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_LocationsClient)

## Methods

### GetUserStore(GetUserStoreRequest, CallSettings)

    public override UserStore GetUserStore(GetUserStoreRequest request, CallSettings callSettings = null)

Gets the User Store.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStore` | The RPC response. |

**Overrides** [UserStoreServiceClient.GetUserStore(GetUserStoreRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStore_Google_Cloud_DiscoveryEngine_V1Beta_GetUserStoreRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetUserStoreAsync(GetUserStoreRequest, CallSettings)

    public override Task<UserStore> GetUserStoreAsync(GetUserStoreRequest request, CallSettings callSettings = null)

Gets the User Store.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStore` | A Task containing the RPC response. |

**Overrides** [UserStoreServiceClient.GetUserStoreAsync(GetUserStoreRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_GetUserStoreAsync_Google_Cloud_DiscoveryEngine_V1Beta_GetUserStoreRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateUserStore(UpdateUserStoreRequest, CallSettings)

    public override UserStore UpdateUserStore(UpdateUserStoreRequest request, CallSettings callSettings = null)

Updates the User Store.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStore` | The RPC response. |

**Overrides** [UserStoreServiceClient.UpdateUserStore(UpdateUserStoreRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_UpdateUserStore_Google_Cloud_DiscoveryEngine_V1Beta_UpdateUserStoreRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateUserStoreAsync(UpdateUserStoreRequest, CallSettings)

    public override Task<UserStore> UpdateUserStoreAsync(UpdateUserStoreRequest request, CallSettings callSettings = null)

Updates the User Store.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStore` | A Task containing the RPC response. |

**Overrides** [UserStoreServiceClient.UpdateUserStoreAsync(UpdateUserStoreRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_UserStoreServiceClient_UpdateUserStoreAsync_Google_Cloud_DiscoveryEngine_V1Beta_UpdateUserStoreRequest_Google_Api_Gax_Grpc_CallSettings_)