[BindServiceMethod(typeof(LicenseManager), "BindService")]
public abstract class LicenseManager.LicenseManagerBaseReference documentation and code samples for the License Manager v1 API class LicenseManager.LicenseManagerBase.
Base class for server-side implementations of LicenseManager
Namespace
Google.Cloud.LicenseManager.V1Assembly
Google.Cloud.LicenseManager.V1.dll
Methods
AggregateUsage(AggregateUsageRequest, ServerCallContext)
public virtual Task<AggregateUsageResponse> AggregateUsage(AggregateUsageRequest request, ServerCallContext context)Aggregates Usage per Instance for a Configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregateUsageRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAggregateUsageResponse |
The response to send back to the client (wrapped by a task). |
CreateConfiguration(CreateConfigurationRequest, ServerCallContext)
public virtual Task<Operation> CreateConfiguration(CreateConfigurationRequest request, ServerCallContext context)Creates a new Configuration in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConfigurationRequestThe 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). |
DeactivateConfiguration(DeactivateConfigurationRequest, ServerCallContext)
public virtual Task<Operation> DeactivateConfiguration(DeactivateConfigurationRequest request, ServerCallContext context)Deactivates the given configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
DeactivateConfigurationRequestThe 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). |
DeleteConfiguration(DeleteConfigurationRequest, ServerCallContext)
public virtual Task<Operation> DeleteConfiguration(DeleteConfigurationRequest request, ServerCallContext context)Deletes a single Configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConfigurationRequestThe 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). |
GetConfiguration(GetConfigurationRequest, ServerCallContext)
public virtual Task<Configuration> GetConfiguration(GetConfigurationRequest request, ServerCallContext context)Gets details of a single Configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConfigurationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskConfiguration |
The response to send back to the client (wrapped by a task). |
GetInstance(GetInstanceRequest, ServerCallContext)
public virtual Task<Instance> GetInstance(GetInstanceRequest request, ServerCallContext context)Gets details of a single Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInstance |
The response to send back to the client (wrapped by a task). |
GetProduct(GetProductRequest, ServerCallContext)
public virtual Task<Product> GetProduct(GetProductRequest request, ServerCallContext context)Gets details of a single Product.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProductRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskProduct |
The response to send back to the client (wrapped by a task). |
ListConfigurations(ListConfigurationsRequest, ServerCallContext)
public virtual Task<ListConfigurationsResponse> ListConfigurations(ListConfigurationsRequest request, ServerCallContext context)Lists Configurations in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConfigurationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListConfigurationsResponse |
The response to send back to the client (wrapped by a task). |
ListInstances(ListInstancesRequest, ServerCallContext)
public virtual Task<ListInstancesResponse> ListInstances(ListInstancesRequest request, ServerCallContext context)Lists Instances in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstancesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListInstancesResponse |
The response to send back to the client (wrapped by a task). |
ListProducts(ListProductsRequest, ServerCallContext)
public virtual Task<ListProductsResponse> ListProducts(ListProductsRequest request, ServerCallContext context)Lists Products in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListProductsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListProductsResponse |
The response to send back to the client (wrapped by a task). |
QueryConfigurationLicenseUsage(QueryConfigurationLicenseUsageRequest, ServerCallContext)
public virtual Task<QueryConfigurationLicenseUsageResponse> QueryConfigurationLicenseUsage(QueryConfigurationLicenseUsageRequest request, ServerCallContext context)License Usage information for a Configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryConfigurationLicenseUsageRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskQueryConfigurationLicenseUsageResponse |
The response to send back to the client (wrapped by a task). |
ReactivateConfiguration(ReactivateConfigurationRequest, ServerCallContext)
public virtual Task<Operation> ReactivateConfiguration(ReactivateConfigurationRequest request, ServerCallContext context)Reactivates the given configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
ReactivateConfigurationRequestThe 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). |
UpdateConfiguration(UpdateConfigurationRequest, ServerCallContext)
public virtual Task<Operation> UpdateConfiguration(UpdateConfigurationRequest request, ServerCallContext context)Updates the parameters of a single Configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigurationRequestThe 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). |