1.0.0-beta25 (latest) 1.0.0-beta24

    [BindServiceMethod(typeof(UserLicenseService), "BindService")]
    public abstract class UserLicenseService.UserLicenseServiceBase

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

Base class for server-side implementations of UserLicenseService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> UserLicenseService.UserLicenseServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [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

## Methods

### BatchUpdateUserLicenses(BatchUpdateUserLicensesRequest, ServerCallContext)

    public virtual Task<Operation> BatchUpdateUserLicenses(BatchUpdateUserLicensesRequest request, ServerCallContext context)

Updates the User License.
This method is used for batch assign/unassign licenses to users.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### ListLicenseConfigsUsageStats(ListLicenseConfigsUsageStatsRequest, ServerCallContext)

    public virtual Task<ListLicenseConfigsUsageStatsResponse> ListLicenseConfigsUsageStats(ListLicenseConfigsUsageStatsRequest request, ServerCallContext context)

Lists all the
\[LicenseConfigUsageStats\]\[google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats\]s
associated with the project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListLicenseConfigsUsageStatsResponse` | The response to send back to the client (wrapped by a task). |

### ListUserLicenses(ListUserLicensesRequest, ServerCallContext)

    public virtual Task<ListUserLicensesResponse> ListUserLicenses(ListUserLicensesRequest request, ServerCallContext context)

Lists the User Licenses.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListUserLicensesResponse` | The response to send back to the client (wrapped by a task). |