Serverless VPC Access v1 API - Class VpcAccessService.VpcAccessServiceBase (2.3.0)

[BindServiceMethod(typeof(VpcAccessService), "BindService")]
public abstract class VpcAccessService.VpcAccessServiceBase

Reference documentation and code samples for the Serverless VPC Access v1 API class VpcAccessService.VpcAccessServiceBase.

Base class for server-side implementations of VpcAccessService

Inheritance

object > VpcAccessService.VpcAccessServiceBase

Namespace

Google.Cloud.VpcAccess.V1

Assembly

Google.Cloud.VpcAccess.V1.dll

Methods

CreateConnector(CreateConnectorRequest, ServerCallContext)

public virtual Task<Operation> CreateConnector(CreateConnectorRequest request, ServerCallContext context)

Creates a Serverless VPC Access connector, returns an operation.

Parameters
NameDescription
requestCreateConnectorRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteConnector(DeleteConnectorRequest, ServerCallContext)

public virtual Task<Operation> DeleteConnector(DeleteConnectorRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestDeleteConnectorRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetConnector(GetConnectorRequest, ServerCallContext)

public virtual Task<Connector> GetConnector(GetConnectorRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetConnectorRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskConnector

The response to send back to the client (wrapped by a task).

ListConnectors(ListConnectorsRequest, ServerCallContext)

public virtual Task<ListConnectorsResponse> ListConnectors(ListConnectorsRequest request, ServerCallContext context)

Lists Serverless VPC Access connectors.

Parameters
NameDescription
requestListConnectorsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListConnectorsResponse

The response to send back to the client (wrapped by a task).