Class VpcAccessServiceGrpc.VpcAccessServiceFutureStub (2.46.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateConnectorRequest
Returns
Type Description
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
Name Description
request DeleteConnectorRequest
Returns
Type Description
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
Name Description
request GetConnectorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Connector>

listConnectors(ListConnectorsRequest request)

public ListenableFuture<ListConnectorsResponse> listConnectors(ListConnectorsRequest request)

Lists Serverless VPC Access connectors.

Parameter
Name Description
request ListConnectorsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListConnectorsResponse>