Class TargetTcpProxies.TargetTcpProxiesBase (1.0.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
Name Description
request DeleteTargetTcpProxyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetTargetTcpProxyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request InsertTargetTcpProxyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListTargetTcpProxiesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request SetBackendServiceTargetTcpProxyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request SetProxyHeaderTargetTcpProxyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Operation>

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