Class GatewayServiceClientImpl (1.0.0-beta02)

public sealed class GatewayServiceClientImpl : GatewayServiceClient

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(GatewayService.GatewayServiceClient, GatewayServiceSettings)

public GatewayServiceClientImpl(GatewayService.GatewayServiceClient grpcClient, GatewayServiceSettings settings)

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

Parameters
NameDescription
grpcClientGatewayService.GatewayServiceClient

The underlying gRPC client.

settingsGatewayServiceSettings

The base GatewayServiceSettings used within this client.

Properties

GrpcClient

public override GatewayService.GatewayServiceClient GrpcClient { get; }

The underlying gRPC GatewayService client

Property Value
TypeDescription
GatewayService.GatewayServiceClient
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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HttpBody>

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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HttpBody>

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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HttpBody>

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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HttpBody>

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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestHttpBody

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HttpBody>

A Task containing the RPC response.

Overrides