Connect Gateway v1beta1 API - Class GatewayService.GatewayServiceBase (2.0.0-beta05)

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

Reference documentation and code samples for the Connect Gateway v1beta1 API class GatewayService.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
Name Description
request HttpBody

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskHttpBody

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
Name Description
request HttpBody

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskHttpBody

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
Name Description
request HttpBody

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskHttpBody

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
Name Description
request HttpBody

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskHttpBody

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
Name Description
request HttpBody

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskHttpBody

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