public static class GatewayControl
Reference documentation and code samples for the Connect Gateway v1 API class GatewayControl.
GatewayControl is the control plane API for Connect Gateway.
Namespace
Google.Cloud.GkeConnect.Gateway.V1Assembly
Google.Cloud.GkeConnect.Gateway.V1.dll
Methods
BindService(GatewayControlBase)
public static ServerServiceDefinition BindService(GatewayControl.GatewayControlBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
GatewayControlGatewayControlBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, GatewayControlBase)
public static void BindService(ServiceBinderBase serviceBinder, GatewayControl.GatewayControlBase 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 |
GatewayControlGatewayControlBase An object implementing the server-side handling logic. |