Connect Gateway v1beta1 API - Class GatewayServiceClientImpl (2.0.0-beta03)

public sealed class GatewayServiceClientImpl : GatewayServiceClient

Reference documentation and code samples for the Connect Gateway v1beta1 API class GatewayServiceClientImpl.

GatewayService client wrapper implementation, for convenient use.

Inheritance

object > GatewayServiceClient > GatewayServiceClientImpl

Namespace

Google.Cloud.GkeConnect.Gateway.V1Beta1

Assembly

Google.Cloud.GkeConnect.Gateway.V1Beta1.dll

Remarks

Gateway service is a public API which works as a Kubernetes resource model proxy between end users and registered Kubernetes clusters. Each RPC in this service matches with an HTTP verb. End user will initiate kubectl commands against the Gateway service, and Gateway service will forward user requests to clusters.

Constructors

GatewayServiceClientImpl(GatewayServiceClient, GatewayServiceSettings, ILogger)

public GatewayServiceClientImpl(GatewayService.GatewayServiceClient grpcClient, GatewayServiceSettings settings, ILogger logger)

Constructs a client wrapper for the GatewayService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient GatewayServiceGatewayServiceClient

The underlying gRPC client.

settings GatewayServiceSettings

The base GatewayServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override GatewayService.GatewayServiceClient GrpcClient { get; }

The underlying gRPC GatewayService client

Property Value
Type Description
GatewayServiceGatewayServiceClient
Overrides

Methods

DeleteResource(HttpBody, CallSettings)

public override HttpBody DeleteResource(HttpBody request, CallSettings callSettings = null)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HttpBody

The RPC response.

Overrides

DeleteResourceAsync(HttpBody, CallSettings)

public override Task<HttpBody> DeleteResourceAsync(HttpBody request, CallSettings callSettings = null)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHttpBody

A Task containing the RPC response.

Overrides

GetResource(HttpBody, CallSettings)

public override HttpBody GetResource(HttpBody request, CallSettings callSettings = null)

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

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HttpBody

The RPC response.

Overrides

GetResourceAsync(HttpBody, CallSettings)

public override Task<HttpBody> GetResourceAsync(HttpBody request, CallSettings callSettings = null)

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

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHttpBody

A Task containing the RPC response.

Overrides

PatchResource(HttpBody, CallSettings)

public override HttpBody PatchResource(HttpBody request, CallSettings callSettings = null)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HttpBody

The RPC response.

Overrides

PatchResourceAsync(HttpBody, CallSettings)

public override Task<HttpBody> PatchResourceAsync(HttpBody request, CallSettings callSettings = null)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHttpBody

A Task containing the RPC response.

Overrides

PostResource(HttpBody, CallSettings)

public override HttpBody PostResource(HttpBody request, CallSettings callSettings = null)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HttpBody

The RPC response.

Overrides

PostResourceAsync(HttpBody, CallSettings)

public override Task<HttpBody> PostResourceAsync(HttpBody request, CallSettings callSettings = null)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHttpBody

A Task containing the RPC response.

Overrides

PutResource(HttpBody, CallSettings)

public override HttpBody PutResource(HttpBody request, CallSettings callSettings = null)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HttpBody

The RPC response.

Overrides

PutResourceAsync(HttpBody, CallSettings)

public override Task<HttpBody> PutResourceAsync(HttpBody request, CallSettings callSettings = null)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHttpBody

A Task containing the RPC response.

Overrides