Class TargetTcpProxies.TargetTcpProxiesBase (2.1.0)

[BindServiceMethod(typeof(TargetTcpProxies), "BindService")]
public abstract class TargetTcpProxiesBase

Base class for server-side implementations of TargetTcpProxies

Inheritance

Object > TargetTcpProxies.TargetTcpProxiesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteTargetTcpProxyRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteTargetTcpProxyRequest request, ServerCallContext context)

Deletes the specified TargetTcpProxy resource.

Parameters
NameDescription
requestDeleteTargetTcpProxyRequest

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

Get(GetTargetTcpProxyRequest, ServerCallContext)

public virtual Task<TargetTcpProxy> Get(GetTargetTcpProxyRequest request, ServerCallContext context)

Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.

Parameters
NameDescription
requestGetTargetTcpProxyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<TargetTcpProxy>

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

Insert(InsertTargetTcpProxyRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertTargetTcpProxyRequest request, ServerCallContext context)

Creates a TargetTcpProxy resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertTargetTcpProxyRequest

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

List(ListTargetTcpProxiesRequest, ServerCallContext)

public virtual Task<TargetTcpProxyList> List(ListTargetTcpProxiesRequest request, ServerCallContext context)

Retrieves the list of TargetTcpProxy resources available to the specified project.

Parameters
NameDescription
requestListTargetTcpProxiesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<TargetTcpProxyList>

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

SetBackendService(SetBackendServiceTargetTcpProxyRequest, ServerCallContext)

public virtual Task<Operation> SetBackendService(SetBackendServiceTargetTcpProxyRequest request, ServerCallContext context)

Changes the BackendService for TargetTcpProxy.

Parameters
NameDescription
requestSetBackendServiceTargetTcpProxyRequest

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

SetProxyHeader(SetProxyHeaderTargetTcpProxyRequest, ServerCallContext)

public virtual Task<Operation> SetProxyHeader(SetProxyHeaderTargetTcpProxyRequest request, ServerCallContext context)

Changes the ProxyHeaderType for TargetTcpProxy.

Parameters
NameDescription
requestSetProxyHeaderTargetTcpProxyRequest

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