public static class VpcAccessService
Reference documentation and code samples for the Serverless VPC Access v1 API class VpcAccessService.
Serverless VPC Access API allows users to create and manage connectors for App Engine, Cloud Functions and Cloud Run to have internal connections to Virtual Private Cloud networks.
Namespace
Google.Cloud.VpcAccess.V1Assembly
Google.Cloud.VpcAccess.V1.dll
Methods
BindService(VpcAccessServiceBase)
public static ServerServiceDefinition BindService(VpcAccessService.VpcAccessServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
VpcAccessServiceVpcAccessServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, VpcAccessServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, VpcAccessService.VpcAccessServiceBase 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 |
VpcAccessServiceVpcAccessServiceBase An object implementing the server-side handling logic. |