Class VpcAccessService.VpcAccessServiceBase (1.1.0)

[BindServiceMethod(typeof(VpcAccessService), "BindService")]
public abstract class 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
Task<Operation>

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
Task<Operation>

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
Task<Connector>

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
Task<ListConnectorsResponse>

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