Serverless VPC Access v1 API - Class VpcAccessService (2.2.0)

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.

Inheritance

Object > VpcAccessService

Namespace

Google.Cloud.VpcAccess.V1

Assembly

Google.Cloud.VpcAccess.V1.dll

Methods

BindService(VpcAccessService.VpcAccessServiceBase)

public static ServerServiceDefinition BindService(VpcAccessService.VpcAccessServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplVpcAccessService.VpcAccessServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, VpcAccessService.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
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplVpcAccessService.VpcAccessServiceBase

An object implementing the server-side handling logic.