[BindServiceMethod(typeof(UserLicenseService), "BindService")]
public abstract class UserLicenseService.UserLicenseServiceBaseReference documentation and code samples for the Discovery Engine v1 API class UserLicenseService.UserLicenseServiceBase.
Base class for server-side implementations of UserLicenseService
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.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 |
BatchUpdateUserLicensesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
ListUserLicensesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListUserLicensesResponse |
The response to send back to the client (wrapped by a task). |