License Manager v1 API - Class LicenseManager.LicenseManagerBase (1.0.0-beta01)

[BindServiceMethod(typeof(LicenseManager), "BindService")]
public abstract class LicenseManager.LicenseManagerBase

Reference documentation and code samples for the License Manager v1 API class LicenseManager.LicenseManagerBase.

Base class for server-side implementations of LicenseManager

Inheritance

object > LicenseManager.LicenseManagerBase

Namespace

Google.Cloud.LicenseManager.V1

Assembly

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 AggregateUsageRequest

The request received from the client.

context ServerCallContext

The 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 CreateConfigurationRequest

The request received from the client.

context ServerCallContext

The 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 DeactivateConfigurationRequest

The request received from the client.

context ServerCallContext

The 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 DeleteConfigurationRequest

The request received from the client.

context ServerCallContext

The 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 GetConfigurationRequest

The request received from the client.

context ServerCallContext

The 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 GetInstanceRequest

The request received from the client.

context ServerCallContext

The 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 GetProductRequest

The request received from the client.

context ServerCallContext

The 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 ListConfigurationsRequest

The request received from the client.

context ServerCallContext

The 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 ListInstancesRequest

The request received from the client.

context ServerCallContext

The 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 ListProductsRequest

The request received from the client.

context ServerCallContext

The 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 QueryConfigurationLicenseUsageRequest

The request received from the client.

context ServerCallContext

The 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 ReactivateConfigurationRequest

The request received from the client.

context ServerCallContext

The 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 UpdateConfigurationRequest

The request received from the client.

context ServerCallContext

The 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).