# Cloud Commerce Consumer Procurement v1 API - Class LicenseManagementServiceClientImpl (1.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClientImpl)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.5.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClientImpl)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.4.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClientImpl)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.3.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClientImpl)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.2.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClientImpl)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.1.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClientImpl)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/1.0.0/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClientImpl)

    public sealed class LicenseManagementServiceClientImpl : LicenseManagementServiceClient

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

LicenseManagementService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [LicenseManagementServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient) \> LicenseManagementServiceClientImpl

## Inherited Members

[LicenseManagementServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_DefaultEndpoint) [LicenseManagementServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_DefaultScopes) [LicenseManagementServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_ServiceMetadata) [LicenseManagementServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_CreateAsync_System_Threading_CancellationToken_) [LicenseManagementServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_Create) [LicenseManagementServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_ShutdownDefaultChannelsAsync) [LicenseManagementServiceClient.GetLicensePoolAsync(GetLicensePoolRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_GetLicensePoolAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_GetLicensePoolRequest_System_Threading_CancellationToken_) [LicenseManagementServiceClient.GetLicensePool(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_GetLicensePool_System_String_Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.GetLicensePoolAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_GetLicensePoolAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.GetLicensePoolAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_GetLicensePoolAsync_System_String_System_Threading_CancellationToken_) [LicenseManagementServiceClient.UpdateLicensePoolAsync(UpdateLicensePoolRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UpdateLicensePoolAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_UpdateLicensePoolRequest_System_Threading_CancellationToken_) [LicenseManagementServiceClient.UpdateLicensePool(LicensePool, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UpdateLicensePool_Google_Cloud_Commerce_Consumer_Procurement_V1_LicensePool_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.UpdateLicensePoolAsync(LicensePool, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UpdateLicensePoolAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_LicensePool_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.UpdateLicensePoolAsync(LicensePool, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UpdateLicensePoolAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_LicensePool_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [LicenseManagementServiceClient.AssignAsync(AssignRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_AssignAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_AssignRequest_System_Threading_CancellationToken_) [LicenseManagementServiceClient.Assign(string, IEnumerable\<string\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_Assign_System_String_System_Collections_Generic_IEnumerable_System_String__Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.AssignAsync(string, IEnumerable\<string\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_AssignAsync_System_String_System_Collections_Generic_IEnumerable_System_String__Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.AssignAsync(string, IEnumerable\<string\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_AssignAsync_System_String_System_Collections_Generic_IEnumerable_System_String__System_Threading_CancellationToken_) [LicenseManagementServiceClient.UnassignAsync(UnassignRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UnassignAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_UnassignRequest_System_Threading_CancellationToken_) [LicenseManagementServiceClient.Unassign(string, IEnumerable\<string\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_Unassign_System_String_System_Collections_Generic_IEnumerable_System_String__Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.UnassignAsync(string, IEnumerable\<string\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UnassignAsync_System_String_System_Collections_Generic_IEnumerable_System_String__Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.UnassignAsync(string, IEnumerable\<string\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UnassignAsync_System_String_System_Collections_Generic_IEnumerable_System_String__System_Threading_CancellationToken_) [LicenseManagementServiceClient.EnumerateLicensedUsers(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_EnumerateLicensedUsers_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [LicenseManagementServiceClient.EnumerateLicensedUsersAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_EnumerateLicensedUsersAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [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.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)

## Assembly

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

## Remarks

Service for managing licenses.

## Constructors

### LicenseManagementServiceClientImpl(LicenseManagementServiceClient, LicenseManagementServiceSettings, ILogger)

    public LicenseManagementServiceClientImpl(LicenseManagementService.LicenseManagementServiceClient grpcClient, LicenseManagementServiceSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementService.LicenseManagementServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceSettings` The base [LicenseManagementServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceSettings) 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 LicenseManagementService.LicenseManagementServiceClient GrpcClient { get; }

The underlying gRPC LicenseManagementService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementService.LicenseManagementServiceClient` |   |

**Overrides** [LicenseManagementServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_GrpcClient)

## Methods

### Assign(AssignRequest, CallSettings)

    public override AssignResponse Assign(AssignRequest request, CallSettings callSettings = null)

Assigns a license to a user.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignRequest` 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.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignResponse` | The RPC response. |

**Overrides** [LicenseManagementServiceClient.Assign(AssignRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_Assign_Google_Cloud_Commerce_Consumer_Procurement_V1_AssignRequest_Google_Api_Gax_Grpc_CallSettings_)

### AssignAsync(AssignRequest, CallSettings)

    public override Task<AssignResponse> AssignAsync(AssignRequest request, CallSettings callSettings = null)

Assigns a license to a user.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignRequest` 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.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.AssignResponse` | A Task containing the RPC response. |

**Overrides** [LicenseManagementServiceClient.AssignAsync(AssignRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_AssignAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_AssignRequest_Google_Api_Gax_Grpc_CallSettings_)

### EnumerateLicensedUsers(EnumerateLicensedUsersRequest, CallSettings)

    public override PagedEnumerable<EnumerateLicensedUsersResponse, LicensedUser> EnumerateLicensedUsers(EnumerateLicensedUsersRequest request, CallSettings callSettings = null)

Enumerates all users assigned a license.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.EnumerateLicensedUsersRequest` 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://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.EnumerateLicensedUsersResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicensedUser` | A pageable sequence of [LicensedUser](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicensedUser) resources. |

**Overrides** [LicenseManagementServiceClient.EnumerateLicensedUsers(EnumerateLicensedUsersRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_EnumerateLicensedUsers_Google_Cloud_Commerce_Consumer_Procurement_V1_EnumerateLicensedUsersRequest_Google_Api_Gax_Grpc_CallSettings_)

### EnumerateLicensedUsersAsync(EnumerateLicensedUsersRequest, CallSettings)

    public override PagedAsyncEnumerable<EnumerateLicensedUsersResponse, LicensedUser> EnumerateLicensedUsersAsync(EnumerateLicensedUsersRequest request, CallSettings callSettings = null)

Enumerates all users assigned a license.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.EnumerateLicensedUsersRequest` 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://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.EnumerateLicensedUsersResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicensedUser` | A pageable asynchronous sequence of [LicensedUser](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicensedUser) resources. |

**Overrides** [LicenseManagementServiceClient.EnumerateLicensedUsersAsync(EnumerateLicensedUsersRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_EnumerateLicensedUsersAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_EnumerateLicensedUsersRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetLicensePool(GetLicensePoolRequest, CallSettings)

    public override LicensePool GetLicensePool(GetLicensePoolRequest request, CallSettings callSettings = null)

Gets the license pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.GetLicensePoolRequest` 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.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicensePool` | The RPC response. |

**Overrides** [LicenseManagementServiceClient.GetLicensePool(GetLicensePoolRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_GetLicensePool_Google_Cloud_Commerce_Consumer_Procurement_V1_GetLicensePoolRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetLicensePoolAsync(GetLicensePoolRequest, CallSettings)

    public override Task<LicensePool> GetLicensePoolAsync(GetLicensePoolRequest request, CallSettings callSettings = null)

Gets the license pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.GetLicensePoolRequest` 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.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicensePool` | A Task containing the RPC response. |

**Overrides** [LicenseManagementServiceClient.GetLicensePoolAsync(GetLicensePoolRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_GetLicensePoolAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_GetLicensePoolRequest_Google_Api_Gax_Grpc_CallSettings_)

### Unassign(UnassignRequest, CallSettings)

    public override UnassignResponse Unassign(UnassignRequest request, CallSettings callSettings = null)

Unassigns a license from a user.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.UnassignRequest` 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.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.UnassignResponse` | The RPC response. |

**Overrides** [LicenseManagementServiceClient.Unassign(UnassignRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_Unassign_Google_Cloud_Commerce_Consumer_Procurement_V1_UnassignRequest_Google_Api_Gax_Grpc_CallSettings_)

### UnassignAsync(UnassignRequest, CallSettings)

    public override Task<UnassignResponse> UnassignAsync(UnassignRequest request, CallSettings callSettings = null)

Unassigns a license from a user.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.UnassignRequest` 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.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.UnassignResponse` | A Task containing the RPC response. |

**Overrides** [LicenseManagementServiceClient.UnassignAsync(UnassignRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UnassignAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_UnassignRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateLicensePool(UpdateLicensePoolRequest, CallSettings)

    public override LicensePool UpdateLicensePool(UpdateLicensePoolRequest request, CallSettings callSettings = null)

Updates the license pool if one exists for this Order.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.UpdateLicensePoolRequest` 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.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicensePool` | The RPC response. |

**Overrides** [LicenseManagementServiceClient.UpdateLicensePool(UpdateLicensePoolRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UpdateLicensePool_Google_Cloud_Commerce_Consumer_Procurement_V1_UpdateLicensePoolRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateLicensePoolAsync(UpdateLicensePoolRequest, CallSettings)

    public override Task<LicensePool> UpdateLicensePoolAsync(UpdateLicensePoolRequest request, CallSettings callSettings = null)

Updates the license pool if one exists for this Order.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.UpdateLicensePoolRequest` 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.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicensePool` | A Task containing the RPC response. |

**Overrides** [LicenseManagementServiceClient.UpdateLicensePoolAsync(UpdateLicensePoolRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Commerce.Consumer.Procurement.V1/latest/Google.Cloud.Commerce.Consumer.Procurement.V1.LicenseManagementServiceClient#Google_Cloud_Commerce_Consumer_Procurement_V1_LicenseManagementServiceClient_UpdateLicensePoolAsync_Google_Cloud_Commerce_Consumer_Procurement_V1_UpdateLicensePoolRequest_Google_Api_Gax_Grpc_CallSettings_)