Class VpcAccessServiceGrpc.VpcAccessServiceStub (2.10.0)

public static final class VpcAccessServiceGrpc.VpcAccessServiceStub extends AbstractAsyncStub<VpcAccessServiceGrpc.VpcAccessServiceStub>

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

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > VpcAccessServiceGrpc.VpcAccessServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected VpcAccessServiceGrpc.VpcAccessServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
VpcAccessServiceGrpc.VpcAccessServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createConnector(CreateConnectorRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 void listConnectors(ListConnectorsRequest request, StreamObserver<ListConnectorsResponse> responseObserver)

Lists Serverless VPC Access connectors.

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