Network Connectivity v1 API - Class HubService (2.4.0)

public static class HubService

Reference documentation and code samples for the Network Connectivity v1 API class HubService.

Network Connectivity Center is a hub-and-spoke abstraction for network connectivity management in Google Cloud. It reduces operational complexity through a simple, centralized connectivity management model.

Inheritance

object > HubService

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Methods

BindService(HubServiceBase)

public static ServerServiceDefinition BindService(HubService.HubServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplHubServiceHubServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, HubServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, HubService.HubServiceBase 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.

serviceImplHubServiceHubServiceBase

An object implementing the server-side handling logic.