[BindServiceMethod(typeof(LicenseManagementService), "BindService")]
public abstract class LicenseManagementService.LicenseManagementServiceBaseReference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class LicenseManagementService.LicenseManagementServiceBase.
Base class for server-side implementations of LicenseManagementService
Namespace
Google.Cloud.Commerce.Consumer.Procurement.V1Assembly
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 |
AssignRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
EnumerateLicensedUsersRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetLicensePoolRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UnassignRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateLicensePoolRequestThe request received from the client. |
context |
ServerCallContextThe 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). |