1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    [BindServiceMethod(typeof(LicenseManagementService), "BindService")]
    public abstract class LicenseManagementService.LicenseManagementServiceBase

Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class LicenseManagementService.LicenseManagementServiceBase.

Base class for server-side implementations of LicenseManagementService

## Inheritance

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

## 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.Commerce.Consumer.Procurement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.md.txt)

## Assembly

Google.Cloud.Commerce.Consumer.Procurement.V1.dll

## Methods

### Assign(AssignRequest, ServerCallContext)

    public virtual Task<AssignResponse> Assign(AssignRequest request, ServerCallContext context)

Assigns a license to a user.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `AssignRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskAssignResponse` | The response to send back to the client (wrapped by a task). |

### EnumerateLicensedUsers(EnumerateLicensedUsersRequest, ServerCallContext)

    public virtual Task<EnumerateLicensedUsersResponse> EnumerateLicensedUsers(EnumerateLicensedUsersRequest request, ServerCallContext context)

Enumerates all users assigned a license.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `EnumerateLicensedUsersRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskEnumerateLicensedUsersResponse` | The response to send back to the client (wrapped by a task). |

### GetLicensePool(GetLicensePoolRequest, ServerCallContext)

    public virtual Task<LicensePool> GetLicensePool(GetLicensePoolRequest request, ServerCallContext context)

Gets the license pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetLicensePoolRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskLicensePool` | The response to send back to the client (wrapped by a task). |

### Unassign(UnassignRequest, ServerCallContext)

    public virtual Task<UnassignResponse> Unassign(UnassignRequest request, ServerCallContext context)

Unassigns a license from a user.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UnassignRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskUnassignResponse` | The response to send back to the client (wrapped by a task). |

### UpdateLicensePool(UpdateLicensePoolRequest, ServerCallContext)

    public virtual Task<LicensePool> UpdateLicensePool(UpdateLicensePoolRequest request, ServerCallContext context)

Updates the license pool if one exists for this Order.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateLicensePoolRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskLicensePool` | The response to send back to the client (wrapped by a task). |