Class VpcAccessServiceGrpc.VpcAccessServiceFutureStub (2.29.0)

public static final class VpcAccessServiceGrpc.VpcAccessServiceFutureStub extends AbstractFutureStub<VpcAccessServiceGrpc.VpcAccessServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > VpcAccessServiceGrpc.VpcAccessServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createConnector(CreateConnectorRequest request)

public ListenableFuture<Operation> createConnector(CreateConnectorRequest request)

Creates a Serverless VPC Access connector, returns an operation.

Parameter
NameDescription
requestCreateConnectorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteConnector(DeleteConnectorRequest request)

public ListenableFuture<Operation> deleteConnector(DeleteConnectorRequest request)

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

Parameter
NameDescription
requestDeleteConnectorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getConnector(GetConnectorRequest request)

public ListenableFuture<Connector> getConnector(GetConnectorRequest request)

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

Parameter
NameDescription
requestGetConnectorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Connector>

listConnectors(ListConnectorsRequest request)

public ListenableFuture<ListConnectorsResponse> listConnectors(ListConnectorsRequest request)

Lists Serverless VPC Access connectors.

Parameter
NameDescription
requestListConnectorsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListConnectorsResponse>