Class VpcAccessServiceGrpc.VpcAccessServiceStub (2.43.0)

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

A stub to allow clients to do asynchronous rpc calls to service 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

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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateConnectorRequest
responseObserver io.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
Name Description
request DeleteConnectorRequest
responseObserver io.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
Name Description
request GetConnectorRequest
responseObserver io.grpc.stub.StreamObserver<Connector>

listConnectors(ListConnectorsRequest request, StreamObserver<ListConnectorsResponse> responseObserver)

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

Lists Serverless VPC Access connectors.

Parameters
Name Description
request ListConnectorsRequest
responseObserver io.grpc.stub.StreamObserver<ListConnectorsResponse>