Connect Gateway v1beta1 API - Class GatewayService.GatewayServiceClient (2.0.0-beta04)

public class GatewayService.GatewayServiceClient : ClientBase<GatewayService.GatewayServiceClient>

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

Client for GatewayService

Inheritance

object > ClientBase > ClientBaseGatewayServiceGatewayServiceClient > GatewayService.GatewayServiceClient

Namespace

Google.Cloud.GkeConnect.Gateway.V1Beta1

Assembly

Google.Cloud.GkeConnect.Gateway.V1Beta1.dll

Constructors

GatewayServiceClient()

protected GatewayServiceClient()

Protected parameterless constructor to allow creation of test doubles.

GatewayServiceClient(CallInvoker)

public GatewayServiceClient(CallInvoker callInvoker)

Creates a new client for GatewayService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

GatewayServiceClient(ChannelBase)

public GatewayServiceClient(ChannelBase channel)

Creates a new client for GatewayService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

GatewayServiceClient(ClientBaseConfiguration)

protected GatewayServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

DeleteResource(HttpBody, CallOptions)

public virtual HttpBody DeleteResource(HttpBody request, CallOptions options)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HttpBody

The response received from the server.

DeleteResource(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual HttpBody DeleteResource(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
HttpBody

The response received from the server.

DeleteResourceAsync(HttpBody, CallOptions)

public virtual AsyncUnaryCall<HttpBody> DeleteResourceAsync(HttpBody request, CallOptions options)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

DeleteResourceAsync(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HttpBody> DeleteResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

GetResource(HttpBody, CallOptions)

public virtual HttpBody GetResource(HttpBody request, CallOptions options)

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

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HttpBody

The response received from the server.

GetResource(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual HttpBody GetResource(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
HttpBody

The response received from the server.

GetResourceAsync(HttpBody, CallOptions)

public virtual AsyncUnaryCall<HttpBody> GetResourceAsync(HttpBody request, CallOptions options)

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

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

GetResourceAsync(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HttpBody> GetResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

NewInstance(ClientBaseConfiguration)

protected override GatewayService.GatewayServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
GatewayServiceGatewayServiceClient
Overrides

PatchResource(HttpBody, CallOptions)

public virtual HttpBody PatchResource(HttpBody request, CallOptions options)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HttpBody

The response received from the server.

PatchResource(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual HttpBody PatchResource(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
HttpBody

The response received from the server.

PatchResourceAsync(HttpBody, CallOptions)

public virtual AsyncUnaryCall<HttpBody> PatchResourceAsync(HttpBody request, CallOptions options)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

PatchResourceAsync(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HttpBody> PatchResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

PostResource(HttpBody, CallOptions)

public virtual HttpBody PostResource(HttpBody request, CallOptions options)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HttpBody

The response received from the server.

PostResource(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual HttpBody PostResource(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
HttpBody

The response received from the server.

PostResourceAsync(HttpBody, CallOptions)

public virtual AsyncUnaryCall<HttpBody> PostResourceAsync(HttpBody request, CallOptions options)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

PostResourceAsync(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HttpBody> PostResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

PutResource(HttpBody, CallOptions)

public virtual HttpBody PutResource(HttpBody request, CallOptions options)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HttpBody

The response received from the server.

PutResource(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual HttpBody PutResource(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
HttpBody

The response received from the server.

PutResourceAsync(HttpBody, CallOptions)

public virtual AsyncUnaryCall<HttpBody> PutResourceAsync(HttpBody request, CallOptions options)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

PutResourceAsync(HttpBody, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HttpBody> PutResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
Name Description
request HttpBody

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.