Class ServiceUsage (2.0.0)

public static class ServiceUsage

Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.

See Service Usage API

Inheritance

Object > ServiceUsage

Namespace

Google.Cloud.ServiceUsage.V1

Assembly

Google.Cloud.ServiceUsage.V1.dll

Methods

BindService(ServiceUsage.ServiceUsageBase)

public static ServerServiceDefinition BindService(ServiceUsage.ServiceUsageBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplServiceUsage.ServiceUsageBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, ServiceUsage.ServiceUsageBase)

public static void BindService(ServiceBinderBase serviceBinder, ServiceUsage.ServiceUsageBase 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
NameDescription
serviceBinderServiceBinderBase

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

serviceImplServiceUsage.ServiceUsageBase

An object implementing the server-side handling logic.