public sealed class GatewayServiceClientImpl : GatewayServiceClient
GatewayService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.GkeConnect.Gateway.V1Beta1Assembly
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 | |
---|---|
Name | Description |
grpcClient | GatewayService.GatewayServiceClient The underlying gRPC client. |
settings | GatewayServiceSettings The base GatewayServiceSettings used within this client. |
Properties
GrpcClient
public override GatewayService.GatewayServiceClient GrpcClient { get; }
The underlying gRPC GatewayService client
Property Value | |
---|---|
Type | Description |
GatewayService.GatewayServiceClient |
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. |
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 |
Task<HttpBody> | A Task containing the RPC response. |
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. |
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 |
Task<HttpBody> | A Task containing the RPC response. |
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. |
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 |
Task<HttpBody> | A Task containing the RPC response. |
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. |
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 |
Task<HttpBody> | A Task containing the RPC response. |
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. |
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 |
Task<HttpBody> | A Task containing the RPC response. |