[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
Namespace
Google.Cloud.VpcAccess.V1Assembly
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 | |
---|---|
Name | Description |
request |
CreateConnectorRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteConnectorRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetConnectorRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListConnectorsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListConnectorsResponse |
The response to send back to the client (wrapped by a task). |