Class VpcAccessService.VpcAccessServiceBase

[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
TypeNameDescription
CreateConnectorRequestrequest

The request received from the client.

ServerCallContextcontext

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
TypeNameDescription
DeleteConnectorRequestrequest

The request received from the client.

ServerCallContextcontext

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
TypeNameDescription
GetConnectorRequestrequest

The request received from the client.

ServerCallContextcontext

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
TypeNameDescription
ListConnectorsRequestrequest

The request received from the client.

ServerCallContextcontext

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).