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

public static class UsageService

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

Provides access to historical and forecasted usage data.

Inheritance

object > UsageService

Namespace

Google.Cloud.CapacityPlanner.V1Beta

Assembly

Google.Cloud.CapacityPlanner.V1Beta.dll

Methods

BindService(UsageServiceBase)

public static ServerServiceDefinition BindService(UsageService.UsageServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl UsageServiceUsageServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, UsageServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, UsageService.UsageServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl UsageServiceUsageServiceBase

An object implementing the server-side handling logic.