Capacity Planner v1beta API - Class UsageService.UsageServiceBase (1.0.0-beta01)

[BindServiceMethod(typeof(UsageService), "BindService")]
public abstract class UsageService.UsageServiceBase

Reference documentation and code samples for the Capacity Planner v1beta API class UsageService.UsageServiceBase.

Base class for server-side implementations of UsageService

Inheritance

object > UsageService.UsageServiceBase

Namespace

Google.Cloud.CapacityPlanner.V1Beta

Assembly

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 ExportForecastsRequest

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

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 ExportReservationsUsageRequest

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

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 ExportUsageHistoriesRequest

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

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 QueryForecastsRequest

The request received from the client.

context ServerCallContext

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

The request received from the client.

context ServerCallContext

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

The request received from the client.

context ServerCallContext

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