Interface VpcAccessServiceGrpc.AsyncService (2.21.0)

public static interface VpcAccessServiceGrpc.AsyncService

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.

Methods

createConnector(CreateConnectorRequest request, StreamObserver<Operation> responseObserver)

public default void createConnector(CreateConnectorRequest request, StreamObserver<Operation> responseObserver)

Creates a Serverless VPC Access connector, returns an operation.

Parameters
NameDescription
requestCreateConnectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteConnector(DeleteConnectorRequest request, StreamObserver<Operation> responseObserver)

public default void deleteConnector(DeleteConnectorRequest request, StreamObserver<Operation> responseObserver)

Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Parameters
NameDescription
requestDeleteConnectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getConnector(GetConnectorRequest request, StreamObserver<Connector> responseObserver)

public default void getConnector(GetConnectorRequest request, StreamObserver<Connector> responseObserver)

Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Parameters
NameDescription
requestGetConnectorRequest
responseObserverio.grpc.stub.StreamObserver<Connector>

listConnectors(ListConnectorsRequest request, StreamObserver<ListConnectorsResponse> responseObserver)

public default void listConnectors(ListConnectorsRequest request, StreamObserver<ListConnectorsResponse> responseObserver)

Lists Serverless VPC Access connectors.

Parameters
NameDescription
requestListConnectorsRequest
responseObserverio.grpc.stub.StreamObserver<ListConnectorsResponse>