Class GatewayService.GatewayServiceClient (1.0.0-beta02)

public class GatewayServiceClient : ClientBase<GatewayService.GatewayServiceClient>

Client for GatewayService

Inheritance

Object > ClientBase > ClientBase<GatewayService.GatewayServiceClient> > 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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GatewayServiceClient(ChannelBase)

public GatewayServiceClient(ChannelBase channel)

Creates a new client for GatewayService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

GatewayServiceClient(ClientBase.ClientBaseConfiguration)

protected GatewayServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
HttpBody

The response received from the server.

DeleteResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

The call object.

DeleteResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
HttpBody

The response received from the server.

GetResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

The call object.

GetResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
GatewayService.GatewayServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.GkeConnect.Gateway.V1Beta1.GatewayService.GatewayServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

PatchResource(HttpBody, CallOptions)

public virtual HttpBody PatchResource(HttpBody request, CallOptions options)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
HttpBody

The response received from the server.

PatchResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

The call object.

PatchResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
HttpBody

The response received from the server.

PostResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

The call object.

PostResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
HttpBody

The response received from the server.

PutResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

The call object.

PutResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)

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

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
NameDescription
requestHttpBody

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<HttpBody>

The call object.