Class VpcAccessServiceGrpc.VpcAccessServiceBlockingStub (2.38.0)

public static final class VpcAccessServiceGrpc.VpcAccessServiceBlockingStub extends AbstractBlockingStub<VpcAccessServiceGrpc.VpcAccessServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > VpcAccessServiceGrpc.VpcAccessServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createConnector(CreateConnectorRequest request)

public Operation createConnector(CreateConnectorRequest request)

Creates a Serverless VPC Access connector, returns an operation.

Parameter
NameDescription
requestCreateConnectorRequest
Returns
TypeDescription
Operation

deleteConnector(DeleteConnectorRequest request)

public Operation deleteConnector(DeleteConnectorRequest request)

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

Parameter
NameDescription
requestDeleteConnectorRequest
Returns
TypeDescription
Operation

getConnector(GetConnectorRequest request)

public Connector getConnector(GetConnectorRequest request)

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

Parameter
NameDescription
requestGetConnectorRequest
Returns
TypeDescription
Connector

listConnectors(ListConnectorsRequest request)

public ListConnectorsResponse listConnectors(ListConnectorsRequest request)

Lists Serverless VPC Access connectors.

Parameter
NameDescription
requestListConnectorsRequest
Returns
TypeDescription
ListConnectorsResponse