[BindServiceMethod(typeof(UsageService), "BindService")]
public abstract class UsageService.UsageServiceBaseReference documentation and code samples for the Capacity Planner v1beta API class UsageService.UsageServiceBase.
Base class for server-side implementations of UsageService
Namespace
Google.Cloud.CapacityPlanner.V1BetaAssembly
Google.Cloud.CapacityPlanner.V1Beta.dll
Methods
ExportForecasts(ExportForecastsRequest, ServerCallContext)
public virtual Task<Operation> ExportForecasts(ExportForecastsRequest request, ServerCallContext context)Exports forecasted usage data requested by user into either an existing Cloud Storage bucket or a BigQuery table.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ExportForecastsRequestThe 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).  | 
      
ExportReservationsUsage(ExportReservationsUsageRequest, ServerCallContext)
public virtual Task<Operation> ExportReservationsUsage(ExportReservationsUsageRequest request, ServerCallContext context)Exports reservations usage data requested by user into either an existing Cloud Storage bucket or a new/existing BigQuery table.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ExportReservationsUsageRequestThe 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).  | 
      
ExportUsageHistories(ExportUsageHistoriesRequest, ServerCallContext)
public virtual Task<Operation> ExportUsageHistories(ExportUsageHistoriesRequest request, ServerCallContext context)Exports historical usage data requested by user into either an existing Cloud Storage bucket or a BigQuery table.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ExportUsageHistoriesRequestThe 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).  | 
      
QueryForecasts(QueryForecastsRequest, ServerCallContext)
public virtual Task<QueryForecastsResponse> QueryForecasts(QueryForecastsRequest request, ServerCallContext context)Returns a list of the forecasts that are in the parent parameter and match your specified filters.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        QueryForecastsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskQueryForecastsResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
QueryReservations(QueryReservationsRequest, ServerCallContext)
public virtual Task<QueryReservationsResponse> QueryReservations(QueryReservationsRequest request, ServerCallContext context)Returns a list of the reservations that are in the parent parameter and match your specified filters.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        QueryReservationsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskQueryReservationsResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
QueryUsageHistories(QueryUsageHistoriesRequest, ServerCallContext)
public virtual Task<QueryUsageHistoriesResponse> QueryUsageHistories(QueryUsageHistoriesRequest request, ServerCallContext context)Returns a list of the usage histories that are in the parent parameter and match your specified filters.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        QueryUsageHistoriesRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskQueryUsageHistoriesResponse | 
        The response to send back to the client (wrapped by a task).  |