Class GatewayService.GatewayServiceBase (1.0.0-beta02)

[BindServiceMethod(typeof(GatewayService), "BindService")]
public abstract class GatewayServiceBase

Base class for server-side implementations of GatewayService

Inheritance

Object > GatewayService.GatewayServiceBase

Namespace

Google.Cloud.GkeConnect.Gateway.V1Beta1

Assembly

Google.Cloud.GkeConnect.Gateway.V1Beta1.dll

Methods

DeleteResource(HttpBody, ServerCallContext)

public virtual Task<HttpBody> DeleteResource(HttpBody request, ServerCallContext context)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<HttpBody>

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

GetResource(HttpBody, ServerCallContext)

public virtual Task<HttpBody> GetResource(HttpBody request, ServerCallContext context)

GetResource performs an HTTP GET request on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<HttpBody>

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

PatchResource(HttpBody, ServerCallContext)

public virtual Task<HttpBody> PatchResource(HttpBody request, ServerCallContext context)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<HttpBody>

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

PostResource(HttpBody, ServerCallContext)

public virtual Task<HttpBody> PostResource(HttpBody request, ServerCallContext context)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<HttpBody>

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

PutResource(HttpBody, ServerCallContext)

public virtual Task<HttpBody> PutResource(HttpBody request, ServerCallContext context)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<HttpBody>

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