public static class HubService
Reference documentation and code samples for the Network Connectivity v1alpha1 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.
Namespace
Google.Cloud.NetworkConnectivity.V1Alpha1Assembly
Google.Cloud.NetworkConnectivity.V1Alpha1.dll
Methods
BindService(HubServiceBase)
public static ServerServiceDefinition BindService(HubService.HubServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | HubServiceHubServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | HubServiceHubServiceBase An object implementing the server-side handling logic. |