Network Services v1 API - Class NetworkServices (1.0.0-beta01)

public static class NetworkServices

Reference documentation and code samples for the Network Services v1 API class NetworkServices.

Service describing handlers for resources.

Inheritance

object > NetworkServices

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Methods

BindService(NetworkServicesBase)

public static ServerServiceDefinition BindService(NetworkServices.NetworkServicesBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl NetworkServicesNetworkServicesBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, NetworkServicesBase)

public static void BindService(ServiceBinderBase serviceBinder, NetworkServices.NetworkServicesBase 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 NetworkServicesNetworkServicesBase

An object implementing the server-side handling logic.